
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void chain_frchains_together(bfd *abfd,segT section,void *xxx)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  void *pvVar5;
  fixS *pfVar6;
  fixS fix_dummy;
  fragS dummy;
  
  pfVar6 = &fix_dummy;
  if ((int *)section->userdata == (int *)0x0) {
    frags_chained = 1;
    return;
  }
                    /* WARNING: Load size is inaccurate */
  puVar1 = *section->userdata;
  if (puVar1 != (undefined4 *)0x0) {
    iVar2 = puVar1[1];
    iVar3 = *(int *)(iVar2 + 0x44);
    puVar4 = puVar1;
    while( true ) {
      if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");
      }
      iVar3 = puVar4[4];
      if (iVar3 != 0) {
        pvVar5 = section->userdata;
        if (*(int *)((int)pvVar5 + 0xc) == 0) {
          *(int *)((int)pvVar5 + 0xc) = iVar3;
        }
        *(int *)((int)pfVar6 + 0x28) = iVar3;
        pfVar6 = (fixS *)puVar4[5];
        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;
      }
      puVar4 = (undefined4 *)puVar4[2];
      if (puVar4 == (undefined4 *)0x0) break;
      *(undefined4 *)(iVar2 + 0x30) = *puVar4;
      iVar2 = puVar4[1];
      iVar3 = *(int *)(iVar2 + 0x44);
    }
    if (*(int *)(iVar2 + 0x44) != 0) {
      *(undefined4 *)(iVar2 + 0x30) = 0;
      puVar1[1] = iVar2;
      frags_chained = 1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  as_abort("../../gas/write.c",0x199,"chain_frchains_together_1");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0003e550(undefined4 param_1,int param_2)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  undefined1 auStack_cc [116];
  undefined4 local_58;
  undefined4 uStack_14;
  
  uStack_14 = 0x3e559;
  puVar6 = auStack_cc;
  if (*(int **)(param_2 + 0x80) == (int *)0x0) {
    DAT_00088e14 = 1;
    return;
  }
  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);
  if (puVar1 != (undefined4 *)0x0) {
    iVar2 = puVar1[1];
    local_58 = *puVar1;
    iVar3 = *(int *)(iVar2 + 0x44);
    puVar4 = puVar1;
    while( true ) {
      if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");
      }
      iVar3 = puVar4[4];
      if (iVar3 != 0) {
        iVar5 = *(int *)(param_2 + 0x80);
        if (*(int *)(iVar5 + 0xc) == 0) {
          *(int *)(iVar5 + 0xc) = iVar3;
        }
        *(int *)(puVar6 + 0x28) = iVar3;
        puVar6 = (undefined1 *)puVar4[5];
        *(undefined1 **)(iVar5 + 0x10) = puVar6;
      }
      puVar4 = (undefined4 *)puVar4[2];
      if (puVar4 == (undefined4 *)0x0) break;
      *(undefined4 *)(iVar2 + 0x30) = *puVar4;
      iVar2 = puVar4[1];
      iVar3 = *(int *)(iVar2 + 0x44);
    }
    if (*(int *)(iVar2 + 0x44) != 0) {
      *(undefined4 *)(iVar2 + 0x30) = 0;
      puVar1[1] = iVar2;
      DAT_00088e14 = 1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016000
ADD EBX,0x41aa7
SUB ESP,0xbc
MOV EAX,dword ptr [ESP + 0xd4]
MOV EAX,dword ptr [EAX + 0x80]
TEST EAX,EAX
JZ 0x0003e5f1
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JZ 0x0003e610
MOV EDX,dword ptr [EBP + 0x4]
MOV EAX,dword ptr [EBP]
MOV ESI,dword ptr [EDX + 0x44]
MOV dword ptr [ESP + 0x74],EAX
TEST ESI,ESI
JZ 0x0003e62b
MOV EAX,EBP
MOV EDI,ESP
JMP 0x0003e5bf
MOV dword ptr [EDI + 0x28],ESI
MOV EDI,dword ptr [EAX + 0x14]
MOV dword ptr [ECX + 0x10],EDI
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0003e5e0
MOV ECX,dword ptr [EAX]
MOV dword ptr [EDX + 0x30],ECX
MOV EDX,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [EDX + 0x44]
TEST ECX,ECX
JZ 0x0003e62b
MOV ESI,dword ptr [EAX + 0x10]
TEST ESI,ESI
JZ 0x0003e5a9
MOV ECX,dword ptr [ESP + 0xd4]
MOV ECX,dword ptr [ECX + 0x80]
CMP dword ptr [ECX + 0xc],0x0
JNZ 0x0003e5a0
MOV dword ptr [ECX + 0xc],ESI
JMP 0x0003e5a0
MOV EAX,dword ptr [EDX + 0x44]
TEST EAX,EAX
JZ 0x0003e610
MOV dword ptr [EDX + 0x30],0x0
MOV dword ptr [EBP + 0x4],EDX
MOV dword ptr [EBX + 0x8e14],0x1
ADD ESP,0xbc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe1e28]
PUSH EAX
LEA EAX,[EBX + 0xfffe1b4c]
PUSH 0x199
PUSH EAX
CALL 0x0002be80
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe1e28]
PUSH EAX
LEA EAX,[EBX + 0xfffe1b4c]
PUSH 0x18e
PUSH EAX
CALL 0x0002be80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003e550(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}\n\n" comment (function_definition "void FUN_0003e550(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" primitive_type (function_declarator "FUN_0003e550(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 auStack_cc [116];" type_identifier (array_declarator "auStack_cc [116]" identifier [ number_literal ]) ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3e559;" (assignment_expression "uStack_14 = 0x3e559" identifier = number_literal) ;) (expression_statement "puVar6 = auStack_cc;" (assignment_expression "puVar6 = auStack_cc" identifier = identifier) ;) (if_statement "if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }" if (parenthesized_expression "(*(int **)(param_2 + 0x80) == (int *)0x0)" ( (binary_expression "*(int **)(param_2 + 0x80) == (int *)0x0" (pointer_expression "*(int **)(param_2 + 0x80)" * (cast_expression "(int **)(param_2 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) )))) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00088e14 = 1;\n    return;\n  }" { (expression_statement "DAT_00088e14 = 1;" (assignment_expression "DAT_00088e14 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);" (assignment_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x80)" identifier = (cast_expression "(undefined4 *)**(int **)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_2 + 0x80)" * (pointer_expression "*(int **)(param_2 + 0x80)" * (cast_expression "(int **)(param_2 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }" { (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "local_58 = *puVar1;" (assignment_expression "local_58 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (while_statement "while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" { (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" { comment (expression_statement "FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");" (call_expression "FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1")" identifier (argument_list "("../../gas/write.c",0x18e,"chain_frchains_together_1")" ( (string_literal ""../../gas/write.c"" " string_content ") , number_literal , (string_literal ""chain_frchains_together_1"" " string_content ") ))) ;) })) (expression_statement "iVar3 = puVar4[4];" (assignment_expression "iVar3 = puVar4[4]" identifier = (subscript_expression "puVar4[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }" { (expression_statement "iVar5 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar5 = *(int *)(param_2 + 0x80)" identifier = (pointer_expression "*(int *)(param_2 + 0x80)" * (cast_expression "(int *)(param_2 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }" if (parenthesized_expression "(*(int *)(iVar5 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar5 + 0xc) == 0" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }" { (expression_statement "*(int *)(iVar5 + 0xc) = iVar3;" (assignment_expression "*(int *)(iVar5 + 0xc) = iVar3" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)(puVar6 + 0x28) = iVar3;" (assignment_expression "*(int *)(puVar6 + 0x28) = iVar3" (pointer_expression "*(int *)(puVar6 + 0x28)" * (cast_expression "(int *)(puVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x28)" ( (binary_expression "puVar6 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)puVar4[5];" (assignment_expression "puVar6 = (undefined1 *)puVar4[5]" identifier = (cast_expression "(undefined1 *)puVar4[5]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[5]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined1 **)(iVar5 + 0x10) = puVar6;" (assignment_expression "*(undefined1 **)(iVar5 + 0x10) = puVar6" (pointer_expression "*(undefined1 **)(iVar5 + 0x10)" * (cast_expression "(undefined1 **)(iVar5 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar4 = (undefined4 *)puVar4[2];" (assignment_expression "puVar4 = (undefined4 *)puVar4[2]" identifier = (cast_expression "(undefined4 *)puVar4[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = *puVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = *puVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar2 = puVar4[1];" (assignment_expression "iVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1[1] = iVar2;" (assignment_expression "puVar1[1] = iVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_00088e14 = 1;" (assignment_expression "DAT_00088e14 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");" (call_expression "FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1")" identifier (argument_list "("../../gas/write.c",0x199,"chain_frchains_together_1")" ( (string_literal ""../../gas/write.c"" " string_content ") , number_literal , (string_literal ""chain_frchains_together_1"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid chain_frchains_together(bfd *abfd,segT section,void *xxx)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  void *pvVar5;\n  fixS *pfVar6;\n  fixS fix_dummy;\n  fragS dummy;\n  \n  pfVar6 = &fix_dummy;\n  if ((int *)section->userdata == (int *)0x0) {\n    frags_chained = 1;\n    return;\n  }\n                    /* WARNING: Load size is inaccurate */\n  puVar1 = *section->userdata;\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/write.c",0x199,"chain_frchains_together_1");\n}\n\n" comment comment (function_definition "void chain_frchains_together(bfd *abfd,segT section,void *xxx)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  void *pvVar5;\n  fixS *pfVar6;\n  fixS fix_dummy;\n  fragS dummy;\n  \n  pfVar6 = &fix_dummy;\n  if ((int *)section->userdata == (int *)0x0) {\n    frags_chained = 1;\n    return;\n  }\n                    /* WARNING: Load size is inaccurate */\n  puVar1 = *section->userdata;\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" primitive_type (function_declarator "chain_frchains_together(bfd *abfd,segT section,void *xxx)" identifier (parameter_list "(bfd *abfd,segT section,void *xxx)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "segT section" type_identifier identifier) , (parameter_declaration "void *xxx" primitive_type (pointer_declarator "*xxx" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  void *pvVar5;\n  fixS *pfVar6;\n  fixS fix_dummy;\n  fragS dummy;\n  \n  pfVar6 = &fix_dummy;\n  if ((int *)section->userdata == (int *)0x0) {\n    frags_chained = 1;\n    return;\n  }\n                    /* WARNING: Load size is inaccurate */\n  puVar1 = *section->userdata;\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "fixS *pfVar6;" type_identifier (pointer_declarator "*pfVar6" * identifier) ;) (declaration "fixS fix_dummy;" type_identifier identifier ;) (declaration "fragS dummy;" type_identifier identifier ;) (expression_statement "pfVar6 = &fix_dummy;" (assignment_expression "pfVar6 = &fix_dummy" identifier = (pointer_expression "&fix_dummy" & identifier)) ;) (if_statement "if ((int *)section->userdata == (int *)0x0) {\n    frags_chained = 1;\n    return;\n  }" if (parenthesized_expression "((int *)section->userdata == (int *)0x0)" ( (binary_expression "(int *)section->userdata == (int *)0x0" (cast_expression "(int *)section->userdata" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "section->userdata" identifier -> field_identifier)) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    frags_chained = 1;\n    return;\n  }" { (expression_statement "frags_chained = 1;" (assignment_expression "frags_chained = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "puVar1 = *section->userdata;" (assignment_expression "puVar1 = *section->userdata" identifier = (pointer_expression "*section->userdata" * (field_expression "section->userdata" identifier -> field_identifier))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = puVar1[1];\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }\n  }" { (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (while_statement "while( true ) {\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" { (if_statement "if (iVar3 == 0) {\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" { comment (expression_statement "as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1");" (call_expression "as_abort("../../gas/write.c",0x18e,"chain_frchains_together_1")" identifier (argument_list "("../../gas/write.c",0x18e,"chain_frchains_together_1")" ( (string_literal ""../../gas/write.c"" " string_content ") , number_literal , (string_literal ""chain_frchains_together_1"" " string_content ") ))) ;) })) (expression_statement "iVar3 = puVar4[4];" (assignment_expression "iVar3 = puVar4[4]" identifier = (subscript_expression "puVar4[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 != 0) {\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        pvVar5 = section->userdata;\n        if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }\n        *(int *)((int)pfVar6 + 0x28) = iVar3;\n        pfVar6 = (fixS *)puVar4[5];\n        *(fixS **)((int)pvVar5 + 0x10) = pfVar6;\n      }" { (expression_statement "pvVar5 = section->userdata;" (assignment_expression "pvVar5 = section->userdata" identifier = (field_expression "section->userdata" identifier -> field_identifier)) ;) (if_statement "if (*(int *)((int)pvVar5 + 0xc) == 0) {\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }" if (parenthesized_expression "(*(int *)((int)pvVar5 + 0xc) == 0)" ( (binary_expression "*(int *)((int)pvVar5 + 0xc) == 0" (pointer_expression "*(int *)((int)pvVar5 + 0xc)" * (cast_expression "(int *)((int)pvVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 + 0xc)" ( (binary_expression "(int)pvVar5 + 0xc" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)((int)pvVar5 + 0xc) = iVar3;\n        }" { (expression_statement "*(int *)((int)pvVar5 + 0xc) = iVar3;" (assignment_expression "*(int *)((int)pvVar5 + 0xc) = iVar3" (pointer_expression "*(int *)((int)pvVar5 + 0xc)" * (cast_expression "(int *)((int)pvVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar5 + 0xc)" ( (binary_expression "(int)pvVar5 + 0xc" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)((int)pfVar6 + 0x28) = iVar3;" (assignment_expression "*(int *)((int)pfVar6 + 0x28) = iVar3" (pointer_expression "*(int *)((int)pfVar6 + 0x28)" * (cast_expression "(int *)((int)pfVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pfVar6 + 0x28)" ( (binary_expression "(int)pfVar6 + 0x28" (cast_expression "(int)pfVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "pfVar6 = (fixS *)puVar4[5];" (assignment_expression "pfVar6 = (fixS *)puVar4[5]" identifier = (cast_expression "(fixS *)puVar4[5]" ( (type_descriptor "fixS *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[5]" identifier [ number_literal ]))) ;) (expression_statement "*(fixS **)((int)pvVar5 + 0x10) = pfVar6;" (assignment_expression "*(fixS **)((int)pvVar5 + 0x10) = pfVar6" (pointer_expression "*(fixS **)((int)pvVar5 + 0x10)" * (cast_expression "(fixS **)((int)pvVar5 + 0x10)" ( (type_descriptor "fixS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar5 + 0x10)" ( (binary_expression "(int)pvVar5 + 0x10" (cast_expression "(int)pvVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) })) (expression_statement "puVar4 = (undefined4 *)puVar4[2];" (assignment_expression "puVar4 = (undefined4 *)puVar4[2]" identifier = (cast_expression "(undefined4 *)puVar4[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = *puVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = *puVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar2 = puVar4[1];" (assignment_expression "iVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      frags_chained = 1;\n      return;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1[1] = iVar2;" (assignment_expression "puVar1[1] = iVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "frags_chained = 1;" (assignment_expression "frags_chained = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "as_abort("../../gas/write.c",0x199,"chain_frchains_together_1");" (call_expression "as_abort("../../gas/write.c",0x199,"chain_frchains_together_1")" identifier (argument_list "("../../gas/write.c",0x199,"chain_frchains_together_1")" ( (string_literal ""../../gas/write.c"" " string_content ") , number_literal , (string_literal ""chain_frchains_together_1"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0003e550(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    \n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}\n\n" (function_definition "void FUN_0003e550(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    \n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" primitive_type (function_declarator "FUN_0003e550(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    \n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 auStack_cc [116];" type_identifier (array_declarator "auStack_cc [116]" identifier [ number_literal ]) ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3e559;" (assignment_expression "uStack_14 = 0x3e559" identifier = number_literal) ;) (expression_statement "puVar6 = auStack_cc;" (assignment_expression "puVar6 = auStack_cc" identifier = identifier) ;) (if_statement "if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }" if (parenthesized_expression "(*(int **)(param_2 + 0x80) == (int *)0x0)" ( (binary_expression "*(int **)(param_2 + 0x80) == (int *)0x0" (pointer_expression "*(int **)(param_2 + 0x80)" * (cast_expression "(int **)(param_2 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) )))) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00088e14 = 1;\n    return;\n  }" { (expression_statement "DAT_00088e14 = 1;" (assignment_expression "DAT_00088e14 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);" (assignment_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x80)" identifier = (cast_expression "(undefined4 *)**(int **)(param_2 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_2 + 0x80)" * (pointer_expression "*(int **)(param_2 + 0x80)" * (cast_expression "(int **)(param_2 + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }" { (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "local_58 = *puVar1;" (assignment_expression "local_58 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (while_statement "while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" { (if_statement "if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" { (expression_statement "FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");" (call_expression "FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1")" identifier (argument_list "("../../gas/write.c",0x18e,"chain_frchains_together_1")" ( (string_literal ""../../gas/write.c"" " string_content ") , number_literal , (string_literal ""chain_frchains_together_1"" " string_content ") ))) ;) })) (expression_statement "iVar3 = puVar4[4];" (assignment_expression "iVar3 = puVar4[4]" identifier = (subscript_expression "puVar4[4]" identifier [ number_literal ])) ;) (if_statement "if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }" { (expression_statement "iVar5 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar5 = *(int *)(param_2 + 0x80)" identifier = (pointer_expression "*(int *)(param_2 + 0x80)" * (cast_expression "(int *)(param_2 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }" if (parenthesized_expression "(*(int *)(iVar5 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar5 + 0xc) == 0" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }" { (expression_statement "*(int *)(iVar5 + 0xc) = iVar3;" (assignment_expression "*(int *)(iVar5 + 0xc) = iVar3" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)(puVar6 + 0x28) = iVar3;" (assignment_expression "*(int *)(puVar6 + 0x28) = iVar3" (pointer_expression "*(int *)(puVar6 + 0x28)" * (cast_expression "(int *)(puVar6 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0x28)" ( (binary_expression "puVar6 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)puVar4[5];" (assignment_expression "puVar6 = (undefined1 *)puVar4[5]" identifier = (cast_expression "(undefined1 *)puVar4[5]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[5]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined1 **)(iVar5 + 0x10) = puVar6;" (assignment_expression "*(undefined1 **)(iVar5 + 0x10) = puVar6" (pointer_expression "*(undefined1 **)(iVar5 + 0x10)" * (cast_expression "(undefined1 **)(iVar5 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar4 = (undefined4 *)puVar4[2];" (assignment_expression "puVar4 = (undefined4 *)puVar4[2]" identifier = (cast_expression "(undefined4 *)puVar4[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = *puVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = *puVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "iVar2 = puVar4[1];" (assignment_expression "iVar2 = puVar4[1]" identifier = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }" { (expression_statement "*(undefined4 *)(iVar2 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1[1] = iVar2;" (assignment_expression "puVar1[1] = iVar2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "DAT_00088e14 = 1;" (assignment_expression "DAT_00088e14 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) })) (expression_statement "FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");" (call_expression "FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1")" identifier (argument_list "("../../gas/write.c",0x199,"chain_frchains_together_1")" ( (string_literal ""../../gas/write.c"" " string_content ") , number_literal , (string_literal ""chain_frchains_together_1"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_0003e550(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    \n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" (primitive_type "void") (function_declarator "FUN_0003e550(undefined4 param_1,int param_2)" (identifier "FUN_0003e550") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  undefined1 auStack_cc [116];\n  undefined4 local_58;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3e559;\n  puVar6 = auStack_cc;\n  if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }\n  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);\n  if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }\n                    \n  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 auStack_cc [116];" (type_identifier "undefined1") (array_declarator "auStack_cc [116]" (identifier "auStack_cc") ([ "[") (number_literal "116") (] "]")) (; ";")) (declaration "undefined4 local_58;" (type_identifier "undefined4") (identifier "local_58") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x3e559;" (assignment_expression "uStack_14 = 0x3e559" (identifier "uStack_14") (= "=") (number_literal "0x3e559")) (; ";")) (expression_statement "puVar6 = auStack_cc;" (assignment_expression "puVar6 = auStack_cc" (identifier "puVar6") (= "=") (identifier "auStack_cc")) (; ";")) (if_statement "if (*(int **)(param_2 + 0x80) == (int *)0x0) {\n    DAT_00088e14 = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int **)(param_2 + 0x80) == (int *)0x0)" (( "(") (binary_expression "*(int **)(param_2 + 0x80) == (int *)0x0" (pointer_expression "*(int **)(param_2 + 0x80)" (* "*") (cast_expression "(int **)(param_2 + 0x80)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")")))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    DAT_00088e14 = 1;\n    return;\n  }" ({ "{") (expression_statement "DAT_00088e14 = 1;" (assignment_expression "DAT_00088e14 = 1" (identifier "DAT_00088e14") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);" (assignment_expression "puVar1 = (undefined4 *)**(int **)(param_2 + 0x80)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)**(int **)(param_2 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(param_2 + 0x80)" (* "*") (pointer_expression "*(int **)(param_2 + 0x80)" (* "*") (cast_expression "(int **)(param_2 + 0x80)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")"))))))) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = puVar1[1];\n    local_58 = *puVar1;\n    iVar3 = *(int *)(iVar2 + 0x44);\n    puVar4 = puVar1;\n    while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }\n    if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_58 = *puVar1;" (assignment_expression "local_58 = *puVar1" (identifier "local_58") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x44)" (* "*") (cast_expression "(int *)(iVar2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" (identifier "puVar4") (= "=") (identifier "puVar1")) (; ";")) (while_statement "while( true ) {\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }\n      iVar3 = puVar4[4];\n      if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }\n      puVar4 = (undefined4 *)puVar4[2];\n      if (puVar4 == (undefined4 *)0x0) break;\n      *(undefined4 *)(iVar2 + 0x30) = *puVar4;\n      iVar2 = puVar4[1];\n      iVar3 = *(int *)(iVar2 + 0x44);\n    }" ({ "{") (if_statement "if (iVar3 == 0) {\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");\n      }" ({ "{") (expression_statement "FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");" (call_expression "FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1")" (identifier "FUN_0002be80") (argument_list "("../../gas/write.c",0x18e,"chain_frchains_together_1")" (( "(") (string_literal ""../../gas/write.c"" (" """) (string_content "../../gas/write.c") (" """)) (, ",") (number_literal "0x18e") (, ",") (string_literal ""chain_frchains_together_1"" (" """) (string_content "chain_frchains_together_1") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = puVar4[4];" (assignment_expression "iVar3 = puVar4[4]" (identifier "iVar3") (= "=") (subscript_expression "puVar4[4]" (identifier "puVar4") ([ "[") (number_literal "4") (] "]"))) (; ";")) (if_statement "if (iVar3 != 0) {\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = *(int *)(param_2 + 0x80);\n        if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }\n        *(int *)(puVar6 + 0x28) = iVar3;\n        puVar6 = (undefined1 *)puVar4[5];\n        *(undefined1 **)(iVar5 + 0x10) = puVar6;\n      }" ({ "{") (expression_statement "iVar5 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar5 = *(int *)(param_2 + 0x80)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(param_2 + 0x80)" (* "*") (cast_expression "(int *)(param_2 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar5 + 0xc) == 0) {\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar5 + 0xc) == 0" (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(int *)(iVar5 + 0xc) = iVar3;\n        }" ({ "{") (expression_statement "*(int *)(iVar5 + 0xc) = iVar3;" (assignment_expression "*(int *)(iVar5 + 0xc) = iVar3" (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (expression_statement "*(int *)(puVar6 + 0x28) = iVar3;" (assignment_expression "*(int *)(puVar6 + 0x28) = iVar3" (pointer_expression "*(int *)(puVar6 + 0x28)" (* "*") (cast_expression "(int *)(puVar6 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0x28)" (( "(") (binary_expression "puVar6 + 0x28" (identifier "puVar6") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "puVar6 = (undefined1 *)puVar4[5];" (assignment_expression "puVar6 = (undefined1 *)puVar4[5]" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)puVar4[5]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[5]" (identifier "puVar4") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "*(undefined1 **)(iVar5 + 0x10) = puVar6;" (assignment_expression "*(undefined1 **)(iVar5 + 0x10) = puVar6" (pointer_expression "*(undefined1 **)(iVar5 + 0x10)" (* "*") (cast_expression "(undefined1 **)(iVar5 + 0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)puVar4[2];" (assignment_expression "puVar4 = (undefined4 *)puVar4[2]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)puVar4[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (puVar4 == (undefined4 *)0x0) break;" (if "if") (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = *puVar4;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = *puVar4" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "iVar2 = puVar4[1];" (assignment_expression "iVar2 = puVar4[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x44)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x44)" (* "*") (cast_expression "(int *)(iVar2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x44) != 0) {\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x44) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x44) != 0" (pointer_expression "*(int *)(iVar2 + 0x44)" (* "*") (cast_expression "(int *)(iVar2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(iVar2 + 0x30) = 0;\n      puVar1[1] = iVar2;\n      DAT_00088e14 = 1;\n      return;\n    }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = iVar2;" (assignment_expression "puVar1[1] = iVar2" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "DAT_00088e14 = 1;" (assignment_expression "DAT_00088e14 = 1" (identifier "DAT_00088e14") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");" (call_expression "FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1")" (identifier "FUN_0002be80") (argument_list "("../../gas/write.c",0x199,"chain_frchains_together_1")" (( "(") (string_literal ""../../gas/write.c"" (" """) (string_content "../../gas/write.c") (" """)) (, ",") (number_literal "0x199") (, ",") (string_literal ""chain_frchains_together_1"" (" """) (string_content "chain_frchains_together_1") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *abfd,type_2 section,void *xxx)

{
  type_3 *var_1;
  int var_2;
  int var_3;
  type_3 *var_5;
  void *pvVar5;
  type_4 *pfVar6;
  type_4 fix_dummy;
  type_5 dummy;
  
  pfVar6 = &fix_dummy;
  if ((int *)section->userdata == (int *)0x0) {
    frags_chained = 1;
    return;
  }
                    /* WARNING: Load size is inaccurate */
  var_1 = *section->userdata;
  if (var_1 != (type_3 *)0x0) {
    var_2 = var_1[1];
    var_3 = *(int *)(var_2 + 0x44);
    var_5 = var_1;
    while( true ) {
      if (var_3 == 0) {
                    /* WARNING: Subroutine does not return */
        var_4("../../gas/write.c",0x18e,"chain_frchains_together_1");
      }
      var_3 = var_5[4];
      if (var_3 != 0) {
        pvVar5 = section->userdata;
        if (*(int *)((int)pvVar5 + 0xc) == 0) {
          *(int *)((int)pvVar5 + 0xc) = var_3;
        }
        *(int *)((int)pfVar6 + 0x28) = var_3;
        pfVar6 = (type_4 *)var_5[5];
        *(type_4 **)((int)pvVar5 + 0x10) = pfVar6;
      }
      var_5 = (type_3 *)var_5[2];
      if (var_5 == (type_3 *)0x0) break;
      *(type_3 *)(var_2 + 0x30) = *var_5;
      var_2 = var_5[1];
      var_3 = *(int *)(var_2 + 0x44);
    }
    if (*(int *)(var_2 + 0x44) != 0) {
      *(type_3 *)(var_2 + 0x30) = 0;
      var_1[1] = var_2;
      frags_chained = 1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gas/write.c",0x199,"chain_frchains_together_1");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 param_1,int param_2)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  undefined1 auStack_cc [116];
  undefined4 local_58;
  undefined4 uStack_14;
  
  uStack_14 = 0x3e559;
  puVar6 = auStack_cc;
  if (*(int **)(param_2 + 0x80) == (int *)0x0) {
    DAT_00088e14 = 1;
    return;
  }
  puVar1 = (undefined4 *)**(int **)(param_2 + 0x80);
  if (puVar1 != (undefined4 *)0x0) {
    iVar2 = puVar1[1];
    local_58 = *puVar1;
    iVar3 = *(int *)(iVar2 + 0x44);
    puVar4 = puVar1;
    while( true ) {
      if (iVar3 == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0002be80("../../gas/write.c",0x18e,"chain_frchains_together_1");
      }
      iVar3 = puVar4[4];
      if (iVar3 != 0) {
        iVar5 = *(int *)(param_2 + 0x80);
        if (*(int *)(iVar5 + 0xc) == 0) {
          *(int *)(iVar5 + 0xc) = iVar3;
        }
        *(int *)(puVar6 + 0x28) = iVar3;
        puVar6 = (undefined1 *)puVar4[5];
        *(undefined1 **)(iVar5 + 0x10) = puVar6;
      }
      puVar4 = (undefined4 *)puVar4[2];
      if (puVar4 == (undefined4 *)0x0) break;
      *(undefined4 *)(iVar2 + 0x30) = *puVar4;
      iVar2 = puVar4[1];
      iVar3 = *(int *)(iVar2 + 0x44);
    }
    if (*(int *)(iVar2 + 0x44) != 0) {
      *(undefined4 *)(iVar2 + 0x30) = 0;
      puVar1[1] = iVar2;
      DAT_00088e14 = 1;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_0002be80("../../gas/write.c",0x199,"chain_frchains_together_1");
}

