
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void exitshell(void)

{
  undefined1 uVar1;
  undefined *puVar2;
  int iVar3;
  undefined1 *puVar4;
  char *s;
  jmploc loc;
  
  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;
  uVar1 = *puVar4;
  iVar3 = (*(code *)PTR__setjmp_00132184)(&loc);
  if (iVar3 == 0) {
    *(jmploc **)(puVar4 + 0x20) = &loc;
    puVar2 = PTR_OptArray_14__flags_00131178;
    s = *(char **)(puVar4 + 0x13c);
    if (s != (char *)0x0) {
      *(undefined4 *)(puVar4 + 0x13c) = 0;
      puVar2[0x23e7] = 0;
      evalstring(s,0);
    }
  }
  else if (puVar4[0x2b] == '\x04') {
    uVar1 = *puVar4;
  }
  setjobctl(0);
  flush_stdout_stderr();
  (*(code *)PTR__exit_00132198)(uVar1);
  return;
}



void FUN_00082b1c(void)

{
  undefined1 uVar1;
  undefined *puVar2;
  int iVar3;
  undefined1 *puVar4;
  undefined1 auStack_100 [244];
  undefined4 local_c;
  
  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;
  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;
  uVar1 = *puVar4;
  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);
  if (iVar3 == 0) {
    *(undefined1 **)(puVar4 + 0x20) = auStack_100;
    puVar2 = PTR_DAT_00131178;
    iVar3 = *(int *)(puVar4 + 0x13c);
    if (iVar3 != 0) {
      *(undefined4 *)(puVar4 + 0x13c) = 0;
      puVar2[0x23e7] = 0;
      FUN_00082564(iVar3,0);
    }
  }
  else if (puVar4[0x2b] == '\x04') {
    uVar1 = *puVar4;
  }
  FUN_0007465c(0);
  FUN_00071e44();
  (*(code *)PTR__exit_00132198)(uVar1);
  return;
}


