
/* WARNING: Unknown calling convention */

int count_all_jobs(void)

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  int iVar4;
  undefined *puVar5;
  sigset_t set;
  sigset_t oset;
  
  iVar1 = *(int *)PTR___stack_chk_guard_0015858c;
  (*(code *)PTR_sigemptyset_00158388)(&set);
  (*(code *)PTR_sigaddset_00158418)(&set,0x12);
  (*(code *)PTR_sigemptyset_00158388)(&oset);
  (*(code *)PTR_sigprocmask_001585c4)(1,&set,&oset);
  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {
    iVar4 = 0;
  }
  else {
    piVar2 = *(int **)PTR_jobs_00156eb0;
    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);
    iVar4 = 0;
    do {
      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {
        iVar4 = iVar4 + 1;
      }
      piVar2 = piVar2 + 1;
    } while (piVar2 != piVar3);
  }
  (*(code *)PTR_sigprocmask_001585c4)(3,&oset,0);
  if (iVar1 != *(int *)PTR___stack_chk_guard_0015858c) {
    puVar5 = PTR___stack_chk_fail_0015853c;
    (*(code *)PTR___stack_chk_fail_0015853c)();
    iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);
    *(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;
    return iVar1;
  }
  return iVar4;
}



int count_all_jobs(void)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  undefined *puVar4;
  undefined1 auStack_114 [128];
  undefined1 auStack_94 [128];
  int local_14;
  
  local_14 = *(int *)PTR___stack_chk_guard_0015858c;
  (*(code *)PTR_sigemptyset_00158388)(auStack_114);
  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);
  (*(code *)PTR_sigemptyset_00158388)(auStack_94);
  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);
  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {
    iVar3 = 0;
  }
  else {
    piVar1 = *(int **)PTR_jobs_00156eb0;
    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);
    iVar3 = 0;
    do {
      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {
        iVar3 = iVar3 + 1;
      }
      piVar1 = piVar1 + 1;
    } while (piVar1 != piVar2);
  }
  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);
  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {
    puVar4 = PTR___stack_chk_fail_0015853c;
    (*(code *)PTR___stack_chk_fail_0015853c)();
    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);
    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;
    return iVar3;
  }
  return iVar3;
}


