/* ========================================================================
 * 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.cgraph;
import static smetana.core.Macro.UNSUPPORTED;

public class write__c {
//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 6ayavpu39aihwyojkx093pcy3
// extern Agraph_t *Ag_G_global


//1 871mxtg9l6ffpxdl9kniwusf7
// extern char *AgDataRecName


//1 c0o2kmml0tn6hftuwo0u4shwd
// extern Dtdisc_t Ag_subnode_id_disc


//1 8k15pyu256unm2kpd9zf5pf7k
// extern Dtdisc_t Ag_subnode_seq_disc


//1 e3d820y06gpeusn6atgmj8bzd
// extern Dtdisc_t Ag_mainedge_id_disc


//1 cbr0772spix9h1aw7h5v7dv9j
// extern Dtdisc_t Ag_subedge_id_disc


//1 akd0c3v0j7m2npxcb9acit1fa
// extern Dtdisc_t Ag_mainedge_seq_disc


//1 12d8la07351ww7vwfzucjst8m
// extern Dtdisc_t Ag_subedge_seq_disc


//1 29eokk7v88e62g8o6lizmo967
// extern Dtdisc_t Ag_subgraph_id_disc


//1 4xd9cbgy6hk5g6nhjcbpzkx14
// extern Agcbdisc_t AgAttrdisc


//1 6cdl8rg0og4o8zcy4mkimizp1
// typedef void iochan_t




//3 btji1owz81k2d77wfwt916p37
// static int ioput(Agraph_t * g, iochan_t * ofile, char *str) 
public static Object ioput(Object... arg) {
UNSUPPORTED("9aaodmphwoa7or45852lcbtet"); // static int ioput(Agraph_t * g, iochan_t * ofile, char *str)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("f6biqyaknm3x2ue94tm9v84z"); //     return ((g)->clos->disc.io)->putstr(ofile, str);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


//1 98m6w41nluqnfg2vjsmgrp28l
// static int Level


//1 bvu8ayfef3c7pct1w3xg18vx3
// static int Max_outputline = 128


//1 1hd2b7p1aumg2dlcjxipts28a
// static unsigned char Attrs_not_written_flag


//1 bospb4vypikeakekqc06hvqc2
// static Agsym_t *Tailport, *Headport




//3 alc947m7qhu6bnfokb9fxhwhb
// static int indent(Agraph_t * g, iochan_t * ofile) 
public static Object indent(Object... arg) {
UNSUPPORTED("40912tixu4uq4phusbevely94"); // static int indent(Agraph_t * g, iochan_t * ofile)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); //     int i;
UNSUPPORTED("452nzs4v8pata1dhjmqfyw26a"); //     for (i = Level; i > 0; i--)
UNSUPPORTED("cp0y2nic2hoy2snz5nbe40sue"); // 	{if ((ioput(g, ofile, "\t")) == EOF) return EOF;};
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 aquh9vkpmogoajxkl7kq8pukp
// static int strcasecmp(const char *s1, const char *s2) 
public static Object strcasecmp(Object... arg) {
UNSUPPORTED("55i7mwlbxqd1zslhu44ix4gza"); // static int strcasecmp(const char *s1, const char *s2)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("9470qtwtv37oof0w731kh9mcd"); //     while ((*s1 != '\0')
UNSUPPORTED("7tdf84gz2hakxs756j3v0w4iv"); // 	   && (tolower(*(unsigned char *) s1) ==
UNSUPPORTED("co97u0db3a8mz1pp77hkxq0h3"); // 	       tolower(*(unsigned char *) s2))) {
UNSUPPORTED("2hh1h5gydepd3ut3g43bzn51g"); // 	s1++;
UNSUPPORTED("7x8zh0pm8zj83pbc2d812jz90"); // 	s2++;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("1jrt0skm3a5djo3vfej4kwffc"); //     return tolower(*(unsigned char *) s1) - tolower(*(unsigned char *) s2);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 2ojpbtgz2c08fy2xlrhgbhcy4
// static char *_agstrcanon(char *arg, char *buf) 
public static Object _agstrcanon(Object... arg) {
UNSUPPORTED("5ahyn8mq6pzmkxszxeuiey91e"); // static char *_agstrcanon(char *arg, char *buf)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("9uldk42hjnckjndgz1sd6utof"); //     char *s, *p;
UNSUPPORTED("54eg86g95y7q6jevr2tq6ehrg"); //     unsigned char uc;
UNSUPPORTED("3n6j4vooz01bauxf0x735587g"); //     int cnt = 0, dotcnt = 0;
UNSUPPORTED("53cl57zz7angk2fz9q8i9936z"); //     int needs_quotes = (0);
UNSUPPORTED("2wr9q842ohxj2ycucqna9tlrq"); //     int maybe_num;
UNSUPPORTED("byb61zbgjorc2zybgctqz7ndl"); //     int backslash_pending = (0);
UNSUPPORTED("7nrc43frlcod90tqudlokiltw"); //     static const char *tokenlist[]	/* must agree with scan.l */
UNSUPPORTED("2z6417vrkzwojo65uicgj0ld5"); // 	= { "node", "edge", "strict", "graph", "digraph", "subgraph",
UNSUPPORTED("6e42116ruyo5sfksdjqb7k691"); // 	((char *)0)
UNSUPPORTED("9u8qqu9tw95qjbv3cxv3hj4bd"); //     };
UNSUPPORTED("c20r5olc3ceq2odrmolb37lhs"); //     const char **tok;
UNSUPPORTED("6hksaocbqg9tyniwys30i5f6"); //     if (((arg == 0) || (arg)[0] == '\0'))
UNSUPPORTED("bq8taui3sha21pp8m30j2waho"); // 	return "\"\"";
UNSUPPORTED("br1i8hfkomohyoahqijch1ldi"); //     s = arg;
UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); //     p = buf;
UNSUPPORTED("1xpnr5tufh6i8r19kq97wxx28"); //     *p++ = '\"';
UNSUPPORTED("8rbzvwd6z91kkb5pape5tgg3q"); //     uc = *(unsigned char *) s++;
UNSUPPORTED("eoo27x446n9ubl76pznj5nu00"); //     maybe_num = isdigit(uc) || (uc == '.') || (uc == '-');
UNSUPPORTED("281h1z55fo8i52vhjqmzge30m"); //     while (uc) {
UNSUPPORTED("7va7b0kw6l67cbr9jsef9o8jm"); // 	if (uc == '\"') {
UNSUPPORTED("ety3lnffj2pnokl02nxfy3qjv"); // 	    *p++ = '\\';
UNSUPPORTED("4xlo42dy0r02v5tuaxfr8oo7a"); // 	    needs_quotes = (!(0));
UNSUPPORTED("8nzcpbtoi924xzu8ze3z6dbft"); // 	} 
UNSUPPORTED("boo8lxly4fx140xmtb994j62j"); // 	else if (maybe_num) {
UNSUPPORTED("byw5stodlmd743wbq8w0lp6e5"); // 	    if (uc == '-') {
UNSUPPORTED("ch6epb3d0o3y71kr8cf0cr778"); // 		if (cnt) {
UNSUPPORTED("92uh7detqycxvk4j84os7jjrx"); // 		    maybe_num = (0);
UNSUPPORTED("1zi6cnn21vajv2p9guz4u0eyr"); // 		    needs_quotes = (!(0));
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("80niwic42cqbazv2vfmpokfiz"); // 	    else if (uc == '.') {
UNSUPPORTED("7wa32rmgq2t0s8q2vygfs0on9"); // 		if (dotcnt++) {
UNSUPPORTED("92uh7detqycxvk4j84os7jjrx"); // 		    maybe_num = (0);
UNSUPPORTED("1zi6cnn21vajv2p9guz4u0eyr"); // 		    needs_quotes = (!(0));
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("2w4vdk52vdon2nuo203y11zio"); // 	    else if (!isdigit(uc)) {
UNSUPPORTED("8ewnu9yn4sp7izb230lq2qwol"); // 		maybe_num = (0);
UNSUPPORTED("15rsfjpgyg6utb04u8l4x3f4c"); // 		needs_quotes = (!(0));
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("52w60ewi6p3skhhun8zvy7g7t"); // 	else if (!((isalnum(uc)) || ((uc) == '_') || (!isascii(uc))))
UNSUPPORTED("4xlo42dy0r02v5tuaxfr8oo7a"); // 	    needs_quotes = (!(0));
UNSUPPORTED("8vqehnf3u9tp0a4iixzlqns4k"); // 	*p++ = (char) uc;
UNSUPPORTED("5k76wlk3o6m3cuykuhkxtyhgf"); // 	uc = *(unsigned char *) s++;
UNSUPPORTED("1szm63athnlkprt3pv29pjc6z"); // 	cnt++;
UNSUPPORTED("7ludbekw5fkwt5axvcwd0ihll"); // 	/* If breaking long strings into multiple lines, only allow breaks after a non-id char, not a backslash, where the next char is an
UNSUPPORTED("1w1e1pcok5v4q2kgyz2wuk53m"); //  	 * id char.
UNSUPPORTED("62wb43w2xc6ex6hootjubbx22"); // 	 */
UNSUPPORTED("eq5hwet5rfzygnaktrq6o4j3d"); // 	if (Max_outputline) {
UNSUPPORTED("755u0yc4wr61hznjhzfrfko48"); //             if (uc && backslash_pending && !((isalnum(p[-1]) || ((p[-1]) == '.') || ((p[-1]) == '-') || !isascii(p[-1])) || (p[-1] == '\\')) && (isalnum(uc) || ((uc) == '.') || ((uc) == '-') || !isascii(uc))) {
UNSUPPORTED("cl1ikibcqt1ygqbum3xi5bk79"); //         	*p++ = '\\';
UNSUPPORTED("cnwc77tzwdfyrgdp1t6g4m6xi"); //         	*p++ = '\n';
UNSUPPORTED("3ako06kvsu28ggk2b9rs5pz48"); //         	needs_quotes = (!(0));
UNSUPPORTED("a2igyeujb49rhtvgheg64bogt"); //         	backslash_pending = (0);
UNSUPPORTED("ay9m9sdx7o92emcp6gjb31h4a"); // 		cnt = 0;
UNSUPPORTED("88eck934lobkga6adny14gqe2"); //             } else if (uc && (cnt >= Max_outputline)) {
UNSUPPORTED("3v26gypvwqprroryvbtfyvl7u"); //         	if (!((isalnum(p[-1]) || ((p[-1]) == '.') || ((p[-1]) == '-') || !isascii(p[-1])) || (p[-1] == '\\')) && (isalnum(uc) || ((uc) == '.') || ((uc) == '-') || !isascii(uc))) {
UNSUPPORTED("2a68wg6lba8oqhlul1evol2fj"); // 	            *p++ = '\\';
UNSUPPORTED("eyabtn4npcdoiho34u0vupwki"); //     	            *p++ = '\n';
UNSUPPORTED("clp3otxrl7w6cem7ww35rbw9f"); // 	            needs_quotes = (!(0));
UNSUPPORTED("4k7ukmo931f6gpk5q245qc7dz"); // 		    cnt = 0;
UNSUPPORTED("ajrvpjgla5ygjcpzcymd6016y"); //         	} else {
UNSUPPORTED("5mo9vqlb40kc1is2oibapcqj3"); //                     backslash_pending = (!(0));
UNSUPPORTED("4nbucwlhcfvw7r0uycyy9qc5l"); //         	}
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("1xpnr5tufh6i8r19kq97wxx28"); //     *p++ = '\"';
UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); //     *p = '\0';
UNSUPPORTED("6bzvicgwyrevlzo30bikj1qv"); //     if (needs_quotes || ((cnt == 1) && ((*arg == '.') || (*arg == '-'))))
UNSUPPORTED("60rrsbs3bgak2rhurj1kw71av"); // 	return buf;
UNSUPPORTED("70snqwmjpiy8fb85i8p82n7j8"); //     /* Use quotes to protect tokens (example, a node named "node") */
UNSUPPORTED("2d7m0n84k3kvilcrfc581k3m6"); //     /* It would be great if it were easier to use flex here. */
UNSUPPORTED("5yik6wlbtybgi55kf4vxe7bx"); //     for (tok = tokenlist; *tok; tok++)
UNSUPPORTED("7896yl4xbftaovjgrkv4xtxot"); // 	if (!strcasecmp(*tok, arg))
UNSUPPORTED("1fjzdj317ee1mtxirudje5tbt"); // 	    return buf;
UNSUPPORTED("2ima76y69crfh98d13kjftpwm"); //     return arg;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 10ev68p7aeqzm8tqvi1j5g6c0
// static char *agcanonhtmlstr(char *arg, char *buf) 
public static Object agcanonhtmlstr(Object... arg) {
UNSUPPORTED("8u1d8u9bl7jguved1qmtwv38g"); // static char *agcanonhtmlstr(char *arg, char *buf)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("9uldk42hjnckjndgz1sd6utof"); //     char *s, *p;
UNSUPPORTED("br1i8hfkomohyoahqijch1ldi"); //     s = arg;
UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); //     p = buf;
UNSUPPORTED("es744ndlvsi3inn0ehkueww59"); //     *p++ = '<';
UNSUPPORTED("5rofh7oao8cih2ztkjkacpzpm"); //     while (*s)
UNSUPPORTED("8e6st6hhl4yfs7qub4b87bkm0"); // 	*p++ = *s++;
UNSUPPORTED("5bbyh5dbvs12qykhja5su1xyb"); //     *p++ = '>';
UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); //     *p = '\0';
UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); //     return buf;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5el4k6xor36xwe2zw5pbxwvxg
// char *agstrcanon(char *arg, char *buf) 
public static Object agstrcanon(Object... arg) {
UNSUPPORTED("2eugjkuvwod6onqy9kfs2rzsm"); // char *agstrcanon(char *arg, char *buf)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2weabf7fj63ctkhrx0t8zthrb"); //     if (aghtmlstr(arg))
UNSUPPORTED("9iyrui5feoircaa0tm6yvyegj"); // 	return agcanonhtmlstr(arg, buf);
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("4td6knrzidkire6uqf2ev1u8w"); // 	return _agstrcanon(arg, buf);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 9ykg6r8cft6m1eqz84ptrhkkm
// static char *getoutputbuffer(char *str) 
public static Object getoutputbuffer(Object... arg) {
UNSUPPORTED("561sswbojerghf2xu4dg5bt1s"); // static char *getoutputbuffer(char *str)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("zfr61ahp8m2301a6i0zw5oys"); //     static char *rv;
UNSUPPORTED("24n1fkl62ovew6wndvdgst75s"); //     static int len;
UNSUPPORTED("azsy6o1769l9s9lw7qvcr8zld"); //     int req;
UNSUPPORTED("bcaz0e6faadnkk9q7r31ox2uv"); //     req = ((2 * strlen(str) + 2)>(BUFSIZ)?(2 * strlen(str) + 2):(BUFSIZ));
UNSUPPORTED("9u4b3k1a4ejkmpk16dd3q6h49"); //     if (req > len) {
UNSUPPORTED("3530976sh2i9fg23975vrw161"); // 	if (rv)
UNSUPPORTED("523zs48zoju9q6xlk50eptn16"); // 	    rv = realloc(rv, req);
UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // 	else
UNSUPPORTED("7kox9x8pkq2f0khjm3jy4bbwp"); // 	    rv = malloc(req);
UNSUPPORTED("7vego0iiluodex426985pztf0"); // 	len = req;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); //     return rv;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ewe36i40rrl3fpv7w0ryw05ni
// char *agcanonStr(char *str) 
public static Object agcanonStr(Object... arg) {
UNSUPPORTED("eyq4o9s8y123aetgpoe3yv8vb"); // char *agcanonStr(char *str)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("f4vpef7vd5wmhxtl2q4x9j290"); //     return agstrcanon(str, getoutputbuffer(str));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 dkk9fge4n0ji352t2bmtqxgcq
// char *agcanon(char *str, int html) 
public static Object agcanon(Object... arg) {
UNSUPPORTED("6rhv4om26ccgv3sf274hlssrb"); // char *agcanon(char *str, int html)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("cd1a0xw1om8gnmntf662c4ta"); //     char* buf = getoutputbuffer(str);
UNSUPPORTED("13sqoi4hswov0j5sorbvjalue"); //     if (html)
UNSUPPORTED("71wx9wy7wm7l1ofewrs36twa4"); // 	return agcanonhtmlstr(str, buf);
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("2gdx5yodu3th7xbdmdm7k5hw0"); // 	return _agstrcanon(str, buf);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 c3jnf1oiv9b8aheuv9llnqtg
// static int _write_canonstr(Agraph_t * g, iochan_t * ofile, char *str, 			   int chk) 
public static Object _write_canonstr(Object... arg) {
UNSUPPORTED("zr1y2wf05ldfglo6vrypd4d7"); // static int _write_canonstr(Agraph_t * g, iochan_t * ofile, char *str,
UNSUPPORTED("6jsqaz0aadg586twc1a3xkgp4"); // 			   int chk)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2f8bmob0vz6yu5pd99cq577kg"); //     if (chk)
UNSUPPORTED("byq8fiy8jzdslxiaf8z70lrfu"); // 	str = agcanonStr(str);
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("eqcm90rf7s86jz2vlvlu3wo94"); // 	str = _agstrcanon(str, getoutputbuffer(str));
UNSUPPORTED("3a92mnynygrlxzyr67es6ff7w"); //     return ioput(g, ofile, str);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 4wklmg8c4xwrlh8zj8mzsqqgy
// static int write_canonstr(Agraph_t * g, iochan_t * ofile, char *str) 
public static Object write_canonstr(Object... arg) {
UNSUPPORTED("9s58htjsqxlqmo523tjez4v1v"); // static int write_canonstr(Agraph_t * g, iochan_t * ofile, char *str)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("ao6n16fxplk35wuikk9lm5zsx"); //     return _write_canonstr(g, ofile, str, (!(0)));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 y99h25djxm7t672axpq6s9so
// static int write_dict(Agraph_t * g, iochan_t * ofile, char *name, 		      Dict_t * dict, int top) 
public static Object write_dict(Object... arg) {
UNSUPPORTED("2hsbtmft7fp9pqzt27syqpe99"); // static int write_dict(Agraph_t * g, iochan_t * ofile, char *name,
UNSUPPORTED("cbjl3cpko6q4cka2s9mb8kbhs"); // 		      Dict_t * dict, int top)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("behjm5bjsenezpg3f7cncvteu"); //     int cnt = 0;
UNSUPPORTED("51l8b50tqomi0gritl94e51v7"); //     Dict_t *view;
UNSUPPORTED("d173c80zt5jm4yd6ok8338o1x"); //     Agsym_t *sym, *psym;
UNSUPPORTED("9x367lbtuypg6bts6evclmc2w"); //     if (!top)
UNSUPPORTED("e1i7a6hfs0ejqoyb25zzrfqta"); // 	view = dtview(dict, ((Dict_t *)0));
UNSUPPORTED("div10atae09n36x269sl208r1"); //     else
UNSUPPORTED("5te3ph3q5wvma3d2s5lw15mte"); // 	view = 0;
UNSUPPORTED("2sbfwpbl8pxucyovu38d8v0rd"); //     for (sym = (Agsym_t *) (*(((Dt_t*)(dict))->searchf))((dict),(void*)(0),0000200); sym;
UNSUPPORTED("4h5k9o906c9hqrjv889octnef"); // 	 sym = (Agsym_t *) (*(((Dt_t*)(dict))->searchf))((dict),(void*)(sym),0000010)) {
UNSUPPORTED("avha7r5me5k7qy01jm6ejjvn6"); // 	if (((sym->defval == 0) || (sym->defval)[0] == '\0') && !sym->print) {	/* try to skip empty str (default) */
UNSUPPORTED("cgjccnmi11urn78eb1tpbqbay"); // 	    if (view == ((Dict_t *)0))
UNSUPPORTED("bcbhr2jloy4m2wcwkwqv35wki"); // 		continue;	/* no parent */
UNSUPPORTED("w57oejn8kxfcqhajcavmo1dq"); // 	    psym = (Agsym_t *) (*(((Dt_t*)(view))->searchf))((view),(void*)(sym),0000004);
UNSUPPORTED("9h1gyp9h3qbn1qj5fva3bn3xf"); // 	    ;
UNSUPPORTED("40fpwl1wqislxo0xgi8qgkqb9"); // 	    if (((psym->defval == 0) || (psym->defval)[0] == '\0') && psym->print)
UNSUPPORTED("3soi5dlurq6giqt0kic48ak6j"); // 		continue;	/* also empty in parent */
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("5drtib7guih41r51l0f4akjwx"); // 	if (cnt++ == 0) {
UNSUPPORTED("7qym8pnati72j923z80ihv0tx"); // 	    {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("91e6m2zyz414vtug4jlpigewp"); // 	    {if ((ioput(g, ofile, name)) == EOF) return EOF;};
UNSUPPORTED("2sydxv2pzbrpeo9em23ycry8f"); // 	    {if ((ioput(g, ofile, " [")) == EOF) return EOF;};
UNSUPPORTED("3ye74etl8i6jh415zncm5xbim"); // 	    Level++;
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // 	} else {
UNSUPPORTED("82k1j53lomse95wqgrzvbetri"); // 	    {if ((ioput(g, ofile, ",\n")) == EOF) return EOF;};
UNSUPPORTED("7qym8pnati72j923z80ihv0tx"); // 	    {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("82qplhcz1dry5ubqktjt15d6r"); // 	{if ((write_canonstr(g, ofile, sym->name)) == EOF) return EOF;};
UNSUPPORTED("6ex6hk4ixb3yj1adbanpmz0dj"); // 	{if ((ioput(g, ofile, "=")) == EOF) return EOF;};
UNSUPPORTED("ap40fv2u1o0jybevdc42ino23"); // 	{if ((write_canonstr(g, ofile, sym->defval)) == EOF) return EOF;};
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("3edmnqy3ok6qglbgwxmakkngx"); //     if (cnt > 0) {
UNSUPPORTED("17ejasz912kqtejldaozqxa0y"); // 	Level--;
UNSUPPORTED("dcosmode4wc3bkdk46pmafk3k"); // 	if (cnt > 1) {
UNSUPPORTED("tsypfw2ouyjuo1o6idz4hyur"); // 	    {if ((ioput(g, ofile, "\n")) == EOF) return EOF;};
UNSUPPORTED("7qym8pnati72j923z80ihv0tx"); // 	    {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("2p7hprd3pg5l28a3i4dl93swy"); // 	{if ((ioput(g, ofile, "];\n")) == EOF) return EOF;};
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("9x367lbtuypg6bts6evclmc2w"); //     if (!top)
UNSUPPORTED("33ixxp63qe4r2prla9az18o5"); // 	dtview(dict, view);	/* restore previous view */
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 aul5zu4oj0o9yrzdmyk88qt2s
// static int write_dicts(Agraph_t * g, iochan_t * ofile, int top) 
public static Object write_dicts(Object... arg) {
UNSUPPORTED("9za417mkt9iven86uu3v8o7tr"); // static int write_dicts(Agraph_t * g, iochan_t * ofile, int top)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("as84an41e1m52e76l3k6541ik"); //     Agdatadict_t *def;
UNSUPPORTED("4mlv0t6g3bl1stjs6qxrdoxc4"); //     if ((def = agdatadict(g, (0)))) {
UNSUPPORTED("16qe57vlv8koos7hnsvji0tcb"); // 	{if ((write_dict(g, ofile, "graph", def->dict.g, top)) == EOF) return EOF;};
UNSUPPORTED("ddwzxi0rpkb52u0w6d1r77skm"); // 	{if ((write_dict(g, ofile, "node", def->dict.n, top)) == EOF) return EOF;};
UNSUPPORTED("1fi4yw89hspw1v0on1017ioyg"); // 	{if ((write_dict(g, ofile, "edge", def->dict.e, top)) == EOF) return EOF;};
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 cg729l895pi0qnmlxnjytf8pd
// static int write_hdr(Agraph_t * g, iochan_t * ofile, int top) 
public static Object write_hdr(Object... arg) {
UNSUPPORTED("bv82284a2i51n13utave7gi65"); // static int write_hdr(Agraph_t * g, iochan_t * ofile, int top)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("5tmjn44cq2g0o6a4eim9n4r41"); //     char *name, *sep, *kind, *strict;
UNSUPPORTED("2o2xukvz5nqsn8ucmx0ibzi7u"); //     int root = 0;
UNSUPPORTED("defp72d837w5grmr10ijl40sc"); //     Attrs_not_written_flag = AGATTRWF(g);
UNSUPPORTED("8rxqqli6dshrniwafycl2x50i"); //     strict = "";
UNSUPPORTED("1dsqqvt6epu2867o19gd1w7e1"); //     if (NOT(top) && agparent(g))
UNSUPPORTED("8rffe0xay7r01yrp1zqkh1l0p"); // 	kind = "sub";
UNSUPPORTED("1nyzbeonram6636b1w955bypn"); //     else {
UNSUPPORTED("6digseocbrizgs0l1xdyetpd1"); // 	root = 1;
UNSUPPORTED("3l4f565mguh1h41c30y87hhcu"); // 	if (g->desc.directed)
UNSUPPORTED("e88vmmq10gtrhyxfiisp4c5n6"); // 	    kind = "di";
UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // 	else
UNSUPPORTED("477n1bidkrk4b8hcikwd601ww"); // 	    kind = "";
UNSUPPORTED("k23gu3jbsh35eolp8cxy1von"); // 	if (agisstrict(g))
UNSUPPORTED("coedgh6jpr1nsmmodeufhccd5"); // 	    strict = "strict ";
UNSUPPORTED("120w7pql0m6xxhshb1hu9xr83"); // 	Tailport = agattr(g, AGEDGE, "tailport", ((char *)0));
UNSUPPORTED("31kmh5iv8cqwsc5169jcje4m5"); // 	Headport = agattr(g, AGEDGE, "headport", ((char *)0));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("b1au7bgi7piu07obja3u404tt"); //     name = agnameof(g);
UNSUPPORTED("y39797izv2dtp714gzmbjmt2"); //     sep = " ";
UNSUPPORTED("deq0wlkdzgn0dsup6s8crdptk"); //     if (!name || name[0] == '%')
UNSUPPORTED("bngxzmad7ha2neojmucdgq2f"); // 	sep = name = "";
UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); //     {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("5x4jedwac3kvbjptwajbktmx9"); //     {if ((ioput(g, ofile, strict)) == EOF) return EOF;};
UNSUPPORTED("7gibcx01sloiz2efkhytt8gx4"); //     /* output "<kind>graph" only for root graphs or graphs with names */
UNSUPPORTED("6qy1c4safapm1tb5wyodbw52d"); //     if (*name || root) {
UNSUPPORTED("2g43v7zyxobg6xrwdex1ad5fw"); // 	{if ((ioput(g, ofile, kind)) == EOF) return EOF;};
UNSUPPORTED("48tfev7pi5eibapsnaibi6q4"); // 	{if ((ioput(g, ofile, "graph ")) == EOF) return EOF;};
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c6idt0yj6nq2ckloubbnilhq6"); //     if (name[0])
UNSUPPORTED("3kefg3n38sd1r4iu21fkfdpf5"); // 	{if ((write_canonstr(g, ofile, name)) == EOF) return EOF;};
UNSUPPORTED("67g1mzlw40lif93mafscbv4vi"); //     {if ((ioput(g, ofile, sep)) == EOF) return EOF;};
UNSUPPORTED("e0s5onmgtm3tlfd56y1rf4m6i"); //     {if ((ioput(g, ofile, "{\n")) == EOF) return EOF;};
UNSUPPORTED("9brxtep7biyoqds0hj0atawrp"); //     Level++;
UNSUPPORTED("bd93m59b1ncaay038o5563pwq"); //     {if ((write_dicts(g, ofile, top)) == EOF) return EOF;};
UNSUPPORTED("utp8mj7yh7s1sb68xrde8b8"); //     AGATTRWF(g) = (!(0));
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 3ledn06tna47mr73hhkiydl5l
// static int write_trl(Agraph_t * g, iochan_t * ofile) 
public static Object write_trl(Object... arg) {
UNSUPPORTED("b4cjvzzfv0u8yh5ym5v2dmx2e"); // static int write_trl(Agraph_t * g, iochan_t * ofile)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2q3myz3ctrvxg2tezy4xtlm09"); //     (void) g;
UNSUPPORTED("b3oxdten2n4i8m918fdxsp1hh"); //     Level--;
UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); //     {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("836o18jp9on1g7j6kfal2t1wd"); //     {if ((ioput(g, ofile, "}\n")) == EOF) return EOF;};
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 eyh488kxcrbg6le1efk7a3xpu
// static int irrelevant_subgraph(Agraph_t * g) 
public static Object irrelevant_subgraph(Object... arg) {
UNSUPPORTED("4oyi2kt79cxmi0rtl1m5q6g6h"); // static int irrelevant_subgraph(Agraph_t * g)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("fv6rlb2tzb6zbyr7t72uclhx"); //     int i, n;
UNSUPPORTED("cx0vt87bfp7pjiaw2jb68u1v7"); //     Agattr_t *sdata, *pdata, *rdata;
UNSUPPORTED("eq0gq1d7pmvj94j5nxbexze8p"); //     Agdatadict_t *dd;
UNSUPPORTED("8i0d7frxcvvmzhidle0zin9i0"); //     char *name;
UNSUPPORTED("b1au7bgi7piu07obja3u404tt"); //     name = agnameof(g);
UNSUPPORTED("c6ldem2asmpu0kxd9k0v9b52m"); //     if (name && name[0] != '%')
UNSUPPORTED("e6i1m837bi402fjvy87uxgyf"); // 	return (0);
UNSUPPORTED("1p7l4il64r01z920qe41c1z6l"); //     if ((sdata = agattrrec(g)) && (pdata = agattrrec(agparent(g)))) {
UNSUPPORTED("4qk4wnxqgrsapkliulr94azku"); // 	rdata = agattrrec(agroot(g));
UNSUPPORTED("dxmershxq961ha7vc4m5cr62k"); // 	n = dtsize(rdata->dict);
UNSUPPORTED("2865bsxs4j68vooz1yohtvgy"); // 	for (i = 0; i < n; i++)
UNSUPPORTED("29ws3fuj2ixpal7w4giqlkeoc"); // 	    if (sdata->str[i] && pdata->str[i]
UNSUPPORTED("cek78fcyqh122xyfndqd7s7cc"); // 		&& strcmp(sdata->str[i], pdata->str[i]))
UNSUPPORTED("dpizbhlbpjwomse6dgvnrhaih"); // 		return (0);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("3rxguujcd6li5w0c4w1p79et1"); //     dd = agdatadict(g, (0));
UNSUPPORTED("3tczoyxz5wlg8a4g3uhvrmm5o"); //     if (!dd)
UNSUPPORTED("3adr32h5e1fehu4g7j2u24asz"); // 	return (!(0));
UNSUPPORTED("22w1xj2fgexar3yp1jw8lz583"); //     if ((dtsize(dd->dict.n) > 0) || (dtsize(dd->dict.e) > 0))
UNSUPPORTED("e6i1m837bi402fjvy87uxgyf"); // 	return (0);
UNSUPPORTED("4si0cf97a5sfd9ozuunds9goz"); //     return (!(0));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ck85o9cm7ekqx3c2l0adsac5s
// int node_in_subg(Agraph_t * g, Agnode_t * n) 
public static Object node_in_subg(Object... arg) {
UNSUPPORTED("lttsft2kddk4usoa58k8snym"); // int node_in_subg(Agraph_t * g, Agnode_t * n)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); //     Agraph_t *subg;
UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); //     for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
UNSUPPORTED("7y0e3lnda08y951e0taazdpb3"); // 	if (irrelevant_subgraph(subg))
UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // 	    continue;
UNSUPPORTED("b64f4gc73opgpeltlgyojoq15"); // 	if (agsubnode(subg, n, (0)))
UNSUPPORTED("euj7k5raviuazd8jahwobe0r3"); // 	    return (!(0));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("297p5iu8oro94tdg9v29bbgiw"); //     return (0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 ksojc2a5losovfniqlzgt1vt
// static int has_no_edges(Agraph_t * g, Agnode_t * n) 
public static Object has_no_edges(Object... arg) {
UNSUPPORTED("64vkuv5tpo1b1viokvi658vrb"); // static int has_no_edges(Agraph_t * g, Agnode_t * n)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("awbxq19f7u7jetepurmyrq5mv"); //     return ((agfstin(g, n) == ((Agedge_t *)0))
UNSUPPORTED("enl87hoolfbxysnsww72soosi"); // 	    && (agfstout(g, n) == ((Agedge_t *)0)));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 2iad3x6pf4ovvofoylnqwe2wc
// static int has_no_predecessor_below(Agraph_t * g, Agnode_t * n, 				    unsigned long val) 
public static Object has_no_predecessor_below(Object... arg) {
UNSUPPORTED("7lbmpmt9voddi7i14szyn3qmm"); // static int has_no_predecessor_below(Agraph_t * g, Agnode_t * n,
UNSUPPORTED("1fr81p8hxc1nvf0lvodnf29px"); // 				    unsigned long val)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); //     Agedge_t *e;
UNSUPPORTED("38wcnqjivdjylzj9ulbjvi1e1"); //     if (AGSEQ(n) < val)
UNSUPPORTED("e6i1m837bi402fjvy87uxgyf"); // 	return (0);
UNSUPPORTED("ac765q9popbptusjymwzret5y"); //     for (e = agfstin(g, n); e; e = agnxtin(g, e))
UNSUPPORTED("dzqw274wu2nx03reilr9l7j5y"); // 	if (AGSEQ(e->node) < val)
UNSUPPORTED("8tnlb2txucdutal7665h0v68g"); // 	    return (0);
UNSUPPORTED("4si0cf97a5sfd9ozuunds9goz"); //     return (!(0));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 tn031eypwz2gs5143bxpsnuu
// static int not_default_attrs(Agraph_t * g, Agnode_t * n) 
public static Object not_default_attrs(Object... arg) {
UNSUPPORTED("emqc8yarfq0dgf06cnadhmpy7"); // static int not_default_attrs(Agraph_t * g, Agnode_t * n)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("bbzey600kwgvkyquhmgo33kda"); //     Agattr_t *data;
UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); //     Agsym_t *sym;
UNSUPPORTED("2q3myz3ctrvxg2tezy4xtlm09"); //     (void) g;
UNSUPPORTED("9j51hcoecext2qm6zhr7sj0oz"); //     if ((data = agattrrec(n))) {
UNSUPPORTED("coc462aobf6quvrhpcpnjpdrn"); // 	for (sym = (Agsym_t *) (*(((Dt_t*)(data->dict))->searchf))((data->dict),(void*)(0),0000200); sym;
UNSUPPORTED("amu8ypy9stk8vb4g601x25kpb"); // 	     sym = (Agsym_t *) (*(((Dt_t*)(data->dict))->searchf))((data->dict),(void*)(sym),0000010)) {
UNSUPPORTED("8wug16wgeteq8od3sraaujwnx"); // 	    if (data->str[sym->id] != sym->defval)
UNSUPPORTED("a1a1uhff21noh1htwzn6yp831"); // 		return (!(0));
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("297p5iu8oro94tdg9v29bbgiw"); //     return (0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 3hudq21u19r8v940lhosa07zk
// static int write_subgs(Agraph_t * g, iochan_t * ofile) 
public static Object write_subgs(Object... arg) {
UNSUPPORTED("81exc454cwr51dk4iq3g3so7e"); // static int write_subgs(Agraph_t * g, iochan_t * ofile)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); //     Agraph_t *subg;
UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); //     for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
UNSUPPORTED("b5hukzaylqhk3l4u8ewu9m7bz"); // 	if (irrelevant_subgraph(subg)) {
UNSUPPORTED("br6dtjggd74cdyd97thtidtrh"); // 	    write_subgs(subg, ofile);
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // 	else {
UNSUPPORTED("1ckh4rmjqkc7rc1701bz33i77"); // 	    {if ((write_hdr(subg, ofile, (0))) == EOF) return EOF;};
UNSUPPORTED("35agz39gubwvzxnxqoyttjyov"); // 	    {if ((write_body(subg, ofile)) == EOF) return EOF;};
UNSUPPORTED("6eshqt45zq6jp769b50pfyvlg"); // 	    {if ((write_trl(subg, ofile)) == EOF) return EOF;};
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 61m4d49ffhloytgknml3f3wr9
// static int write_edge_name(Agedge_t * e, iochan_t * ofile, int terminate) 
public static Object write_edge_name(Object... arg) {
UNSUPPORTED("7653rldgp23j0jh9w5u24afy9"); // static int write_edge_name(Agedge_t * e, iochan_t * ofile, int terminate)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); //     int rv;
UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); //     char *p;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("egwh1ccpd1lrz94020eszo4mm"); //     p = agnameof(e);
UNSUPPORTED("dmucqaij4o1u2fxfg43y5j4ow"); //     g = agraphof(e);
UNSUPPORTED("bq8birldnzbfylw4cnes3ptj5"); //     if (NOT(((p == 0) || (p)[0] == '\0'))) {
UNSUPPORTED("5kbp8i958xdwwdrsh3bodyol6"); // 	{if ((ioput(g, ofile, " [key=")) == EOF) return EOF;};
UNSUPPORTED("awv07dimzjjfdzdt11o3pq77k"); // 	{if ((write_canonstr(g, ofile, p)) == EOF) return EOF;};
UNSUPPORTED("d1a8tpm0uunsuvxjpppo8iww6"); // 	if (terminate)
UNSUPPORTED("cjtrrjw2cx48bap924touvqbx"); // 	    {if ((ioput(g, ofile, "]")) == EOF) return EOF;};
UNSUPPORTED("e1ueu04zlv0zdyfii20b8r0rk"); // 	rv = (!(0));
UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); //     } else
UNSUPPORTED("f5bn92wqqc6u64vmryax7oqh4"); // 	rv = (0);
UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); //     return rv;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 29knq7812qkc7yve3ynqs319m
// static int write_nondefault_attrs(void *obj, iochan_t * ofile, 				  Dict_t * defdict) 
public static Object write_nondefault_attrs(Object... arg) {
UNSUPPORTED("2eq8u2i8o96r7kj3kvvpk8pp8"); // static int write_nondefault_attrs(void *obj, iochan_t * ofile,
UNSUPPORTED("f427jfb8dxus2g2a3h2u8o5xu"); // 				  Dict_t * defdict)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("bbzey600kwgvkyquhmgo33kda"); //     Agattr_t *data;
UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); //     Agsym_t *sym;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("behjm5bjsenezpg3f7cncvteu"); //     int cnt = 0;
UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); //     int rv;
UNSUPPORTED("eg7ostyrb6k3w76d6frhjsxao"); //     if ((AGTYPE(obj) == AGINEDGE) || (AGTYPE(obj) == AGOUTEDGE)) {
UNSUPPORTED("b55iou6m33m4dht1xfevf1l4a"); // 	{if ((rv = write_edge_name(obj, ofile, (0))) == EOF) return EOF;};
UNSUPPORTED("3530976sh2i9fg23975vrw161"); // 	if (rv)
UNSUPPORTED("7hl03wjg5yryhvbe4ar0i0b8g"); // 	    cnt++;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("2jm7yr9s1ma9qprxon3kn34hs"); //     data = agattrrec(obj);
UNSUPPORTED("8pfuk9ua4x9bh68zk1kzwc5t9"); //     g = agraphof(obj);
UNSUPPORTED("ck70ilm5r0hsin65zhsuhqvr8"); //     if (data)
UNSUPPORTED("2xgrljvi8tbcibpvd93e3y4wu"); // 	for (sym = (Agsym_t *) (*(((Dt_t*)(defdict))->searchf))((defdict),(void*)(0),0000200); sym;
UNSUPPORTED("5iyprqxhu5o7vb2hvqsg29102"); // 	     sym = (Agsym_t *) (*(((Dt_t*)(defdict))->searchf))((defdict),(void*)(sym),0000010)) {
UNSUPPORTED("1277c7kjmziau8c0dpsgenzrx"); // 	    if ((AGTYPE(obj) == AGINEDGE) || (AGTYPE(obj) == AGOUTEDGE)) {
UNSUPPORTED("1sexsl72k6x8a89gyzml82202"); // 		if (Tailport && (sym->id == Tailport->id))
UNSUPPORTED("2yi9az7ibt7j9bwztjilyo0v2"); // 		    continue;
UNSUPPORTED("e5ubbne6czhxg5l70lp73v2qy"); // 		if (Headport && (sym->id == Headport->id))
UNSUPPORTED("2yi9az7ibt7j9bwztjilyo0v2"); // 		    continue;
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("an1qa2d9iqrp3xzh32hq5m7wo"); // 	    if (data->str[sym->id] != sym->defval) {
UNSUPPORTED("4xhq9pg814p2c5b2fffoiv6h9"); // 		if (cnt++ == 0) {
UNSUPPORTED("34h2pyawnomoq99i31tmiadll"); // 		    {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("edwv0jnia03ljoa7nei9zz0de"); // 		    {if ((ioput(g, ofile, " [")) == EOF) return EOF;};
UNSUPPORTED("cyr36a84f56xloi9axapn4x0l"); // 		    Level++;
UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // 		} else {
UNSUPPORTED("dm4dxqtiqxuaqodlpd06p0iu2"); // 		    {if ((ioput(g, ofile, ",\n")) == EOF) return EOF;};
UNSUPPORTED("34h2pyawnomoq99i31tmiadll"); // 		    {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // 		}
UNSUPPORTED("ewb7dhzx8h311btm514wxqh5d"); // 		{if ((write_canonstr(g, ofile, sym->name)) == EOF) return EOF;};
UNSUPPORTED("e5geka21ka5gvgmjo8gyb2vul"); // 		{if ((ioput(g, ofile, "=")) == EOF) return EOF;};
UNSUPPORTED("66a4xw8npqjv8xk4jka0g2xsm"); // 		{if ((write_canonstr(g, ofile, data->str[sym->id])) == EOF) return EOF;};
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("3edmnqy3ok6qglbgwxmakkngx"); //     if (cnt > 0) {
UNSUPPORTED("35d94qq9wy75h3y8r2eov436"); // 	{if ((ioput(g, ofile, "]")) == EOF) return EOF;};
UNSUPPORTED("17ejasz912kqtejldaozqxa0y"); // 	Level--;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("au1zt5ka3uvb2gtbnxfc6dp8m"); //     AGATTRWF((Agobj_t *) obj) = (!(0));
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 cxw4svv83nd76h7g9n4wtvyhe
// static int write_nodename(Agnode_t * n, iochan_t * ofile) 
public static Object write_nodename(Object... arg) {
UNSUPPORTED("cpgq7yh759xl1zrvqft4831wz"); // static int write_nodename(Agnode_t * n, iochan_t * ofile)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("2p565zvorxx52bxl6qo7p76e"); //     char *name, buf[20];
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("a4xof3tnbquhro6rrhmnuqoli"); //     name = agnameof(n);
UNSUPPORTED("38tgkes5dhr4oloxpg73baq10"); //     g = agraphof(n);
UNSUPPORTED("30nxp5k7c6mdth5ymcpz1oxob"); //     if (name) {
UNSUPPORTED("3kefg3n38sd1r4iu21fkfdpf5"); // 	{if ((write_canonstr(g, ofile, name)) == EOF) return EOF;};
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("ezpeldusu1c6rg1a2nm7scden"); // 	sprintf(buf, "_%ld_SUSPECT", AGID(n));	/* could be deadly wrong */
UNSUPPORTED("bryntb9dnhodyku7ylgr1cie9"); // 	{if ((ioput(g, ofile, buf)) == EOF) return EOF;};
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 evmg0r67fn4l8l3ivojk7rt0g
// static int attrs_written(void *obj) 
public static Object attrs_written(Object... arg) {
UNSUPPORTED("7psl0ji9q989ywpylalpurvqy"); // static int attrs_written(void *obj)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("ae64q3xp4s7ek7gaqaekhyrbv"); //     return (AGATTRWF((Agobj_t *) obj));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 2m70lxskcmbyg6wdxe5r6ai1e
// static int write_node(Agnode_t * n, iochan_t * ofile, Dict_t * d) 
public static Object write_node(Object... arg) {
UNSUPPORTED("cqa550o688iknrhl43di42f58"); // static int write_node(Agnode_t * n, iochan_t * ofile, Dict_t * d)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("38tgkes5dhr4oloxpg73baq10"); //     g = agraphof(n);
UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); //     {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("ad6u6q90muje77m4c2w3g4vnp"); //     {if ((write_nodename(n, ofile)) == EOF) return EOF;};
UNSUPPORTED("188f2l06cxx44bobai7uck0n3"); //     if (NOT(attrs_written(n)))
UNSUPPORTED("604ofy6n5gra880spsr7pttzu"); // 	{if ((write_nondefault_attrs(n, ofile, d)) == EOF) return EOF;};
UNSUPPORTED("36fggxzk0yp5o9iu0wl66dbg4"); //     return ioput(g, ofile, ";\n");
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 f14lr3pcw3fr38egphpz5nnu4
// static int write_node_test(Agraph_t * g, Agnode_t * n, 			   unsigned long pred_id) 
public static Object write_node_test(Object... arg) {
UNSUPPORTED("5dzvb8cmg948ujvvba4qgoohs"); // static int write_node_test(Agraph_t * g, Agnode_t * n,
UNSUPPORTED("5wtydk3j3fgnkmg8zhzz67wtx"); // 			   unsigned long pred_id)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("4iai1f8jf6nldihij6j7geznt"); //     if (NOT(node_in_subg(g, n)) && has_no_predecessor_below(g, n, pred_id)) {
UNSUPPORTED("6r86ld6632dwt68hrrxl7r69n"); // 	if (has_no_edges(g, n) || not_default_attrs(g, n))
UNSUPPORTED("euj7k5raviuazd8jahwobe0r3"); // 	    return (!(0));
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("297p5iu8oro94tdg9v29bbgiw"); //     return (0);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 5zf7u1r6hz67tt7a3231b6prh
// static int write_port(Agedge_t * e, iochan_t * ofile, Agsym_t * port) 
public static Object write_port(Object... arg) {
UNSUPPORTED("4xje10w5oamectfsdzliliyqw"); // static int write_port(Agedge_t * e, iochan_t * ofile, Agsym_t * port)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("eocf25luzhwv5bxjexjp351gh"); //     char *val;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("8rqevc1hrm1ne2lnxwvj4fv4c"); //     if (!port)
UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // 	return 0;
UNSUPPORTED("dmucqaij4o1u2fxfg43y5j4ow"); //     g = agraphof(e);
UNSUPPORTED("831dn8v157veiodzq2v8241lf"); //     val = agxget(e, port);
UNSUPPORTED("4suzircl51e85yp915bz7v4qu"); //     if (val[0] == '\0')
UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // 	return 0;
UNSUPPORTED("1p5n9iv2fv2lzf7o45j51tgxp"); //     {if ((ioput(g, ofile, ":")) == EOF) return EOF;};
UNSUPPORTED("3iqdx5w9ghlst037y7bcvz6wf"); //     if (aghtmlstr(val)) {
UNSUPPORTED("56u7ilzcb1yhhwozqmp6hleat"); // 	{if ((write_canonstr(g, ofile, val)) == EOF) return EOF;};
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("252d0vgl5lh8pgtnfcmeu89tc"); // 	char *s = strchr(val, ':');
UNSUPPORTED("dmtz739k0mm5ehrx59272alpr"); // 	if (s) {
UNSUPPORTED("ezrforbrab3hidaupv18faqcb"); // 	    *s = '\0';
UNSUPPORTED("akn31o7bkj0ssrdx07xi5mm43"); // 	    {if ((_write_canonstr(g, ofile, val, (0))) == EOF) return EOF;};
UNSUPPORTED("81xvkbzakdflnij10q44u5uoe"); // 	    {if ((ioput(g, ofile, ":")) == EOF) return EOF;};
UNSUPPORTED("4fp9nlo79i4xv1dnsitfjarsm"); // 	    {if ((_write_canonstr(g, ofile, s + 1, (0))) == EOF) return EOF;};
UNSUPPORTED("94ybugc52d4387gg45p7y33hs"); // 	    *s = ':';
UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // 	} else {
UNSUPPORTED("akn31o7bkj0ssrdx07xi5mm43"); // 	    {if ((_write_canonstr(g, ofile, val, (0))) == EOF) return EOF;};
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 4ldk2wgnwzswqi3af43tel24y
// static int write_edge_test(Agraph_t * g, Agedge_t * e) 
public static Object write_edge_test(Object... arg) {
UNSUPPORTED("9yp7jgxf5ed1bvk0sw51xbkbo"); // static int write_edge_test(Agraph_t * g, Agedge_t * e)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); //     Agraph_t *subg;
UNSUPPORTED("9qltiz4q6ds2g8b7awgcytymv"); //     /* can use agedge() because we subverted the dict compar_f */
UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); //     for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
UNSUPPORTED("7y0e3lnda08y951e0taazdpb3"); // 	if (irrelevant_subgraph(subg))
UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // 	    continue;
UNSUPPORTED("eg7qrpri7skg2hr3nvvadkdyd"); // 	if (agsubedge(subg, e, (0)))
UNSUPPORTED("8tnlb2txucdutal7665h0v68g"); // 	    return (0);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("4si0cf97a5sfd9ozuunds9goz"); //     return (!(0));
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 achkvduksnhmlem44ia61tdpm
// static int write_edge(Agedge_t * e, iochan_t * ofile, Dict_t * d) 
public static Object write_edge(Object... arg) {
UNSUPPORTED("35w5n554uravyh0k7gmn73zup"); // static int write_edge(Agedge_t * e, iochan_t * ofile, Dict_t * d)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("4ybt6tm56tubmbuve8lp6rxhh"); //     Agnode_t *t, *h;
UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); //     Agraph_t *g;
UNSUPPORTED("5webprz21nzifr3m5zwnqxx6m"); //     t = AGTAIL(e);
UNSUPPORTED("ax8363bkxphvbre4n21ewb568"); //     h = AGHEAD(e);
UNSUPPORTED("8qt01zznk6z8nu3spriyiry81"); //     g = agraphof(t);
UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); //     {if ((indent(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("2gxk9z53sl9dr4ozmgyl6vn6j"); //     {if ((write_nodename(t, ofile)) == EOF) return EOF;};
UNSUPPORTED("71dxqgydbyqut1trdx63djy04"); //     {if ((write_port(e, ofile, Tailport)) == EOF) return EOF;};
UNSUPPORTED("edsdju74g486xwykrjecfdz9t"); //     {if ((ioput(g, ofile,(agisdirected(agraphof(t)) ? " -> " : " -- "))) == EOF) return EOF;};
UNSUPPORTED("cg68mtym2rtcpt6dl9cgou9ty"); //     {if ((write_nodename(h, ofile)) == EOF) return EOF;};
UNSUPPORTED("9yj27gqf0jtykmnnuyntescvp"); //     {if ((write_port(e, ofile, Headport)) == EOF) return EOF;};
UNSUPPORTED("1v1o17ud9bvt5cbsexej1x6lb"); //     if (NOT(attrs_written(e))) {
UNSUPPORTED("ddestrlasmplu0lkczahiwnio"); // 	{if ((write_nondefault_attrs(e, ofile, d)) == EOF) return EOF;};
UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); //     } else {
UNSUPPORTED("197ftan7rtv20qonq7s9jvp8n"); // 	{if ((write_edge_name(e, ofile, (!(0)))) == EOF) return EOF;};
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("36fggxzk0yp5o9iu0wl66dbg4"); //     return ioput(g, ofile, ";\n");
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 uu07lrf43gcxm3lfka71pyvs
// static int write_body(Agraph_t * g, iochan_t * ofile) 
public static Object write_body(Object... arg) {
UNSUPPORTED("24udwe07nmfa7mly8u6t458cy"); // static int write_body(Agraph_t * g, iochan_t * ofile)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("6vso73lw5lxv6m32fli4evzoo"); //     Agnode_t *n, *prev;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); //     Agedge_t *e;
UNSUPPORTED("eq0gq1d7pmvj94j5nxbexze8p"); //     Agdatadict_t *dd;
UNSUPPORTED("ecc7weo8sqce4hc8zhangqyxh"); //     /* int                  has_attr; */
UNSUPPORTED("1qkoefgefzcbae9lcfldryhcu"); //     /* has_attr = (agattrrec(g) != NIL(Agattr_t*)); */
UNSUPPORTED("epct28o6e8jijggk3kdf7at2d"); //     {if ((write_subgs(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("avn5z8qt3zn87v0tr4t43aptm"); //     dd = agdatadict(agroot(g), (0));
UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); //     for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
UNSUPPORTED("5o93nkpvajmx0eouvhi1py3a3"); // 	if (write_node_test(g, n, AGSEQ(n)))
UNSUPPORTED("bnzzfj5rb2fb7l96rnoscoyzt"); // 	    {if ((write_node(n, ofile, dd ? dd->dict.n : 0)) == EOF) return EOF;};
UNSUPPORTED("9z3wosnod2eza62eqd598gf15"); // 	prev = n;
UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // 	for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
UNSUPPORTED("4rv2a1j1w99ox9vwkb58qcndm"); // 	    if ((prev != aghead(e))
UNSUPPORTED("6pm10qlp4eognb60xcbf4a2tx"); // 		&& write_node_test(g, aghead(e), AGSEQ(n))) {
UNSUPPORTED("as20nn69z1udd99ioxq1m2410"); // 		{if ((write_node(aghead(e), ofile, dd ? dd->dict.n : 0)) == EOF) return EOF;};
UNSUPPORTED("4hmon4o3z87811qet9gh6wspf"); // 		prev = aghead(e);
UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // 	    }
UNSUPPORTED("a9y45p58h8680rmry84kep0k7"); // 	    if (write_edge_test(g, e))
UNSUPPORTED("6yl3in89h59zpkbs0vjdo9g5e"); // 		{if ((write_edge(e, ofile, dd ? dd->dict.e : 0)) == EOF) return EOF;};
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); //     return 0;
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 6qzik6sn6t699oya0mtmc09kj
// static void set_attrwf(Agraph_t * g, int toplevel, int value) 
public static Object set_attrwf(Object... arg) {
UNSUPPORTED("8qq9xih8ju452kzwi2vfuflx1"); // static void set_attrwf(Agraph_t * g, int toplevel, int value)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); //     Agraph_t *subg;
UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); //     Agnode_t *n;
UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); //     Agedge_t *e;
UNSUPPORTED("24t3hnv9bwzu54ytirjoo9ll0"); //     AGATTRWF(g) = value;
UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); //     for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
UNSUPPORTED("37kcx814prucmw0dgtx90gys3"); // 	set_attrwf(subg, (0), value);
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("5r7vuplpj8az4hdy8stn9opja"); //     if (toplevel) {
UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // 	for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
UNSUPPORTED("8wb9syhcd6ckmrfo4kkh1dg6o"); // 	    AGATTRWF(n) = value;
UNSUPPORTED("8wpryg13apwpccvklympyeyqu"); // 	    for (e = agfstout(g, n); e; e = agnxtout(g, e))
UNSUPPORTED("cb595c0e5qk8td22sve3vdd9y"); // 		AGATTRWF(e) = value;
UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // 	}
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}




//3 9bptgx2xn1o2lmf9b3bmbjcx8
// int agwrite(Agraph_t * g, void *ofile) 
public static Object agwrite(Object... arg) {
UNSUPPORTED("354j237921gksw95lxhfou3c9"); // int agwrite(Agraph_t * g, void *ofile)
UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
UNSUPPORTED("yiuh599p05f2mpu2e3pesu2o"); //     char* s;
UNSUPPORTED("dwe86466ugstemepdfk8yzphz"); //     int len;
UNSUPPORTED("w1wwvddvl612b2n4mm48vyzg"); //     Level = 0;			/* re-initialize tab level */
UNSUPPORTED("c1kw4u0tftoc897fbywyem5cx"); //     if ((s = agget(g, "linelength")) && isdigit(*s)) {
UNSUPPORTED("3osc4y4ixfivmttpwtzh5gqse"); // 	len = (int)strtol(s, (char **)NULL, 10);
UNSUPPORTED("4rqc2dbtsiwkva90qvgd404ve"); // 	if ((len == 0) || (len >= 60))
UNSUPPORTED("72a6c8cf7tnb2ookwzttqa88n"); // 	    Max_outputline = len;
UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); //     }
UNSUPPORTED("4sbvvs8w0qt626w12i77zjorp"); //     set_attrwf(g, (!(0)), (0));
UNSUPPORTED("auyox07z514kd3x5fgcna10dd"); //     {if ((write_hdr(g, ofile, (!(0)))) == EOF) return EOF;};
UNSUPPORTED("75p7mwy716aorog189xdsukra"); //     {if ((write_body(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("dfeqp09vdcut9uyrm908or81q"); //     {if ((write_trl(g, ofile)) == EOF) return EOF;};
UNSUPPORTED("b4rn0yi1ogpc3e78wrtt5jj15"); //     Max_outputline = 128;
UNSUPPORTED("cbe60vdps5mrbfuocxpwxzu78"); //     return ((g)->clos->disc.io)->flush(ofile);
UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }

throw new UnsupportedOperationException();
}


}
