
void register_slave_subprocess(pid_t child)

{
  int *piVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  undefined *puVar6;
  int iVar7;
  undefined *puVar8;
  
  puVar8 = PTR_LAB_0008d628;
  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  if (PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0') {
    atexit((__func *)(PTR_LAB_0008d628 + -0x5110));
    at_fatal_signal((action_t)(puVar8 + -0x5110));
    puVar2[-0x1220] = 1;
  }
  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;
  piVar3 = *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);
  while (piVar1 = piVar3,
        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +
                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2) {
    piVar3 = piVar1 + 2;
    if (*piVar1 == 0) {
      piVar1[1] = child;
      *piVar1 = 1;
      return;
    }
  }
  iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c);
  if (iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)) {
    puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);
    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);
    if (iVar4 == 0) {
      (*(code *)PTR_kill_0008df0c)(child,1);
                    /* WARNING: Subroutine does not return */
      xalloc_die();
    }
    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);
    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;
    puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;
    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;
    if (puVar8 != puVar6) {
      (*(code *)PTR_free_0008df9c)(puVar8);
    }
  }
  *(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = child;
  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;
  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;
  return;
}



void register_slave_subprocess(int param_1)

{
  int *piVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  undefined *puVar6;
  int iVar7;
  undefined *puVar8;
  
  puVar8 = PTR_LAB_0008d628;
  puVar2 = PTR_DAT_0008d618;
  if (PTR_DAT_0008d618[-0x1220] == '\0') {
    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);
    at_fatal_signal(puVar8 + -0x5110);
    puVar2[-0x1220] = 1;
  }
  puVar2 = PTR_DAT_0008d618;
  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);
  while (piVar1 = piVar3,
        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {
    piVar3 = piVar1 + 2;
    if (*piVar1 == 0) {
      piVar1[1] = param_1;
      *piVar1 = 1;
      return;
    }
  }
  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);
  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {
    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);
    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);
    if (iVar4 == 0) {
      (*(code *)PTR_kill_0008df0c)(param_1,1);
                    /* WARNING: Subroutine does not return */
      xalloc_die();
    }
    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);
    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;
    puVar6 = PTR_DAT_0008d618 + -0x1218;
    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;
    if (puVar8 != puVar6) {
      (*(code *)PTR_free_0008df9c)(puVar8);
    }
  }
  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;
  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;
  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;
  return;
}