lui gp,0xb
addiu gp,gp,0x6634
addu gp,gp,t9
addiu sp,sp,-0x120
sw ra,0x11c(sp)
sw gp,0x10(sp)
lw v0,-0x6fec(gp)
lw v0,0x0(v0)
sw v0,0x114(sp)
lw v0,-0x78c4(gp)
lw a0,0x0(v0)
sw a0,0x18(sp)
lbu v0,0x0(a0)
sw v0,0x1c(sp)
addiu a0,sp,0x20
lw t9,-0x6fcc(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00082bc4
_lw a0,0x18(sp)
lb v1,0x2b(a0)
li v0,0x4
bne v1,v0,0x00082b88
_nop
lbu v0,0x0(a0)
sw v0,0x1c(sp)
or a0,zero,zero
lw t9,-0x7938(gp)
addiu t9,t9,0x465c
bal 0x0007465c
_nop
lw gp,0x10(sp)
lw t9,-0x7938(gp)
addiu t9,t9,0x1e44
bal 0x00071e44
_nop
lw gp,0x10(sp)
lw a0,0x1c(sp)
lw t9,-0x6fb8(gp)
jalr t9
_nop
addiu v0,sp,0x20
lw v1,0x18(sp)
sw v0,0x20(v1)
lw a0,0x13c(v1)
beq a0,zero,0x00082b88
_lw v0,-0x7fd8(gp)
sw zero,0x13c(v1)
sb zero,0x23e7(v0)
or a1,zero,zero
lw t9,-0x78a8(gp)
addiu t9,t9,0x2564
bal 0x00082564
_nop
lw gp,0x10(sp)
b 0x00082b8c
_or a0,zero,zero
(translation_unit "void FUN_00082b1c(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00082b1c(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00082b1c(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 auStack_100 [244];" type_identifier (array_declarator "auStack_100 [244]" identifier [ number_literal ]) ;) (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_c = *(undefined4 *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(undefined4 *)PTR___stack_chk_guard_00132164" * (cast_expression "(undefined4 *)PTR___stack_chk_guard_00132164" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;" (assignment_expression "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" identifier = (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" * (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);" (assignment_expression "iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100)" identifier = (call_expression "(*(code *)PTR__setjmp_00132184)(auStack_100)" (parenthesized_expression "(*(code *)PTR__setjmp_00132184)" ( (pointer_expression "*(code *)PTR__setjmp_00132184" * (cast_expression "(code *)PTR__setjmp_00132184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_100)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }" { (expression_statement "*(undefined1 **)(puVar4 + 0x20) = auStack_100;" (assignment_expression "*(undefined1 **)(puVar4 + 0x20) = auStack_100" (pointer_expression "*(undefined1 **)(puVar4 + 0x20)" * (cast_expression "(undefined1 **)(puVar4 + 0x20)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x20)" ( (binary_expression "puVar4 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_DAT_00131178;" (assignment_expression "puVar2 = PTR_DAT_00131178" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(puVar4 + 0x13c);" (assignment_expression "iVar3 = *(int *)(puVar4 + 0x13c)" identifier = (pointer_expression "*(int *)(puVar4 + 0x13c)" * (cast_expression "(int *)(puVar4 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x13c)" ( (binary_expression "puVar4 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }" { (expression_statement "*(undefined4 *)(puVar4 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + 0x13c)" * (cast_expression "(undefined4 *)(puVar4 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x13c)" ( (binary_expression "puVar4 + 0x13c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[0x23e7] = 0;" (assignment_expression "puVar2[0x23e7] = 0" (subscript_expression "puVar2[0x23e7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00082564(iVar3,0);" (call_expression "FUN_00082564(iVar3,0)" identifier (argument_list "(iVar3,0)" ( identifier , number_literal ))) ;) })) }) (else_clause "else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" else (if_statement "if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" if (parenthesized_expression "(puVar4[0x2b] == '\x04')" ( (binary_expression "puVar4[0x2b] == '\x04'" (subscript_expression "puVar4[0x2b]" identifier [ number_literal ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *puVar4;\n  }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })))) (expression_statement "FUN_0007465c(0);" (call_expression "FUN_0007465c(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "FUN_00071e44();" (call_expression "FUN_00071e44()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR__exit_00132198)(uVar1);" (call_expression "(*(code *)PTR__exit_00132198)(uVar1)" (parenthesized_expression "(*(code *)PTR__exit_00132198)" ( (pointer_expression "*(code *)PTR__exit_00132198" * (cast_expression "(code *)PTR__exit_00132198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid exitshell(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  char *s;\n  jmploc loc;\n  \n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(&loc);\n  if (iVar3 == 0) {\n    *(jmploc **)(puVar4 + 0x20) = &loc;\n    puVar2 = PTR_OptArray_14__flags_00131178;\n    s = *(char **)(puVar4 + 0x13c);\n    if (s != (char *)0x0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  setjobctl(0);\n  flush_stdout_stderr();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}\n\n" comment (function_definition "void exitshell(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  char *s;\n  jmploc loc;\n  \n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(&loc);\n  if (iVar3 == 0) {\n    *(jmploc **)(puVar4 + 0x20) = &loc;\n    puVar2 = PTR_OptArray_14__flags_00131178;\n    s = *(char **)(puVar4 + 0x13c);\n    if (s != (char *)0x0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  setjobctl(0);\n  flush_stdout_stderr();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" primitive_type (function_declarator "exitshell(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  char *s;\n  jmploc loc;\n  \n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(&loc);\n  if (iVar3 == 0) {\n    *(jmploc **)(puVar4 + 0x20) = &loc;\n    puVar2 = PTR_OptArray_14__flags_00131178;\n    s = *(char **)(puVar4 + 0x13c);\n    if (s != (char *)0x0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  setjobctl(0);\n  flush_stdout_stderr();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "jmploc loc;" type_identifier identifier ;) (expression_statement "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;" (assignment_expression "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" identifier = (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" * (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR__setjmp_00132184)(&loc);" (assignment_expression "iVar3 = (*(code *)PTR__setjmp_00132184)(&loc)" identifier = (call_expression "(*(code *)PTR__setjmp_00132184)(&loc)" (parenthesized_expression "(*(code *)PTR__setjmp_00132184)" ( (pointer_expression "*(code *)PTR__setjmp_00132184" * (cast_expression "(code *)PTR__setjmp_00132184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&loc)" ( (pointer_expression "&loc" & identifier) )))) ;) (if_statement "if (iVar3 == 0) {\n    *(jmploc **)(puVar4 + 0x20) = &loc;\n    puVar2 = PTR_OptArray_14__flags_00131178;\n    s = *(char **)(puVar4 + 0x13c);\n    if (s != (char *)0x0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *(jmploc **)(puVar4 + 0x20) = &loc;\n    puVar2 = PTR_OptArray_14__flags_00131178;\n    s = *(char **)(puVar4 + 0x13c);\n    if (s != (char *)0x0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }\n  }" { (expression_statement "*(jmploc **)(puVar4 + 0x20) = &loc;" (assignment_expression "*(jmploc **)(puVar4 + 0x20) = &loc" (pointer_expression "*(jmploc **)(puVar4 + 0x20)" * (cast_expression "(jmploc **)(puVar4 + 0x20)" ( (type_descriptor "jmploc **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x20)" ( (binary_expression "puVar4 + 0x20" identifier + number_literal) )))) = (pointer_expression "&loc" & identifier)) ;) (expression_statement "puVar2 = PTR_OptArray_14__flags_00131178;" (assignment_expression "puVar2 = PTR_OptArray_14__flags_00131178" identifier = identifier) ;) (expression_statement "s = *(char **)(puVar4 + 0x13c);" (assignment_expression "s = *(char **)(puVar4 + 0x13c)" identifier = (pointer_expression "*(char **)(puVar4 + 0x13c)" * (cast_expression "(char **)(puVar4 + 0x13c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x13c)" ( (binary_expression "puVar4 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (s != (char *)0x0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }" if (parenthesized_expression "(s != (char *)0x0)" ( (binary_expression "s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      evalstring(s,0);\n    }" { (expression_statement "*(undefined4 *)(puVar4 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + 0x13c)" * (cast_expression "(undefined4 *)(puVar4 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x13c)" ( (binary_expression "puVar4 + 0x13c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[0x23e7] = 0;" (assignment_expression "puVar2[0x23e7] = 0" (subscript_expression "puVar2[0x23e7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "evalstring(s,0);" (call_expression "evalstring(s,0)" identifier (argument_list "(s,0)" ( identifier , number_literal ))) ;) })) }) (else_clause "else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" else (if_statement "if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" if (parenthesized_expression "(puVar4[0x2b] == '\x04')" ( (binary_expression "puVar4[0x2b] == '\x04'" (subscript_expression "puVar4[0x2b]" identifier [ number_literal ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *puVar4;\n  }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })))) (expression_statement "setjobctl(0);" (call_expression "setjobctl(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "flush_stdout_stderr();" (call_expression "flush_stdout_stderr()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR__exit_00132198)(uVar1);" (call_expression "(*(code *)PTR__exit_00132198)(uVar1)" (parenthesized_expression "(*(code *)PTR__exit_00132198)" ( (pointer_expression "*(code *)PTR__exit_00132198" * (cast_expression "(code *)PTR__exit_00132198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00082b1c(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00082b1c(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00082b1c(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 auStack_100 [244];" type_identifier (array_declarator "auStack_100 [244]" identifier [ number_literal ]) ;) (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_c = *(undefined4 *)PTR___stack_chk_guard_00132164" identifier = (pointer_expression "*(undefined4 *)PTR___stack_chk_guard_00132164" * (cast_expression "(undefined4 *)PTR___stack_chk_guard_00132164" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;" (assignment_expression "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" identifier = (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" * (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);" (assignment_expression "iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100)" identifier = (call_expression "(*(code *)PTR__setjmp_00132184)(auStack_100)" (parenthesized_expression "(*(code *)PTR__setjmp_00132184)" ( (pointer_expression "*(code *)PTR__setjmp_00132184" * (cast_expression "(code *)PTR__setjmp_00132184" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_100)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }" { (expression_statement "*(undefined1 **)(puVar4 + 0x20) = auStack_100;" (assignment_expression "*(undefined1 **)(puVar4 + 0x20) = auStack_100" (pointer_expression "*(undefined1 **)(puVar4 + 0x20)" * (cast_expression "(undefined1 **)(puVar4 + 0x20)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x20)" ( (binary_expression "puVar4 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_DAT_00131178;" (assignment_expression "puVar2 = PTR_DAT_00131178" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(puVar4 + 0x13c);" (assignment_expression "iVar3 = *(int *)(puVar4 + 0x13c)" identifier = (pointer_expression "*(int *)(puVar4 + 0x13c)" * (cast_expression "(int *)(puVar4 + 0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x13c)" ( (binary_expression "puVar4 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }" { (expression_statement "*(undefined4 *)(puVar4 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + 0x13c)" * (cast_expression "(undefined4 *)(puVar4 + 0x13c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0x13c)" ( (binary_expression "puVar4 + 0x13c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2[0x23e7] = 0;" (assignment_expression "puVar2[0x23e7] = 0" (subscript_expression "puVar2[0x23e7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00082564(iVar3,0);" (call_expression "FUN_00082564(iVar3,0)" identifier (argument_list "(iVar3,0)" ( identifier , number_literal ))) ;) })) }) (else_clause "else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" else (if_statement "if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" if (parenthesized_expression "(puVar4[0x2b] == '\x04')" ( (binary_expression "puVar4[0x2b] == '\x04'" (subscript_expression "puVar4[0x2b]" identifier [ number_literal ]) == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *puVar4;\n  }" { (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })))) (expression_statement "FUN_0007465c(0);" (call_expression "FUN_0007465c(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (expression_statement "FUN_00071e44();" (call_expression "FUN_00071e44()" identifier (argument_list "()" ( ))) ;) (expression_statement "(*(code *)PTR__exit_00132198)(uVar1);" (call_expression "(*(code *)PTR__exit_00132198)(uVar1)" (parenthesized_expression "(*(code *)PTR__exit_00132198)" ( (pointer_expression "*(code *)PTR__exit_00132198" * (cast_expression "(code *)PTR__exit_00132198" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })))) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00082b1c(void)\n\n{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00082b1c(void)" (identifier "FUN_00082b1c") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  undefined *puVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  undefined1 auStack_100 [244];\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;\n  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;\n  uVar1 = *puVar4;\n  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);\n  if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }\n  FUN_0007465c(0);\n  FUN_00071e44();\n  (*(code *)PTR__exit_00132198)(uVar1);\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined1 auStack_100 [244];" (type_identifier "undefined1") (array_declarator "auStack_100 [244]" (identifier "auStack_100") ([ "[") (number_literal "244") (] "]")) (; ";")) (declaration "undefined4 local_c;" (type_identifier "undefined4") (identifier "local_c") (; ";")) (expression_statement "local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;" (assignment_expression "local_c = *(undefined4 *)PTR___stack_chk_guard_00132164" (identifier "local_c") (= "=") (pointer_expression "*(undefined4 *)PTR___stack_chk_guard_00132164" (* "*") (cast_expression "(undefined4 *)PTR___stack_chk_guard_00132164" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00132164")))) (; ";")) (expression_statement "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;" (assignment_expression "puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" (identifier "puVar4") (= "=") (pointer_expression "*(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" (* "*") (cast_expression "(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_ash_ptr_to_globals_misc_0013188c")))) (; ";")) (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" (identifier "uVar1") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);" (assignment_expression "iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR__setjmp_00132184)(auStack_100)" (parenthesized_expression "(*(code *)PTR__setjmp_00132184)" (( "(") (pointer_expression "*(code *)PTR__setjmp_00132184" (* "*") (cast_expression "(code *)PTR__setjmp_00132184" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__setjmp_00132184"))) () ")")) (argument_list "(auStack_100)" (( "(") (identifier "auStack_100") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }\n  else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 **)(puVar4 + 0x20) = auStack_100;\n    puVar2 = PTR_DAT_00131178;\n    iVar3 = *(int *)(puVar4 + 0x13c);\n    if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }\n  }" ({ "{") (expression_statement "*(undefined1 **)(puVar4 + 0x20) = auStack_100;" (assignment_expression "*(undefined1 **)(puVar4 + 0x20) = auStack_100" (pointer_expression "*(undefined1 **)(puVar4 + 0x20)" (* "*") (cast_expression "(undefined1 **)(puVar4 + 0x20)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x20)" (( "(") (binary_expression "puVar4 + 0x20" (identifier "puVar4") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "auStack_100")) (; ";")) (expression_statement "puVar2 = PTR_DAT_00131178;" (assignment_expression "puVar2 = PTR_DAT_00131178" (identifier "puVar2") (= "=") (identifier "PTR_DAT_00131178")) (; ";")) (expression_statement "iVar3 = *(int *)(puVar4 + 0x13c);" (assignment_expression "iVar3 = *(int *)(puVar4 + 0x13c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar4 + 0x13c)" (* "*") (cast_expression "(int *)(puVar4 + 0x13c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x13c)" (( "(") (binary_expression "puVar4 + 0x13c" (identifier "puVar4") (+ "+") (number_literal "0x13c")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) {\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(puVar4 + 0x13c) = 0;\n      puVar2[0x23e7] = 0;\n      FUN_00082564(iVar3,0);\n    }" ({ "{") (expression_statement "*(undefined4 *)(puVar4 + 0x13c) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + 0x13c) = 0" (pointer_expression "*(undefined4 *)(puVar4 + 0x13c)" (* "*") (cast_expression "(undefined4 *)(puVar4 + 0x13c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0x13c)" (( "(") (binary_expression "puVar4 + 0x13c" (identifier "puVar4") (+ "+") (number_literal "0x13c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x23e7] = 0;" (assignment_expression "puVar2[0x23e7] = 0" (subscript_expression "puVar2[0x23e7]" (identifier "puVar2") ([ "[") (number_literal "0x23e7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00082564(iVar3,0);" (call_expression "FUN_00082564(iVar3,0)" (identifier "FUN_00082564") (argument_list "(iVar3,0)" (( "(") (identifier "iVar3") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" (else "else") (if_statement "if (puVar4[0x2b] == '\x04') {\n    uVar1 = *puVar4;\n  }" (if "if") (parenthesized_expression "(puVar4[0x2b] == '\x04')" (( "(") (binary_expression "puVar4[0x2b] == '\x04'" (subscript_expression "puVar4[0x2b]" (identifier "puVar4") ([ "[") (number_literal "0x2b") (] "]")) (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = *puVar4;\n  }" ({ "{") (expression_statement "uVar1 = *puVar4;" (assignment_expression "uVar1 = *puVar4" (identifier "uVar1") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (} "}"))))) (expression_statement "FUN_0007465c(0);" (call_expression "FUN_0007465c(0)" (identifier "FUN_0007465c") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_00071e44();" (call_expression "FUN_00071e44()" (identifier "FUN_00071e44") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "(*(code *)PTR__exit_00132198)(uVar1);" (call_expression "(*(code *)PTR__exit_00132198)(uVar1)" (parenthesized_expression "(*(code *)PTR__exit_00132198)" (( "(") (pointer_expression "*(code *)PTR__exit_00132198" (* "*") (cast_expression "(code *)PTR__exit_00132198" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__exit_00132198"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 uVar1;
  type_2 *puVar2;
  int var_1;
  type_1 *var_2;
  char *var_3;
  type_3 loc;
  
  var_2 = *(type_1 **)PTR_ash_ptr_to_globals_misc_0013188c;
  uVar1 = *var_2;
  var_1 = (*(type_4 *)PTR__setjmp_00132184)(&loc);
  if (var_1 == 0) {
    *(type_3 **)(var_2 + 0x20) = &loc;
    puVar2 = PTR_OptArray_14__flags_00131178;
    var_3 = *(char **)(var_2 + 0x13c);
    if (var_3 != (char *)0x0) {
      *(type_5 *)(var_2 + 0x13c) = 0;
      puVar2[0x23e7] = 0;
      var_4(var_3,0);
    }
  }
  else if (var_2[0x2b] == '\x04') {
    uVar1 = *var_2;
  }
  var_5(0);
  var_6();
  (*(type_4 *)PTR__exit_00132198)(uVar1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(void)

{
  undefined1 uVar1;
  undefined *puVar2;
  int iVar3;
  undefined1 *puVar4;
  undefined1 auStack_100 [244];
  undefined4 local_c;
  
  local_c = *(undefined4 *)PTR___stack_chk_guard_00132164;
  puVar4 = *(undefined1 **)PTR_ash_ptr_to_globals_misc_0013188c;
  uVar1 = *puVar4;
  iVar3 = (*(code *)PTR__setjmp_00132184)(auStack_100);
  if (iVar3 == 0) {
    *(undefined1 **)(puVar4 + 0x20) = auStack_100;
    puVar2 = PTR_DAT_00131178;
    iVar3 = *(int *)(puVar4 + 0x13c);
    if (iVar3 != 0) {
      *(undefined4 *)(puVar4 + 0x13c) = 0;
      puVar2[0x23e7] = 0;
      FUN_00082564(iVar3,0);
    }
  }
  else if (puVar4[0x2b] == '\x04') {
    uVar1 = *puVar4;
  }
  FUN_0007465c(0);
  FUN_00071e44();
  (*(code *)PTR__exit_00132198)(uVar1);
  return;
}

