home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
sa104os2.zip
/
SATHR104.ZIP
/
SATHER
/
BOOT
/
CS.COD
/
CODE6.C
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-15
|
250KB
|
9,734 lines
/* C code generated by Sather 1.0 compiler */
#include "sather.h"
#include "strings.h"
INT TR_BOUND_CREATE__7257(TR_BOUND_CREATE_EXPR self) {
INT noname7258 = ((INT) 0);
INT r_7259 = ((INT) 0);
TR_EXPR n_7260;
TR_EXPR local0;
if ((self==((TR_BOUND_CREATE_EXPR) NULL))) {
return 0;
}
r_7259 = 1;
n_7260 = self->next_8;
while (1) {
if ((n_7260==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7259 = (c_INT_plus_INT_INT_chk(r_7259,1));
local0 = n_7260;
n_7260 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7259;
}
INT TR_ARRAY_EXPR_si(TR_ARRAY_EXPR self) {
INT noname7262 = ((INT) 0);
INT r_7263 = ((INT) 0);
TR_EXPR n_7264;
TR_EXPR local0;
if ((self==((TR_ARRAY_EXPR) NULL))) {
return 0;
}
r_7263 = 1;
n_7264 = self->next_8;
while (1) {
if ((n_7264==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7263 = (c_INT_plus_INT_INT_chk(r_7263,1));
local0 = n_7264;
n_7264 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7263;
}
INT TR_BREAK_EXPR_si(TR_BREAK_EXPR self) {
INT noname7266 = ((INT) 0);
INT r_7267 = ((INT) 0);
TR_EXPR n_7268;
TR_EXPR local0;
if ((self==((TR_BREAK_EXPR) NULL))) {
return 0;
}
r_7267 = 1;
n_7268 = self->next_8;
while (1) {
if ((n_7268==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7267 = (c_INT_plus_INT_INT_chk(r_7267,1));
local0 = n_7268;
n_7268 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7267;
}
INT TR_INITIAL_EXPR__7270(TR_INITIAL_EXPR self) {
INT noname7271 = ((INT) 0);
INT r_7272 = ((INT) 0);
TR_EXPR n_7273;
TR_EXPR local0;
if ((self==((TR_INITIAL_EXPR) NULL))) {
return 0;
}
r_7272 = 1;
n_7273 = self->next_8;
while (1) {
if ((n_7273==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7272 = (c_INT_plus_INT_INT_chk(r_7272,1));
local0 = n_7273;
n_7273 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7272;
}
INT TR_AND_EXPR_size_INT(TR_AND_EXPR self) {
INT noname7275 = ((INT) 0);
INT r_7276 = ((INT) 0);
TR_EXPR n_7277;
TR_EXPR local0;
if ((self==((TR_AND_EXPR) NULL))) {
return 0;
}
r_7276 = 1;
n_7277 = self->next_8;
while (1) {
if ((n_7277==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7276 = (c_INT_plus_INT_INT_chk(r_7276,1));
local0 = n_7277;
n_7277 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7276;
}
INT TR_FLT_LIT_EXPR__7279(TR_FLT_LIT_EXPR self) {
INT noname7280 = ((INT) 0);
INT r_7281 = ((INT) 0);
TR_EXPR n_7282;
TR_EXPR local0;
if ((self==((TR_FLT_LIT_EXPR) NULL))) {
return 0;
}
r_7281 = 1;
n_7282 = self->next_8;
while (1) {
if ((n_7282==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7281 = (c_INT_plus_INT_INT_chk(r_7281,1));
local0 = n_7282;
n_7282 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7281;
}
INT TR_EXCEPT_EXPR_s(TR_EXCEPT_EXPR self) {
INT noname7284 = ((INT) 0);
INT r_7285 = ((INT) 0);
TR_EXPR n_7286;
TR_EXPR local0;
if ((self==((TR_EXCEPT_EXPR) NULL))) {
return 0;
}
r_7285 = 1;
n_7286 = self->next_8;
while (1) {
if ((n_7286==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7285 = (c_INT_plus_INT_INT_chk(r_7285,1));
local0 = n_7286;
n_7286 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7285;
}
INT TR_BOOL_LIT_EXPR_7288(TR_BOOL_LIT_EXPR self) {
INT noname7289 = ((INT) 0);
INT r_7290 = ((INT) 0);
TR_EXPR n_7291;
TR_EXPR local0;
if ((self==((TR_BOOL_LIT_EXPR) NULL))) {
return 0;
}
r_7290 = 1;
n_7291 = self->next_8;
while (1) {
if ((n_7291==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7290 = (c_INT_plus_INT_INT_chk(r_7290,1));
local0 = n_7291;
n_7291 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7290;
}
INT TR_NEAR_EXPR_siz(TR_NEAR_EXPR self) {
INT noname7293 = ((INT) 0);
INT r_7294 = ((INT) 0);
TR_EXPR n_7295;
TR_EXPR local0;
if ((self==((TR_NEAR_EXPR) NULL))) {
return 0;
}
r_7294 = 1;
n_7295 = self->next_8;
while (1) {
if ((n_7295==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7294 = (c_INT_plus_INT_INT_chk(r_7294,1));
local0 = n_7295;
n_7295 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7294;
}
INT TR_SELF_EXPR_siz(TR_SELF_EXPR self) {
INT noname7297 = ((INT) 0);
INT r_7298 = ((INT) 0);
TR_EXPR n_7299;
TR_EXPR local0;
if ((self==((TR_SELF_EXPR) NULL))) {
return 0;
}
r_7298 = 1;
n_7299 = self->next_8;
while (1) {
if ((n_7299==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7298 = (c_INT_plus_INT_INT_chk(r_7298,1));
local0 = n_7299;
n_7299 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7298;
}
INT TR_VOID_EXPR_siz(TR_VOID_EXPR self) {
INT noname7301 = ((INT) 0);
INT r_7302 = ((INT) 0);
TR_EXPR n_7303;
TR_EXPR local0;
if ((self==((TR_VOID_EXPR) NULL))) {
return 0;
}
r_7302 = 1;
n_7303 = self->next_8;
while (1) {
if ((n_7303==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7302 = (c_INT_plus_INT_INT_chk(r_7302,1));
local0 = n_7303;
n_7303 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7302;
}
INT TR_AT_EXPR_size_INT(TR_AT_EXPR self) {
INT noname7305 = ((INT) 0);
INT r_7306 = ((INT) 0);
TR_EXPR n_7307;
TR_EXPR local0;
if ((self==((TR_AT_EXPR) NULL))) {
return 0;
}
r_7306 = 1;
n_7307 = self->next_8;
while (1) {
if ((n_7307==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7306 = (c_INT_plus_INT_INT_chk(r_7306,1));
local0 = n_7307;
n_7307 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7306;
}
INT TR_NEW_EXPR_size_INT(TR_NEW_EXPR self) {
INT noname7309 = ((INT) 0);
INT r_7310 = ((INT) 0);
TR_EXPR n_7311;
TR_EXPR local0;
if ((self==((TR_NEW_EXPR) NULL))) {
return 0;
}
r_7310 = 1;
n_7311 = self->next_8;
while (1) {
if ((n_7311==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7310 = (c_INT_plus_INT_INT_chk(r_7310,1));
local0 = n_7311;
n_7311 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7310;
}
INT TR_RESULT_EXPR_s(TR_RESULT_EXPR self) {
INT noname7313 = ((INT) 0);
INT r_7314 = ((INT) 0);
TR_EXPR n_7315;
TR_EXPR local0;
if ((self==((TR_RESULT_EXPR) NULL))) {
return 0;
}
r_7314 = 1;
n_7315 = self->next_8;
while (1) {
if ((n_7315==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7314 = (c_INT_plus_INT_INT_chk(r_7314,1));
local0 = n_7315;
n_7315 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7314;
}
INT TR_OR_EXPR_size_INT(TR_OR_EXPR self) {
INT noname7317 = ((INT) 0);
INT r_7318 = ((INT) 0);
TR_EXPR n_7319;
TR_EXPR local0;
if ((self==((TR_OR_EXPR) NULL))) {
return 0;
}
r_7318 = 1;
n_7319 = self->next_8;
while (1) {
if ((n_7319==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7318 = (c_INT_plus_INT_INT_chk(r_7318,1));
local0 = n_7319;
n_7319 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7318;
}
INT TR_EXPR_size_INT_7321(TR_EXPR_52 self) {
INT noname7322 = ((INT) 0);
INT r_7323 = ((INT) 0);
TR_EXPR n_7324;
TR_EXPR local0;
if ((self==((TR_EXPR_52) NULL))) {
return 0;
}
r_7323 = 1;
n_7324 = self->next_8;
while (1) {
if ((n_7324==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7323 = (c_INT_plus_INT_INT_chk(r_7323,1));
local0 = n_7324;
n_7324 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7323;
}
INT TR_STR_LIT_EXPR__7326(TR_STR_LIT_EXPR self) {
INT noname7327 = ((INT) 0);
INT r_7328 = ((INT) 0);
TR_EXPR n_7329;
TR_EXPR local0;
if ((self==((TR_STR_LIT_EXPR) NULL))) {
return 0;
}
r_7328 = 1;
n_7329 = self->next_8;
while (1) {
if ((n_7329==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7328 = (c_INT_plus_INT_INT_chk(r_7328,1));
local0 = n_7329;
n_7329 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7328;
}
INT TR_CREATE_EXPR_s(TR_CREATE_EXPR self) {
INT noname7331 = ((INT) 0);
INT r_7332 = ((INT) 0);
TR_EXPR n_7333;
TR_EXPR local0;
if ((self==((TR_CREATE_EXPR) NULL))) {
return 0;
}
r_7332 = 1;
n_7333 = self->next_8;
while (1) {
if ((n_7333==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7332 = (c_INT_plus_INT_INT_chk(r_7332,1));
local0 = n_7333;
n_7333 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7332;
}
INT TR_FAR_EXPR_size_INT(TR_FAR_EXPR self) {
INT noname7335 = ((INT) 0);
INT r_7336 = ((INT) 0);
TR_EXPR n_7337;
TR_EXPR local0;
if ((self==((TR_FAR_EXPR) NULL))) {
return 0;
}
r_7336 = 1;
n_7337 = self->next_8;
while (1) {
if ((n_7337==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7336 = (c_INT_plus_INT_INT_chk(r_7336,1));
local0 = n_7337;
n_7337 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7336;
}
INT TR_IS_VOID_EXPR__7339(TR_IS_VOID_EXPR self) {
INT noname7340 = ((INT) 0);
INT r_7341 = ((INT) 0);
TR_EXPR n_7342;
TR_EXPR local0;
if ((self==((TR_IS_VOID_EXPR) NULL))) {
return 0;
}
r_7341 = 1;
n_7342 = self->next_8;
while (1) {
if ((n_7342==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7341 = (c_INT_plus_INT_INT_chk(r_7341,1));
local0 = n_7342;
n_7342 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7341;
}
INT TR_WHERE_EXPR_si(TR_WHERE_EXPR self) {
INT noname7344 = ((INT) 0);
INT r_7345 = ((INT) 0);
TR_EXPR n_7346;
TR_EXPR local0;
if ((self==((TR_WHERE_EXPR) NULL))) {
return 0;
}
r_7345 = 1;
n_7346 = self->next_8;
while (1) {
if ((n_7346==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7345 = (c_INT_plus_INT_INT_chk(r_7345,1));
local0 = n_7346;
n_7346 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7345;
}
INT TR_INT_LIT_EXPR__7348(TR_INT_LIT_EXPR self) {
INT noname7349 = ((INT) 0);
INT r_7350 = ((INT) 0);
TR_EXPR n_7351;
TR_EXPR local0;
if ((self==((TR_INT_LIT_EXPR) NULL))) {
return 0;
}
r_7350 = 1;
n_7351 = self->next_8;
while (1) {
if ((n_7351==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7350 = (c_INT_plus_INT_INT_chk(r_7350,1));
local0 = n_7351;
n_7351 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7350;
}
INT TR_UNDERSCORE_AR_7353(TR_UNDERSCORE_ARG self) {
INT noname7354 = ((INT) 0);
INT r_7355 = ((INT) 0);
TR_EXPR n_7356;
TR_EXPR local0;
if ((self==((TR_UNDERSCORE_ARG) NULL))) {
return 0;
}
r_7355 = 1;
n_7356 = self->next_8;
while (1) {
if ((n_7356==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7355 = (c_INT_plus_INT_INT_chk(r_7355,1));
local0 = n_7356;
n_7356 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7355;
}
INT TR_CALL_EXPR_siz(TR_CALL_EXPR self) {
INT noname7358 = ((INT) 0);
INT r_7359 = ((INT) 0);
TR_EXPR n_7360;
TR_EXPR local0;
if ((self==((TR_CALL_EXPR) NULL))) {
return 0;
}
r_7359 = 1;
n_7360 = self->next_8;
while (1) {
if ((n_7360==((TR_EXPR) NULL))) {
goto after_loop;
}
r_7359 = (c_INT_plus_INT_INT_chk(r_7359,1));
local0 = n_7360;
n_7360 = (*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0);
}
after_loop: ;
return r_7359;
}
AM_LOCAL_EXPR AM_ROUT_DEF_elt_(AM_ROUT_DEF_elt__frame frame) {
AM_LOCAL_EXPR dummy;
AM_LOCAL_EXPR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((AM_ROUT_DEF) NULL))))) {
{
frame->nested1 = ALLOCATE(AM_ROUT_DEF_aelt_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7363 = frame->arg0;
frame->nested1->arg0 = frame->noname7363;
}
local0 = AM_ROUT_DEF_aelt(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
AM_LOCAL_EXPR AM_ROUT_DEF_aelt(AM_ROUT_DEF_aelt_frame frame) {
AM_LOCAL_EXPR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((AM_ROUT_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7366 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7366;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return AM_ROUT_DEF_aget(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
OB FSETOB_elt_OB(FSETOB_elt_OB_frame frame) {
OB dummy;
OB local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSETOB) NULL))))) {
{
frame->nested1 = ALLOCATE(FSETOB_aelt_OB_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7369 = frame->arg0;
frame->nested1->arg0 = frame->noname7369;
}
local0 = FSETOB_aelt_OB(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7370 = local0;
if ((!(FSETOB_elt_eq_OB(frame->arg0, frame->r_7370, FSETOB_elt_nil_OB(frame->arg0))))) {
frame->state = 1;
return frame->r_7370;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FSETOB_invariant(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{$OB}::invariant:BOOL ../Library/fset.sa:98:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FSETOB_invariant(FSETOB self) {
BOOL noname7372 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FSETOB) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
OB FSETOB_aelt_OB(FSETOB_aelt_OB_frame frame) {
OB dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETOB) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7374 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7374;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FSETOB_aget_INT_OB(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETOB_invariant(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{$OB}::invariant:BOOL ../Library/aref.sa:48:7\n");
exit(16);
}
frame->state = -1;
return dummy;
}
AM_ITER_CALL_EXPR FLISTAM_ITER_CAL_4815(FLISTAM_ITER_CAL_4815_frame frame) {
AM_ITER_CALL_EXPR dummy;
AM_ITER_CALL_EXPR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTAM_ITER_CAL) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTAM_ITER_CAL_7381_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7377 = frame->arg0;
frame->noname7378 = 0;
frame->noname7379 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7377;
frame->nested1->arg1 = frame->noname7378;
frame->nested1->arg2 = frame->noname7379;
}
local0 = FLISTAM_ITER_CAL_7381(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTAM_ITER_CAL_4190(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{AM_ITER_CALL_EXPR}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FLISTAM_ITER_CAL_4190(FLISTAM_ITER_CAL self) {
BOOL noname7382 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTAM_ITER_CAL) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
AM_ITER_CALL_EXPR FLISTAM_ITER_CAL_7383(FLISTAM_ITER_CAL self, INT ind_7384) {
AM_ITER_CALL_EXPR noname7385;
BOOL local0;
INT local1;
INT local2;
if ((!((self==((FLISTAM_ITER_CAL) NULL))))) {
local1 = 0;
local2 = (self->asize);
local0 = INT_is_bet_INT_I(ind_7384, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:33:7\n");
exit(16);
}
if (ind_7384<0||ind_7384>=self->asize) {
fprintf(stderr,"Index out of bounds ../Library/aref.sa:33:7\n");
exit(16);
}
return self->arr_part[ind_7384];
}
AM_ITER_CALL_EXPR FLISTAM_ITER_CAL_7386(FLISTAM_ITER_CAL self, INT ind_7387) {
AM_ITER_CALL_EXPR noname7388;
BOOL local0;
INT local1;
if ((!((self==((FLISTAM_ITER_CAL) NULL))))) {
local1 = 0;
local0 = INT_is_bet_INT_I(ind_7387, local1, (c_INT_minus_INT_INT_chk(self->loc_17,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/flist.sa:68:7\n");
exit(16);
}
return FLISTAM_ITER_CAL_7383(self, ind_7387);
if (!FLISTAM_ITER_CAL_4190(self)) {
fprintf(stderr,"Failed invariant FLIST{AM_ITER_CALL_EXPR}::invariant:BOOL ../Library/flist.sa:68:7\n");
exit(16);
}
}
AM_ITER_CALL_EXPR FLISTAM_ITER_CAL_7381(FLISTAM_ITER_CAL_7381_frame frame) {
AM_ITER_CALL_EXPR dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTAM_ITER_CAL) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7390 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7391 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7390;
frame->nested1->arg1 = frame->noname7391;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTAM_ITER_CAL_7386(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL FMAPOBSTR_invari(FMAPOBSTR self) {
BOOL noname7393 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPOBSTR) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPOBSTR FMAPOBSTR_pairs_(FMAPOBSTR_pairs__frame frame) {
TUPOBSTR dummy;
TUPOBSTR local0;
OB local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPOBSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPOBSTR_aelt_T_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7395 = frame->arg0;
frame->nested1->arg0 = frame->noname7395;
}
local0 = FMAPOBSTR_aelt_T(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7396 = local0;
local1 = frame->r_7396.t1;
if ((!(FMAPOBSTR_key_eq(frame->arg0, local1, FMAPOBSTR_key_nil_OB(frame->arg0))))) {
frame->state = 1;
return frame->r_7396;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPOBSTR_invari(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{$OB,STR}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPOBSTR FMAPOBSTR_aelt_T(FMAPOBSTR_aelt_T_frame frame) {
TUPOBSTR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPOBSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7399 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7399;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPOBSTR_aget_I(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
STR ARRAYSTR_elt_STR(ARRAYSTR_elt_STR_frame frame) {
STR dummy;
STR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYSTR_aelt_STR_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7402 = frame->arg0;
frame->nested1->arg0 = frame->noname7402;
}
local0 = ARRAYSTR_aelt_STR(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
STR ARRAYSTR_aelt_STR(ARRAYSTR_aelt_STR_frame frame) {
STR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7405 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7405;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return ARRAYSTR_aget_IN(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
INT ARRAYARRAYSTR_in(ARRAYARRAYSTR_in_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYARRAYSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYARRAYSTR_ai_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7408 = frame->arg0;
frame->nested1->arg0 = frame->noname7408;
}
local0 = ARRAYARRAYSTR_ai(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT ARRAYARRAYSTR_ai(ARRAYARRAYSTR_ai_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYARRAYSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:129:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7411 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7411;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
INT FLISTTP_ind_INT(FLISTTP_ind_INT_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTTP) NULL))))) {
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7414 = 0;
frame->noname7415 = (c_INT_minus_INT_INT_chk(frame->arg0->loc_17,1));
frame->nested1->arg0 = frame->noname7414;
frame->nested1->arg1 = frame->noname7415;
}
local0 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTTP_invarian(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{$TP}::invariant:BOOL ../Library/flist.sa:159:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
void FLISTAM_ITER_CAL_4826(FLISTAM_ITER_CAL_4826_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTAM_ITER_CAL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7417 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7417;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTAM_ITER_CAL_4832(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
INT AM_BND_ROUT_CALL_4798(AM_BND_ROUT_CALL_4798_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((AM_BND_ROUT_CALL) NULL))))) {
{
frame->nested1 = ALLOCATE(AM_BND_ROUT_CALL_7422_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7420 = frame->arg0;
frame->nested1->arg0 = frame->noname7420;
}
local0 = AM_BND_ROUT_CALL_7422(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT AM_BND_ROUT_CALL_7422(AM_BND_ROUT_CALL_7422_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((AM_BND_ROUT_CALL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:129:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7424 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7424;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
INT AM_ARRAY_EXPR_in(AM_ARRAY_EXPR_in_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((AM_ARRAY_EXPR) NULL))))) {
{
frame->nested1 = ALLOCATE(AM_ARRAY_EXPR_ai_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7427 = frame->arg0;
frame->nested1->arg0 = frame->noname7427;
}
local0 = AM_ARRAY_EXPR_ai(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT AM_ARRAY_EXPR_ai(AM_ARRAY_EXPR_ai_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((AM_ARRAY_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:129:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7430 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7430;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FLISTAM_BND_CREA_4658(FLISTAM_BND_CREA_4658_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTAM_BND_CREA) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7432 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7432;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTAM_BND_CREA_4664(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
INT AM_ITER_CALL_EXP_4506(AM_ITER_CALL_EXP_4506_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((AM_ITER_CALL_EXPR) NULL))))) {
{
frame->nested1 = ALLOCATE(AM_ITER_CALL_EXP_7437_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7435 = frame->arg0;
frame->nested1->arg0 = frame->noname7435;
}
local0 = AM_ITER_CALL_EXP_7437(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT AM_ITER_CALL_EXP_7437(AM_ITER_CALL_EXP_7437_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((AM_ITER_CALL_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:129:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7439 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7439;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL FMAPSTRTUPSTRSTR_1035(FMAPSTRTUPSTRSTR self) {
BOOL noname7441 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPSTRTUPSTRSTR) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
void FMAPTPINT_aset_T(FMAPTPINT_aset_T_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTPINT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7442 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7442;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPTPINT_aset_I(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
BOOL IMPL_is_atomic_BOOL(IMPL self) {
BOOL noname7444 = ((BOOL) 0);
ELT_TBL noname7445;
ELT e_7446;
TP atp;
TP tparam;
ELT local0;
TP local1;
TP local2;
INT local3;
TP local4;
TP local5;
if (!((!((self==((IMPL) NULL)))))) {
fprintf(stderr,"Violation of precondition ./impl.sa:114:13\n");
exit(16);
}
{
struct ELT_TBL_elt_ELT_frame_struct temp7447_0;
ELT_TBL_elt_ELT_frame
noname7448 = &temp7447_0;
noname7448->state = 0;
while (1) {
if (noname7448->state == 0) {
noname7445 = self->elts;
noname7448->arg0 = noname7445;
}
local0 = ELT_TBL_elt_ELT(noname7448);
if (noname7448->state == -1) goto after_loop;
e_7446 = local0;
if (ELT_is_attr_read(e_7446)) {
atp = e_7446->sig_6->ret;
local1 = atp;
if ((!((*TP_is_value_BOOL[local1->header.tag+TP_is_value_BOOL_offset])(local1)))) {
return FALSE;
}
local2 = atp;
if ((!((*TP_is_atomic_BOOL[local2->header.tag+TP_is_atomic_BOOL_offset])(local2)))) {
return FALSE;
}
}
}
}
after_loop: ;
if ((self->arr==((TP_CLASS) NULL))) {
return TRUE;
}
else {
if ((self->arr->params==((ARRAYTP) NULL))) {
return FALSE;
}
else {
local3 = (self->arr->params->asize);
if ((local3!=1)) {
return FALSE;
}
else {
tparam = ARRAYTP_aget_INT_TP(self->arr->params, 0);
local4 = tparam;
if ((!((*TP_is_value_BOOL[local4->header.tag+TP_is_value_BOOL_offset])(local4)))) {
return FALSE;
}
else {
local5 = tparam;
if ((!((*TP_is_atomic_BOOL[local5->header.tag+TP_is_atomic_BOOL_offset])(local5)))) {
return FALSE;
}
else {
return TRUE;
}
}
}
}
}
return TRUE;
}
BOOL TP_CLASS_is_atom(TP_CLASS self) {
BOOL noname7449 = ((BOOL) 0);
TP_BUILTIN builtin;
IMPL imp;
builtin = self->prog->tp_builtin;
if (TP_CLASS_is_eq_T(self, ((TP) builtin->bool_2))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->char_5))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->int_1))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->flt))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->fltd))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->fltx))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->fltx))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->fltdx))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->flti))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->str_4))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->sys_3))) {
return FALSE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->str_4))) {
return TRUE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->ext_ob))) {
return FALSE;
}
else {
if (TP_CLASS_is_eq_T(self, ((TP) builtin->dollar_ob))) {
return FALSE;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
imp = IMPL_TBL_impl_of(self->prog->impl_tbl, ((TP) self));
return IMPL_is_atomic_BOOL(imp);
}
BOOL TP_CLASS_is_atom_7450(TP_CLASS self) {
BOOL noname7451 = ((BOOL) 0);
if ((self==((TP_CLASS) NULL))) {
return FALSE;
}
if ((!(self->use_cached_atomic))) {
self->atomic_cache = TP_CLASS_is_atom(self);
self->use_cached_atomic = TRUE;
}
return self->atomic_cache;
}
ELT ELT_TBL_elt_ELT(ELT_TBL_elt_ELT_frame frame) {
ELT dummy;
ELT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ELT_TBL) NULL))))) {
{
frame->nested1 = ALLOCATE(ELT_TBL_aelt_ELT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7453 = frame->arg0;
frame->nested1->arg0 = frame->noname7453;
}
local0 = ELT_TBL_aelt_ELT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7454 = local0;
if ((!(ELT_TBL_elt_eq_E(frame->arg0, frame->r_7454, ELT_TBL_elt_nil_ELT(frame->arg0))))) {
frame->state = 1;
return frame->r_7454;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!ELT_TBL_invarian(frame->arg0)) {
fprintf(stderr,"Failed invariant ELT_TBL::invariant:BOOL ../Library/fqset.sa:105:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
ELT ELT_TBL_aelt_ELT(ELT_TBL_aelt_ELT_frame frame) {
ELT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ELT_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7457 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7457;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return ELT_TBL_aget_INT_ELT(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL TP_ROUT_is_atomi(TP_ROUT self) {
BOOL noname7459 = ((BOOL) 0);
return FALSE;
}
BOOL TP_ITER_is_atomi(TP_ITER self) {
BOOL noname7460 = ((BOOL) 0);
return FALSE;
}
INT INT_downto_INT_INT(INT_downto_INT_INT_frame frame) {
INT dummy;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
frame->r_7462 = frame->arg0;
while (1) {
if ((frame->r_7462<frame->arg1)) {
goto after_loop;
}
frame->state = 1;
return frame->r_7462;
state1:;
frame->r_7462 = (c_INT_minus_INT_INT_chk(frame->r_7462,1));
}
after_loop: ;
frame->state = -1;
return dummy;
}
TP AM_STMT_EXPR_tp_TP(AM_STMT_EXPR self) {
TP noname7464;
AM_EXPR local0;
if ((self->expr==((AM_EXPR) NULL))) {
return ((TP) NULL);
}
local0 = self->expr;
return (*AM_EXPR_tp_TP[local0->header.tag+AM_EXPR_tp_TP_offset])(local0);
}
BOOL FSTR_invariant_BOOL(FSTR self) {
BOOL noname7465 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FSTR) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
void INT_times(INT_times_frame frame) {
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((frame->arg0>=0))) {
fprintf(stderr,"Violation of precondition ../Library/int.sa:742:8\n");
exit(16);
}
frame->i = frame->arg0;
while (1) {
if ((frame->i<=0)) {
goto after_loop;
}
frame->state = 1;
return;
state1:;
frame->i = (c_INT_minus_INT_INT_chk(frame->i,1));
}
after_loop: ;
frame->state = -1;
return;
}
void FMAPSIGAM_ROUT_D_4132(FMAPSIGAM_ROUT_D_4132_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSIGAM_ROUT_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7467 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7467;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPSIGAM_ROUT_D_4153(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void FLISTAM_ROUT_DEF_4088(FLISTAM_ROUT_DEF_4088_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTAM_ROUT_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7469 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7469;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTAM_ROUT_DEF_4094(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
BOOL FLISTINT_invaria(FLISTINT self) {
BOOL noname7471 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTINT) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
AM_CONST ARRAYAM_CONST_el(ARRAYAM_CONST_el_frame frame) {
AM_CONST dummy;
AM_CONST local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYAM_CONST) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYAM_CONST_ae_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7473 = frame->arg0;
frame->nested1->arg0 = frame->noname7473;
}
local0 = ARRAYAM_CONST_ae(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT ARRAYAM_CONST_as(ARRAYAM_CONST self) {
INT noname7475 = ((INT) 0);
return self->asize;
fprintf(stderr,"Last statement wasn't return ../Library/aref.sa:20:8\n");
exit(16);
}
AM_CONST ARRAYAM_CONST_ag(ARRAYAM_CONST self, INT ind_7476) {
AM_CONST noname7477;
BOOL local0;
INT local1;
INT local2;
if ((!((self==((ARRAYAM_CONST) NULL))))) {
local1 = 0;
local2 = (self->asize);
local0 = INT_is_bet_INT_I(ind_7476, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:33:7\n");
exit(16);
}
if (ind_7476<0||ind_7476>=self->asize) {
fprintf(stderr,"Index out of bounds ../Library/aref.sa:33:7\n");
exit(16);
}
return self->arr_part[ind_7476];
}
AM_CONST ARRAYAM_CONST_ae(ARRAYAM_CONST_ae_frame frame) {
AM_CONST dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYAM_CONST) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7479 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7479;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return ARRAYAM_CONST_ag(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
AM_EXPR AM_BND_ITER_CALL_3893(AM_BND_ITER_CALL_3893_frame frame) {
AM_EXPR dummy;
AM_EXPR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((AM_BND_ITER_CALL) NULL))))) {
{
frame->nested1 = ALLOCATE(AM_BND_ITER_CALL_7484_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7482 = frame->arg0;
frame->nested1->arg0 = frame->noname7482;
}
local0 = AM_BND_ITER_CALL_7484(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
AM_EXPR AM_BND_ITER_CALL_7484(AM_BND_ITER_CALL_7484_frame frame) {
AM_EXPR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((AM_BND_ITER_CALL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7486 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7486;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return AM_BND_ITER_CALL_5426(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
AM_EXPR AM_ITER_CALL_EXP(AM_ITER_CALL_EXP_frame frame) {
AM_EXPR dummy;
AM_EXPR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((AM_ITER_CALL_EXPR) NULL))))) {
{
frame->nested1 = ALLOCATE(AM_ITER_CALL_EXP_7491_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7489 = frame->arg0;
frame->nested1->arg0 = frame->noname7489;
}
local0 = AM_ITER_CALL_EXP_7491(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
AM_EXPR AM_ITER_CALL_EXP_7491(AM_ITER_CALL_EXP_7491_frame frame) {
AM_EXPR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((AM_ITER_CALL_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7493 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7493;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return AM_ITER_CALL_EXP_4468(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
INT ARRAYINT_ind_INT(ARRAYINT_ind_INT_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYINT) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYINT_aind_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7496 = frame->arg0;
frame->nested1->arg0 = frame->noname7496;
}
local0 = ARRAYINT_aind_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT ARRAYINT_aind_INT(ARRAYINT_aind_INT_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYINT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:129:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7499 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7499;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FLISTSIG_aset_SIG(FLISTSIG_aset_SIG_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTSIG) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7501 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7501;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTSIG_aset_IN(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
SIG FLISTSIG_elt_SIG(FLISTSIG_elt_SIG_frame frame) {
SIG dummy;
SIG local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTSIG) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTSIG_aelt_IN_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7504 = frame->arg0;
frame->noname7505 = 0;
frame->noname7506 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7504;
frame->nested1->arg1 = frame->noname7505;
frame->nested1->arg2 = frame->noname7506;
}
local0 = FLISTSIG_aelt_IN(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTSIG_invaria(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{SIG}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
SIG FLISTSIG_aelt_IN(FLISTSIG_aelt_IN_frame frame) {
SIG dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTSIG) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7509 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7510 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7509;
frame->nested1->arg1 = frame->noname7510;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTSIG_aget_IN(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
TP FMAPIDENTTP_targ(FMAPIDENTTP_targ_frame frame) {
TP dummy;
TUPIDENTTP local0;
IDENT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPIDENTTP) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPIDENTTP_aelt_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7513 = frame->arg0;
frame->nested1->arg0 = frame->noname7513;
}
local0 = FMAPIDENTTP_aelt(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->e_7514 = local0;
local1 = frame->e_7514.t1;
if ((!(FMAPIDENTTP_key__3627(frame->arg0, local1, FMAPIDENTTP_key_(frame->arg0))))) {
frame->state = 1;
return frame->e_7514.t2;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPIDENTTP_inva(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{IDENT,$TP}::invariant:BOOL ../Library/fmap.sa:111:10\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TP_CLASS FLISTTP_CLASS_el(FLISTTP_CLASS_el_frame frame) {
TP_CLASS dummy;
TP_CLASS local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTTP_CLASS) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTTP_CLASS_ae_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7517 = frame->arg0;
frame->noname7518 = 0;
frame->noname7519 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7517;
frame->nested1->arg1 = frame->noname7518;
frame->nested1->arg2 = frame->noname7519;
}
local0 = FLISTTP_CLASS_ae(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTTP_CLASS_in(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{TP_CLASS}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FLISTTP_CLASS_in(FLISTTP_CLASS self) {
BOOL noname7521 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTTP_CLASS) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
TP_CLASS FLISTTP_CLASS_ar_7522(FLISTTP_CLASS self, INT ind_7523) {
TP_CLASS noname7524;
BOOL local0;
INT local1;
INT local2;
if ((!((self==((FLISTTP_CLASS) NULL))))) {
local1 = 0;
local2 = (self->asize);
local0 = INT_is_bet_INT_I(ind_7523, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:33:7\n");
exit(16);
}
if (ind_7523<0||ind_7523>=self->asize) {
fprintf(stderr,"Index out of bounds ../Library/aref.sa:33:7\n");
exit(16);
}
return self->arr_part[ind_7523];
}
TP_CLASS FLISTTP_CLASS_ag(FLISTTP_CLASS self, INT ind_7525) {
TP_CLASS noname7526;
BOOL local0;
INT local1;
if ((!((self==((FLISTTP_CLASS) NULL))))) {
local1 = 0;
local0 = INT_is_bet_INT_I(ind_7525, local1, (c_INT_minus_INT_INT_chk(self->loc_17,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/flist.sa:68:7\n");
exit(16);
}
return FLISTTP_CLASS_ar_7522(self, ind_7525);
if (!FLISTTP_CLASS_in(self)) {
fprintf(stderr,"Failed invariant FLIST{TP_CLASS}::invariant:BOOL ../Library/flist.sa:68:7\n");
exit(16);
}
}
TP_CLASS FLISTTP_CLASS_ae(FLISTTP_CLASS_ae_frame frame) {
TP_CLASS dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTTP_CLASS) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7528 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7529 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7528;
frame->nested1->arg1 = frame->noname7529;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTTP_CLASS_ag(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL TP_ROUT_is_value(TP_ROUT self) {
BOOL noname7531 = ((BOOL) 0);
return (shared_TP_KIND_r==shared_TP_KIND_v);
}
BOOL TP_ITER_is_value(TP_ITER self) {
BOOL noname7532 = ((BOOL) 0);
return (shared_TP_KIND_i==shared_TP_KIND_v);
}
void FMAPIDENTTP_aset(FMAPIDENTTP_aset_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPIDENTTP) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7533 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7533;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPIDENTTP_aset_3629(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
CHAR FSTR_elt_CHAR(FSTR_elt_CHAR_frame frame) {
CHAR dummy;
CHAR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(FSTR_aelt_INT_IN_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7536 = frame->arg0;
frame->noname7537 = 0;
frame->noname7538 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7536;
frame->nested1->arg1 = frame->noname7537;
frame->nested1->arg2 = frame->noname7538;
}
local0 = FSTR_aelt_INT_IN(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FSTR_invariant_BOOL(frame->arg0)) {
fprintf(stderr,"Failed invariant FSTR::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
CHAR FSTR_aelt_INT_IN(FSTR_aelt_INT_IN_frame frame) {
CHAR dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSTR) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7541 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7542 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7541;
frame->nested1->arg1 = frame->noname7542;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FSTR_aget_INT_CHAR(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FSETOB_aset_OB(FSETOB_aset_OB_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETOB) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7544 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7544;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETOB_aset_INT_OB(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETOB_invariant(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{$OB}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
void FLISTTP_CLASS_as_3514(FLISTTP_CLASS_as_3514_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTTP_CLASS) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7546 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7546;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTTP_CLASS_as_3518(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
TP_CLASS FSETTP_CLASS_elt_3006(FSETTP_CLASS_elt_3006_frame frame) {
TP_CLASS dummy;
TP_CLASS local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSETTP_CLASS) NULL))))) {
{
frame->nested1 = ALLOCATE(FSETTP_CLASS_ael_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7549 = frame->arg0;
frame->nested1->arg0 = frame->noname7549;
}
local0 = FSETTP_CLASS_ael(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7550 = local0;
if ((!(FSETTP_CLASS_elt_3013(frame->arg0, frame->r_7550, FSETTP_CLASS_elt(frame->arg0))))) {
frame->state = 1;
return frame->r_7550;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FSETTP_CLASS_inv(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TP_CLASS}::invariant:BOOL ../Library/fset.sa:98:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TP_CLASS FSETTP_CLASS_ael(FSETTP_CLASS_ael_frame frame) {
TP_CLASS dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTP_CLASS) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7553 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7553;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FSETTP_CLASS_age(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTP_CLASS_inv(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TP_CLASS}::invariant:BOOL ../Library/aref.sa:48:7\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FMAPTPIFC_invari(FMAPTPIFC self) {
BOOL noname7555 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPTPIFC) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPTPIFC FMAPTPIFC_pairs_(FMAPTPIFC_pairs__frame frame) {
TUPTPIFC dummy;
TUPTPIFC local0;
TP local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPTPIFC) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPTPIFC_aelt_T_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7557 = frame->arg0;
frame->nested1->arg0 = frame->noname7557;
}
local0 = FMAPTPIFC_aelt_T(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7558 = local0;
local1 = frame->r_7558.t1;
if ((!(FMAPTPIFC_key_eq(frame->arg0, local1, FMAPTPIFC_key_nil_TP(frame->arg0))))) {
frame->state = 1;
return frame->r_7558;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPTPIFC_invari(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{$TP,IFC}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPTPIFC FMAPTPIFC_aelt_T(FMAPTPIFC_aelt_T_frame frame) {
TUPTPIFC dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTPIFC) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7561 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7561;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPTPIFC_aget_I(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FMAPTPIFC_aset_T(FMAPTPIFC_aset_T_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTPIFC) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7563 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7563;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPTPIFC_aset_I(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
BOOL FLISTIFC_invaria(FLISTIFC self) {
BOOL noname7565 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTIFC) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
void FLISTIFC_aset_IFC(FLISTIFC_aset_IFC_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTIFC) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7566 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7566;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTIFC_aset_IN(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
IFC FLISTIFC_elt_IFC(FLISTIFC_elt_IFC_frame frame) {
IFC dummy;
IFC local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTIFC) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTIFC_aelt_IN_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7569 = frame->arg0;
frame->noname7570 = 0;
frame->noname7571 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7569;
frame->nested1->arg1 = frame->noname7570;
frame->nested1->arg2 = frame->noname7571;
}
local0 = FLISTIFC_aelt_IN(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTIFC_invaria(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{IFC}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
IFC FLISTIFC_aelt_IN(FLISTIFC_aelt_IN_frame frame) {
IFC dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTIFC) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7574 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7575 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7574;
frame->nested1->arg1 = frame->noname7575;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTIFC_aget_IN(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
TUPIDENTINT FSETTUPIDENTINT__2370(FSETTUPIDENTINT__2370_frame frame) {
TUPIDENTINT dummy;
TUPIDENTINT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSETTUPIDENTINT) NULL))))) {
{
frame->nested1 = ALLOCATE(FSETTUPIDENTINT__7581_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7578 = frame->arg0;
frame->nested1->arg0 = frame->noname7578;
}
local0 = FSETTUPIDENTINT__7581(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7579 = local0;
if ((!(FSETTUPIDENTINT__2341(frame->arg0, frame->r_7579, FSETTUPIDENTINT__2345(frame->arg0))))) {
frame->state = 1;
return frame->r_7579;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FSETTUPIDENTINT__2333(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TUP{IDENT,INT}}::invariant:BOOL ../Library/fset.sa:98:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FSETTUPIDENTINT__2333(FSETTUPIDENTINT self) {
BOOL noname7582 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FSETTUPIDENTINT) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPIDENTINT FSETTUPIDENTINT__7581(FSETTUPIDENTINT__7581_frame frame) {
TUPIDENTINT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTUPIDENTINT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7584 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7584;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FSETTUPIDENTINT__2336(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTUPIDENTINT__2333(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TUP{IDENT,INT}}::invariant:BOOL ../Library/aref.sa:48:7\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPTP_CLASSFSETTP FMAPTP_CLASSFSET_3145(FMAPTP_CLASSFSET_3145_frame frame) {
TUPTP_CLASSFSETTP dummy;
TUPTP_CLASSFSETTP local0;
TP_CLASS local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPTP_CLASSFSETTP) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPTP_CLASSFSET_7590_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7587 = frame->arg0;
frame->nested1->arg0 = frame->noname7587;
}
local0 = FMAPTP_CLASSFSET_7590(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7588 = local0;
local1 = frame->r_7588.t1;
if ((!(FMAPTP_CLASSFSET_3121(frame->arg0, local1, FMAPTP_CLASSFSET_3105(frame->arg0))))) {
frame->state = 1;
return frame->r_7588;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPTP_CLASSFSET_3107(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{TP_CLASS,FSET{$TP}}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FMAPTP_CLASSFSET_3107(FMAPTP_CLASSFSETTP self) {
BOOL noname7591 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPTP_CLASSFSETTP) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPTP_CLASSFSETTP FMAPTP_CLASSFSET_7590(FMAPTP_CLASSFSET_7590_frame frame) {
TUPTP_CLASSFSETTP dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTP_CLASSFSETTP) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7593 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7593;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPTP_CLASSFSET_3118(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
TUPTP_CLASSFSETT FMAPTP_CLASSFSET_3044(FMAPTP_CLASSFSET_3044_frame frame) {
TUPTP_CLASSFSETT dummy;
TUPTP_CLASSFSETT local0;
TP_CLASS local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPTP_CLASSFSET) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPTP_CLASSFSET_7599_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7596 = frame->arg0;
frame->nested1->arg0 = frame->noname7596;
}
local0 = FMAPTP_CLASSFSET_7599(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7597 = local0;
local1 = frame->r_7597.t1;
if ((!(FMAPTP_CLASSFSET_2982(frame->arg0, local1, FMAPTP_CLASSFSET_2966(frame->arg0))))) {
frame->state = 1;
return frame->r_7597;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPTP_CLASSFSET_2968(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{TP_CLASS,FSET{TP_CLASS}}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FMAPTP_CLASSFSET_2968(FMAPTP_CLASSFSET self) {
BOOL noname7600 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPTP_CLASSFSET) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPTP_CLASSFSETT FMAPTP_CLASSFSET_7599(FMAPTP_CLASSFSET_7599_frame frame) {
TUPTP_CLASSFSETT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTP_CLASSFSET) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7602 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7602;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPTP_CLASSFSET_2979(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FMAPTP_CLASSFSET_3135(FMAPTP_CLASSFSET_3135_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTP_CLASSFSETTP) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7604 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7604;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPTP_CLASSFSET_3147(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void FMAPTP_CLASSFSET_3034(FMAPTP_CLASSFSET_3034_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTP_CLASSFSET) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7606 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7606;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPTP_CLASSFSET_3046(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void FSETTP_CLASS_ase(FSETTP_CLASS_ase_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTP_CLASS) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7608 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7608;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETTP_CLASS_ase_3017(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTP_CLASS_inv(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TP_CLASS}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
TR_CLASS_DEF PROG_TR_TBL_elt__2054(PROG_TR_TBL_elt__2054_frame frame) {
TR_CLASS_DEF dummy;
TR_CLASS_DEF local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((PROG_TR_TBL) NULL))))) {
{
frame->nested1 = ALLOCATE(PROG_TR_TBL_aelt_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7611 = frame->arg0;
frame->nested1->arg0 = frame->noname7611;
}
local0 = PROG_TR_TBL_aelt(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7612 = local0;
if ((!(PROG_TR_TBL_elt__2031(frame->arg0, frame->r_7612, PROG_TR_TBL_elt_(frame->arg0))))) {
frame->state = 1;
return frame->r_7612;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!PROG_TR_TBL_inva(frame->arg0)) {
fprintf(stderr,"Failed invariant PROG_TR_TBL::invariant:BOOL ../Library/fqset.sa:105:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL PROG_TR_TBL_inva(PROG_TR_TBL self) {
BOOL noname7614 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((PROG_TR_TBL) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TR_CLASS_DEF PROG_TR_TBL_aelt(PROG_TR_TBL_aelt_frame frame) {
TR_CLASS_DEF dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((PROG_TR_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7616 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7616;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return PROG_TR_TBL_aget(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL FMAPTPIMPL_invar(FMAPTPIMPL self) {
BOOL noname7618 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPTPIMPL) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPTPIMPL FMAPTPIMPL_pairs(FMAPTPIMPL_pairs_frame frame) {
TUPTPIMPL dummy;
TUPTPIMPL local0;
TP local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPTPIMPL) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPTPIMPL_aelt__frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7620 = frame->arg0;
frame->nested1->arg0 = frame->noname7620;
}
local0 = FMAPTPIMPL_aelt_(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7621 = local0;
local1 = frame->r_7621.t1;
if ((!(FMAPTPIMPL_key_e(frame->arg0, local1, FMAPTPIMPL_key_n(frame->arg0))))) {
frame->state = 1;
return frame->r_7621;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPTPIMPL_invar(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{$TP,IMPL}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPTPIMPL FMAPTPIMPL_aelt_(FMAPTPIMPL_aelt__frame frame) {
TUPTPIMPL dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTPIMPL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7624 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7624;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPTPIMPL_aget_(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FMAPTPIMPL_aset_(FMAPTPIMPL_aset__frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPTPIMPL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7626 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7626;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPTPIMPL_aset__2869(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void SIG_TBL_aset_SIG(SIG_TBL_aset_SIG_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((SIG_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7628 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7628;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
SIG_TBL_aset_INT_SIG(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
IMPL_INCLUDE FLISTIMPL_INCLUD_2741(FLISTIMPL_INCLUD_2741_frame frame) {
IMPL_INCLUDE dummy;
IMPL_INCLUDE local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTIMPL_INCLUDE) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTIMPL_INCLUD_7635_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7631 = frame->arg0;
frame->noname7632 = 0;
frame->noname7633 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7631;
frame->nested1->arg1 = frame->noname7632;
frame->nested1->arg2 = frame->noname7633;
}
local0 = FLISTIMPL_INCLUD_7635(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTIMPL_INCLUD_2719(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{IMPL_INCLUDE}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FLISTIMPL_INCLUD_2719(FLISTIMPL_INCLUDE self) {
BOOL noname7636 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTIMPL_INCLUDE) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
IMPL_INCLUDE FLISTIMPL_INCLUD_7635(FLISTIMPL_INCLUD_7635_frame frame) {
IMPL_INCLUDE dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTIMPL_INCLUDE) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7638 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7639 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7638;
frame->nested1->arg1 = frame->noname7639;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTIMPL_INCLUD_2760(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FLISTIMPL_INCLUD_2725(FLISTIMPL_INCLUD_2725_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTIMPL_INCLUDE) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7641 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7641;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTIMPL_INCLUD_2731(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
BOOL FSETTR_FEAT_MOD__2627(FSETTR_FEAT_MOD self) {
BOOL noname7643 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FSETTR_FEAT_MOD) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TR_FEAT_MOD FSETTR_FEAT_MOD__2643(FSETTR_FEAT_MOD__2643_frame frame) {
TR_FEAT_MOD dummy;
TR_FEAT_MOD local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSETTR_FEAT_MOD) NULL))))) {
{
frame->nested1 = ALLOCATE(FSETTR_FEAT_MOD__7648_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7645 = frame->arg0;
frame->nested1->arg0 = frame->noname7645;
}
local0 = FSETTR_FEAT_MOD__7648(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7646 = local0;
if ((!(FSETTR_FEAT_MOD__2652(frame->arg0, frame->r_7646, FSETTR_FEAT_MOD_(frame->arg0))))) {
frame->state = 1;
return frame->r_7646;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FSETTR_FEAT_MOD__2627(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TR_FEAT_MOD}::invariant:BOOL ../Library/fset.sa:98:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TR_FEAT_MOD FSETTR_FEAT_MOD__7648(FSETTR_FEAT_MOD__7648_frame frame) {
TR_FEAT_MOD dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTR_FEAT_MOD) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7650 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7650;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FSETTR_FEAT_MOD__2649(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTR_FEAT_MOD__2627(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TR_FEAT_MOD}::invariant:BOOL ../Library/aref.sa:48:7\n");
exit(16);
}
frame->state = -1;
return dummy;
}
void FSETTR_FEAT_MOD__2634(FSETTR_FEAT_MOD__2634_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTR_FEAT_MOD) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7652 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7652;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETTR_FEAT_MOD__2656(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTR_FEAT_MOD__2627(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TR_FEAT_MOD}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
IDENT ARRAYIDENT_elt_IDENT(ARRAYIDENT_elt_IDENT_frame frame) {
IDENT dummy;
IDENT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYIDENT) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYIDENT_aelt__frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7655 = frame->arg0;
frame->nested1->arg0 = frame->noname7655;
}
local0 = ARRAYIDENT_aelt_(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
IDENT ARRAYIDENT_aelt_(ARRAYIDENT_aelt__frame frame) {
IDENT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYIDENT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7658 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7658;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return ARRAYIDENT_aget_(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL TP_ROUT_is_bound(TP_ROUT self) {
BOOL noname7660 = ((BOOL) 0);
return TRUE;
}
BOOL TP_ITER_is_bound(TP_ITER self) {
BOOL noname7661 = ((BOOL) 0);
return TRUE;
}
BOOL TP_ROUT_is_abstr(TP_ROUT self) {
BOOL noname7662 = ((BOOL) 0);
return FALSE;
}
BOOL TP_ITER_is_abstr(TP_ITER self) {
BOOL noname7663 = ((BOOL) 0);
return FALSE;
}
void ELT_TBL_aset_ELT(ELT_TBL_aset_ELT_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ELT_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7664 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7664;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
ELT_TBL_aset_INT_ELT(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
BOOL TP_ROUT_is_eq_TP(TP_ROUT self, TP t_7666) {
BOOL noname7667 = ((BOOL) 0);
return c_SYS_ob_eq_OB_OB_BOOL(((OB) self),((OB) t_7666));
}
BOOL TP_ITER_is_eq_TP(TP_ITER self, TP t_7668) {
BOOL noname7669 = ((BOOL) 0);
return c_SYS_ob_eq_OB_OB_BOOL(((OB) self),((OB) t_7668));
}
void FSETTUPIDENTINT__2379(FSETTUPIDENTINT__2379_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTUPIDENTINT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7670 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7670;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETTUPIDENTINT__2395(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTUPIDENTINT__2333(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{TUP{IDENT,INT}}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
BOOL FSETIDENT_invari(FSETIDENT self) {
BOOL noname7672 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FSETIDENT) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
IDENT FSETIDENT_elt_IDENT(FSETIDENT_elt_IDENT_frame frame) {
IDENT dummy;
IDENT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FSETIDENT) NULL))))) {
{
frame->nested1 = ALLOCATE(FSETIDENT_aelt_IDENT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7674 = frame->arg0;
frame->nested1->arg0 = frame->noname7674;
}
local0 = FSETIDENT_aelt_IDENT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7675 = local0;
if ((!(FSETIDENT_elt_eq(frame->arg0, frame->r_7675, FSETIDENT_elt_ni(frame->arg0))))) {
frame->state = 1;
return frame->r_7675;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FSETIDENT_invari(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{IDENT}::invariant:BOOL ../Library/fset.sa:98:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
IDENT FSETIDENT_aelt_IDENT(FSETIDENT_aelt_IDENT_frame frame) {
IDENT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETIDENT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7678 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7678;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FSETIDENT_aget_I(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETIDENT_invari(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{IDENT}::invariant:BOOL ../Library/aref.sa:48:7\n");
exit(16);
}
frame->state = -1;
return dummy;
}
void FSETIDENT_aset_IDENT(FSETIDENT_aset_IDENT_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETIDENT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7680 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7680;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETIDENT_aset_I(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETIDENT_invari(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{IDENT}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
BOOL TP_ITER_TBL_inva(TP_ITER_TBL self) {
BOOL noname7682 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((TP_ITER_TBL) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TP_ITER TP_ITER_TBL_elt__2198(TP_ITER_TBL_elt__2198_frame frame) {
TP_ITER dummy;
TP_ITER local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((TP_ITER_TBL) NULL))))) {
{
frame->nested1 = ALLOCATE(TP_ITER_TBL_aelt_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7684 = frame->arg0;
frame->nested1->arg0 = frame->noname7684;
}
local0 = TP_ITER_TBL_aelt(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7685 = local0;
if ((!(TP_ITER_TBL_elt__2172(frame->arg0, frame->r_7685, TP_ITER_TBL_elt_(frame->arg0))))) {
frame->state = 1;
return frame->r_7685;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!TP_ITER_TBL_inva(frame->arg0)) {
fprintf(stderr,"Failed invariant TP_ITER_TBL::invariant:BOOL ../Library/fqset.sa:105:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TP_ITER TP_ITER_TBL_aelt(TP_ITER_TBL_aelt_frame frame) {
TP_ITER dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((TP_ITER_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7688 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7688;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return TP_ITER_TBL_aget(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void TP_ITER_TBL_aset(TP_ITER_TBL_aset_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((TP_ITER_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7690 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7690;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
TP_ITER_TBL_aset_2212(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
INT ARRAYIDENT_ind_INT(ARRAYIDENT_ind_INT_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYIDENT) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYIDENT_aind_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7693 = frame->arg0;
frame->nested1->arg0 = frame->noname7693;
}
local0 = ARRAYIDENT_aind_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
INT ARRAYIDENT_aind_INT(ARRAYIDENT_aind_INT_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYIDENT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:129:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7696 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7696;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void ARRAYIDENT_set_IDENT(ARRAYIDENT_set_IDENT_frame frame) {
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYIDENT) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYIDENT_aset__frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7698 = frame->arg0;
frame->nested1->arg0 = frame->noname7698;
}
frame->nested1->arg1 = frame->arg1;
ARRAYIDENT_aset_(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
0 /* No return value from iter call */;
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return;
}
void ARRAYIDENT_aset__7700(ARRAYIDENT self, INT ind_7701, IDENT val_7702) {
BOOL local0;
INT local1;
INT local2;
if ((!((self==((ARRAYIDENT) NULL))))) {
local1 = 0;
local2 = (self->asize);
local0 = INT_is_bet_INT_I(ind_7701, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:38:7\n");
exit(16);
}
if (ind_7701<0||ind_7701>=self->asize) {
fprintf(stderr,"Index out of bounds ../Library/aref.sa:38:7\n");
exit(16);
}
self->arr_part[ind_7701] = val_7702;
}
void ARRAYIDENT_aset_(ARRAYIDENT_aset__frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYIDENT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7703 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7703;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
ARRAYIDENT_aset__7700(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void PROG_TR_TBL_aset(PROG_TR_TBL_aset_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((PROG_TR_TBL) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7705 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7705;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
PROG_TR_TBL_aset_2059(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
BOOL FMAPSTRSTR_invar(FMAPSTRSTR self) {
BOOL noname7707 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPSTRSTR) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
void TR_TYPECASE_STMT_7708(TR_TYPECASE_STMT self, TR_STMT l) {
TR_STMT last_7709;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_TYPECASE_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7709 = self->next_8;
while (1) {
local0 = last_7709;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7709;
last_7709 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7709;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_PROTECT_STMT__7712(TR_PROTECT_STMT self, TR_STMT l) {
TR_STMT last_7713;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_PROTECT_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7713 = self->next_8;
while (1) {
local0 = last_7713;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7713;
last_7713 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7713;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_COBEGIN_STMT__7715(TR_COBEGIN_STMT self, TR_STMT l) {
TR_STMT last_7716;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_COBEGIN_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7716 = self->next_8;
while (1) {
local0 = last_7716;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7716;
last_7716 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7716;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_STMT_append_T_7718(TR_STMT_39 self, TR_STMT l) {
TR_STMT last_7719;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_STMT_39) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7719 = self->next_8;
while (1) {
local0 = last_7719;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7719;
last_7719 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7719;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_TRY_STMT_appe(TR_TRY_STMT self, TR_STMT l) {
TR_STMT last_7721;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_TRY_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7721 = self->next_8;
while (1) {
local0 = last_7721;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7721;
last_7721 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7721;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_DIST_STMT_app(TR_DIST_STMT self, TR_STMT l) {
TR_STMT last_7723;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_DIST_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7723 = self->next_8;
while (1) {
local0 = last_7723;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7723;
last_7723 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7723;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_LOCK_STMT_app(TR_LOCK_STMT self, TR_STMT l) {
TR_STMT last_7725;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_LOCK_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7725 = self->next_8;
while (1) {
local0 = last_7725;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7725;
last_7725 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7725;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_QUIT_STMT_app(TR_QUIT_STMT self, TR_STMT l) {
TR_STMT last_7727;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_QUIT_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7727 = self->next_8;
while (1) {
local0 = last_7727;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7727;
last_7727 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7727;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_ASSIGN_STMT_a(TR_ASSIGN_STMT self, TR_STMT l) {
TR_STMT last_7729;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_ASSIGN_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7729 = self->next_8;
while (1) {
local0 = last_7729;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7729;
last_7729 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7729;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_UNLOCK_STMT_a(TR_UNLOCK_STMT self, TR_STMT l) {
TR_STMT last_7731;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_UNLOCK_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7731 = self->next_8;
while (1) {
local0 = last_7731;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7731;
last_7731 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7731;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_YIELD_STMT_ap(TR_YIELD_STMT self, TR_STMT l) {
TR_STMT last_7733;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_YIELD_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7733 = self->next_8;
while (1) {
local0 = last_7733;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7733;
last_7733 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7733;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_RAISE_STMT_ap(TR_RAISE_STMT self, TR_STMT l) {
TR_STMT last_7735;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_RAISE_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7735 = self->next_8;
while (1) {
local0 = last_7735;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7735;
last_7735 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7735;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_LOOP_STMT_app(TR_LOOP_STMT self, TR_STMT l) {
TR_STMT last_7737;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_LOOP_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7737 = self->next_8;
while (1) {
local0 = last_7737;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7737;
last_7737 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7737;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_RETURN_STMT_a(TR_RETURN_STMT self, TR_STMT l) {
TR_STMT last_7739;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_RETURN_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7739 = self->next_8;
while (1) {
local0 = last_7739;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7739;
last_7739 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7739;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_WITH_NEAR_STM_7741(TR_WITH_NEAR_STMT self, TR_STMT l) {
TR_STMT last_7742;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_WITH_NEAR_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7742 = self->next_8;
while (1) {
local0 = last_7742;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7742;
last_7742 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7742;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_FORK_STMT_app(TR_FORK_STMT self, TR_STMT l) {
TR_STMT last_7744;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_FORK_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7744 = self->next_8;
while (1) {
local0 = last_7744;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7744;
last_7744 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7744;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_ASSERT_STMT_a(TR_ASSERT_STMT self, TR_STMT l) {
TR_STMT last_7746;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_ASSERT_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7746 = self->next_8;
while (1) {
local0 = last_7746;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7746;
last_7746 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7746;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_CASE_STMT_app(TR_CASE_STMT self, TR_STMT l) {
TR_STMT last_7748;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_CASE_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7748 = self->next_8;
while (1) {
local0 = last_7748;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7748;
last_7748 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7748;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_DEC_STMT_appe(TR_DEC_STMT self, TR_STMT l) {
TR_STMT last_7750;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_DEC_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7750 = self->next_8;
while (1) {
local0 = last_7750;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7750;
last_7750 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7750;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_IF_STMT_appen(TR_IF_STMT self, TR_STMT l) {
TR_STMT last_7752;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_IF_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7752 = self->next_8;
while (1) {
local0 = last_7752;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7752;
last_7752 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7752;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
void TR_EXPR_STMT_app(TR_EXPR_STMT self, TR_STMT l) {
TR_STMT last_7754;
TR_STMT local0;
TR_STMT local1;
TR_STMT local2;
if (!((!((self==((TR_EXPR_STMT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_STMT) NULL))) {
self->next_8 = l;
return;
}
last_7754 = self->next_8;
while (1) {
local0 = last_7754;
if (((*TR_STMT_next_TR_STMT[local0->header.tag+TR_STMT_next_TR_STMT_offset])(local0)==((TR_STMT) NULL))) {
goto after_loop;
}
local1 = last_7754;
last_7754 = (*TR_STMT_next_TR_STMT[local1->header.tag+TR_STMT_next_TR_STMT_offset])(local1);
}
after_loop: ;
local2 = last_7754;
(*TR_STMT_next_TR__7711[local2->header.tag+TR_STMT_next_TR__7711_offset])(local2, l);
}
BOOL FLISTIDENT_invar(FLISTIDENT self) {
BOOL noname7756 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTIDENT) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
void FLISTIDENT_aset_(FLISTIDENT_aset__frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTIDENT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7757 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7757;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTIDENT_aset__1939(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
IDENT FLISTIDENT_elt_IDENT(FLISTIDENT_elt_IDENT_frame frame) {
IDENT dummy;
IDENT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTIDENT) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTIDENT_aelt__frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7760 = frame->arg0;
frame->noname7761 = 0;
frame->noname7762 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7760;
frame->nested1->arg1 = frame->noname7761;
frame->nested1->arg2 = frame->noname7762;
}
local0 = FLISTIDENT_aelt_(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTIDENT_invar(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{IDENT}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
IDENT FLISTIDENT_aref__7764(FLISTIDENT self, INT ind_7765) {
IDENT noname7766 = IDENT_zero;
BOOL local0;
INT local1;
INT local2;
if ((!((self==((FLISTIDENT) NULL))))) {
local1 = 0;
local2 = (self->asize);
local0 = INT_is_bet_INT_I(ind_7765, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:33:7\n");
exit(16);
}
if (ind_7765<0||ind_7765>=self->asize) {
fprintf(stderr,"Index out of bounds ../Library/aref.sa:33:7\n");
exit(16);
}
return self->arr_part[ind_7765];
}
IDENT FLISTIDENT_aget_(FLISTIDENT self, INT ind_7767) {
IDENT noname7768 = IDENT_zero;
BOOL local0;
INT local1;
if ((!((self==((FLISTIDENT) NULL))))) {
local1 = 0;
local0 = INT_is_bet_INT_I(ind_7767, local1, (c_INT_minus_INT_INT_chk(self->loc_17,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/flist.sa:68:7\n");
exit(16);
}
return FLISTIDENT_aref__7764(self, ind_7767);
if (!FLISTIDENT_invar(self)) {
fprintf(stderr,"Failed invariant FLIST{IDENT}::invariant:BOOL ../Library/flist.sa:68:7\n");
exit(16);
}
}
IDENT FLISTIDENT_aelt_(FLISTIDENT_aelt__frame frame) {
IDENT dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTIDENT) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7770 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7771 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7770;
frame->nested1->arg1 = frame->noname7771;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTIDENT_aget_(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL FLISTTR_EXPR_inv(FLISTTR_EXPR self) {
BOOL noname7773 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTTR_EXPR) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
void FLISTTR_EXPR_ase(FLISTTR_EXPR_ase_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTTR_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7774 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7774;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTTR_EXPR_ase_1920(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
TR_EXPR FLISTTR_EXPR_elt(FLISTTR_EXPR_elt_frame frame) {
TR_EXPR dummy;
TR_EXPR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTTR_EXPR) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTTR_EXPR_ael_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7777 = frame->arg0;
frame->noname7778 = 0;
frame->noname7779 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7777;
frame->nested1->arg1 = frame->noname7778;
frame->nested1->arg2 = frame->noname7779;
}
local0 = FLISTTR_EXPR_ael(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTTR_EXPR_inv(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{$TR_EXPR}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TR_EXPR FLISTTR_EXPR_are_7781(FLISTTR_EXPR self, INT ind_7782) {
TR_EXPR noname7783;
BOOL local0;
INT local1;
INT local2;
if ((!((self==((FLISTTR_EXPR) NULL))))) {
local1 = 0;
local2 = (self->asize);
local0 = INT_is_bet_INT_I(ind_7782, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:33:7\n");
exit(16);
}
if (ind_7782<0||ind_7782>=self->asize) {
fprintf(stderr,"Index out of bounds ../Library/aref.sa:33:7\n");
exit(16);
}
return self->arr_part[ind_7782];
}
TR_EXPR FLISTTR_EXPR_age(FLISTTR_EXPR self, INT ind_7784) {
TR_EXPR noname7785;
BOOL local0;
INT local1;
if ((!((self==((FLISTTR_EXPR) NULL))))) {
local1 = 0;
local0 = INT_is_bet_INT_I(ind_7784, local1, (c_INT_minus_INT_INT_chk(self->loc_17,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/flist.sa:68:7\n");
exit(16);
}
return FLISTTR_EXPR_are_7781(self, ind_7784);
if (!FLISTTR_EXPR_inv(self)) {
fprintf(stderr,"Failed invariant FLIST{$TR_EXPR}::invariant:BOOL ../Library/flist.sa:68:7\n");
exit(16);
}
}
TR_EXPR FLISTTR_EXPR_ael(FLISTTR_EXPR_ael_frame frame) {
TR_EXPR dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTTR_EXPR) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7787 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7788 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7787;
frame->nested1->arg1 = frame->noname7788;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTTR_EXPR_age(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void TR_HERE_EXPR_app(TR_HERE_EXPR self, TR_EXPR l) {
TR_EXPR last_7790;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_HERE_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7790 = self->next_8;
while (1) {
local0 = last_7790;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7790;
last_7790 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7790;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_CHAR_LIT_EXPR_7792(TR_CHAR_LIT_EXPR self, TR_EXPR l) {
TR_EXPR last_7793;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_CHAR_LIT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7793 = self->next_8;
while (1) {
local0 = last_7793;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7793;
last_7793 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7793;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_BOUND_CREATE__7795(TR_BOUND_CREATE_EXPR self, TR_EXPR l) {
TR_EXPR last_7796;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_BOUND_CREATE_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7796 = self->next_8;
while (1) {
local0 = last_7796;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7796;
last_7796 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7796;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_ARRAY_EXPR_ap(TR_ARRAY_EXPR self, TR_EXPR l) {
TR_EXPR last_7798;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_ARRAY_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7798 = self->next_8;
while (1) {
local0 = last_7798;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7798;
last_7798 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7798;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_BREAK_EXPR_ap(TR_BREAK_EXPR self, TR_EXPR l) {
TR_EXPR last_7800;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_BREAK_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7800 = self->next_8;
while (1) {
local0 = last_7800;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7800;
last_7800 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7800;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_INITIAL_EXPR__7802(TR_INITIAL_EXPR self, TR_EXPR l) {
TR_EXPR last_7803;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_INITIAL_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7803 = self->next_8;
while (1) {
local0 = last_7803;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7803;
last_7803 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7803;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_AND_EXPR_appe(TR_AND_EXPR self, TR_EXPR l) {
TR_EXPR last_7805;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_AND_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7805 = self->next_8;
while (1) {
local0 = last_7805;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7805;
last_7805 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7805;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_FLT_LIT_EXPR__7807(TR_FLT_LIT_EXPR self, TR_EXPR l) {
TR_EXPR last_7808;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_FLT_LIT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7808 = self->next_8;
while (1) {
local0 = last_7808;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7808;
last_7808 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7808;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_EXCEPT_EXPR_a(TR_EXCEPT_EXPR self, TR_EXPR l) {
TR_EXPR last_7810;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_EXCEPT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7810 = self->next_8;
while (1) {
local0 = last_7810;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7810;
last_7810 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7810;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_BOOL_LIT_EXPR_7812(TR_BOOL_LIT_EXPR self, TR_EXPR l) {
TR_EXPR last_7813;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_BOOL_LIT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7813 = self->next_8;
while (1) {
local0 = last_7813;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7813;
last_7813 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7813;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_NEAR_EXPR_app(TR_NEAR_EXPR self, TR_EXPR l) {
TR_EXPR last_7815;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_NEAR_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7815 = self->next_8;
while (1) {
local0 = last_7815;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7815;
last_7815 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7815;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_SELF_EXPR_app(TR_SELF_EXPR self, TR_EXPR l) {
TR_EXPR last_7817;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_SELF_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7817 = self->next_8;
while (1) {
local0 = last_7817;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7817;
last_7817 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7817;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_VOID_EXPR_app(TR_VOID_EXPR self, TR_EXPR l) {
TR_EXPR last_7819;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_VOID_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7819 = self->next_8;
while (1) {
local0 = last_7819;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7819;
last_7819 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7819;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_AT_EXPR_appen(TR_AT_EXPR self, TR_EXPR l) {
TR_EXPR last_7821;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_AT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7821 = self->next_8;
while (1) {
local0 = last_7821;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7821;
last_7821 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7821;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_NEW_EXPR_appe(TR_NEW_EXPR self, TR_EXPR l) {
TR_EXPR last_7823;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_NEW_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7823 = self->next_8;
while (1) {
local0 = last_7823;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7823;
last_7823 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7823;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_RESULT_EXPR_a(TR_RESULT_EXPR self, TR_EXPR l) {
TR_EXPR last_7825;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_RESULT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7825 = self->next_8;
while (1) {
local0 = last_7825;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7825;
last_7825 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7825;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_OR_EXPR_appen(TR_OR_EXPR self, TR_EXPR l) {
TR_EXPR last_7827;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_OR_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7827 = self->next_8;
while (1) {
local0 = last_7827;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7827;
last_7827 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7827;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_EXPR_append_T_7829(TR_EXPR_52 self, TR_EXPR l) {
TR_EXPR last_7830;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_EXPR_52) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7830 = self->next_8;
while (1) {
local0 = last_7830;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7830;
last_7830 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7830;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_STR_LIT_EXPR__7832(TR_STR_LIT_EXPR self, TR_EXPR l) {
TR_EXPR last_7833;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_STR_LIT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7833 = self->next_8;
while (1) {
local0 = last_7833;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7833;
last_7833 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7833;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_CREATE_EXPR_a(TR_CREATE_EXPR self, TR_EXPR l) {
TR_EXPR last_7835;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_CREATE_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7835 = self->next_8;
while (1) {
local0 = last_7835;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7835;
last_7835 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7835;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_FAR_EXPR_appe(TR_FAR_EXPR self, TR_EXPR l) {
TR_EXPR last_7837;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_FAR_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7837 = self->next_8;
while (1) {
local0 = last_7837;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7837;
last_7837 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7837;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_IS_VOID_EXPR__7839(TR_IS_VOID_EXPR self, TR_EXPR l) {
TR_EXPR last_7840;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_IS_VOID_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7840 = self->next_8;
while (1) {
local0 = last_7840;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7840;
last_7840 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7840;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_WHERE_EXPR_ap(TR_WHERE_EXPR self, TR_EXPR l) {
TR_EXPR last_7842;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_WHERE_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7842 = self->next_8;
while (1) {
local0 = last_7842;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7842;
last_7842 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7842;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_INT_LIT_EXPR__7844(TR_INT_LIT_EXPR self, TR_EXPR l) {
TR_EXPR last_7845;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_INT_LIT_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7845 = self->next_8;
while (1) {
local0 = last_7845;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7845;
last_7845 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7845;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_UNDERSCORE_AR_7847(TR_UNDERSCORE_ARG self, TR_EXPR l) {
TR_EXPR last_7848;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_UNDERSCORE_ARG) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7848 = self->next_8;
while (1) {
local0 = last_7848;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7848;
last_7848 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7848;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_CALL_EXPR_app(TR_CALL_EXPR self, TR_EXPR l) {
TR_EXPR last_7850;
TR_EXPR local0;
TR_EXPR local1;
TR_EXPR local2;
if (!((!((self==((TR_CALL_EXPR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_EXPR) NULL))) {
self->next_8 = l;
return;
}
last_7850 = self->next_8;
while (1) {
local0 = last_7850;
if (((*TR_EXPR_next_TR_EXPR[local0->header.tag+TR_EXPR_next_TR_EXPR_offset])(local0)==((TR_EXPR) NULL))) {
goto after_loop;
}
local1 = last_7850;
last_7850 = (*TR_EXPR_next_TR_EXPR[local1->header.tag+TR_EXPR_next_TR_EXPR_offset])(local1);
}
after_loop: ;
local2 = last_7850;
(*TR_EXPR_next_TR__6058[local2->header.tag+TR_EXPR_next_TR__6058_offset])(local2, l);
}
void TR_ROUT_DEF_appe(TR_ROUT_DEF self, TR_CLASS_ELT l) {
TR_CLASS_ELT last_7852;
TR_CLASS_ELT local0;
TR_CLASS_ELT local1;
TR_CLASS_ELT local2;
if (!((!((self==((TR_ROUT_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_CLASS_ELT) NULL))) {
self->next_8 = l;
return;
}
last_7852 = self->next_8;
while (1) {
local0 = last_7852;
if (((*TR_CLASS_ELT_nex[local0->header.tag+TR_CLASS_ELT_nex_offset])(local0)==((TR_CLASS_ELT) NULL))) {
goto after_loop;
}
local1 = last_7852;
last_7852 = (*TR_CLASS_ELT_nex[local1->header.tag+TR_CLASS_ELT_nex_offset])(local1);
}
after_loop: ;
local2 = last_7852;
(*TR_CLASS_ELT_nex_7854[local2->header.tag+TR_CLASS_ELT_nex_7854_offset])(local2, l);
}
void TR_ATTR_DEF_appe(TR_ATTR_DEF self, TR_CLASS_ELT l) {
TR_CLASS_ELT last_7855;
TR_CLASS_ELT local0;
TR_CLASS_ELT local1;
TR_CLASS_ELT local2;
if (!((!((self==((TR_ATTR_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_CLASS_ELT) NULL))) {
self->next_8 = l;
return;
}
last_7855 = self->next_8;
while (1) {
local0 = last_7855;
if (((*TR_CLASS_ELT_nex[local0->header.tag+TR_CLASS_ELT_nex_offset])(local0)==((TR_CLASS_ELT) NULL))) {
goto after_loop;
}
local1 = last_7855;
last_7855 = (*TR_CLASS_ELT_nex[local1->header.tag+TR_CLASS_ELT_nex_offset])(local1);
}
after_loop: ;
local2 = last_7855;
(*TR_CLASS_ELT_nex_7854[local2->header.tag+TR_CLASS_ELT_nex_7854_offset])(local2, l);
}
void TR_SHARED_DEF_ap(TR_SHARED_DEF self, TR_CLASS_ELT l) {
TR_CLASS_ELT last_7857;
TR_CLASS_ELT local0;
TR_CLASS_ELT local1;
TR_CLASS_ELT local2;
if (!((!((self==((TR_SHARED_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_CLASS_ELT) NULL))) {
self->next_8 = l;
return;
}
last_7857 = self->next_8;
while (1) {
local0 = last_7857;
if (((*TR_CLASS_ELT_nex[local0->header.tag+TR_CLASS_ELT_nex_offset])(local0)==((TR_CLASS_ELT) NULL))) {
goto after_loop;
}
local1 = last_7857;
last_7857 = (*TR_CLASS_ELT_nex[local1->header.tag+TR_CLASS_ELT_nex_offset])(local1);
}
after_loop: ;
local2 = last_7857;
(*TR_CLASS_ELT_nex_7854[local2->header.tag+TR_CLASS_ELT_nex_7854_offset])(local2, l);
}
void TR_CONST_DEF_app(TR_CONST_DEF self, TR_CLASS_ELT l) {
TR_CLASS_ELT last_7859;
TR_CLASS_ELT local0;
TR_CLASS_ELT local1;
TR_CLASS_ELT local2;
if (!((!((self==((TR_CONST_DEF) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_CLASS_ELT) NULL))) {
self->next_8 = l;
return;
}
last_7859 = self->next_8;
while (1) {
local0 = last_7859;
if (((*TR_CLASS_ELT_nex[local0->header.tag+TR_CLASS_ELT_nex_offset])(local0)==((TR_CLASS_ELT) NULL))) {
goto after_loop;
}
local1 = last_7859;
last_7859 = (*TR_CLASS_ELT_nex[local1->header.tag+TR_CLASS_ELT_nex_offset])(local1);
}
after_loop: ;
local2 = last_7859;
(*TR_CLASS_ELT_nex_7854[local2->header.tag+TR_CLASS_ELT_nex_7854_offset])(local2, l);
}
void TR_INCLUDE_CLAUS_7861(TR_INCLUDE_CLAUSE self, TR_CLASS_ELT l) {
TR_CLASS_ELT last_7862;
TR_CLASS_ELT local0;
TR_CLASS_ELT local1;
TR_CLASS_ELT local2;
if (!((!((self==((TR_INCLUDE_CLAUSE) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_CLASS_ELT) NULL))) {
self->next_8 = l;
return;
}
last_7862 = self->next_8;
while (1) {
local0 = last_7862;
if (((*TR_CLASS_ELT_nex[local0->header.tag+TR_CLASS_ELT_nex_offset])(local0)==((TR_CLASS_ELT) NULL))) {
goto after_loop;
}
local1 = last_7862;
last_7862 = (*TR_CLASS_ELT_nex[local1->header.tag+TR_CLASS_ELT_nex_offset])(local1);
}
after_loop: ;
local2 = last_7862;
(*TR_CLASS_ELT_nex_7854[local2->header.tag+TR_CLASS_ELT_nex_7854_offset])(local2, l);
}
void TR_CLASS_ELT_app_7864(TR_CLASS_ELT_45 self, TR_CLASS_ELT l) {
TR_CLASS_ELT last_7865;
TR_CLASS_ELT local0;
TR_CLASS_ELT local1;
TR_CLASS_ELT local2;
if (!((!((self==((TR_CLASS_ELT_45) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/next.sa:50:9\n");
exit(16);
}
if ((self->next_8==((TR_CLASS_ELT) NULL))) {
self->next_8 = l;
return;
}
last_7865 = self->next_8;
while (1) {
local0 = last_7865;
if (((*TR_CLASS_ELT_nex[local0->header.tag+TR_CLASS_ELT_nex_offset])(local0)==((TR_CLASS_ELT) NULL))) {
goto after_loop;
}
local1 = last_7865;
last_7865 = (*TR_CLASS_ELT_nex[local1->header.tag+TR_CLASS_ELT_nex_offset])(local1);
}
after_loop: ;
local2 = last_7865;
(*TR_CLASS_ELT_nex_7854[local2->header.tag+TR_CLASS_ELT_nex_7854_offset])(local2, l);
}
void FLISTINT_aset_INT(FLISTINT_aset_INT_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTINT) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7867 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7867;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTINT_aset_IN(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
INT FLISTINT_elt_INT(FLISTINT_elt_INT_frame frame) {
INT dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTINT) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTINT_aelt_IN_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7870 = frame->arg0;
frame->noname7871 = 0;
frame->noname7872 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7870;
frame->nested1->arg1 = frame->noname7871;
frame->nested1->arg2 = frame->noname7872;
}
local0 = FLISTINT_aelt_IN(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTINT_invaria(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{INT}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
INT FLISTINT_aelt_IN(FLISTINT_aelt_IN_frame frame) {
INT dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTINT) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7875 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7876 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7875;
frame->nested1->arg1 = frame->noname7876;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTINT_aget_IN(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FMAPOBSTR_aset_T(FMAPOBSTR_aset_T_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPOBSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7878 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7878;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPOBSTR_aset_I(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
INT TUPBOOLINTIINTBO_7880(TUPBOOLINTIINTBOOL self) {
INT noname7881 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
INT h3 = ((INT) 0);
INT h4 = ((INT) 0);
BOOL lt1 = ((BOOL) 0);
INTI lt2;
INT lt3 = ((INT) 0);
BOOL lt4 = ((BOOL) 0);
OB local0;
OB local1;
INT local2;
INT local3;
lt1 = self.t1;
lt2 = self.t2;
lt3 = self.t3;
lt4 = self.t4;
local0 = (OB)((BOOL_boxed) sbi_alloc_atomic(sizeof(struct BOOL_boxed_struct), BOOL_tag));
((BOOL_boxed) local0)->value_part = lt1;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),local0));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
h3 = INT_hash_INT(lt3);
local1 = (OB)((BOOL_boxed) sbi_alloc_atomic(sizeof(struct BOOL_boxed_struct), BOOL_tag));
((BOOL_boxed) local1)->value_part = lt4;
h4 = (c_SYS_id_OB_INT(((SYS) NULL),local1));
local2 = (h1^(h2<<2));
local3 = (local2^(h3<<4));
return (local3^(h4<<6));
}
INT TUPAM_EXPRTP_has(TUPAM_EXPRTP self) {
INT noname7882 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_EXPR lt1;
TP lt2;
HASH local0;
HASH local1;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local1 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local1->header.tag+HASH_hash_INT_offset])(local1); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPFLISTAM_CONST_7883(TUPFLISTAM_CONST self) {
INT noname7884 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
FLISTAM_CONST lt1;
FLISTAM_CONST lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPOBSTR_hash_INT(TUPOBSTR self) {
INT noname7885 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
OB lt1;
STR lt2;
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),lt1));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),lt1));
}
h2 = STR_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPINTINT_hash_INT(TUPINTINT self) {
INT noname7886 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
INT lt1 = ((INT) 0);
INT lt2 = ((INT) 0);
lt1 = self.t1;
lt2 = self.t2;
h1 = INT_hash_INT(lt1);
h2 = INT_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPAM_STMTAM_STM(TUPAM_STMTAM_STMT self) {
INT noname7887 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_STMT lt1;
AM_STMT lt2;
HASH local0;
HASH local1;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local1 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local1->header.tag+HASH_hash_INT_offset])(local1); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPTP_CLASSTP_CL(TUPTP_CLASSTP_CLASS self) {
INT noname7888 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP_CLASS lt1;
TP_CLASS lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPTPIFC_hash_INT(TUPTPIFC self) {
INT noname7889 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP lt1;
IFC lt2;
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPAM_EXPRAM_EXP(TUPAM_EXPRAM_EXPR self) {
INT noname7890 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_EXPR lt1;
AM_EXPR lt2;
HASH local0;
HASH local1;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local1 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local1->header.tag+HASH_hash_INT_offset])(local1); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPIDENTARRAYTP__7891(TUPIDENTARRAYTP self) {
INT noname7892 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
IDENT lt1 = IDENT_zero;
ARRAYTP lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = IDENT_hash_INT(lt1);
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPIDENTTP_hash_INT(TUPIDENTTP self) {
INT noname7893 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
IDENT lt1 = IDENT_zero;
TP lt2;
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
h1 = IDENT_hash_INT(lt1);
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT CHAR_hash_INT(CHAR self) {
INT noname7894 = ((INT) 0);
return ((INT)self);
}
INT TUPCHARCHAR_hash_INT(TUPCHARCHAR self) {
INT noname7895 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
CHAR lt1 = ((CHAR) 0);
CHAR lt2 = ((CHAR) 0);
lt1 = self.t1;
lt2 = self.t2;
h1 = CHAR_hash_INT(lt1);
h2 = CHAR_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPTP_CLASSFSETT_7896(TUPTP_CLASSFSETT self) {
INT noname7897 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP_CLASS lt1;
FSETTP_CLASS lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPIDENTIDENT_ha(TUPIDENTIDENT self) {
INT noname7898 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
IDENT lt1 = IDENT_zero;
IDENT lt2 = IDENT_zero;
lt1 = self.t1;
lt2 = self.t2;
h1 = IDENT_hash_INT(lt1);
h2 = IDENT_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPTPINT_hash_INT(TUPTPINT self) {
INT noname7899 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP lt1;
INT lt2 = ((INT) 0);
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
h2 = INT_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPTPTP_hash_INT(TUPTPTP self) {
INT noname7900 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP lt1;
TP lt2;
HASH local0;
HASH local1;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local1 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local1->header.tag+HASH_hash_INT_offset])(local1); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPAM_ROUT_DEFAM_7901(TUPAM_ROUT_DEFAM self) {
INT noname7902 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_ROUT_DEF lt1;
AM_ROUT_DEF lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPSTRFSETSTR_ha(TUPSTRFSETSTR self) {
INT noname7903 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
STR lt1;
FSETSTR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = STR_hash_INT(lt1);
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPAM_LOCAL_EXPR_7904(TUPAM_LOCAL_EXPR self) {
INT noname7905 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_LOCAL_EXPR lt1;
AM_LOCAL_EXPR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPAM_BND_ITER_C_7906(TUPAM_BND_ITER_C self) {
INT noname7907 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_BND_ITER_CALL lt1;
AM_BND_ITER_CALL lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPIDENTAM_GLOBA_7908(TUPIDENTAM_GLOBA self) {
INT noname7909 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
IDENT lt1 = IDENT_zero;
AM_GLOBAL_EXPR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = IDENT_hash_INT(lt1);
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPARRAYTPARRAYB_7910(TUPARRAYTPARRAYB self) {
INT noname7911 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
INT h3 = ((INT) 0);
ARRAYTP lt1;
ARRAYBOOL lt2;
TP lt3;
HASH local0;
INT local1;
lt1 = self.t1;
lt2 = self.t2;
lt3 = self.t3;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
if (lt3==NULL) {
h3 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt3)));
} else
switch (lt3->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt3);
h3 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h3 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt3)));
}
local1 = (h1^(h2<<2));
return (local1^(h3<<4));
}
INT TUPSIGAM_ROUT_DE_7912(TUPSIGAM_ROUT_DEF self) {
INT noname7913 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
SIG lt1;
AM_ROUT_DEF lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPTPIMPL_hash_INT(TUPTPIMPL self) {
INT noname7914 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP lt1;
IMPL lt2;
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPSTRSTR_hash_INT(TUPSTRSTR self) {
INT noname7915 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
STR lt1;
STR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = STR_hash_INT(lt1);
h2 = STR_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPSTRTUPSTRSTR__7916(TUPSTRTUPSTRSTR self) {
INT noname7917 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
STR lt1;
TUPSTRSTR lt2 = TUPSTRSTR_zero;
lt1 = self.t1;
lt2 = self.t2;
h1 = STR_hash_INT(lt1);
h2 = TUPSTRSTR_hash_INT(lt2);
return (h1^(h2<<2));
}
INT TUPAM_CONSTAM_CO(TUPAM_CONSTAM_CONST self) {
INT noname7918 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_CONST lt1;
AM_CONST lt2;
HASH local0;
HASH local1;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local1 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local1->header.tag+HASH_hash_INT_offset])(local1); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPARRAYTPTP_has(TUPARRAYTPTP self) {
INT noname7919 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
ARRAYTP lt1;
TP lt2;
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPTPFMAPIDENTAM_7920(TUPTPFMAPIDENTAM self) {
INT noname7921 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP lt1;
FMAPIDENTAM_GLOB lt2;
HASH local0;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPTR_EXPRTR_EXP(TUPTR_EXPRTR_EXPR self) {
INT noname7922 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TR_EXPR lt1;
TR_EXPR lt2;
HASH local0;
HASH local1;
lt1 = self.t1;
lt2 = self.t2;
if (lt1==NULL) {
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
} else
switch (lt1->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local0 = ((HASH) lt1);
h1 = (*HASH_hash_INT[local0->header.tag+HASH_hash_INT_offset])(local0); break;
default: ;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
}
if (lt2==NULL) {
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
} else
switch (lt2->header.tag) {
case TUPIMPL_INCLUDEI_tag:
case TUPAM_BND_CREATE_tag:
case TUPIFCIFC_tag:
case TUPSTRITER_INLINE_tag:
case TUPAM_GLOBAL_EXP_tag:
case FSTR_tag:
case TUPSIGSIG_tag:
case CHAR_tag:
case INT_tag:
case TUPTP_CLASSFSETTP_tag:
case TUPSTRSTR_tag:
case TUPINTINTINT_tag:
case STR_tag:
case TUPSFILE_IDSFILE_ID_tag:
case TUPAM_ITER_CALL__tag:
case TUPTR_EXPRTR_EXPR_tag:
case TUPTPFMAPIDENTAM_tag:
case TUPARRAYTPTP_tag:
case TUPAM_CONSTAM_CONST_tag:
case TUPSTRTUPSTRSTR_tag:
case TUPTPIMPL_tag:
case TUPSIGAM_ROUT_DEF_tag:
case TUPARRAYTPARRAYB_tag:
case TUPIDENTAM_GLOBA_tag:
case TUPAM_BND_ITER_C_tag:
case TUPAM_LOCAL_EXPR_tag:
case TUPSTRFSETSTR_tag:
case TUPAM_ROUT_DEFAM_tag:
case TUPTPTP_tag:
case IDENT_tag:
case TUPTPINT_tag:
case TUPIDENTINT_tag:
case TUPIDENTIDENT_tag:
case TUPTP_CLASSFSETT_tag:
case TUPCHARCHAR_tag:
case TUPIDENTTP_tag:
case TUPIDENTARRAYTP_tag:
case TUPAM_EXPRAM_EXPR_tag:
case TUPTPIFC_tag:
case TUPTP_CLASSTP_CLASS_tag:
case TUPAM_STMTAM_STMT_tag:
case TUPINTINT_tag:
case TUPOBSTR_tag:
case TUPFLISTAM_CONST_tag:
case TUPAM_EXPRTP_tag:
case TUPBOOLINTIINTBOOL_tag:
local1 = ((HASH) lt2);
h2 = (*HASH_hash_INT[local1->header.tag+HASH_hash_INT_offset])(local1); break;
default: ;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
}
return (h1^(h2<<2));
}
INT TUPAM_ITER_CALL__7923(TUPAM_ITER_CALL_ self) {
INT noname7924 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_ITER_CALL_EXPR lt1;
AM_ITER_CALL_EXPR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPSFILE_IDSFILE(TUPSFILE_IDSFILE_ID self) {
INT noname7925 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
SFILE_ID lt1 = SFILE_ID_zero;
SFILE_ID lt2 = SFILE_ID_zero;
OB local0;
OB local1;
lt1 = self.t1;
lt2 = self.t2;
local0 = (OB)((SFILE_ID_boxed) sbi_alloc_atomic(sizeof(struct SFILE_ID_boxed_struct), SFILE_ID_tag));
((SFILE_ID_boxed) local0)->value_part = lt1;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),local0));
local1 = (OB)((SFILE_ID_boxed) sbi_alloc_atomic(sizeof(struct SFILE_ID_boxed_struct), SFILE_ID_tag));
((SFILE_ID_boxed) local1)->value_part = lt2;
h2 = (c_SYS_id_OB_INT(((SYS) NULL),local1));
return (h1^(h2<<2));
}
INT TUPINTINTINT_has(TUPINTINTINT self) {
INT noname7926 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
INT h3 = ((INT) 0);
INT lt1 = ((INT) 0);
INT lt2 = ((INT) 0);
INT lt3 = ((INT) 0);
INT local0;
lt1 = self.t1;
lt2 = self.t2;
lt3 = self.t3;
h1 = INT_hash_INT(lt1);
h2 = INT_hash_INT(lt2);
h3 = INT_hash_INT(lt3);
local0 = (h1^(h2<<2));
return (local0^(h3<<4));
}
INT TUPTP_CLASSFSETT_7927(TUPTP_CLASSFSETTP self) {
INT noname7928 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
TP_CLASS lt1;
FSETTP lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPSIGSIG_hash_INT(TUPSIGSIG self) {
INT noname7929 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
SIG lt1;
SIG lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT FSTR_hash_INT(FSTR self) {
INT noname7930 = ((INT) 0);
INT i_7931 = ((INT) 0);
INT r_7932 = ((INT) 0);
INT local0;
INT local1;
INT local2;
INT local3;
INT local4;
if ((self==((FSTR) NULL))) {
return 0;
}
local0 = FSTR_length_INT(self);
if ((local0==0)) {
return 0;
}
local1 = FSTR_length_INT(self);
i_7931 = (c_INT_minus_INT_INT_chk(local1,1));
local2 = 532415;
r_7932 = (c_INT_uplus_INT_INT_chk(local2,((INT)FSTR_aget_INT_CHAR(self, i_7931))));
i_7931 = (c_INT_minus_INT_INT_chk(i_7931,1));
while (1) {
if ((i_7931>=0)) {
}
else {
goto after_loop;
}
local3 = (c_INT_utimes_INT_INT_chk(r_7932,1664525));
local4 = (c_INT_uplus_INT_INT_chk(local3,1013904223));
r_7932 = (c_INT_uplus_INT_INT_chk(local4,((INT)FSTR_aget_INT_CHAR(self, i_7931))));
i_7931 = (c_INT_minus_INT_INT_chk(i_7931,1));
}
after_loop: ;
return r_7932;
if (!FSTR_invariant_BOOL(self)) {
fprintf(stderr,"Failed invariant FSTR::invariant:BOOL ../Library/fstr.sa:211:7\n");
exit(16);
}
}
INT TUPAM_GLOBAL_EXP_7934(TUPAM_GLOBAL_EXP self) {
INT noname7935 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_GLOBAL_EXPR lt1;
AM_GLOBAL_EXPR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPSTRITER_INLIN_7936(TUPSTRITER_INLINE self) {
INT noname7937 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
STR lt1;
ITER_INLINE lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = STR_hash_INT(lt1);
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPIFCIFC_hash_INT(TUPIFCIFC self) {
INT noname7938 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
IFC lt1;
IFC lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPAM_BND_CREATE_7939(TUPAM_BND_CREATE self) {
INT noname7940 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
AM_BND_CREATE_EXPR lt1;
AM_BND_CREATE_EXPR lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
INT TUPIMPL_INCLUDEI_7941(TUPIMPL_INCLUDEI self) {
INT noname7942 = ((INT) 0);
INT h1 = ((INT) 0);
INT h2 = ((INT) 0);
IMPL_INCLUDE lt1;
IMPL_INCLUDE lt2;
lt1 = self.t1;
lt2 = self.t2;
h1 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt1)));
h2 = (c_SYS_id_OB_INT(((SYS) NULL),((OB) lt2)));
return (h1^(h2<<2));
}
void FSETTP_aset_TP(FSETTP_aset_TP_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETTP) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7943 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7943;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETTP_aset_INT_TP(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETTP_invariant(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{$TP}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
TUPSTRITER_INLINE FMAPSTRITER_INLI_1147(FMAPSTRITER_INLI_1147_frame frame) {
TUPSTRITER_INLINE dummy;
TUPSTRITER_INLINE local0;
STR local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPSTRITER_INLINE) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPSTRITER_INLI_7949_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7946 = frame->arg0;
frame->nested1->arg0 = frame->noname7946;
}
local0 = FMAPSTRITER_INLI_7949(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7947 = local0;
local1 = frame->r_7947.t1;
if ((!(FMAPSTRITER_INLI_1154(frame->arg0, local1, FMAPSTRITER_INLI_1122(frame->arg0))))) {
frame->state = 1;
return frame->r_7947;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPSTRITER_INLI_1037(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{STR,ITER_INLINE}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPSTRITER_INLINE FMAPSTRITER_INLI_7949(FMAPSTRITER_INLI_7949_frame frame) {
TUPSTRITER_INLINE dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRITER_INLINE) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7951 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7951;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPSTRITER_INLI_1151(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FMAPSTRITER_INLI_1135(FMAPSTRITER_INLI_1135_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRITER_INLINE) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7953 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7953;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPSTRITER_INLI_1156(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
TUPSTRTUPSTRSTR FMAPSTRTUPSTRSTR_1080(FMAPSTRTUPSTRSTR_1080_frame frame) {
TUPSTRTUPSTRSTR dummy;
TUPSTRTUPSTRSTR local0;
STR local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPSTRTUPSTRSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPSTRTUPSTRSTR_7959_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7956 = frame->arg0;
frame->nested1->arg0 = frame->noname7956;
}
local0 = FMAPSTRTUPSTRSTR_7959(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7957 = local0;
local1 = frame->r_7957.t1;
if ((!(FMAPSTRTUPSTRSTR_1087(frame->arg0, local1, FMAPSTRTUPSTRSTR_1055(frame->arg0))))) {
frame->state = 1;
return frame->r_7957;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPSTRTUPSTRSTR_1035(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{STR,TUP{STR,STR}}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPSTRTUPSTRSTR FMAPSTRTUPSTRSTR_7959(FMAPSTRTUPSTRSTR_7959_frame frame) {
TUPSTRTUPSTRSTR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRTUPSTRSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7961 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7961;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPSTRTUPSTRSTR_1084(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FMAPSTRTUPSTRSTR_1068(FMAPSTRTUPSTRSTR_1068_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRTUPSTRSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7963 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7963;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPSTRTUPSTRSTR_1089(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
STR BE_LEX_elt_STR(BE_LEX_elt_STR_frame frame) {
STR dummy;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
while (1) {
frame->s_7966 = BE_LEX_get_str_STR(frame->arg0);
if ((frame->s_7966==((STR) NULL))) {
frame->state = -1;
return;
}
else {
frame->state = 1;
return frame->s_7966;
state1:;
}
}
after_loop: ;
frame->state = -1;
return dummy;
}
TUPSTRSTR FMAPSTRSTR_pairs(FMAPSTRSTR_pairs_frame frame) {
TUPSTRSTR dummy;
TUPSTRSTR local0;
STR local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPSTRSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPSTRSTR_aelt__frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7969 = frame->arg0;
frame->nested1->arg0 = frame->noname7969;
}
local0 = FMAPSTRSTR_aelt_(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7970 = local0;
local1 = frame->r_7970.t1;
if ((!(FMAPSTRSTR_key_e(frame->arg0, local1, FMAPSTRSTR_key_n(frame->arg0))))) {
frame->state = 1;
return frame->r_7970;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPSTRSTR_invar(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{STR,STR}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
TUPSTRSTR FMAPSTRSTR_aelt_(FMAPSTRSTR_aelt__frame frame) {
TUPSTRSTR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7973 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7973;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPSTRSTR_aget_(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
TUPSTRFSETSTR FMAPSTRFSETSTR_p(FMAPSTRFSETSTR_p_frame frame) {
TUPSTRFSETSTR dummy;
TUPSTRFSETSTR local0;
STR local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FMAPSTRFSETSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(FMAPSTRFSETSTR_a_7979_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7976 = frame->arg0;
frame->nested1->arg0 = frame->noname7976;
}
local0 = FMAPSTRFSETSTR_a_7979(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
frame->r_7977 = local0;
local1 = frame->r_7977.t1;
if ((!(FMAPSTRFSETSTR_k_565(frame->arg0, local1, FMAPSTRFSETSTR_k(frame->arg0))))) {
frame->state = 1;
return frame->r_7977;
state1:;
}
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FMAPSTRFSETSTR_i(frame->arg0)) {
fprintf(stderr,"Failed invariant FMAP{STR,FSET{STR}}::invariant:BOOL ../Library/fmap.sa:95:8\n");
exit(16);
}
frame->state = -1;
return dummy;
}
BOOL FMAPSTRFSETSTR_i(FMAPSTRFSETSTR self) {
BOOL noname7980 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
if ((self==((FMAPSTRFSETSTR) NULL))) {
local0 = TRUE;
} else {
local1 = self->hsize;
local2 = 0;
local0 = INT_is_bet_INT_I(local1, local2, (self->asize));
}
return local0;
}
TUPSTRFSETSTR FMAPSTRFSETSTR_a_7979(FMAPSTRFSETSTR_a_7979_frame frame) {
TUPSTRFSETSTR dummy;
INT local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRFSETSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:48:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7982 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7982;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FMAPSTRFSETSTR_a_562(frame->arg0, local0);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
BOOL FLISTSFILE_ID_in(FLISTSFILE_ID self) {
BOOL noname7984 = ((BOOL) 0);
BOOL local0;
INT local1;
INT local2;
INT local3;
if ((self==((FLISTSFILE_ID) NULL))) {
return TRUE;
}
local1 = self->loc_17;
local2 = 0;
if (INT_is_bet_INT_I(local1, local2, (self->asize))) {
local3 = (self->asize);
local0 = (local3>0);
} else {
local0 = FALSE;
}
return local0;
}
void FLISTSFILE_ID_as_763(FLISTSFILE_ID_as_763_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTSFILE_ID) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7985 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7985;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTSFILE_ID_as_767(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
SFILE_ID FLISTSFILE_ID_el(FLISTSFILE_ID_el_frame frame) {
SFILE_ID dummy;
SFILE_ID local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTSFILE_ID) NULL))))) {
{
frame->nested1 = ALLOCATE(FLISTSFILE_ID_ae_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7988 = frame->arg0;
frame->noname7989 = 0;
frame->noname7990 = frame->arg0->loc_17;
frame->nested1->arg0 = frame->noname7988;
frame->nested1->arg1 = frame->noname7989;
frame->nested1->arg2 = frame->noname7990;
}
local0 = FLISTSFILE_ID_ae(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
if (!FLISTSFILE_ID_in(frame->arg0)) {
fprintf(stderr,"Failed invariant FLIST{SFILE_ID}::invariant:BOOL ../Library/flist.sa:127:6\n");
exit(16);
}
frame->state = -1;
return dummy;
}
SFILE_ID FLISTSFILE_ID_ae(FLISTSFILE_ID_ae_frame frame) {
SFILE_ID dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((FLISTSFILE_ID) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname7993 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname7994 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname7993;
frame->nested1->arg1 = frame->noname7994;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return FLISTSFILE_ID_ag(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void STR_aset_CHAR(STR_aset_CHAR_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((STR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7996 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7996;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
STR_aset_INT_CHAR(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void FMAPSTRSTR_aset_(FMAPSTRSTR_aset__frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname7998 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname7998;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPSTRSTR_aset__595(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void FMAPSTRFSETSTR_a_549(FMAPSTRFSETSTR_a_549_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FMAPSTRFSETSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8000 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname8000;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FMAPSTRFSETSTR_a_567(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
CHAR STR_elt_INT_CHAR(STR_elt_INT_CHAR_frame frame) {
CHAR dummy;
CHAR local0;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((STR) NULL))))) {
{
frame->nested1 = ALLOCATE(STR_aelt_INT_CHAR_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname8003 = frame->arg0;
frame->noname8004 = frame->arg1;
frame->nested1->arg0 = frame->noname8003;
frame->nested1->arg1 = frame->noname8004;
}
local0 = STR_aelt_INT_CHAR(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return local0;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return dummy;
}
CHAR STR_aelt_INT_CHAR(STR_aelt_INT_CHAR_frame frame) {
CHAR dummy;
BOOL local0;
INT local1;
INT local2;
INT local3;
INT local4;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((STR) NULL))))) {
local1 = 0;
local2 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg1, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:53:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname8007 = frame->arg1;
local4 = (frame->arg0->asize);
frame->noname8008 = (c_INT_minus_INT_INT_chk(local4,1));
frame->nested1->arg0 = frame->noname8007;
frame->nested1->arg1 = frame->noname8008;
}
local3 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return STR_aget_INT_CHAR(frame->arg0, local3);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void ARRAYSTR_aset_IN_497(ARRAYSTR_aset_IN_497_frame frame) {
BOOL local0;
INT local1;
INT local2;
INT local3;
INT local4;
INT local5;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYSTR) NULL))))) {
local1 = 0;
local2 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg1, local1, (c_INT_minus_INT_INT_chk(local2,1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:83:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8010 = frame->arg1;
local4 = (frame->arg0->asize);
frame->noname8011 = (c_INT_minus_INT_INT_chk(local4,1));
frame->nested1->arg0 = frame->noname8010;
frame->nested1->arg1 = frame->noname8011;
}
local3 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local5 = local3;
ARRAYSTR_aset_IN_4289(frame->arg0, local5, frame->arg2);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void ARRAYSTR_aset_STR(ARRAYSTR_aset_STR_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((ARRAYSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8013 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname8013;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
ARRAYSTR_aset_IN_4289(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void ARRAYSTR_set_STR(ARRAYSTR_set_STR_frame frame) {
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYSTR) NULL))))) {
{
frame->nested1 = ALLOCATE(ARRAYSTR_aset_STR_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8015 = frame->arg0;
frame->nested1->arg0 = frame->noname8015;
}
frame->nested1->arg1 = frame->arg1;
ARRAYSTR_aset_STR(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
0 /* No return value from iter call */;
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
}
frame->state = -1;
return;
}
void ARRAYSTR_aset_IN(ARRAYSTR_aset_IN_frame frame) {
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
INT local8;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYSTR) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:89:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8017 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname8018 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname8017;
frame->nested1->arg1 = frame->noname8018;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local8 = local6;
ARRAYSTR_aset_IN_4289(frame->arg0, local8, frame->arg3);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
STR ARRAYSTR_aelt_IN(ARRAYSTR_aelt_IN_frame frame) {
STR dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((ARRAYSTR) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname8021 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname8022 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname8021;
frame->nested1->arg1 = frame->noname8022;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return ARRAYSTR_aget_IN(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
void FLISTSTR_aset_STR(FLISTSTR_aset_STR_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FLISTSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8024 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname8024;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FLISTSTR_aset_IN(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
void FSETSTR_aset_STR(FSETSTR_aset_STR_frame frame) {
INT local0;
INT local1;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if (!((!((frame->arg0==((FSETSTR) NULL)))))) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:77:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_times_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8026 = (frame->arg0->asize);
frame->nested1->arg0 = frame->noname8026;
}
local0 = INT_times_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local1 = local0;
FSETSTR_aset_INT_STR(frame->arg0, local1, frame->arg1);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
if (!FSETSTR_invarian(frame->arg0)) {
fprintf(stderr,"Failed invariant FSET{STR}::invariant:BOOL ../Library/aref.sa:77:7\n");
exit(16);
}
frame->state = -1;
return;
}
void STR_aset_INT_INT(STR_aset_INT_INT_frame frame) {
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
INT local8;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((STR) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:89:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
if (frame->nested1->state == 0) {
frame->noname8028 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname8029 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname8028;
frame->nested1->arg1 = frame->noname8029;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
local8 = local6;
STR_aset_INT_CHAR(frame->arg0, local8, frame->arg3);
frame->state = 1;
return;
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return;
}
CHAR STR_aelt_INT_INT(STR_aelt_INT_INT_frame frame) {
CHAR dummy;
BOOL local0;
BOOL local1;
INT local2;
INT local3;
INT local4;
INT local5;
INT local6;
INT local7;
switch (frame->state) {
case 0: goto state0;
case 1: goto state1;
}
state0:;
if ((!((frame->arg0==((STR) NULL))))) {
local2 = 0;
local3 = (frame->arg0->asize);
local1 = INT_is_bet_INT_I(frame->arg1, local2, (c_INT_minus_INT_INT_chk(local3,1)));
} else {
local1 = FALSE;
}
if (local1) {
local4 = 0;
local5 = (frame->arg0->asize);
local0 = INT_is_bet_INT_I(frame->arg2, local4, (c_INT_minus_INT_INT_chk(local5,frame->arg1)));
} else {
local0 = FALSE;
}
if (!(local0)) {
fprintf(stderr,"Violation of precondition ../Library/aref.sa:58:7\n");
exit(16);
}
{
frame->nested1 = ALLOCATE(INT_upto_INT_INT_frame);
frame->nested1->state = 0;
while (1) {
frame->state = 1;
if (frame->nested1->state == 0) {
frame->noname8032 = frame->arg1;
local7 = (c_INT_plus_INT_INT_chk(frame->arg1,frame->arg2));
frame->noname8033 = (c_INT_minus_INT_INT_chk(local7,1));
frame->nested1->arg0 = frame->noname8032;
frame->nested1->arg1 = frame->noname8033;
}
local6 = INT_upto_INT_INT(frame->nested1);
if (frame->nested1->state == -1) goto after_loop;
return STR_aget_INT_CHAR(frame->arg0, local6);
state1:;
}
}
after_loop: ;
GC_free(frame->nested1); frame->nested1 = NULL;
frame->state = -1;
return dummy;
}
INT TP_CLASS_hash_INT(TP_CLASS self) {
INT noname8035 = ((INT) 0);
return (c_SYS_id_OB_INT(((SYS) NULL),((OB) self)));
}
INT TP_ROUT_hash_INT(TP_ROUT self) {
INT noname8036 = ((INT) 0);
return (c_SYS_id_OB_INT(((SYS) NULL),((OB) self)));
}
INT TP_ITER_hash_INT(TP_ITER self) {
INT noname8037 = ((INT) 0);
return (c_SYS_id_OB_INT(((SYS) NULL),((OB) self)));
}
SIG INLINE_ROUT_sig_SIG(INLINE_ROUT self) {
SIG noname8038;
return self->am->sig_6;
}