lui gp,0xf
addiu gp,gp,-0x344c
addu gp,gp,t9
addiu sp,sp,-0x130
sw ra,0x12c(sp)
sw s1,0x128(sp)
sw s0,0x124(sp)
sw gp,0x10(sp)
lw v0,-0x5fb4(gp)
lw v0,0x0(v0)
sw v0,0x11c(sp)
addiu s0,sp,0x1c
or a0,s0,zero
lw t9,-0x61b8(gp)
jalr t9
_nop
lw gp,0x10(sp)
li a1,0x12
or a0,s0,zero
lw t9,-0x6128(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu s1,sp,0x9c
or a0,s1,zero
lw t9,-0x61b8(gp)
jalr t9
_nop
lw gp,0x10(sp)
or a2,s1,zero
or a1,s0,zero
li a0,0x1
lw t9,-0x5f7c(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,-0x7694(gp)
lw a0,0x18(v0)
blez a0,0x00071a74
_lw v0,-0x7690(gp)
lw v0,0x0(v0)
sll a0,a0,0x2
addu a0,a0,v0
or s0,zero,zero
b 0x00071a54
_li a1,0x4
addiu s0,s0,0x1
addiu v0,v0,0x4
beq v0,a0,0x00071a7c
_or a2,zero,zero
lw v1,0x0(v0)
beq v1,zero,0x00071a48
_nop
lw v1,0xc(v1)
bne v1,a1,0x00071a44
_nop
b 0x00071a4c
_addiu v0,v0,0x4
or s0,zero,zero
or a2,zero,zero
addiu a1,sp,0x9c
li a0,0x3
lw t9,-0x5f7c(gp)
jalr t9
_nop
lw gp,0x10(sp)
or v0,s0,zero
lw a0,0x11c(sp)
lw v1,-0x5fb4(gp)
lw v1,0x0(v1)
bne a0,v1,0x00071abc
_lw ra,0x12c(sp)
lw s1,0x128(sp)
lw s0,0x124(sp)
jr ra
_addiu sp,sp,0x130
lw t9,-0x6004(gp)
jalr t9
_nop
(translation_unit "int count_all_jobs(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}\n\n" (function_definition "int count_all_jobs(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}" primitive_type (function_declarator "count_all_jobs(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 auStack_114 [128];" type_identifier (array_declarator "auStack_114 [128]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_94 [128];" type_identifier (array_declarator "auStack_94 [128]" identifier [ number_literal ]) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(auStack_114);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(auStack_114)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_114)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);" (call_expression "(*(code *)PTR_sigaddset_00158418)(auStack_114,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00158418)" ( (pointer_expression "*(code *)PTR_sigaddset_00158418" * (cast_expression "(code *)PTR_sigaddset_00158418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_114,0x12)" ( identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(auStack_94);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(auStack_94)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_94)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,auStack_114,auStack_94)" ( number_literal , identifier , identifier ))) ;) (if_statement "if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" if (parenthesized_expression "(*(int *)(PTR_js_00156eac + 0x18) < 1)" ( (binary_expression "*(int *)(PTR_js_00156eac + 0x18) < 1" (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" * (cast_expression "(int *)(PTR_js_00156eac + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00156eac + 0x18)" ( (binary_expression "PTR_js_00156eac + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar3 = 0;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" else (compound_statement "{\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" { (expression_statement "piVar1 = *(int **)PTR_jobs_00156eb0;" (assignment_expression "piVar1 = *(int **)PTR_jobs_00156eb0" identifier = (pointer_expression "*(int **)PTR_jobs_00156eb0" * (cast_expression "(int **)PTR_jobs_00156eb0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);" (assignment_expression "piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18)" identifier = (binary_expression "piVar1 + *(int *)(PTR_js_00156eac + 0x18)" identifier + (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" * (cast_expression "(int *)(PTR_js_00156eac + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00156eac + 0x18)" ( (binary_expression "PTR_js_00156eac + 0x18" identifier + number_literal) )))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);" do (compound_statement "{\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    }" { (if_statement "if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }" if (parenthesized_expression "((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4))" ( (binary_expression "(*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)" (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) && (parenthesized_expression "(*(int *)(*piVar1 + 0xc) != 4)" ( (binary_expression "*(int *)(*piVar1 + 0xc) != 4" (pointer_expression "*(int *)(*piVar1 + 0xc)" * (cast_expression "(int *)(*piVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        iVar3 = iVar3 + 1;\n      }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar1 != piVar2)" ( (binary_expression "piVar1 != piVar2" identifier != identifier) )) ;) }))) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_94,0)" ( number_literal , identifier , number_literal ))) ;) (if_statement "if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }" if (parenthesized_expression "(local_14 != *(int *)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_14 != *(int *)PTR___stack_chk_guard_0015858c" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }" { (expression_statement "puVar4 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);" (assignment_expression "iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" identifier = (pointer_expression "*(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" * (cast_expression "(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (binary_expression "*(int *)(puVar4 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar4 + 0xe4aa4)" * (cast_expression "(int *)(puVar4 + 0xe4aa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xe4aa4)" ( (binary_expression "puVar4 + 0xe4aa4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" * (cast_expression "(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (binary_expression "*(int *)(puVar4 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar4 + 0xe4aa4)" * (cast_expression "(int *)(puVar4 + 0xe4aa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xe4aa4)" ( (binary_expression "puVar4 + 0xe4aa4" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return iVar3;" return identifier ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint count_all_jobs(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  undefined *puVar5;\n  sigset_t set;\n  sigset_t oset;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(&set);\n  (*(code *)PTR_sigaddset_00158418)(&set,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(&oset);\n  (*(code *)PTR_sigprocmask_001585c4)(1,&set,&oset);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    piVar2 = *(int **)PTR_jobs_00156eb0;\n    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar4 = 0;\n    do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,&oset,0);\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar5 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar1;\n  }\n  return iVar4;\n}\n\n" comment (function_definition "int count_all_jobs(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  undefined *puVar5;\n  sigset_t set;\n  sigset_t oset;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(&set);\n  (*(code *)PTR_sigaddset_00158418)(&set,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(&oset);\n  (*(code *)PTR_sigprocmask_001585c4)(1,&set,&oset);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    piVar2 = *(int **)PTR_jobs_00156eb0;\n    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar4 = 0;\n    do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,&oset,0);\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar5 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar1;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "count_all_jobs(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int iVar4;\n  undefined *puVar5;\n  sigset_t set;\n  sigset_t oset;\n  \n  iVar1 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(&set);\n  (*(code *)PTR_sigaddset_00158418)(&set,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(&oset);\n  (*(code *)PTR_sigprocmask_001585c4)(1,&set,&oset);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    piVar2 = *(int **)PTR_jobs_00156eb0;\n    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar4 = 0;\n    do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,&oset,0);\n  if (iVar1 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar5 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar1;\n  }\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "sigset_t set;" type_identifier identifier ;) (declaration "sigset_t oset;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(&set);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(&set)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&set)" ( (pointer_expression "&set" & identifier) ))) ;) (expression_statement "(*(code *)PTR_sigaddset_00158418)(&set,0x12);" (call_expression "(*(code *)PTR_sigaddset_00158418)(&set,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00158418)" ( (pointer_expression "*(code *)PTR_sigaddset_00158418" * (cast_expression "(code *)PTR_sigaddset_00158418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&set,0x12)" ( (pointer_expression "&set" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(&oset);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(&oset)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&oset)" ( (pointer_expression "&oset" & identifier) ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,&set,&oset);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,&set,&oset)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,&set,&oset)" ( number_literal , (pointer_expression "&set" & identifier) , (pointer_expression "&oset" & identifier) ))) ;) (if_statement "if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar4 = 0;\n  }\n  else {\n    piVar2 = *(int **)PTR_jobs_00156eb0;\n    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar4 = 0;\n    do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);\n  }" if (parenthesized_expression "(*(int *)(PTR_js_00156eac + 0x18) < 1)" ( (binary_expression "*(int *)(PTR_js_00156eac + 0x18) < 1" (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" * (cast_expression "(int *)(PTR_js_00156eac + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00156eac + 0x18)" ( (binary_expression "PTR_js_00156eac + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar4 = 0;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    piVar2 = *(int **)PTR_jobs_00156eb0;\n    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar4 = 0;\n    do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);\n  }" else (compound_statement "{\n    piVar2 = *(int **)PTR_jobs_00156eb0;\n    piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar4 = 0;\n    do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);\n  }" { (expression_statement "piVar2 = *(int **)PTR_jobs_00156eb0;" (assignment_expression "piVar2 = *(int **)PTR_jobs_00156eb0" identifier = (pointer_expression "*(int **)PTR_jobs_00156eb0" * (cast_expression "(int **)PTR_jobs_00156eb0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18);" (assignment_expression "piVar3 = piVar2 + *(int *)(PTR_js_00156eac + 0x18)" identifier = (binary_expression "piVar2 + *(int *)(PTR_js_00156eac + 0x18)" identifier + (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" * (cast_expression "(int *)(PTR_js_00156eac + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00156eac + 0x18)" ( (binary_expression "PTR_js_00156eac + 0x18" identifier + number_literal) )))))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    } while (piVar2 != piVar3);" do (compound_statement "{\n      if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }\n      piVar2 = piVar2 + 1;\n    }" { (if_statement "if ((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)) {\n        iVar4 = iVar4 + 1;\n      }" if (parenthesized_expression "((*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4))" ( (binary_expression "(*piVar2 != 0) && (*(int *)(*piVar2 + 0xc) != 4)" (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) && (parenthesized_expression "(*(int *)(*piVar2 + 0xc) != 4)" ( (binary_expression "*(int *)(*piVar2 + 0xc) != 4" (pointer_expression "*(int *)(*piVar2 + 0xc)" * (cast_expression "(int *)(*piVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0xc)" ( (binary_expression "*piVar2 + 0xc" (pointer_expression "*piVar2" * identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        iVar4 = iVar4 + 1;\n      }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar2 != piVar3)" ( (binary_expression "piVar2 != piVar3" identifier != identifier) )) ;) }))) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,&oset,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,&oset,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,&oset,0)" ( number_literal , (pointer_expression "&oset" & identifier) , number_literal ))) ;) (if_statement "if (iVar1 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar5 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 != *(int *)PTR___stack_chk_guard_0015858c)" ( (binary_expression "iVar1 != *(int *)PTR___stack_chk_guard_0015858c" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar5 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar1;\n  }" { (expression_statement "puVar5 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar5 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac);" (assignment_expression "iVar1 = *(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" identifier = (pointer_expression "*(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" * (cast_expression "(int *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" ( (binary_expression "*(int *)(puVar5 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar5 + 0xe4aa4)" * (cast_expression "(int *)(puVar5 + 0xe4aa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xe4aa4)" ( (binary_expression "puVar5 + 0xe4aa4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" * (cast_expression "(undefined4 *)(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar5 + 0xe4aa4) + -0x4fac)" ( (binary_expression "*(int *)(puVar5 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar5 + 0xe4aa4)" * (cast_expression "(int *)(puVar5 + 0xe4aa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0xe4aa4)" ( (binary_expression "puVar5 + 0xe4aa4" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int count_all_jobs(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}\n\n" (function_definition "int count_all_jobs(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}" primitive_type (function_declarator "count_all_jobs(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 auStack_114 [128];" type_identifier (array_declarator "auStack_114 [128]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_94 [128];" type_identifier (array_declarator "auStack_94 [128]" identifier [ number_literal ]) ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015858c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(auStack_114);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(auStack_114)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_114)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);" (call_expression "(*(code *)PTR_sigaddset_00158418)(auStack_114,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00158418)" ( (pointer_expression "*(code *)PTR_sigaddset_00158418" * (cast_expression "(code *)PTR_sigaddset_00158418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_114,0x12)" ( identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(auStack_94);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(auStack_94)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" ( (pointer_expression "*(code *)PTR_sigemptyset_00158388" * (cast_expression "(code *)PTR_sigemptyset_00158388" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_94)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,auStack_114,auStack_94)" ( number_literal , identifier , identifier ))) ;) (if_statement "if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" if (parenthesized_expression "(*(int *)(PTR_js_00156eac + 0x18) < 1)" ( (binary_expression "*(int *)(PTR_js_00156eac + 0x18) < 1" (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" * (cast_expression "(int *)(PTR_js_00156eac + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00156eac + 0x18)" ( (binary_expression "PTR_js_00156eac + 0x18" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    iVar3 = 0;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" else (compound_statement "{\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" { (expression_statement "piVar1 = *(int **)PTR_jobs_00156eb0;" (assignment_expression "piVar1 = *(int **)PTR_jobs_00156eb0" identifier = (pointer_expression "*(int **)PTR_jobs_00156eb0" * (cast_expression "(int **)PTR_jobs_00156eb0" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);" (assignment_expression "piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18)" identifier = (binary_expression "piVar1 + *(int *)(PTR_js_00156eac + 0x18)" identifier + (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" * (cast_expression "(int *)(PTR_js_00156eac + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_js_00156eac + 0x18)" ( (binary_expression "PTR_js_00156eac + 0x18" identifier + number_literal) )))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);" do (compound_statement "{\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    }" { (if_statement "if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }" if (parenthesized_expression "((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4))" ( (binary_expression "(*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)" (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) && (parenthesized_expression "(*(int *)(*piVar1 + 0xc) != 4)" ( (binary_expression "*(int *)(*piVar1 + 0xc) != 4" (pointer_expression "*(int *)(*piVar1 + 0xc)" * (cast_expression "(int *)(*piVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        iVar3 = iVar3 + 1;\n      }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar1 != piVar2)" ( (binary_expression "piVar1 != piVar2" identifier != identifier) )) ;) }))) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" ( (pointer_expression "*(code *)PTR_sigprocmask_001585c4" * (cast_expression "(code *)PTR_sigprocmask_001585c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(3,auStack_94,0)" ( number_literal , identifier , number_literal ))) ;) (if_statement "if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }" if (parenthesized_expression "(local_14 != *(int *)PTR___stack_chk_guard_0015858c)" ( (binary_expression "local_14 != *(int *)PTR___stack_chk_guard_0015858c" identifier != (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" * (cast_expression "(int *)PTR___stack_chk_guard_0015858c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }" { (expression_statement "puVar4 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0015853c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" * (cast_expression "(code *)PTR___stack_chk_fail_0015853c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);" (assignment_expression "iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" identifier = (pointer_expression "*(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" * (cast_expression "(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (binary_expression "*(int *)(puVar4 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar4 + 0xe4aa4)" * (cast_expression "(int *)(puVar4 + 0xe4aa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xe4aa4)" ( (binary_expression "puVar4 + 0xe4aa4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" * (cast_expression "(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" ( (binary_expression "*(int *)(puVar4 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar4 + 0xe4aa4)" * (cast_expression "(int *)(puVar4 + 0xe4aa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 0xe4aa4)" ( (binary_expression "puVar4 + 0xe4aa4" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return iVar3;" return identifier ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "int count_all_jobs(void)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}" (primitive_type "int") (function_declarator "count_all_jobs(void)" (identifier "count_all_jobs") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int iVar3;\n  undefined *puVar4;\n  undefined1 auStack_114 [128];\n  undefined1 auStack_94 [128];\n  int local_14;\n  \n  local_14 = *(int *)PTR___stack_chk_guard_0015858c;\n  (*(code *)PTR_sigemptyset_00158388)(auStack_114);\n  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);\n  (*(code *)PTR_sigemptyset_00158388)(auStack_94);\n  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);\n  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }\n  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);\n  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }\n  return iVar3;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined1 auStack_114 [128];" (type_identifier "undefined1") (array_declarator "auStack_114 [128]" (identifier "auStack_114") ([ "[") (number_literal "128") (] "]")) (; ";")) (declaration "undefined1 auStack_94 [128];" (type_identifier "undefined1") (array_declarator "auStack_94 [128]" (identifier "auStack_94") ([ "[") (number_literal "128") (] "]")) (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "local_14 = *(int *)PTR___stack_chk_guard_0015858c;" (assignment_expression "local_14 = *(int *)PTR___stack_chk_guard_0015858c" (identifier "local_14") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015858c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015858c")))) (; ";")) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(auStack_114);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(auStack_114)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" (( "(") (pointer_expression "*(code *)PTR_sigemptyset_00158388" (* "*") (cast_expression "(code *)PTR_sigemptyset_00158388" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigemptyset_00158388"))) () ")")) (argument_list "(auStack_114)" (( "(") (identifier "auStack_114") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);" (call_expression "(*(code *)PTR_sigaddset_00158418)(auStack_114,0x12)" (parenthesized_expression "(*(code *)PTR_sigaddset_00158418)" (( "(") (pointer_expression "*(code *)PTR_sigaddset_00158418" (* "*") (cast_expression "(code *)PTR_sigaddset_00158418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigaddset_00158418"))) () ")")) (argument_list "(auStack_114,0x12)" (( "(") (identifier "auStack_114") (, ",") (number_literal "0x12") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigemptyset_00158388)(auStack_94);" (call_expression "(*(code *)PTR_sigemptyset_00158388)(auStack_94)" (parenthesized_expression "(*(code *)PTR_sigemptyset_00158388)" (( "(") (pointer_expression "*(code *)PTR_sigemptyset_00158388" (* "*") (cast_expression "(code *)PTR_sigemptyset_00158388" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigemptyset_00158388"))) () ")")) (argument_list "(auStack_94)" (( "(") (identifier "auStack_94") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_001585c4" (* "*") (cast_expression "(code *)PTR_sigprocmask_001585c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_001585c4"))) () ")")) (argument_list "(1,auStack_114,auStack_94)" (( "(") (number_literal "1") (, ",") (identifier "auStack_114") (, ",") (identifier "auStack_94") () ")"))) (; ";")) (if_statement "if (*(int *)(PTR_js_00156eac + 0x18) < 1) {\n    iVar3 = 0;\n  }\n  else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_js_00156eac + 0x18) < 1)" (( "(") (binary_expression "*(int *)(PTR_js_00156eac + 0x18) < 1" (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" (* "*") (cast_expression "(int *)(PTR_js_00156eac + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_js_00156eac + 0x18)" (( "(") (binary_expression "PTR_js_00156eac + 0x18" (identifier "PTR_js_00156eac") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar3 = 0;\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" (else "else") (compound_statement "{\n    piVar1 = *(int **)PTR_jobs_00156eb0;\n    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);\n    iVar3 = 0;\n    do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);\n  }" ({ "{") (expression_statement "piVar1 = *(int **)PTR_jobs_00156eb0;" (assignment_expression "piVar1 = *(int **)PTR_jobs_00156eb0" (identifier "piVar1") (= "=") (pointer_expression "*(int **)PTR_jobs_00156eb0" (* "*") (cast_expression "(int **)PTR_jobs_00156eb0" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_jobs_00156eb0")))) (; ";")) (expression_statement "piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);" (assignment_expression "piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18)" (identifier "piVar2") (= "=") (binary_expression "piVar1 + *(int *)(PTR_js_00156eac + 0x18)" (identifier "piVar1") (+ "+") (pointer_expression "*(int *)(PTR_js_00156eac + 0x18)" (* "*") (cast_expression "(int *)(PTR_js_00156eac + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_js_00156eac + 0x18)" (( "(") (binary_expression "PTR_js_00156eac + 0x18" (identifier "PTR_js_00156eac") (+ "+") (number_literal "0x18")) () ")")))))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    } while (piVar1 != piVar2);" (do "do") (compound_statement "{\n      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }\n      piVar1 = piVar1 + 1;\n    }" ({ "{") (if_statement "if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {\n        iVar3 = iVar3 + 1;\n      }" (if "if") (parenthesized_expression "((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4))" (( "(") (binary_expression "(*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)" (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*piVar1 + 0xc) != 4)" (( "(") (binary_expression "*(int *)(*piVar1 + 0xc) != 4" (pointer_expression "*(int *)(*piVar1 + 0xc)" (* "*") (cast_expression "(int *)(*piVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0xc)" (( "(") (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "4")) () ")"))) () ")")) (compound_statement "{\n        iVar3 = iVar3 + 1;\n      }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != piVar2)" (( "(") (binary_expression "piVar1 != piVar2" (identifier "piVar1") (!= "!=") (identifier "piVar2")) () ")")) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);" (call_expression "(*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0)" (parenthesized_expression "(*(code *)PTR_sigprocmask_001585c4)" (( "(") (pointer_expression "*(code *)PTR_sigprocmask_001585c4" (* "*") (cast_expression "(code *)PTR_sigprocmask_001585c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigprocmask_001585c4"))) () ")")) (argument_list "(3,auStack_94,0)" (( "(") (number_literal "3") (, ",") (identifier "auStack_94") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(local_14 != *(int *)PTR___stack_chk_guard_0015858c)" (( "(") (binary_expression "local_14 != *(int *)PTR___stack_chk_guard_0015858c" (identifier "local_14") (!= "!=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015858c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015858c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015858c")))) () ")")) (compound_statement "{\n    puVar4 = PTR___stack_chk_fail_0015853c;\n    (*(code *)PTR___stack_chk_fail_0015853c)();\n    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);\n    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;\n    return iVar3;\n  }" ({ "{") (expression_statement "puVar4 = PTR___stack_chk_fail_0015853c;" (assignment_expression "puVar4 = PTR___stack_chk_fail_0015853c" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_fail_0015853c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015853c)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015853c)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015853c)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015853c" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015853c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015853c"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);" (assignment_expression "iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (* "*") (cast_expression "(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (( "(") (binary_expression "*(int *)(puVar4 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar4 + 0xe4aa4)" (* "*") (cast_expression "(int *)(puVar4 + 0xe4aa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xe4aa4)" (( "(") (binary_expression "puVar4 + 0xe4aa4" (identifier "puVar4") (+ "+") (number_literal "0xe4aa4")) () ")")))) (+ "+") (number_literal "-0x4fac")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar4 + 0xe4aa4) + -0x4fac)" (( "(") (binary_expression "*(int *)(puVar4 + 0xe4aa4) + -0x4fac" (pointer_expression "*(int *)(puVar4 + 0xe4aa4)" (* "*") (cast_expression "(int *)(puVar4 + 0xe4aa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + 0xe4aa4)" (( "(") (binary_expression "puVar4 + 0xe4aa4" (identifier "puVar4") (+ "+") (number_literal "0xe4aa4")) () ")")))) (+ "+") (number_literal "-0x4fac")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))
(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (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)))) (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) (number_literal)))) (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)))) (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 (number_literal) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_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)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (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 (number_literal) (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))) (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: (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))))) right: (number_literal))))))) (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: (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))))) right: (number_literal))))) right: (number_literal))) (return_statement (identifier)))) (return_statement (identifier)))))

int MASKED(void)

{
  int *piVar1;
  int *piVar2;
  int iVar3;
  undefined *puVar4;
  undefined1 auStack_114 [128];
  undefined1 auStack_94 [128];
  int local_14;
  
  local_14 = *(int *)PTR___stack_chk_guard_0015858c;
  (*(code *)PTR_sigemptyset_00158388)(auStack_114);
  (*(code *)PTR_sigaddset_00158418)(auStack_114,0x12);
  (*(code *)PTR_sigemptyset_00158388)(auStack_94);
  (*(code *)PTR_sigprocmask_001585c4)(1,auStack_114,auStack_94);
  if (*(int *)(PTR_js_00156eac + 0x18) < 1) {
    iVar3 = 0;
  }
  else {
    piVar1 = *(int **)PTR_jobs_00156eb0;
    piVar2 = piVar1 + *(int *)(PTR_js_00156eac + 0x18);
    iVar3 = 0;
    do {
      if ((*piVar1 != 0) && (*(int *)(*piVar1 + 0xc) != 4)) {
        iVar3 = iVar3 + 1;
      }
      piVar1 = piVar1 + 1;
    } while (piVar1 != piVar2);
  }
  (*(code *)PTR_sigprocmask_001585c4)(3,auStack_94,0);
  if (local_14 != *(int *)PTR___stack_chk_guard_0015858c) {
    puVar4 = PTR___stack_chk_fail_0015853c;
    (*(code *)PTR___stack_chk_fail_0015853c)();
    iVar3 = *(int *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac);
    *(undefined4 *)(*(int *)(puVar4 + 0xe4aa4) + -0x4fac) = 1;
    return iVar3;
  }
  return iVar3;
}