lui gp,0x3
addiu gp,gp,-0x598c
addu gp,gp,t9
addiu sp,sp,-0x38
sw s0,0x18(sp)
lw s0,-0x7fd8(gp)
sw gp,0x10(sp)
sw s2,0x20(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s1,0x1c(sp)
lbu v0,-0x1220(s0)
beq v0,zero,0x0006b0ac
_or s2,a0,zero
lw s1,-0x7fd8(gp)
lw s0,-0x7fd8(gp)
lw v0,-0x2a70(s1)
lw a0,-0x121c(s0)
sll a0,a0,0x3
addu a0,v0,a0
sltu v1,v0,a0
bne v1,zero,0x0006aff8
_lw s4,-0x7fd8(gp)
b 0x0006b03c
_nop
sltu v1,v0,a0
beq v1,zero,0x0006b03c
_lw s4,-0x7fd8(gp)
lw v1,0x0(v0)
bne v1,zero,0x0006afec
_addiu v0,v0,0x8
addiu v0,v0,-0x8
lw ra,0x34(sp)
li v1,0x1
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
sw s2,0x4(v0)
sw v1,0x0(v0)
lw s2,0x20(sp)
jr ra
_addiu sp,sp,0x38
lw s3,-0x121c(s0)
lw v0,-0x2a80(s4)
beq s3,v0,0x0006b0dc
_lw t9,-0x76d4(gp)
lw v0,-0x2a70(s1)
lw v1,-0x121c(s0)
lw ra,0x34(sp)
lw s6,0x30(sp)
sll v1,v1,0x3
lw s5,0x2c(sp)
lw s4,0x28(sp)
addu v0,v0,v1
lw s3,0x24(sp)
sw s2,0x4(v0)
lw v0,-0x2a70(s1)
lw v1,-0x121c(s0)
lw s2,0x20(sp)
lw s1,0x1c(sp)
sll v1,v1,0x3
addu v0,v0,v1
li v1,0x1
sw v1,0x0(v0)
lw v0,-0x121c(s0)
addiu v0,v0,0x1
sw v0,-0x121c(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
lw s1,-0x7fc8(gp)
lw t9,-0x7fa8(gp)
bal 0x00070a90
_addiu a0,s1,-0x5110
lw gp,0x10(sp)
lw t9,-0x7818(gp)
bal 0x0006ebfc
_addiu a0,s1,-0x5110
li v0,0x1
lw gp,0x10(sp)
b 0x0006afc0
_sb v0,-0x1220(s0)
sll a0,s3,0x4
lw s5,-0x2a70(s1)
jalr t9
_sll s6,s3,0x1
beq v0,zero,0x0006b134
_lw gp,0x10(sp)
lw t9,-0x7660(gp)
sll a2,s3,0x3
or a1,s5,zero
jalr t9
_or a0,v0,zero
lw gp,0x10(sp)
sw v0,-0x2a70(s1)
lw v0,-0x7fd8(gp)
addiu v0,v0,-0x1218
beq s5,v0,0x0006b04c
_sw s6,-0x2a80(s4)
lw t9,-0x7654(gp)
jalr t9
_or a0,s5,zero
b 0x0006b04c
_nop
lw t9,-0x76e4(gp)
li a1,0x1
jalr t9
_or a0,s2,zero
lw gp,0x10(sp)
lw t9,-0x7eac(gp)
bal 0x0006b830
_nop
(translation_unit "void register_slave_subprocess(int param_1)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}\n\n" (function_definition "void register_slave_subprocess(int param_1)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" primitive_type (function_declarator "register_slave_subprocess(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "puVar8 = PTR_LAB_0008d628;" (assignment_expression "puVar8 = PTR_LAB_0008d628" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (if_statement "if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }" if (parenthesized_expression "(PTR_DAT_0008d618[-0x1220] == '\0')" ( (binary_expression "PTR_DAT_0008d618[-0x1220] == '\0'" (subscript_expression "PTR_DAT_0008d618[-0x1220]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }" { (expression_statement "FUN_00070a90(PTR_LAB_0008d628 + -0x5110);" (call_expression "FUN_00070a90(PTR_LAB_0008d628 + -0x5110)" identifier (argument_list "(PTR_LAB_0008d628 + -0x5110)" ( (binary_expression "PTR_LAB_0008d628 + -0x5110" identifier + number_literal) ))) ;) (expression_statement "at_fatal_signal(puVar8 + -0x5110);" (call_expression "at_fatal_signal(puVar8 + -0x5110)" identifier (argument_list "(puVar8 + -0x5110)" ( (binary_expression "puVar8 + -0x5110" identifier + number_literal) ))) ;) (expression_statement "puVar2[-0x1220] = 1;" (assignment_expression "puVar2[-0x1220] = 1" (subscript_expression "puVar2[-0x1220]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);" (assignment_expression "piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70)" identifier = (pointer_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70)" * (cast_expression "(int **)(PTR_DAT_0008d618 + -0x2a70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a70" identifier + number_literal) ))))) ;) (while_statement "while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }" while (parenthesized_expression "(piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2)" ( (comma_expression "piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (assignment_expression "piVar1 = piVar3" identifier = identifier) , (binary_expression "piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" identifier < (binary_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (pointer_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70)" * (cast_expression "(int **)(PTR_DAT_0008d618 + -0x2a70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x121c)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x121c)" ( (binary_expression "PTR_DAT_0008d618 + -0x121c" identifier + number_literal) )))) * number_literal)))) )) (compound_statement "{\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }" { (expression_statement "piVar3 = piVar1 + 2;" (assignment_expression "piVar3 = piVar1 + 2" identifier = (binary_expression "piVar1 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }" { (expression_statement "piVar1[1] = param_1;" (assignment_expression "piVar1[1] = param_1" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) })) (expression_statement "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x121c)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x121c)" ( (binary_expression "PTR_DAT_0008d618 + -0x121c" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" if (parenthesized_expression "(iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80))" ( (binary_expression "iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)" identifier == (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x2a80)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x2a80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a80)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a80" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" { (expression_statement "puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);" (assignment_expression "puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_0008d618 + -0x2a70)" * (cast_expression "(undefined **)(PTR_DAT_0008d618 + -0x2a70)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a70" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" identifier = (call_expression "(*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" (parenthesized_expression "(*(code *)PTR_malloc_0008df1c)" ( (pointer_expression "*(code *)PTR_malloc_0008df1c" * (cast_expression "(code *)PTR_malloc_0008df1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 << 4)" ( (binary_expression "iVar7 << 4" identifier << number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }" { (expression_statement "(*(code *)PTR_kill_0008df0c)(param_1,1);" (call_expression "(*(code *)PTR_kill_0008df0c)(param_1,1)" (parenthesized_expression "(*(code *)PTR_kill_0008df0c)" ( (pointer_expression "*(code *)PTR_kill_0008df0c" * (cast_expression "(code *)PTR_kill_0008df0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1)" ( identifier , number_literal ))) ;) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);" (assignment_expression "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" identifier = (call_expression "(*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" (parenthesized_expression "(*(code *)PTR_memcpy_0008df90)" ( (pointer_expression "*(code *)PTR_memcpy_0008df90" * (cast_expression "(code *)PTR_memcpy_0008df90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar8,iVar7 << 3)" ( identifier , identifier , (binary_expression "iVar7 << 3" identifier << number_literal) )))) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x2a70) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x2a70) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x2a70)" * (cast_expression "(undefined4 *)(puVar2 + -0x2a70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = PTR_DAT_0008d618 + -0x1218;" (assignment_expression "puVar6 = PTR_DAT_0008d618 + -0x1218" identifier = (binary_expression "PTR_DAT_0008d618 + -0x1218" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar2 + -0x2a80) = iVar7 << 1;" (assignment_expression "*(int *)(puVar2 + -0x2a80) = iVar7 << 1" (pointer_expression "*(int *)(puVar2 + -0x2a80)" * (cast_expression "(int *)(puVar2 + -0x2a80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a80)" ( (binary_expression "puVar2 + -0x2a80" identifier + number_literal) )))) = (binary_expression "iVar7 << 1" identifier << number_literal)) ;) (if_statement "if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" if (parenthesized_expression "(puVar8 != puVar6)" ( (binary_expression "puVar8 != puVar6" identifier != identifier) )) (compound_statement "{\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" { (expression_statement "(*(code *)PTR_free_0008df9c)(puVar8);" (call_expression "(*(code *)PTR_free_0008df9c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" ( (pointer_expression "*(code *)PTR_free_0008df9c" * (cast_expression "(code *)PTR_free_0008df9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) })) })) (expression_statement "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;" (assignment_expression "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1" (pointer_expression "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" * (cast_expression "(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" ( (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4" (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" * (cast_expression "(int *)(puVar2 + -0x2a70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" * (cast_expression "(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" ( (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" * (cast_expression "(int *)(puVar2 + -0x2a70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) * number_literal)) )))) = number_literal) ;) (expression_statement "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;" (assignment_expression "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void register_slave_subprocess(pid_t child)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  if (PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0') {\n    atexit((__func *)(PTR_LAB_0008d628 + -0x5110));\n    at_fatal_signal((action_t)(puVar8 + -0x5110));\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  piVar3 = *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = child;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}\n\n" (function_definition "void register_slave_subprocess(pid_t child)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  if (PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0') {\n    atexit((__func *)(PTR_LAB_0008d628 + -0x5110));\n    at_fatal_signal((action_t)(puVar8 + -0x5110));\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  piVar3 = *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = child;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" primitive_type (function_declarator "register_slave_subprocess(pid_t child)" identifier (parameter_list "(pid_t child)" ( (parameter_declaration "pid_t child" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  if (PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0') {\n    atexit((__func *)(PTR_LAB_0008d628 + -0x5110));\n    at_fatal_signal((action_t)(puVar8 + -0x5110));\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;\n  piVar3 = *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = child;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "puVar8 = PTR_LAB_0008d628;" (assignment_expression "puVar8 = PTR_LAB_0008d628" identifier = identifier) ;) (expression_statement "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;" (assignment_expression "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618" identifier = identifier) ;) (if_statement "if (PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0') {\n    atexit((__func *)(PTR_LAB_0008d628 + -0x5110));\n    at_fatal_signal((action_t)(puVar8 + -0x5110));\n    puVar2[-0x1220] = 1;\n  }" if (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0')" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220] == '\0'" (subscript_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618[-0x1220]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    atexit((__func *)(PTR_LAB_0008d628 + -0x5110));\n    at_fatal_signal((action_t)(puVar8 + -0x5110));\n    puVar2[-0x1220] = 1;\n  }" { (expression_statement "atexit((__func *)(PTR_LAB_0008d628 + -0x5110));" (call_expression "atexit((__func *)(PTR_LAB_0008d628 + -0x5110))" identifier (argument_list "((__func *)(PTR_LAB_0008d628 + -0x5110))" ( (cast_expression "(__func *)(PTR_LAB_0008d628 + -0x5110)" ( (type_descriptor "__func *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0008d628 + -0x5110)" ( (binary_expression "PTR_LAB_0008d628 + -0x5110" identifier + number_literal) ))) ))) ;) (expression_statement "at_fatal_signal((action_t)(puVar8 + -0x5110));" (call_expression "at_fatal_signal((action_t)(puVar8 + -0x5110))" identifier (argument_list "((action_t)(puVar8 + -0x5110))" ( (call_expression "(action_t)(puVar8 + -0x5110)" (parenthesized_expression "(action_t)" ( identifier )) (argument_list "(puVar8 + -0x5110)" ( (binary_expression "puVar8 + -0x5110" identifier + number_literal) ))) ))) ;) (expression_statement "puVar2[-0x1220] = 1;" (assignment_expression "puVar2[-0x1220] = 1" (subscript_expression "puVar2[-0x1220]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618;" (assignment_expression "puVar2 = PTR_saved_sigactions_28__sa_resv_0__0008d618" identifier = identifier) ;) (expression_statement "piVar3 = *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);" (assignment_expression "piVar3 = *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" identifier = (pointer_expression "*(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" * (cast_expression "(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70" identifier + number_literal) ))))) ;) (while_statement "while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }\n  }" while (parenthesized_expression "(piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2)" ( (comma_expression "piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2" (assignment_expression "piVar1 = piVar3" identifier = identifier) , (binary_expression "piVar1 < *(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2" identifier < (binary_expression "*(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70) +\n                 *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2" (pointer_expression "*(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" * (cast_expression "(int **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c) * 2" (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c" identifier + number_literal) )))) * number_literal)))) )) (compound_statement "{\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }\n  }" { (expression_statement "piVar3 = piVar1 + 2;" (assignment_expression "piVar3 = piVar1 + 2" identifier = (binary_expression "piVar1 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      piVar1[1] = child;\n      *piVar1 = 1;\n      return;\n    }" { (expression_statement "piVar1[1] = child;" (assignment_expression "piVar1[1] = child" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) })) (expression_statement "iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c);" (assignment_expression "iVar7 = *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" identifier = (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x121c" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" if (parenthesized_expression "(iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80))" ( (binary_expression "iVar7 == *(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)" identifier == (pointer_expression "*(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)" * (cast_expression "(int *)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a80" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" { (expression_statement "puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70);" (assignment_expression "puVar8 = *(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" identifier = (pointer_expression "*(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" * (cast_expression "(undefined **)(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70)" ( (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x2a70" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" identifier = (call_expression "(*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" (parenthesized_expression "(*(code *)PTR_malloc_0008df1c)" ( (pointer_expression "*(code *)PTR_malloc_0008df1c" * (cast_expression "(code *)PTR_malloc_0008df1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 << 4)" ( (binary_expression "iVar7 << 4" identifier << number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_kill_0008df0c)(child,1);\n                    /* WARNING: Subroutine does not return */\n      xalloc_die();\n    }" { (expression_statement "(*(code *)PTR_kill_0008df0c)(child,1);" (call_expression "(*(code *)PTR_kill_0008df0c)(child,1)" (parenthesized_expression "(*(code *)PTR_kill_0008df0c)" ( (pointer_expression "*(code *)PTR_kill_0008df0c" * (cast_expression "(code *)PTR_kill_0008df0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(child,1)" ( identifier , number_literal ))) ;) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);" (assignment_expression "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" identifier = (call_expression "(*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" (parenthesized_expression "(*(code *)PTR_memcpy_0008df90)" ( (pointer_expression "*(code *)PTR_memcpy_0008df90" * (cast_expression "(code *)PTR_memcpy_0008df90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar8,iVar7 << 3)" ( identifier , identifier , (binary_expression "iVar7 << 3" identifier << number_literal) )))) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x2a70) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x2a70) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x2a70)" * (cast_expression "(undefined4 *)(puVar2 + -0x2a70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218;" (assignment_expression "puVar6 = PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218" identifier = (binary_expression "PTR_saved_sigactions_28__sa_resv_0__0008d618 + -0x1218" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar2 + -0x2a80) = iVar7 << 1;" (assignment_expression "*(int *)(puVar2 + -0x2a80) = iVar7 << 1" (pointer_expression "*(int *)(puVar2 + -0x2a80)" * (cast_expression "(int *)(puVar2 + -0x2a80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a80)" ( (binary_expression "puVar2 + -0x2a80" identifier + number_literal) )))) = (binary_expression "iVar7 << 1" identifier << number_literal)) ;) (if_statement "if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" if (parenthesized_expression "(puVar8 != puVar6)" ( (binary_expression "puVar8 != puVar6" identifier != identifier) )) (compound_statement "{\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" { (expression_statement "(*(code *)PTR_free_0008df9c)(puVar8);" (call_expression "(*(code *)PTR_free_0008df9c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" ( (pointer_expression "*(code *)PTR_free_0008df9c" * (cast_expression "(code *)PTR_free_0008df9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) })) })) (expression_statement "*(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = child;" (assignment_expression "*(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = child" (pointer_expression "*(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" * (cast_expression "(pid_t *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" ( (type_descriptor "pid_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" ( (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4" (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" * (cast_expression "(int *)(puVar2 + -0x2a70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" * (cast_expression "(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" ( (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" * (cast_expression "(int *)(puVar2 + -0x2a70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) * number_literal)) )))) = number_literal) ;) (expression_statement "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;" (assignment_expression "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void register_slave_subprocess(int param_1)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}\n\n" (function_definition "void register_slave_subprocess(int param_1)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" primitive_type (function_declarator "register_slave_subprocess(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "puVar8 = PTR_LAB_0008d628;" (assignment_expression "puVar8 = PTR_LAB_0008d628" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (if_statement "if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }" if (parenthesized_expression "(PTR_DAT_0008d618[-0x1220] == '\0')" ( (binary_expression "PTR_DAT_0008d618[-0x1220] == '\0'" (subscript_expression "PTR_DAT_0008d618[-0x1220]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }" { (expression_statement "FUN_00070a90(PTR_LAB_0008d628 + -0x5110);" (call_expression "FUN_00070a90(PTR_LAB_0008d628 + -0x5110)" identifier (argument_list "(PTR_LAB_0008d628 + -0x5110)" ( (binary_expression "PTR_LAB_0008d628 + -0x5110" identifier + number_literal) ))) ;) (expression_statement "at_fatal_signal(puVar8 + -0x5110);" (call_expression "at_fatal_signal(puVar8 + -0x5110)" identifier (argument_list "(puVar8 + -0x5110)" ( (binary_expression "puVar8 + -0x5110" identifier + number_literal) ))) ;) (expression_statement "puVar2[-0x1220] = 1;" (assignment_expression "puVar2[-0x1220] = 1" (subscript_expression "puVar2[-0x1220]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" identifier = identifier) ;) (expression_statement "piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);" (assignment_expression "piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70)" identifier = (pointer_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70)" * (cast_expression "(int **)(PTR_DAT_0008d618 + -0x2a70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a70" identifier + number_literal) ))))) ;) (while_statement "while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }" while (parenthesized_expression "(piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2)" ( (comma_expression "piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (assignment_expression "piVar1 = piVar3" identifier = identifier) , (binary_expression "piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" identifier < (binary_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (pointer_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70)" * (cast_expression "(int **)(PTR_DAT_0008d618 + -0x2a70)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x121c)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x121c)" ( (binary_expression "PTR_DAT_0008d618 + -0x121c" identifier + number_literal) )))) * number_literal)))) )) (compound_statement "{\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }" { (expression_statement "piVar3 = piVar1 + 2;" (assignment_expression "piVar3 = piVar1 + 2" identifier = (binary_expression "piVar1 + 2" identifier + number_literal)) ;) (if_statement "if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }" if (parenthesized_expression "(*piVar1 == 0)" ( (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal) )) (compound_statement "{\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }" { (expression_statement "piVar1[1] = param_1;" (assignment_expression "piVar1[1] = param_1" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) })) (expression_statement "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c)" identifier = (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x121c)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x121c)" ( (binary_expression "PTR_DAT_0008d618 + -0x121c" identifier + number_literal) ))))) ;) (if_statement "if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" if (parenthesized_expression "(iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80))" ( (binary_expression "iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)" identifier == (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x2a80)" * (cast_expression "(int *)(PTR_DAT_0008d618 + -0x2a80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a80)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a80" identifier + number_literal) ))))) )) (compound_statement "{\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" { (expression_statement "puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);" (assignment_expression "puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70)" identifier = (pointer_expression "*(undefined **)(PTR_DAT_0008d618 + -0x2a70)" * (cast_expression "(undefined **)(PTR_DAT_0008d618 + -0x2a70)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" ( (binary_expression "PTR_DAT_0008d618 + -0x2a70" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" identifier = (call_expression "(*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" (parenthesized_expression "(*(code *)PTR_malloc_0008df1c)" ( (pointer_expression "*(code *)PTR_malloc_0008df1c" * (cast_expression "(code *)PTR_malloc_0008df1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar7 << 4)" ( (binary_expression "iVar7 << 4" identifier << number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }" { (expression_statement "(*(code *)PTR_kill_0008df0c)(param_1,1);" (call_expression "(*(code *)PTR_kill_0008df0c)(param_1,1)" (parenthesized_expression "(*(code *)PTR_kill_0008df0c)" ( (pointer_expression "*(code *)PTR_kill_0008df0c" * (cast_expression "(code *)PTR_kill_0008df0c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1)" ( identifier , number_literal ))) ;) (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);" (assignment_expression "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" identifier = (call_expression "(*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" (parenthesized_expression "(*(code *)PTR_memcpy_0008df90)" ( (pointer_expression "*(code *)PTR_memcpy_0008df90" * (cast_expression "(code *)PTR_memcpy_0008df90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,puVar8,iVar7 << 3)" ( identifier , identifier , (binary_expression "iVar7 << 3" identifier << number_literal) )))) ;) (expression_statement "*(undefined4 *)(puVar2 + -0x2a70) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x2a70) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x2a70)" * (cast_expression "(undefined4 *)(puVar2 + -0x2a70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = PTR_DAT_0008d618 + -0x1218;" (assignment_expression "puVar6 = PTR_DAT_0008d618 + -0x1218" identifier = (binary_expression "PTR_DAT_0008d618 + -0x1218" identifier + number_literal)) ;) (expression_statement "*(int *)(puVar2 + -0x2a80) = iVar7 << 1;" (assignment_expression "*(int *)(puVar2 + -0x2a80) = iVar7 << 1" (pointer_expression "*(int *)(puVar2 + -0x2a80)" * (cast_expression "(int *)(puVar2 + -0x2a80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a80)" ( (binary_expression "puVar2 + -0x2a80" identifier + number_literal) )))) = (binary_expression "iVar7 << 1" identifier << number_literal)) ;) (if_statement "if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" if (parenthesized_expression "(puVar8 != puVar6)" ( (binary_expression "puVar8 != puVar6" identifier != identifier) )) (compound_statement "{\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" { (expression_statement "(*(code *)PTR_free_0008df9c)(puVar8);" (call_expression "(*(code *)PTR_free_0008df9c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" ( (pointer_expression "*(code *)PTR_free_0008df9c" * (cast_expression "(code *)PTR_free_0008df9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar8)" ( identifier ))) ;) })) })) (expression_statement "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;" (assignment_expression "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1" (pointer_expression "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" * (cast_expression "(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" ( (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4" (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" * (cast_expression "(int *)(puVar2 + -0x2a70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" * (cast_expression "(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" ( (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" * (cast_expression "(int *)(puVar2 + -0x2a70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x2a70)" ( (binary_expression "puVar2 + -0x2a70" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) * number_literal)) )))) = number_literal) ;) (expression_statement "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;" (assignment_expression "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" * (cast_expression "(int *)(puVar2 + -0x121c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x121c)" ( (binary_expression "puVar2 + -0x121c" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (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 = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })) })) (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 == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT << LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT << LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT << LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) + LIT) )))) = IDENT) ;) (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) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })))
(function_definition "void register_slave_subprocess(int param_1)\n\n{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" (primitive_type "void") (function_declarator "register_slave_subprocess(int param_1)" (identifier "register_slave_subprocess") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined *puVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  int iVar7;\n  undefined *puVar8;\n  \n  puVar8 = PTR_LAB_0008d628;\n  puVar2 = PTR_DAT_0008d618;\n  if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }\n  puVar2 = PTR_DAT_0008d618;\n  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);\n  while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }\n  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);\n  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }\n  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;\n  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;\n  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (expression_statement "puVar8 = PTR_LAB_0008d628;" (assignment_expression "puVar8 = PTR_LAB_0008d628" (identifier "puVar8") (= "=") (identifier "PTR_LAB_0008d628")) (; ";")) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (if_statement "if (PTR_DAT_0008d618[-0x1220] == '\0') {\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }" (if "if") (parenthesized_expression "(PTR_DAT_0008d618[-0x1220] == '\0')" (( "(") (binary_expression "PTR_DAT_0008d618[-0x1220] == '\0'" (subscript_expression "PTR_DAT_0008d618[-0x1220]" (identifier "PTR_DAT_0008d618") ([ "[") (number_literal "-0x1220") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);\n    at_fatal_signal(puVar8 + -0x5110);\n    puVar2[-0x1220] = 1;\n  }" ({ "{") (expression_statement "FUN_00070a90(PTR_LAB_0008d628 + -0x5110);" (call_expression "FUN_00070a90(PTR_LAB_0008d628 + -0x5110)" (identifier "FUN_00070a90") (argument_list "(PTR_LAB_0008d628 + -0x5110)" (( "(") (binary_expression "PTR_LAB_0008d628 + -0x5110" (identifier "PTR_LAB_0008d628") (+ "+") (number_literal "-0x5110")) () ")"))) (; ";")) (expression_statement "at_fatal_signal(puVar8 + -0x5110);" (call_expression "at_fatal_signal(puVar8 + -0x5110)" (identifier "at_fatal_signal") (argument_list "(puVar8 + -0x5110)" (( "(") (binary_expression "puVar8 + -0x5110" (identifier "puVar8") (+ "+") (number_literal "-0x5110")) () ")"))) (; ";")) (expression_statement "puVar2[-0x1220] = 1;" (assignment_expression "puVar2[-0x1220] = 1" (subscript_expression "puVar2[-0x1220]" (identifier "puVar2") ([ "[") (number_literal "-0x1220") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "puVar2 = PTR_DAT_0008d618;" (assignment_expression "puVar2 = PTR_DAT_0008d618" (identifier "puVar2") (= "=") (identifier "PTR_DAT_0008d618")) (; ";")) (expression_statement "piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);" (assignment_expression "piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70)" (* "*") (cast_expression "(int **)(PTR_DAT_0008d618 + -0x2a70)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x2a70" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x2a70")) () ")"))))) (; ";")) (while_statement "while (piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }" (while "while") (parenthesized_expression "(piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2)" (( "(") (comma_expression "piVar1 = piVar3,\n        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (assignment_expression "piVar1 = piVar3" (identifier "piVar1") (= "=") (identifier "piVar3")) (, ",") (binary_expression "piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (identifier "piVar1") (< "<") (binary_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (pointer_expression "*(int **)(PTR_DAT_0008d618 + -0x2a70)" (* "*") (cast_expression "(int **)(PTR_DAT_0008d618 + -0x2a70)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x2a70" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x2a70")) () ")")))) (+ "+") (binary_expression "*(int *)(PTR_DAT_0008d618 + -0x121c) * 2" (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x121c)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x121c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x121c)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x121c" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x121c")) () ")")))) (* "*") (number_literal "2"))))) () ")")) (compound_statement "{\n    piVar3 = piVar1 + 2;\n    if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }\n  }" ({ "{") (expression_statement "piVar3 = piVar1 + 2;" (assignment_expression "piVar3 = piVar1 + 2" (identifier "piVar3") (= "=") (binary_expression "piVar1 + 2" (identifier "piVar1") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (*piVar1 == 0) {\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(*piVar1 == 0)" (( "(") (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      piVar1[1] = param_1;\n      *piVar1 = 1;\n      return;\n    }" ({ "{") (expression_statement "piVar1[1] = param_1;" (assignment_expression "piVar1[1] = param_1" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*piVar1 = 1;" (assignment_expression "*piVar1 = 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);" (assignment_expression "iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x121c)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x121c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x121c)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x121c" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x121c")) () ")"))))) (; ";")) (if_statement "if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" (if "if") (parenthesized_expression "(iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80))" (( "(") (binary_expression "iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)" (identifier "iVar7") (== "==") (pointer_expression "*(int *)(PTR_DAT_0008d618 + -0x2a80)" (* "*") (cast_expression "(int *)(PTR_DAT_0008d618 + -0x2a80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a80)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x2a80" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x2a80")) () ")"))))) () ")")) (compound_statement "{\n    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);\n    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);\n    if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }\n    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);\n    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;\n    puVar6 = PTR_DAT_0008d618 + -0x1218;\n    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;\n    if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }\n  }" ({ "{") (expression_statement "puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);" (assignment_expression "puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined **)(PTR_DAT_0008d618 + -0x2a70)" (* "*") (cast_expression "(undefined **)(PTR_DAT_0008d618 + -0x2a70)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_0008d618 + -0x2a70)" (( "(") (binary_expression "PTR_DAT_0008d618 + -0x2a70" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x2a70")) () ")"))))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);" (assignment_expression "iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_malloc_0008df1c)(iVar7 << 4)" (parenthesized_expression "(*(code *)PTR_malloc_0008df1c)" (( "(") (pointer_expression "*(code *)PTR_malloc_0008df1c" (* "*") (cast_expression "(code *)PTR_malloc_0008df1c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_0008df1c"))) () ")")) (argument_list "(iVar7 << 4)" (( "(") (binary_expression "iVar7 << 4" (identifier "iVar7") (<< "<<") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_kill_0008df0c)(param_1,1);\n                    \n      xalloc_die();\n    }" ({ "{") (expression_statement "(*(code *)PTR_kill_0008df0c)(param_1,1);" (call_expression "(*(code *)PTR_kill_0008df0c)(param_1,1)" (parenthesized_expression "(*(code *)PTR_kill_0008df0c)" (( "(") (pointer_expression "*(code *)PTR_kill_0008df0c" (* "*") (cast_expression "(code *)PTR_kill_0008df0c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_kill_0008df0c"))) () ")")) (argument_list "(param_1,1)" (( "(") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "xalloc_die();" (call_expression "xalloc_die()" (identifier "xalloc_die") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);" (assignment_expression "uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3)" (parenthesized_expression "(*(code *)PTR_memcpy_0008df90)" (( "(") (pointer_expression "*(code *)PTR_memcpy_0008df90" (* "*") (cast_expression "(code *)PTR_memcpy_0008df90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_0008df90"))) () ")")) (argument_list "(iVar4,puVar8,iVar7 << 3)" (( "(") (identifier "iVar4") (, ",") (identifier "puVar8") (, ",") (binary_expression "iVar7 << 3" (identifier "iVar7") (<< "<<") (number_literal "3")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0x2a70) = uVar5;" (assignment_expression "*(undefined4 *)(puVar2 + -0x2a70) = uVar5" (pointer_expression "*(undefined4 *)(puVar2 + -0x2a70)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0x2a70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x2a70)" (( "(") (binary_expression "puVar2 + -0x2a70" (identifier "puVar2") (+ "+") (number_literal "-0x2a70")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar6 = PTR_DAT_0008d618 + -0x1218;" (assignment_expression "puVar6 = PTR_DAT_0008d618 + -0x1218" (identifier "puVar6") (= "=") (binary_expression "PTR_DAT_0008d618 + -0x1218" (identifier "PTR_DAT_0008d618") (+ "+") (number_literal "-0x1218"))) (; ";")) (expression_statement "*(int *)(puVar2 + -0x2a80) = iVar7 << 1;" (assignment_expression "*(int *)(puVar2 + -0x2a80) = iVar7 << 1" (pointer_expression "*(int *)(puVar2 + -0x2a80)" (* "*") (cast_expression "(int *)(puVar2 + -0x2a80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x2a80)" (( "(") (binary_expression "puVar2 + -0x2a80" (identifier "puVar2") (+ "+") (number_literal "-0x2a80")) () ")")))) (= "=") (binary_expression "iVar7 << 1" (identifier "iVar7") (<< "<<") (number_literal "1"))) (; ";")) (if_statement "if (puVar8 != puVar6) {\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" (if "if") (parenthesized_expression "(puVar8 != puVar6)" (( "(") (binary_expression "puVar8 != puVar6" (identifier "puVar8") (!= "!=") (identifier "puVar6")) () ")")) (compound_statement "{\n      (*(code *)PTR_free_0008df9c)(puVar8);\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_0008df9c)(puVar8);" (call_expression "(*(code *)PTR_free_0008df9c)(puVar8)" (parenthesized_expression "(*(code *)PTR_free_0008df9c)" (( "(") (pointer_expression "*(code *)PTR_free_0008df9c" (* "*") (cast_expression "(code *)PTR_free_0008df9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0008df9c"))) () ")")) (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;" (assignment_expression "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1" (pointer_expression "*(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" (* "*") (cast_expression "(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4)" (( "(") (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4" (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" (* "*") (cast_expression "(int *)(puVar2 + -0x2a70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x2a70)" (( "(") (binary_expression "puVar2 + -0x2a70" (identifier "puVar2") (+ "+") (number_literal "-0x2a70")) () ")")))) (+ "+") (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" (* "*") (cast_expression "(int *)(puVar2 + -0x121c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x121c)" (( "(") (binary_expression "puVar2 + -0x121c" (identifier "puVar2") (+ "+") (number_literal "-0x121c")) () ")")))) (* "*") (number_literal "8"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1" (pointer_expression "*(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8)" (( "(") (binary_expression "*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x2a70)" (* "*") (cast_expression "(int *)(puVar2 + -0x2a70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x2a70)" (( "(") (binary_expression "puVar2 + -0x2a70" (identifier "puVar2") (+ "+") (number_literal "-0x2a70")) () ")")))) (+ "+") (binary_expression "*(int *)(puVar2 + -0x121c) * 8" (pointer_expression "*(int *)(puVar2 + -0x121c)" (* "*") (cast_expression "(int *)(puVar2 + -0x121c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x121c)" (( "(") (binary_expression "puVar2 + -0x121c" (identifier "puVar2") (+ "+") (number_literal "-0x121c")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;" (assignment_expression "*(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" (* "*") (cast_expression "(int *)(puVar2 + -0x121c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x121c)" (( "(") (binary_expression "puVar2 + -0x121c" (identifier "puVar2") (+ "+") (number_literal "-0x121c")) () ")")))) (= "=") (binary_expression "*(int *)(puVar2 + -0x121c) + 1" (pointer_expression "*(int *)(puVar2 + -0x121c)" (* "*") (cast_expression "(int *)(puVar2 + -0x121c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x121c)" (( "(") (binary_expression "puVar2 + -0x121c" (identifier "puVar2") (+ "+") (number_literal "-0x121c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 child)

{
  int *var_6;
  type_2 *var_10;
  int *piVar3;
  int var_8;
  type_3 uVar5;
  type_2 *var_11;
  int var_7;
  type_2 *var_4;
  
  var_4 = var_2;
  var_10 = var_5;
  if (var_5[-0x1220] == '\0') {
    var_1((type_4 *)(var_2 + -0x5110));
    var_3((action_t)(var_4 + -0x5110));
    var_10[-0x1220] = 1;
  }
  var_10 = var_5;
  piVar3 = *(int **)(var_5 + -0x2a70);
  while (var_6 = piVar3,
        var_6 < *(int **)(var_5 + -0x2a70) +
                 *(int *)(var_5 + -0x121c) * 2) {
    piVar3 = var_6 + 2;
    if (*var_6 == 0) {
      var_6[1] = child;
      *var_6 = 1;
      return;
    }
  }
  var_7 = *(int *)(var_5 + -0x121c);
  if (var_7 == *(int *)(var_5 + -0x2a80)) {
    var_4 = *(type_2 **)(var_5 + -0x2a70);
    var_8 = (*(type_5 *)PTR_malloc_0008df1c)(var_7 << 4);
    if (var_8 == 0) {
      (*(type_5 *)PTR_kill_0008df0c)(child,1);
                    /* WARNING: Subroutine does not return */
      var_9();
    }
    uVar5 = (*(type_5 *)PTR_memcpy_0008df90)(var_8,var_4,var_7 << 3);
    *(type_3 *)(var_10 + -0x2a70) = uVar5;
    var_11 = var_5 + -0x1218;
    *(int *)(var_10 + -0x2a80) = var_7 << 1;
    if (var_4 != var_11) {
      (*(type_5 *)PTR_free_0008df9c)(var_4);
    }
  }
  *(type_1 *)(*(int *)(var_10 + -0x2a70) + *(int *)(var_10 + -0x121c) * 8 + 4) = child;
  *(type_3 *)(*(int *)(var_10 + -0x2a70) + *(int *)(var_10 + -0x121c) * 8) = 1;
  *(int *)(var_10 + -0x121c) = *(int *)(var_10 + -0x121c) + 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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)))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))))) (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: (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))))))) consequence: (compound_statement (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) arguments: (argument_list))))) (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) (identifier) (binary_expression left: (identifier) 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: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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 (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (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))))) right: (identifier))) (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: (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))) (expression_statement (assignment_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: (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)))) (return_statement))))

