/* ========================================================================
 * PlantUML : a free UML diagram generator
 * ========================================================================
 *
 * Project Info:  http://plantuml.com
 * 
 * If you like this project or if you find it useful, you can support us at:
 * 
 * http://plantuml.com/patreon (only 1$ per month!)
 * http://plantuml.com/paypal
 * 
 * This file is part of Smetana.
 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
 *
 * (C) Copyright 2009-2020, Arnaud Roques
 *
 * This translation is distributed under the same Licence as the original C program:
 * 
 *************************************************************************
 * Copyright (c) 2011 AT&T Intellectual Property 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors: See CVS logs. Details at http://www.graphviz.org/
 *************************************************************************
 *
 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
 * 
 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
 * 
 * You may obtain a copy of the License at
 * 
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package gen.lib.ortho;
import static smetana.core.Macro.UNSUPPORTED;

public class maze__c {
//1 2digov3edok6d5srhgtlmrycs
// extern lt_symlist_t lt_preloaded_symbols[]


//1 baedz5i9est5csw3epz3cv7z
// typedef Ppoly_t Ppolyline_t


//1 9k44uhd5foylaeoekf3llonjq
// extern Dtmethod_t* 	Dtset


//1 1ahfywsmzcpcig2oxm7pt9ihj
// extern Dtmethod_t* 	Dtbag


//1 anhghfj3k7dmkudy2n7rvt31v
// extern Dtmethod_t* 	Dtoset


//1 5l6oj1ux946zjwvir94ykejbc
// extern Dtmethod_t* 	Dtobag


//1 2wtf222ak6cui8cfjnw6w377z
// extern Dtmethod_t*	Dtlist


//1 d1s1s6ibtcsmst88e3057u9r7
// extern Dtmethod_t*	Dtstack


//1 axa7mflo824p6fspjn1rdk0mt
// extern Dtmethod_t*	Dtqueue


//1 ega812utobm4xx9oa9w9ayij6
// extern Dtmethod_t*	Dtdeque


//1 cyfr996ur43045jv1tjbelzmj
// extern Dtmethod_t*	Dtorder


//1 wlofoiftbjgrrabzb2brkycg
// extern Dtmethod_t*	Dttree


//1 12bds94t7voj7ulwpcvgf6agr
// extern Dtmethod_t*	Dthash


//1 9lqknzty480cy7zsubmabkk8h
// extern Dtmethod_t	_Dttree


//1 bvn6zkbcp8vjdhkccqo1xrkrb
// extern Dtmethod_t	_Dthash


//1 9lidhtd6nsmmv3e7vjv9e10gw
// extern Dtmethod_t	_Dtlist


//1 34ujfamjxo7xn89u90oh2k6f8
// extern Dtmethod_t	_Dtqueue


//1 3jy4aceckzkdv950h89p4wjc8
// extern Dtmethod_t	_Dtstack


//1 8dfqgf3u1v830qzcjqh9o8ha7
// extern Agmemdisc_t AgMemDisc


//1 18k2oh2t6llfsdc5x0wlcnby8
// extern Agiddisc_t AgIdDisc


//1 a4r7hi80gdxtsv4hdoqpyiivn
// extern Agiodisc_t AgIoDisc


//1 bnzt5syjb7mgeru19114vd6xx
// extern Agdisc_t AgDefaultDisc


//1 35y2gbegsdjilegaribes00mg
// extern Agdesc_t Agdirected, Agstrictdirected, Agundirected,     Agstrictundirected


//1 c2rygslq6bcuka3awmvy2b3ow
// typedef Agsubnode_t	Agnoderef_t


//1 xam6yv0dcsx57dtg44igpbzn
// typedef Dtlink_t	Agedgeref_t


//1 7uu4dvqjnvvhc0gokmgcs954k
// extern int odb_flags


//1 4322iycvkv4hmlad3noqhgel4
// char* pre = 


//1 9ozsa5zdtrgxx0s86gc0suyn5
// char* post = 




//3 9g9xjc2r9n65rkl84jjslos81
// static void psdump (cell* gcells, int n_gcells, boxf BB, boxf* rects, int nrect) 
public static Object psdump(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("1zp0gx8erzkytols6s6anek61"); // psdump (cell* gcells, int n_gcells, boxf BB, boxf* rects, int nrect)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("2lzsl1e035wt5epd1h8f4bn8m"); //     boxf bb;
UNSUPPORTED("767492ltpvkpzowhpej4wil2b"); //     box absbb;
UNSUPPORTED("60497m34eckxdjihuxvqkxsvu"); //     absbb.LL.y = absbb.LL.x = 10;
UNSUPPORTED("axwbta36ottbp5ug72pnkfza8"); //     absbb.UR.x = absbb.LL.x + BB.UR.x - BB.LL.x;
UNSUPPORTED("5jojnuuk1njt9p0dm3aklyf4c"); //     absbb.UR.y = absbb.LL.y + BB.UR.y - BB.LL.y;
UNSUPPORTED("3n4k59tplss0b8rj6cz8wdq4q"); //     fputs (pre, stderr);
UNSUPPORTED("2c7r664rf3q2nqvcwm076ljgp"); //     fprintf (stderr, "%%%%Page: 1 1\n%%%%PageBoundingBox: %d %d %d %d\n",
UNSUPPORTED("gvo0wqx49546ze4wrba9h2ir"); //        absbb.LL.x, absbb.LL.y, absbb.UR.x, absbb.UR.y);
UNSUPPORTED("9z5vt5st7kmlyqdktlquzkygw"); //     fprintf (stderr, "%f %f translate\n", 10-BB.LL.x, 10-BB.LL.y);
UNSUPPORTED("7v0j1p03zgrz2n8e2sfmouivd"); //     fputs ("0 0 1 setrgbcolor\n", stderr);
UNSUPPORTED("4elp64ghdngy60otlqydxcc95"); //     for (i = 0; i < n_gcells; i++) {
UNSUPPORTED("da5sc56v5aj699nvth2tzez6e"); //       bb = gcells[i].bb;
UNSUPPORTED("1eywmkz80bfnyb49ljgkxcp4x"); //       fprintf (stderr, "%f %f %f %f node\n", bb.LL.x, bb.LL.y, bb.UR.x, bb.UR.y);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("epywyt7h8b5f1fzegiuykr1r8"); //     fputs ("0 0 0 setrgbcolor\n", stderr);
UNSUPPORTED("cymbkb9p93tw0m4uu2kkj35a0"); //     for (i = 0; i < nrect; i++) {
UNSUPPORTED("6kbayg7dph0ok4aw3x13wjkdp"); //       bb = rects[i];
UNSUPPORTED("6smdn9wdodygfk1sxfjl9q1rt"); //       fprintf (stderr, "%f %f %f %f cell\n", bb.LL.x, bb.LL.y, bb.UR.x, bb.UR.y);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("2to6ts1da6hiyr62cjf8n2rmj"); //     fputs ("1 0 0 setrgbcolor\n", stderr);
UNSUPPORTED("35fqc70o5xuuv6qdrmnv7z6w5"); //     fprintf (stderr, "%f %f %f %f cell\n", BB.LL.x, BB.LL.y, BB.UR.x, BB.UR.y);
UNSUPPORTED("e2cdlwdcpu3n7z9jwqa3s87mz"); //     fputs (post, stderr);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5uuci5ymtq0q51j1getlj2uzd
// static int vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc) 
public static Object vcmpid(Object... arg) {
UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
UNSUPPORTED("3u88ycwd14efwsvwyy7780jbr"); // vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("bswiekdugo71hxqryprabuxdm"); //   if (key1->x > key2->x) return 1;
UNSUPPORTED("3xqpzrzrofjfgy263mutuwbhr"); //   else if (key1->x < key2->x) return -1;
UNSUPPORTED("285kfkajed5kbwzt1bg891c12"); //   else if (key1->y > key2->y) return 1;
UNSUPPORTED("3inoestvznj3b5va767iadnzw"); //   else if (key1->y < key2->y) return -1;
UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); //   else return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 cl7ra88xdu22d00wqr6z5p1p3
// static int hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc) 
public static Object hcmpid(Object... arg) {
UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
UNSUPPORTED("3xjitmu9hfwuxfgr0qi1r04qg"); // hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("dlpx729kklw9nbmmywrkawtg1"); //   if (key1->y > key2->y) return 1;
UNSUPPORTED("3inoestvznj3b5va767iadnzw"); //   else if (key1->y < key2->y) return -1;
UNSUPPORTED("axczvcvlh063j4t14thbuiwmx"); //   else if (key1->x > key2->x) return 1;
UNSUPPORTED("3xqpzrzrofjfgy263mutuwbhr"); //   else if (key1->x < key2->x) return -1;
UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); //   else return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


//1 65ld602fx2uotf16tkazo4kf3
// static Dtdisc_t vdictDisc = 


//1 bhb4uq3a9aat5tmrtebsgxsza
// static Dtdisc_t hdictDisc = 




//3 p4176ft97w736bpghxhghz3d
// static void updateWt (cell* cp, sedge* ep, int sz) 
public static Object updateWt(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("7q4w394vp6o5d2mqannru219n"); // updateWt (cell* cp, sedge* ep, int sz)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("dfo4tnm2f8dlo52sahedzj5v9"); //     ep->cnt++;
UNSUPPORTED("32vrx8u0i9lp4f9mfpmaun71f"); //     if (ep->cnt > sz) {
UNSUPPORTED("e1mqs9lo2iip945vyvas2qe3z"); // 	ep->cnt = 0;
UNSUPPORTED("2a244flkhx1rjpipbgdokjx1k"); // 	ep->weight += 16384;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 blhjst7f42nyvd6sy299gtm3d
// void updateWts (sgraph* g, cell* cp, sedge* ep) 
public static Object updateWts(Object... arg) {
UNSUPPORTED("c01vxogao855zs8fe94tpim9g"); // void
UNSUPPORTED("bdbwgs1ph76plmvxczfpeo0fd"); // updateWts (sgraph* g, cell* cp, sedge* ep)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("5us6bymu4crkiqypwh57332hj"); //     sedge* e;
UNSUPPORTED("dkoxg0eyedifjtrm4x8jlyjls"); //     int isBend = ((g->nodes + ep->v1)->isVert != (g->nodes + ep->v2)->isVert);
UNSUPPORTED("d0b6n8bhbzbusomlpcp9nczv7"); //     int hsz = (((cp->bb.UR.y - cp->bb.LL.y)-3)/2);
UNSUPPORTED("48m2yizmm8d4lfvszmls2szq1"); //     int vsz = (((cp->bb.UR.x - cp->bb.LL.x)-3)/2);
UNSUPPORTED("5ecgup35njvagofmc9zaxes1c"); //     int minsz = MIN(hsz, vsz);
UNSUPPORTED("dfamh7ue082plphhry3xdnm7o"); //     /* Bend edges are added first */
UNSUPPORTED("g33yx85p8wg91aap4znjiva4"); //     for (i = 0; i < cp->nedges; i++) {
UNSUPPORTED("3v1e6x1tokguyh1cyk9ny2j26"); // 	e = cp->edges[i];
UNSUPPORTED("boxo665ud04gpicwsnvf3dxep"); // 	if (!((g->nodes + e->v1)->isVert != (g->nodes + e->v2)->isVert)) break;
UNSUPPORTED("a89fyn41tp3jnm2osk1wr48ke"); // 	updateWt (cp, e, minsz);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
UNSUPPORTED("dlcr5m1q7b4en52gyl8obhj15"); //     for (; i < cp->nedges; i++) {
UNSUPPORTED("3v1e6x1tokguyh1cyk9ny2j26"); // 	e = cp->edges[i];
UNSUPPORTED("2l9n6hxqrnrvrs2lgg2kxpekp"); // 	if (isBend || (e == ep)) updateWt (cp, e, (((g->nodes + e->v1)->isVert)?hsz:vsz));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 9kapnv38d6faiuxqp4bzksdz1
// static void markSmall (cell* cp, sgraph* g) 
public static Object markSmall(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("3tdwg2zpiin5w6zoim60p04th"); // markSmall (cell* cp, sgraph* g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("b2wz81fy8zanwrmoc1n7arr13"); //     snode* onp;
UNSUPPORTED("50n2otdf7w8whs0szmjkxenig"); //     cell* ocp;
UNSUPPORTED("c4eu95u0g7in27e9oxw15rph0"); //     if (((((cp->bb.UR.y-cp->bb.LL.y)-3)/2) < 2)) {
UNSUPPORTED("8m46r4idk2cejwmyejh6jinky"); // 	for (i = 0; i < cp->nsides; i++) {
UNSUPPORTED("biwl8z6o1ijoz32js8fzwvocb"); // 	    onp = cp->sides[i];
UNSUPPORTED("1aq3dyirdqeh65yempl0l0gnm"); // 	    if (!onp->isVert) continue;
UNSUPPORTED("1dki697od540pxi3vq3sce42l"); // 	    if (onp->cells[0] == cp) {  /* onp on the right of cp */
UNSUPPORTED("64d5wc2sqfuiw23vs07o4l6s7"); // 		ocp = onp->cells[1];
UNSUPPORTED("eu4j3gbjan4f0ttcs7nf6djbr"); // 		ocp->flags |= 8;
UNSUPPORTED("9rf28jnwy28nfeeku68ed10xj"); // 		while ((onp = ocp->sides[M_RIGHT]) && !(onp->cells[1]->flags & 1)) {
UNSUPPORTED("1akhs24p47qfish65mtm0ukab"); // 		    ocp = onp->cells[1];
UNSUPPORTED("4u6cjsu9q863vx1aqgb0yihbz"); // 		    ocp->flags |= 8;
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("2xswp7wv8mz6jgl7wgro8x4bh"); // 	    else {                      /* onp on the left of cp */
UNSUPPORTED("788pevah9rf0z6mjd3asogvnj"); // 		ocp = onp->cells[0];
UNSUPPORTED("eu4j3gbjan4f0ttcs7nf6djbr"); // 		ocp->flags |= 8;
UNSUPPORTED("1y5bqnhg7i4c1fturqzrm83q4"); // 		while ((onp = ocp->sides[M_LEFT]) && !(onp->cells[0]->flags & 1)) {
UNSUPPORTED("du48mhkbj3xddektvxzoot6gk"); // 		    ocp = onp->cells[0];
UNSUPPORTED("4u6cjsu9q863vx1aqgb0yihbz"); // 		    ocp->flags |= 8;
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("916l539e3joqg6fu1g6o6o6m1"); //     if (((((cp->bb.UR.x-cp->bb.LL.x)-3)/2) < 2)) {
UNSUPPORTED("8m46r4idk2cejwmyejh6jinky"); // 	for (i = 0; i < cp->nsides; i++) {
UNSUPPORTED("biwl8z6o1ijoz32js8fzwvocb"); // 	    onp = cp->sides[i];
UNSUPPORTED("eamm9cw0ocdt1wrb6xdeisy4c"); // 	    if (onp->isVert) continue;
UNSUPPORTED("7w1e0iugb1y82w3gf5mvxqd6n"); // 	    if (onp->cells[0] == cp) {  /* onp on the top of cp */
UNSUPPORTED("64d5wc2sqfuiw23vs07o4l6s7"); // 		ocp = onp->cells[1];
UNSUPPORTED("auy2yjaypfi86526pdiw6nxyk"); // 		ocp->flags |= 16;
UNSUPPORTED("d88x50zssjd4zw4m00dzwnrig"); // 		while ((onp = ocp->sides[M_TOP]) && !(onp->cells[1]->flags & 1)) {
UNSUPPORTED("1akhs24p47qfish65mtm0ukab"); // 		    ocp = onp->cells[1];
UNSUPPORTED("mf674e2ernvx88oxuj2jvr0z"); // 		    ocp->flags |= 16;
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("am0piqqao9stqcscpvwx2n1so"); // 	    else {                      /* onp on the bottom of cp */
UNSUPPORTED("788pevah9rf0z6mjd3asogvnj"); // 		ocp = onp->cells[0];
UNSUPPORTED("auy2yjaypfi86526pdiw6nxyk"); // 		ocp->flags |= 16;
UNSUPPORTED("mi3y18vi9ndcg7qz68bvpahf"); // 		while ((onp = ocp->sides[M_BOTTOM]) && !(onp->cells[0]->flags & 1)) {
UNSUPPORTED("du48mhkbj3xddektvxzoot6gk"); // 		    ocp = onp->cells[0];
UNSUPPORTED("mf674e2ernvx88oxuj2jvr0z"); // 		    ocp->flags |= 16;
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 3l3sbpuetdu8ntcpo8pz13k3e
// static void createSEdges (cell* cp, sgraph* g) 
public static Object createSEdges(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("eiufnofet665j4i0xks3yggav"); // createSEdges (cell* cp, sgraph* g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("axfpgrsg8gskangc3qgtq71hz"); //     boxf bb = cp->bb;
UNSUPPORTED("amp31z1m0vbq1q8zefv5rn3w5"); //     double hwt = 1*(bb.UR.x-bb.LL.x);
UNSUPPORTED("117vv77kpq1u7vcvnavhc82o9"); //     double vwt = 1*(bb.UR.y-bb.LL.y);
UNSUPPORTED("3yg7jb3f3z3wrxh6itkf0d5gf"); //     double wt = (hwt + vwt)/2.0 + 500;
UNSUPPORTED("f3jme7t4b06y2xf3tgf76yger"); //     /* We automatically make small channels have high cost to guide routes to
UNSUPPORTED("516jhn8ke0rkom44i48cqziuj"); //      * more spacious channels.
UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); //      */
UNSUPPORTED("cvl5o3802l0vsczlmqn621y5g"); //     if (((((bb.UR.y-bb.LL.y)-3)/2) < 2) && !(cp->flags & 8)) {
UNSUPPORTED("2ork5nyyvrggj5vavnox5dnik"); // 	hwt = 16384;
UNSUPPORTED("52900dmw3bmqbe886hkd7f0wt"); // 	wt = 16384;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("3mb8guxy615hn4v2qy5ypehr3"); //     if (((((bb.UR.x-bb.LL.x)-3)/2) < 2) && !(cp->flags & 16)) {
UNSUPPORTED("aik6n8xli7v6xvo8u3rvr7ii0"); // 	vwt = 16384;
UNSUPPORTED("52900dmw3bmqbe886hkd7f0wt"); // 	wt = 16384;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("1r05jnpuv96fwsxl0u1qjjlps"); //     if (cp->sides[M_LEFT] && cp->sides[M_TOP])
UNSUPPORTED("4kbjer1m4fqs6a3a264gga6n8"); // 	cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_LEFT], cp->sides[M_TOP], wt);
UNSUPPORTED("aedmthruftfexyf7cov7u4vvl"); //     if (cp->sides[M_TOP] && cp->sides[M_RIGHT])
UNSUPPORTED("5hpsphuhuvv1brp42nrttvb31"); // 	cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_TOP], cp->sides[M_RIGHT], wt);
UNSUPPORTED("84yyv6mzbxtjgbfa28m4avh6r"); //     if (cp->sides[M_LEFT] && cp->sides[M_BOTTOM])
UNSUPPORTED("tyvf713ih73547d7pf5snxf"); // 	cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_LEFT], cp->sides[M_BOTTOM], wt);
UNSUPPORTED("bnzsrfjru8dtlqidqs86hye5o"); //     if (cp->sides[M_BOTTOM] && cp->sides[M_RIGHT])
UNSUPPORTED("69cj63j54kgemat46kq68yrsz"); // 	cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_BOTTOM], cp->sides[M_RIGHT], wt);
UNSUPPORTED("2sny7e4r4ms0rpg6bxgod0y6w"); //     if (cp->sides[M_TOP] && cp->sides[M_BOTTOM])
UNSUPPORTED("eeawpv5dnk3bza402e1fao0sa"); // 	cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_TOP], cp->sides[M_BOTTOM], vwt);
UNSUPPORTED("2suc8k9vfuvh4m53sqo1etd6w"); //     if (cp->sides[M_LEFT] && cp->sides[M_RIGHT])
UNSUPPORTED("9obc9lnx233uhbnedl4zx9ph0"); // 	cp->edges[cp->nedges++] = createSEdge (g, cp->sides[M_LEFT], cp->sides[M_RIGHT], hwt);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 758etn7f0xldup69utj5juffr
// static snode* findSVert (sgraph* g, Dt_t* cdt, pointf p, snodeitem* ditems, boolean isVert) 
public static Object findSVert(Object... arg) {
UNSUPPORTED("1mqfssg5cquehb5bdk2189gy2"); // static snode*
UNSUPPORTED("cga4obs9816altnwz6esmme8m"); // findSVert (sgraph* g, Dt_t* cdt, pointf p, snodeitem* ditems, boolean isVert)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("10plv37z3rcnamkp6u1f3fbvy"); //     snodeitem* n = (*(((Dt_t*)(cdt))->searchf))((cdt),(void*)(&p),0001000);
UNSUPPORTED("aaebo2bb05xyrm6bioykv7j55"); //     if (!n) {
UNSUPPORTED("2mr1j8jv499c17v211yrq0zid"); //         snode* np = createSNode (g);
UNSUPPORTED("49x5opmvb6qvpbdzvvwx81n7o"); //         assert(ditems);
UNSUPPORTED("9imn5k9pmajz70owgy1yst564"); //         n = ditems + np->index;
UNSUPPORTED("1whmelwelwpr8hmh739a4rx4e"); // 	n->p = p;
UNSUPPORTED("8weo3ve11u2juhqncx820pb23"); // 	n->np = np;
UNSUPPORTED("9js6alb3fxl3uww30tpdie1cc"); // 	np->isVert = isVert;
UNSUPPORTED("lfditfpqzerpfh82n4mjf4e9"); // 	(*(((Dt_t*)(cdt))->searchf))((cdt),(void*)(n),0000001);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("8tkxsnqf69mnlas38600doi66"); //     return n->np;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ju0zs4s4k058zbq8y43apnp2
// static void chkSgraph (sgraph* g) 
public static Object chkSgraph(Object... arg) {
UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
UNSUPPORTED("8ywrcod5zukths1uhqhrx6vxw"); // chkSgraph (sgraph* g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("327a0i7b6rqjqj8wdl0h29mnc"); //   int i;
UNSUPPORTED("23fb0v6g2dlefe4px8tzi8zra"); //   snode* np;
UNSUPPORTED("3l28r11fb44myi7htm1om4cnr"); //   for (i = 0; i < g->nnodes; i++) {
UNSUPPORTED("8gpm8loz5nt1uxatp2fd3oe6s"); //     np = g->nodes+i;
UNSUPPORTED("43gcbpnat2bgm3ejrf1vmy4u"); //     if (!np->cells[0]) fprintf (stderr, "failed at node %d[0]\n", i); 
UNSUPPORTED("4oasbub46ddvzyljkj816mvby"); //     assert (np->cells[0]);
UNSUPPORTED("5cvdi2wx76ojk7uchdcrjcb6i"); //     if (!np->cells[1]) fprintf (stderr, "failed at node %d[1]\n", i); 
UNSUPPORTED("8qge8qp4tr5copb51yv5xxzr3"); //     assert (np->cells[1]);
UNSUPPORTED("7ijd6pszsxnoopppf6xwo8wdl"); //   }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 85o629p94h5u46pgb4a0x1fto
// static sgraph* mkMazeGraph (maze* mp, boxf bb) 
public static Object mkMazeGraph(Object... arg) {
UNSUPPORTED("4a0ckv6kz4gak54lxsr6w9ioy"); // static sgraph*
UNSUPPORTED("3409ksucyvqu8i3qex5l9ogv1"); // mkMazeGraph (maze* mp, boxf bb)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("c0h9n3v7xo6m86qr2s9jd4nmz"); //     int nsides, i, ncnt, maxdeg;
UNSUPPORTED("8nt6vrkyw6r9ib7riac3cwzd1"); //     int bound = 4*mp->ncells;
UNSUPPORTED("8j75p52hdfny88ny2loms6p80"); //     sgraph* g = createSGraph (bound + 2);
UNSUPPORTED("8p0cao2lz1e6ihnom1zrti2xq"); //     Dt_t* vdict = dtopen(&vdictDisc,Dtoset);
UNSUPPORTED("bpe1gv2u25ttmjwienjfwsyzd"); //     Dt_t* hdict = dtopen(&hdictDisc,Dtoset);
UNSUPPORTED("3lxbgi6k04dub0sshm1mawntn"); //     snodeitem* ditems = (snodeitem*)zmalloc((bound)*sizeof(snodeitem));
UNSUPPORTED("83j9x6relm30wmuipbei491st"); //     snode** sides;
UNSUPPORTED("9w8bspidla7axh1uz7uzys18h"); //     /* For each cell, create if necessary and attach a node in search
UNSUPPORTED("e6kuh48kval5kcakfxzd1z69i"); //      * corresponding to each internal face. The node also gets
UNSUPPORTED("cyfjarx488wrc88fgx2fnek70"); //      * a pointer to the cell.
UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); //      */
UNSUPPORTED("8wxcwqqwmrfzljscdhy3971us"); //     sides = (snode**)zmalloc((4*mp->ncells)*sizeof(snode*));
UNSUPPORTED("buvjn27k5tz2673nmlkf9ohz5"); //     ncnt = 0;
UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); //     for (i = 0; i < mp->ncells; i++) {
UNSUPPORTED("2noex6z427j2b0xavovcqkxja"); // 	cell* cp = mp->cells+i;
UNSUPPORTED("f3gck9cxfm9jzl1864uz2y79q"); //         snode* np;
UNSUPPORTED("7nnzkzxddbza1ae9ba66yaath"); // 	pointf pt;
UNSUPPORTED("9l3tga3eg9n944lh5fs2rkb4h"); // 	cp->nsides = 4; 
UNSUPPORTED("9dfgiofr0fzw0r6lz4qrt9zyw"); // 	cp->sides = sides + 4*i;
UNSUPPORTED("bfx5d25fi7joih74q1wr7rf4f"); // 	if (cp->bb.UR.x < bb.UR.x) {
UNSUPPORTED("5jm345o0dxsgpqu2h67gvkukd"); // 	    pt.x = cp->bb.UR.x;
UNSUPPORTED("d899yxmcyrxgknu569q83j56y"); // 	    pt.y = cp->bb.LL.y;
UNSUPPORTED("al78l565joceq8wykiomytl3v"); // 	    np = findSVert (g, vdict, pt, ditems, NOT(0));
UNSUPPORTED("dyj0n8pksb6qap9nu5jmfpj9w"); // 	    np->cells[0] = cp;
UNSUPPORTED("4129rynmdsxu71kxazy1hyycy"); // 	    cp->sides[M_RIGHT] = np;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dequu7puz1aj8ss3oni3mx995"); // 	if (cp->bb.UR.y < bb.UR.y) {
UNSUPPORTED("dxvnot4cde33jxs0bsb7nz382"); // 	    pt.x = cp->bb.LL.x;
UNSUPPORTED("3p9qsubmglgugaw1d40s99klt"); // 	    pt.y = cp->bb.UR.y;
UNSUPPORTED("c3axnzt640u1xryxs43q8cuab"); // 	    np = findSVert (g, hdict, pt, ditems, 0);
UNSUPPORTED("dyj0n8pksb6qap9nu5jmfpj9w"); // 	    np->cells[0] = cp;
UNSUPPORTED("boewakbellfte64hummys1al4"); // 	    cp->sides[M_TOP] = np;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("40k7l6eiot79jgs4q9j5r2kjv"); // 	if (cp->bb.LL.x > bb.LL.x) {
UNSUPPORTED("8gfqay3lh5vyrik8rxo1yg2nl"); // 	    np = findSVert (g, vdict, cp->bb.LL, ditems, NOT(0));
UNSUPPORTED("d2mluf5pmzh4dvlhfdwky76qv"); // 	    np->cells[1] = cp;
UNSUPPORTED("do45kl0dk4amf3cqorzfqm0tf"); // 	    cp->sides[M_LEFT] = np;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("66y49caixd7f6uqyv2baolqae"); // 	if (cp->bb.LL.y > bb.LL.y) {
UNSUPPORTED("2cqyrkg1fyix8wowsnfdeuorq"); // 	    np = findSVert (g, hdict, cp->bb.LL, ditems, 0);
UNSUPPORTED("d2mluf5pmzh4dvlhfdwky76qv"); // 	    np->cells[1] = cp;
UNSUPPORTED("bhmdbk8okdxhymkp2zrb7u8xy"); // 	    cp->sides[M_BOTTOM] = np;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("ay0zemsj6o1e18wmjs05jsshs"); //     /* For each gcell, corresponding to a node in the input graph,
UNSUPPORTED("e4frwuwjez68hkt6p71wpwlxp"); //      * connect it to its corresponding search nodes.
UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); //      */
UNSUPPORTED("doc2vwrr7r2f4tx2zxpfpypw4"); //     maxdeg = 0;
UNSUPPORTED("4rohfkczkjec9j8oi6c5x026a"); //     sides = (snode**)zmalloc((g->nnodes)*sizeof(snode*));
UNSUPPORTED("3cxv3gaogbbrf3xu2gz1bxd2l"); //     nsides = 0;
UNSUPPORTED("eabxb5i0ddkbddnag9j34xjbc"); //     for (i = 0; i < mp->ngcells; i++) {
UNSUPPORTED("2xvmsgulyy6tipsy4akf2uzj"); // 	cell* cp = mp->gcells+i;
UNSUPPORTED("17m8hsxma8135wjiolo05duux"); //         pointf pt; 
UNSUPPORTED("4c1f2otw76p0krr6ugzi2malz"); // 	snodeitem* np;
UNSUPPORTED("179ywzb15i2sku8g8z7i1boz"); // 	cp->sides = sides+nsides;
UNSUPPORTED("6ct8i1irbix7j6hecssdk2o42"); //         pt = cp->bb.LL;
UNSUPPORTED("4ns50pdyghalrjqr4o3qpevji"); // 	np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(&pt),0001000);
UNSUPPORTED("298kvmb0795bd6b9fx9zkdwuo"); // 	for (; np && np->p.x < cp->bb.UR.x; np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(np),0000010)) {
UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // 	    cp->sides[cp->nsides++] = np->np;
UNSUPPORTED("iizzgq6n25zyzvx82krjhkem"); // 	    np->np->cells[1] = cp;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("evuyxziekv131tbe328a72tga"); // 	np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(&pt),0001000);
UNSUPPORTED("7pmcauszxeoqlecavr7kzrzcf"); // 	for (; np && np->p.y < cp->bb.UR.y; np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(np),0000010)) {
UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // 	    cp->sides[cp->nsides++] = np->np;
UNSUPPORTED("iizzgq6n25zyzvx82krjhkem"); // 	    np->np->cells[1] = cp;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("5h3mvfcnt7jg2xqse67wo1obl"); // 	pt.y = cp->bb.UR.y;
UNSUPPORTED("4ns50pdyghalrjqr4o3qpevji"); // 	np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(&pt),0001000);
UNSUPPORTED("298kvmb0795bd6b9fx9zkdwuo"); // 	for (; np && np->p.x < cp->bb.UR.x; np = (*(((Dt_t*)(hdict))->searchf))((hdict),(void*)(np),0000010)) {
UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // 	    cp->sides[cp->nsides++] = np->np;
UNSUPPORTED("accj0ibwtypfqux48mf08irfq"); // 	    np->np->cells[0] = cp;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("6e77uu605lqzyoy5chq2wtqfk"); // 	pt.x = cp->bb.UR.x;
UNSUPPORTED("4pblgwb16qkmxa4gmvm1k7jt8"); // 	pt.y = cp->bb.LL.y;
UNSUPPORTED("evuyxziekv131tbe328a72tga"); // 	np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(&pt),0001000);
UNSUPPORTED("7pmcauszxeoqlecavr7kzrzcf"); // 	for (; np && np->p.y < cp->bb.UR.y; np = (*(((Dt_t*)(vdict))->searchf))((vdict),(void*)(np),0000010)) {
UNSUPPORTED("eq4x6lu28wtcm0m1ekd1r4pg5"); // 	    cp->sides[cp->nsides++] = np->np;
UNSUPPORTED("accj0ibwtypfqux48mf08irfq"); // 	    np->np->cells[0] = cp;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("20mszbn1fqt3r5famytys2b7k"); // 	nsides += cp->nsides;
UNSUPPORTED("6025gj96dwgvacuh99fqz7ojm"); //         if (cp->nsides > maxdeg) maxdeg = cp->nsides;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("z0dqo9s1gp2o5rf0c6034igz"); //     /* sides = RALLOC (nsides, sides, snode*); */
UNSUPPORTED("2qr5jfiul6hnhj5d6z80qgpb1"); //     /* Mark cells that are small because of a small node, not because of the close
UNSUPPORTED("2lob3t7thoheoyjm2lymh9i9f"); //      * alignment of two rectangles.
UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); //      */
UNSUPPORTED("eabxb5i0ddkbddnag9j34xjbc"); //     for (i = 0; i < mp->ngcells; i++) {
UNSUPPORTED("2xvmsgulyy6tipsy4akf2uzj"); // 	cell* cp = mp->gcells+i;
UNSUPPORTED("3d6qq4g3fw0mz4rcay5nx440a"); // 	markSmall (cp, g);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("el9dwhqim3arfedly8lrp9vq2"); //     /* Set index of two dummy nodes used for real nodes */
UNSUPPORTED("dyl9rr87m0sgliepkv3gf27cg"); //     g->nodes[g->nnodes].index = g->nnodes;
UNSUPPORTED("3r7b7odsrw99ic8or2omu919p"); //     g->nodes[g->nnodes+1].index = g->nnodes+1;
UNSUPPORTED("2w6qcucx2d9cglbvaflbxw4o6"); //     /* create edges
UNSUPPORTED("1j0arl1zdd5kcgz4ma54mwxi"); //      * For each ordinary cell, there can be at most 6 edges.
UNSUPPORTED("eqw7wagcnifpu2fjni6vek5f8"); //      * At most 2 gcells will be used at a time, and each of these
UNSUPPORTED("xxno67cyczcsgky9n34pauce"); //      * can have at most degree maxdeg.
UNSUPPORTED("795vpnc8yojryr8b46aidsu69"); //      */
UNSUPPORTED("bsysrnk2t83p9hwmajmhxyhv0"); //     initSEdges (g, maxdeg);
UNSUPPORTED("cc6zk9wsty15bcay61nb68jos"); //     for (i = 0; i < mp->ncells; i++) {
UNSUPPORTED("2noex6z427j2b0xavovcqkxja"); // 	cell* cp = mp->cells+i;
UNSUPPORTED("7amfovltkaqx2bzlrepw8j5zm"); // 	createSEdges (cp, g);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("bzohd8qeiebtj0um7pujifzvk"); //     /* tidy up memory */
UNSUPPORTED("alfe6acszsh611blhpw2t224g"); //     /* g->nodes = RALLOC (g->nnodes+2, g->nodes, snode); */
UNSUPPORTED("daoy3ejdfg7yqywgc1d6l42ls"); //     /* g->edges = RALLOC (g->nedges+2*maxdeg, g->edges, sedge); */
UNSUPPORTED("6ay8mbpe7d44870v0xaw2poe1"); //     dtclose (vdict);
UNSUPPORTED("3bw7qxrnqbqniuud4o0r4sfbs"); //     dtclose (hdict);
UNSUPPORTED("dzdth58xx98ya8ggp2giwte05"); //     free (ditems);
UNSUPPORTED("74gpu8xcot4zlnqtwmtwj1gxl"); // chkSgraph (g);
UNSUPPORTED("ba08yhdiocr2grhsh1n3a6k6z"); //     /* save core graph state */
UNSUPPORTED("1ysafzgp6gjgoh4xzpiziysi4"); //     gsave(g);
UNSUPPORTED("2syri7q5tc0jyvwq8ecyfo3vr"); //     return g;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 47ee79k49zgxrbvcwk6qo1a91
// maze* mkMaze (graph_t* g, int doLbls) 
public static Object mkMaze(Object... arg) {
UNSUPPORTED("8ftsypi54d22742r6wjoy5v25"); // maze*
UNSUPPORTED("chjzymjdqshexf6h9lqtpflg6"); // mkMaze (graph_t* g, int doLbls)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("7ma9kdgag30w5ofv1niitxbro"); //     node_t* n;
UNSUPPORTED("aq8iuld39z3anhn3agas7wrpx"); //     maze* mp = (maze*)zmalloc(sizeof(maze));
UNSUPPORTED("170trbmtoncj4hi7wpq7j1v1w"); //     boxf* rects;
UNSUPPORTED("epxy4v5wrs6mm1nymdce9o2mo"); //     int i, nrect;
UNSUPPORTED("dyevh82lgyyzdp6weja1ovxir"); //     cell* cp;
UNSUPPORTED("aqeh4gm2tudxnfkw4nym58953"); //     double w2, h2;
UNSUPPORTED("8ucfzgk767hqg7v3sq95gwtxz"); //     boxf bb, BB;
UNSUPPORTED("bydgyuxeazagl60ymagro1h9t"); //     mp->ngcells = agnnodes(g);
UNSUPPORTED("bvlzfj9xz0yyl1uqoyot7rtyg"); //     cp = mp->gcells = (cell*)zmalloc((mp->ngcells)*sizeof(cell));
UNSUPPORTED("ffxll70yqx7zs7ajl2nbmdgi"); //     BB.LL.x = BB.LL.y = MAXDOUBLE;
UNSUPPORTED("cz4gqh4qsnqvih07liqyudf1o"); //     BB.UR.x = BB.UR.y = -MAXDOUBLE;
UNSUPPORTED("2ci0azpwlbk63rcshlsj1ve8u"); //     for (n = agfstnode (g); n; n = agnxtnode(g,n)) {
UNSUPPORTED("9eyzmqvpe8fyomq6d83u60ad8"); //         w2 = ND_xsize(n)/2.0;
UNSUPPORTED("a5huvn2de51imlq70uxu06ix1"); // 	if (w2 < 1) w2 = 1;
UNSUPPORTED("4165mxclove3sa7vcb5pab3lo"); //         h2 = ND_ysize(n)/2.0;
UNSUPPORTED("5udqpftmbh4p3ikl8bcptzbyf"); // 	if (h2 < 1) h2 = 1;
UNSUPPORTED("9s6b5rf5dh58h3k6k8u0d9wpz"); //         bb.LL.x = ND_coord(n).x - w2;
UNSUPPORTED("7makiveicd97c7ttfkw3az03m"); //         bb.UR.x = ND_coord(n).x + w2;
UNSUPPORTED("4iy87lfal1aq0qmyvlj8e6rmy"); //         bb.LL.y = ND_coord(n).y - h2;
UNSUPPORTED("3e4m3beafo37vj6bje1w9qhnx"); //         bb.UR.y = ND_coord(n).y + h2;
UNSUPPORTED("ehjvhmi74i8b9imane6e9gs38"); // 	BB.LL.x = MIN(BB.LL.x, bb.LL.x);
UNSUPPORTED("22q0hpto8htuccf0e98b8noee"); // 	BB.LL.y = MIN(BB.LL.y, bb.LL.y);
UNSUPPORTED("ah47wdkrpv5cflac5mmhhjdn5"); // 	BB.UR.x = MAX(BB.UR.x, bb.UR.x);
UNSUPPORTED("5jcljn7v3ijnrk5mw7tznxrai"); // 	BB.UR.y = MAX(BB.UR.y, bb.UR.y);
UNSUPPORTED("cruvxryr09s05g4gxamylge5p"); //         cp->bb = bb;
UNSUPPORTED("1t8h7vwcednduaar7crw1obrk"); // 	cp->flags |= 1;
UNSUPPORTED("61mx5zuc5l32rfja607gutu3k"); //         ND_alg(n) = cp;
UNSUPPORTED("4s1pb2i2w7q7dsgd38jko4ff2"); // 	cp++;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("71u00vuawtzqg4gz0lsai1m4a"); //     if (doLbls) {
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("7sfcm5iivxihxyopxhnmyyv9w"); //     BB.LL.x -= 36;;
UNSUPPORTED("5illqz3dav1thosefdf7zf012"); //     BB.LL.y -= 36;;
UNSUPPORTED("5muslgfqvix4h5kxrntmnt2rh"); //     BB.UR.x += 36;;
UNSUPPORTED("5gw6fudbmpkabywynsetntifs"); //     BB.UR.y += 36;;
UNSUPPORTED("12xoan2rb09zbemcgjh189oso"); //     rects = partition (mp->gcells, mp->ngcells, &nrect, BB);
UNSUPPORTED("8qqibd1rblf4kt3wblfja4pch"); //     if (odb_flags & 1) psdump (mp->gcells, mp->ngcells, BB, rects, nrect);
UNSUPPORTED("f0ajael9mvkz908ohbsqp8u46"); //     mp->cells = (cell*)zmalloc((nrect)*sizeof(cell));
UNSUPPORTED("dzo2h9k9ofrv8aifrwhvdxlk"); //     mp->ncells = nrect;
UNSUPPORTED("cymbkb9p93tw0m4uu2kkj35a0"); //     for (i = 0; i < nrect; i++) {
UNSUPPORTED("qb6erte9h6etocgwnpipxn18"); // 	mp->cells[i].bb = rects[i];
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("2uqylplzsbm0qd6yfhl4t4vqi"); //     free (rects);
UNSUPPORTED("ewcr081zwl8ssdtp4n9ofylo0"); //     mp->sg = mkMazeGraph (mp, BB);
UNSUPPORTED("965jxkqp2n8rpzvodac6mz9mg"); //     return mp;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 babqclyzdgzlc9rs6vagsa3a9
// void freeMaze (maze* mp) 
public static Object freeMaze(Object... arg) {
UNSUPPORTED("ixanx2vs8hc7piq3w1asfrq5"); // void freeMaze (maze* mp)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("65ltdjbqueg56kn1hn5igwiec"); //     free (mp->cells[0].sides);
UNSUPPORTED("8dgjx2dy276w12zps4vkayrht"); //     free (mp->gcells[0].sides);
UNSUPPORTED("4u4be1832al75o9ui7p8j20dy"); //     free (mp->cells);
UNSUPPORTED("4xldapnzfl3mjsal1a38po778"); //     free (mp->gcells);
UNSUPPORTED("19t5nwndr3zdn7ivgdejb45fh"); //     freeSGraph (mp->sg);
UNSUPPORTED("8v1nc3xpgspux65bxybvk2gxd"); //     dtclose (mp->hchans);
UNSUPPORTED("19jphht7cd5e7ovrg923dx1yo"); //     dtclose (mp->vchans);
UNSUPPORTED("29o1zsbwttldwz75iylxxkrm"); //     free (mp);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


}