void MASKED(int param_1)

{
  int *piVar1;
  undefined *puVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  undefined *puVar6;
  int iVar7;
  undefined *puVar8;
  
  puVar8 = PTR_LAB_0008d628;
  puVar2 = PTR_DAT_0008d618;
  if (PTR_DAT_0008d618[-0x1220] == '\0') {
    FUN_00070a90(PTR_LAB_0008d628 + -0x5110);
    at_fatal_signal(puVar8 + -0x5110);
    puVar2[-0x1220] = 1;
  }
  puVar2 = PTR_DAT_0008d618;
  piVar3 = *(int **)(PTR_DAT_0008d618 + -0x2a70);
  while (piVar1 = piVar3,
        piVar1 < *(int **)(PTR_DAT_0008d618 + -0x2a70) + *(int *)(PTR_DAT_0008d618 + -0x121c) * 2) {
    piVar3 = piVar1 + 2;
    if (*piVar1 == 0) {
      piVar1[1] = param_1;
      *piVar1 = 1;
      return;
    }
  }
  iVar7 = *(int *)(PTR_DAT_0008d618 + -0x121c);
  if (iVar7 == *(int *)(PTR_DAT_0008d618 + -0x2a80)) {
    puVar8 = *(undefined **)(PTR_DAT_0008d618 + -0x2a70);
    iVar4 = (*(code *)PTR_malloc_0008df1c)(iVar7 << 4);
    if (iVar4 == 0) {
      (*(code *)PTR_kill_0008df0c)(param_1,1);
                    /* WARNING: Subroutine does not return */
      xalloc_die();
    }
    uVar5 = (*(code *)PTR_memcpy_0008df90)(iVar4,puVar8,iVar7 << 3);
    *(undefined4 *)(puVar2 + -0x2a70) = uVar5;
    puVar6 = PTR_DAT_0008d618 + -0x1218;
    *(int *)(puVar2 + -0x2a80) = iVar7 << 1;
    if (puVar8 != puVar6) {
      (*(code *)PTR_free_0008df9c)(puVar8);
    }
  }
  *(int *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8 + 4) = param_1;
  *(undefined4 *)(*(int *)(puVar2 + -0x2a70) + *(int *)(puVar2 + -0x121c) * 8) = 1;
  *(int *)(puVar2 + -0x121c) = *(int *)(puVar2 + -0x121c) + 1;
  return;
}

