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

void print_fixup(fixS *fixp)

{
  char cVar1;
  byte bVar2;
  bfd_reloc_code_real_type bVar3;
  undefined *puVar4;
  undefined4 uVar5;
  FILE *pFVar6;
  FILE *__stream;
  
  puVar4 = PTR_stderr_00077f2c;
  indent_level = 1;
  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);
  fprintf(*(FILE **)puVar4,"%016llx",fixp,0);
  pFVar6 = (FILE *)fixp->fx_line;
  fprintf(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6);
  if ((undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0)
  {
    cVar1 = fixp->fx_pcrel_adjust;
    __stream = *(FILE **)puVar4;
  }
  else {
    pFVar6 = *(FILE **)puVar4;
    fwrite(" pcrel",1,6,pFVar6);
    cVar1 = fixp->fx_pcrel_adjust;
    __stream = *(FILE **)puVar4;
  }
  if (cVar1 == '\0') {
    bVar2 = *(byte *)fixp;
  }
  else {
    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);
    bVar2 = *(byte *)fixp;
    __stream = *(FILE **)puVar4;
  }
  if ((bVar2 & 6) != 0) {
    fwrite(" im_disp",1,8,__stream);
    bVar2 = *(byte *)fixp;
    __stream = *(FILE **)puVar4;
  }
  if ((bVar2 & 8) != 0) {
    fwrite(" tcbit",1,6,__stream);
    bVar2 = *(byte *)fixp;
    __stream = *(FILE **)puVar4;
  }
  if ((bVar2 & 0x20) != 0) {
    fwrite(" done",1,5,__stream);
    __stream = *(FILE **)puVar4;
  }
  fprintf(__stream,"\n    size=%d frag=",(uint)fixp->fx_size);
  fprintf(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0);
  fprintf(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset
          ,(int)fixp->fx_addnumber);
  bVar3 = fixp->fx_r_type;
  uVar5 = bfd_get_reloc_code_name(bVar3);
  fprintf(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3);
  if (fixp->fx_addsy != (symbolS *)0x0) {
    fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);
    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);
    fputc(0x3e,*(FILE **)puVar4);
  }
  pFVar6 = *(FILE **)puVar4;
  if (fixp->fx_subsy != (symbolS *)0x0) {
    fwrite("\n   -<",1,6,pFVar6);
    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);
    fputc(0x3e,*(FILE **)puVar4);
    pFVar6 = *(FILE **)puVar4;
  }
  fputc(10,pFVar6);
  return;
}



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

void FUN_00041fe0(byte *param_1)

{
  byte bVar1;
  undefined4 uVar2;
  undefined *puVar3;
  undefined4 uVar4;
  FILE *pFVar5;
  FILE *__stream;
  
  puVar3 = PTR_stderr_00077f2c;
  DAT_00081a8c = 1;
  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);
  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);
  pFVar5 = *(FILE **)(param_1 + 0x40);
  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);
  if ((*param_1 & 1) == 0) {
    bVar1 = param_1[1];
    __stream = *(FILE **)puVar3;
  }
  else {
    pFVar5 = *(FILE **)puVar3;
    fwrite(" pcrel",1,6,pFVar5);
    bVar1 = param_1[1];
    __stream = *(FILE **)puVar3;
  }
  if (bVar1 == 0) {
    bVar1 = *param_1;
  }
  else {
    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);
    bVar1 = *param_1;
    __stream = *(FILE **)puVar3;
  }
  if ((bVar1 & 6) != 0) {
    fwrite(" im_disp",1,8,__stream);
    bVar1 = *param_1;
    __stream = *(FILE **)puVar3;
  }
  if ((bVar1 & 8) != 0) {
    fwrite(" tcbit",1,6,__stream);
    bVar1 = *param_1;
    __stream = *(FILE **)puVar3;
  }
  if ((bVar1 & 0x20) != 0) {
    fwrite(" done",1,5,__stream);
    __stream = *(FILE **)puVar3;
  }
  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);
  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);
  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),
          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));
  uVar2 = *(undefined4 *)(param_1 + 0x30);
  uVar4 = bfd_get_reloc_code_name(uVar2);
  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);
  if (*(int *)(param_1 + 0xc) != 0) {
    fwrite("\n   +<",1,6,*(FILE **)puVar3);
    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));
    fputc(0x3e,*(FILE **)puVar3);
  }
  pFVar5 = *(FILE **)puVar3;
  if (*(int *)(param_1 + 0x10) != 0) {
    fwrite("\n   -<",1,6,pFVar5);
    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));
    fputc(0x3e,*(FILE **)puVar3);
    pFVar5 = *(FILE **)puVar3;
  }
  fputc(10,pFVar5);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017140
ADD EBX,0x36017
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0x9a8c]
MOV EDI,dword ptr [EBX + 0xffffff2c]
LEA EBP,[EBX + 0xfffdfd94]
MOV dword ptr [EAX],0x1
LEA EAX,[EBX + 0xfffe29d9]
PUSH dword ptr [EDI]
PUSH 0x4
PUSH 0x1
PUSH EAX
CALL 0x00015320
XOR EDX,EDX
PUSH EDX
PUSH ESI
PUSH EBP
PUSH dword ptr [EDI]
CALL 0x00015510
ADD ESP,0x20
LEA EAX,[EBX + 0xfffe29de]
PUSH dword ptr [ESI + 0x40]
PUSH dword ptr [ESI + 0x3c]
PUSH EAX
PUSH dword ptr [EDI]
CALL 0x00015510
ADD ESP,0x10
TEST byte ptr [ESI],0x1
JNZ 0x00042158
MOVSX EAX,byte ptr [ESI + 0x1]
MOV EDX,dword ptr [EDI]
TEST AL,AL
JNZ 0x0004217b
MOVZX EAX,byte ptr [ESI]
TEST AL,0x6
JNZ 0x0004219c
TEST AL,0x8
JNZ 0x000421bd
TEST AL,0x20
JNZ 0x000421de
MOVZX EAX,byte ptr [ESI + 0x2]
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xfffe2a13]
PUSH EAX
PUSH EDX
CALL 0x00015510
MOV EAX,dword ptr [ESI + 0x4]
XOR EDX,EDX
PUSH EDX
PUSH EAX
PUSH EBP
PUSH dword ptr [EDI]
CALL 0x00015510
ADD ESP,0x14
LEA EAX,[EBX + 0xfffe2880]
PUSH dword ptr [ESI + 0x34]
PUSH dword ptr [ESI + 0x14]
PUSH dword ptr [ESI + 0x8]
PUSH EAX
PUSH dword ptr [EDI]
CALL 0x00015510
MOV EBP,dword ptr [ESI + 0x30]
ADD ESP,0x14
PUSH EBP
CALL 0x00015040
PUSH EBP
PUSH EAX
LEA EAX,[EBX + 0xfffe2a26]
PUSH EAX
PUSH dword ptr [EDI]
CALL 0x00015510
MOV EAX,dword ptr [ESI + 0xc]
ADD ESP,0x20
TEST EAX,EAX
JZ 0x00042108
LEA EAX,[EBX + 0xfffe2a33]
PUSH dword ptr [EDI]
PUSH 0x6
PUSH 0x1
PUSH EAX
CALL 0x00015320
POP EAX
POP EDX
PUSH dword ptr [ESI + 0xc]
PUSH dword ptr [EDI]
CALL 0x0003d1b0
POP ECX
POP EBP
PUSH dword ptr [EDI]
PUSH 0x3e
CALL 0x00015710
ADD ESP,0x10
MOV EBP,dword ptr [ESI + 0x10]
MOV EAX,dword ptr [EDI]
TEST EBP,EBP
JZ 0x0004213e
PUSH EAX
LEA EAX,[EBX + 0xfffe2a3a]
PUSH 0x6
PUSH 0x1
PUSH EAX
CALL 0x00015320
POP EAX
POP EDX
PUSH dword ptr [ESI + 0x10]
PUSH dword ptr [EDI]
CALL 0x0003d1b0
POP ECX
POP ESI
PUSH dword ptr [EDI]
PUSH 0x3e
CALL 0x00015710
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
SUB ESP,0x8
PUSH EAX
PUSH 0xa
CALL 0x00015710
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffe29e5]
PUSH dword ptr [EDI]
PUSH 0x6
PUSH 0x1
PUSH EAX
CALL 0x00015320
MOVSX EAX,byte ptr [ESI + 0x1]
ADD ESP,0x10
MOV EDX,dword ptr [EDI]
TEST AL,AL
JZ 0x0004205d
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xfffe29ec]
PUSH EAX
PUSH EDX
CALL 0x00015510
MOVZX EAX,byte ptr [ESI]
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
TEST AL,0x6
JZ 0x00042068
LEA EAX,[EBX + 0xfffe29fd]
PUSH EDX
PUSH 0x8
PUSH 0x1
PUSH EAX
CALL 0x00015320
MOVZX EAX,byte ptr [ESI]
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
TEST AL,0x8
JZ 0x00042070
LEA EAX,[EBX + 0xfffe2a06]
PUSH EDX
PUSH 0x6
PUSH 0x1
PUSH EAX
CALL 0x00015320
MOVZX EAX,byte ptr [ESI]
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
TEST AL,0x20
JZ 0x00042078
LEA EAX,[EBX + 0xfffe2a0d]
PUSH EDX
PUSH 0x5
PUSH 0x1
PUSH EAX
CALL 0x00015320
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
JMP 0x00042078
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00041fe0(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}\n\n" comment (function_definition "void FUN_00041fe0(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}" primitive_type (function_declarator "FUN_00041fe0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "FILE *pFVar5;" type_identifier (pointer_declarator "*pFVar5" * identifier) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (expression_statement "puVar3 = PTR_stderr_00077f2c;" (assignment_expression "puVar3 = PTR_stderr_00077f2c" identifier = identifier) ;) (expression_statement "DAT_00081a8c = 1;" (assignment_expression "DAT_00081a8c = 1" identifier = number_literal) ;) (expression_statement "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);" (call_expression "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" identifier (argument_list "(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" ( (pointer_expression "&DAT_0005a9d9" & identifier) , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00077f2c" * (cast_expression "(FILE **)PTR_stderr_00077f2c" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "fprintf(*(FILE **)puVar3,"%016llx",param_1,0);" (call_expression "fprintf(*(FILE **)puVar3,"%016llx",param_1,0)" identifier (argument_list "(*(FILE **)puVar3,"%016llx",param_1,0)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%016llx"" " string_content ") , identifier , number_literal ))) ;) (expression_statement "pFVar5 = *(FILE **)(param_1 + 0x40);" (assignment_expression "pFVar5 = *(FILE **)(param_1 + 0x40)" identifier = (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);" (call_expression "fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5)" identifier (argument_list "(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" %s:%d"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) , identifier ))) ;) (if_statement "if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((*param_1 & 1) == 0)" ( (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" else (compound_statement "{\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "fwrite(" pcrel",1,6,pFVar5);" (call_expression "fwrite(" pcrel",1,6,pFVar5)" identifier (argument_list "(" pcrel",1,6,pFVar5)" ( (string_literal "" pcrel"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) (if_statement "if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar1 = *param_1;\n  }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" else (compound_statement "{\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);" (call_expression "fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5)" identifier (argument_list "(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5)" ( identifier , (string_literal "" pcrel_adjust=%d"" " string_content ") , (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) , identifier ))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) (if_statement "if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((bVar1 & 6) != 0)" ( (binary_expression "(bVar1 & 6) != 0" (parenthesized_expression "(bVar1 & 6)" ( (binary_expression "bVar1 & 6" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite(" im_disp",1,8,__stream);" (call_expression "fwrite(" im_disp",1,8,__stream)" identifier (argument_list "(" im_disp",1,8,__stream)" ( (string_literal "" im_disp"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((bVar1 & 8) != 0)" ( (binary_expression "(bVar1 & 8) != 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite(" tcbit",1,6,__stream);" (call_expression "fwrite(" tcbit",1,6,__stream)" identifier (argument_list "(" tcbit",1,6,__stream)" ( (string_literal "" tcbit"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((bVar1 & 0x20) != 0)" ( (binary_expression "(bVar1 & 0x20) != 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite(" done",1,5,__stream);" (call_expression "fwrite(" done",1,5,__stream)" identifier (argument_list "(" done",1,5,__stream)" ( (string_literal "" done"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);" (call_expression "fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2])" identifier (argument_list "(__stream,"\n    size=%d frag=",(uint)param_1[2])" ( identifier , (string_literal ""\n    size=%d frag="" " escape_sequence string_content ") , (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);" (call_expression "fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0)" identifier (argument_list "(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%016llx"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));" (call_expression "fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34))" identifier (argument_list "(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34))" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" where=%ld offset=%lx addnumber=%lx"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = bfd_get_reloc_code_name(uVar2);" (assignment_expression "uVar4 = bfd_get_reloc_code_name(uVar2)" identifier = (call_expression "bfd_get_reloc_code_name(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);" (call_expression "fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2)" identifier (argument_list "(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""\n    %s (%d)"" " escape_sequence string_content ") , identifier , identifier ))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }" { (expression_statement "fwrite("\n   +<",1,6,*(FILE **)puVar3);" (call_expression "fwrite("\n   +<",1,6,*(FILE **)puVar3)" identifier (argument_list "("\n   +<",1,6,*(FILE **)puVar3)" ( (string_literal ""\n   +<"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "fputc(0x3e,*(FILE **)puVar3);" (call_expression "fputc(0x3e,*(FILE **)puVar3)" identifier (argument_list "(0x3e,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite("\n   -<",1,6,pFVar5);" (call_expression "fwrite("\n   -<",1,6,pFVar5)" identifier (argument_list "("\n   -<",1,6,pFVar5)" ( (string_literal ""\n   -<"" " escape_sequence string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));" (call_expression "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "fputc(0x3e,*(FILE **)puVar3);" (call_expression "fputc(0x3e,*(FILE **)puVar3)" identifier (argument_list "(0x3e,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "fputc(10,pFVar5);" (call_expression "fputc(10,pFVar5)" identifier (argument_list "(10,pFVar5)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid print_fixup(fixS *fixp)\n\n{\n  char cVar1;\n  byte bVar2;\n  bfd_reloc_code_real_type bVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  FILE *pFVar6;\n  FILE *__stream;\n  \n  puVar4 = PTR_stderr_00077f2c;\n  indent_level = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar4,"%016llx",fixp,0);\n  pFVar6 = (FILE *)fixp->fx_line;\n  fprintf(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6);\n  if ((undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0)\n  {\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  else {\n    pFVar6 = *(FILE **)puVar4;\n    fwrite(" pcrel",1,6,pFVar6);\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  if (cVar1 == '\0') {\n    bVar2 = *(byte *)fixp;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar4;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)fixp->fx_size);\n  fprintf(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0);\n  fprintf(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset\n          ,(int)fixp->fx_addnumber);\n  bVar3 = fixp->fx_r_type;\n  uVar5 = bfd_get_reloc_code_name(bVar3);\n  fprintf(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3);\n  if (fixp->fx_addsy != (symbolS *)0x0) {\n    fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);\n    fputc(0x3e,*(FILE **)puVar4);\n  }\n  pFVar6 = *(FILE **)puVar4;\n  if (fixp->fx_subsy != (symbolS *)0x0) {\n    fwrite("\n   -<",1,6,pFVar6);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);\n    fputc(0x3e,*(FILE **)puVar4);\n    pFVar6 = *(FILE **)puVar4;\n  }\n  fputc(10,pFVar6);\n  return;\n}\n\n" comment comment (function_definition "void print_fixup(fixS *fixp)\n\n{\n  char cVar1;\n  byte bVar2;\n  bfd_reloc_code_real_type bVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  FILE *pFVar6;\n  FILE *__stream;\n  \n  puVar4 = PTR_stderr_00077f2c;\n  indent_level = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar4,"%016llx",fixp,0);\n  pFVar6 = (FILE *)fixp->fx_line;\n  fprintf(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6);\n  if ((undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0)\n  {\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  else {\n    pFVar6 = *(FILE **)puVar4;\n    fwrite(" pcrel",1,6,pFVar6);\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  if (cVar1 == '\0') {\n    bVar2 = *(byte *)fixp;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar4;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)fixp->fx_size);\n  fprintf(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0);\n  fprintf(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset\n          ,(int)fixp->fx_addnumber);\n  bVar3 = fixp->fx_r_type;\n  uVar5 = bfd_get_reloc_code_name(bVar3);\n  fprintf(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3);\n  if (fixp->fx_addsy != (symbolS *)0x0) {\n    fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);\n    fputc(0x3e,*(FILE **)puVar4);\n  }\n  pFVar6 = *(FILE **)puVar4;\n  if (fixp->fx_subsy != (symbolS *)0x0) {\n    fwrite("\n   -<",1,6,pFVar6);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);\n    fputc(0x3e,*(FILE **)puVar4);\n    pFVar6 = *(FILE **)puVar4;\n  }\n  fputc(10,pFVar6);\n  return;\n}" primitive_type (function_declarator "print_fixup(fixS *fixp)" identifier (parameter_list "(fixS *fixp)" ( (parameter_declaration "fixS *fixp" type_identifier (pointer_declarator "*fixp" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  bfd_reloc_code_real_type bVar3;\n  undefined *puVar4;\n  undefined4 uVar5;\n  FILE *pFVar6;\n  FILE *__stream;\n  \n  puVar4 = PTR_stderr_00077f2c;\n  indent_level = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar4,"%016llx",fixp,0);\n  pFVar6 = (FILE *)fixp->fx_line;\n  fprintf(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6);\n  if ((undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0)\n  {\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  else {\n    pFVar6 = *(FILE **)puVar4;\n    fwrite(" pcrel",1,6,pFVar6);\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  if (cVar1 == '\0') {\n    bVar2 = *(byte *)fixp;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }\n  if ((bVar2 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar4;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)fixp->fx_size);\n  fprintf(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0);\n  fprintf(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset\n          ,(int)fixp->fx_addnumber);\n  bVar3 = fixp->fx_r_type;\n  uVar5 = bfd_get_reloc_code_name(bVar3);\n  fprintf(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3);\n  if (fixp->fx_addsy != (symbolS *)0x0) {\n    fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);\n    fputc(0x3e,*(FILE **)puVar4);\n  }\n  pFVar6 = *(FILE **)puVar4;\n  if (fixp->fx_subsy != (symbolS *)0x0) {\n    fwrite("\n   -<",1,6,pFVar6);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);\n    fputc(0x3e,*(FILE **)puVar4);\n    pFVar6 = *(FILE **)puVar4;\n  }\n  fputc(10,pFVar6);\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "bfd_reloc_code_real_type bVar3;" type_identifier identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "FILE *pFVar6;" type_identifier (pointer_declarator "*pFVar6" * identifier) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (expression_statement "puVar4 = PTR_stderr_00077f2c;" (assignment_expression "puVar4 = PTR_stderr_00077f2c" identifier = identifier) ;) (expression_statement "indent_level = 1;" (assignment_expression "indent_level = 1" identifier = number_literal) ;) (expression_statement "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);" (call_expression "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" identifier (argument_list "(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" ( (pointer_expression "&DAT_0005a9d9" & identifier) , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00077f2c" * (cast_expression "(FILE **)PTR_stderr_00077f2c" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "fprintf(*(FILE **)puVar4,"%016llx",fixp,0);" (call_expression "fprintf(*(FILE **)puVar4,"%016llx",fixp,0)" identifier (argument_list "(*(FILE **)puVar4,"%016llx",fixp,0)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%016llx"" " string_content ") , identifier , number_literal ))) ;) (expression_statement "pFVar6 = (FILE *)fixp->fx_line;" (assignment_expression "pFVar6 = (FILE *)fixp->fx_line" identifier = (cast_expression "(FILE *)fixp->fx_line" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "fixp->fx_line" identifier -> field_identifier))) ;) (expression_statement "fprintf(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6);" (call_expression "fprintf(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6)" identifier (argument_list "(*(FILE **)puVar4," %s:%d",fixp->fx_file,pFVar6)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" %s:%d"" " string_content ") , (field_expression "fixp->fx_file" identifier -> field_identifier) , identifier ))) ;) (if_statement "if ((undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0)\n  {\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }\n  else {\n    pFVar6 = *(FILE **)puVar4;\n    fwrite(" pcrel",1,6,pFVar6);\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }" if (parenthesized_expression "((undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0)" ( (binary_expression "(undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1) == (undefined1  [76])0x0" (call_expression "(undefined1  [76])((undefined1  [76])*fixp & (undefined1  [76])0x1)" (parenthesized_expression "(undefined1  [76])" ( (subscript_expression "undefined1  [76]" identifier [ number_literal ]) )) (argument_list "((undefined1  [76])*fixp & (undefined1  [76])0x1)" ( (binary_expression "(undefined1  [76])*fixp & (undefined1  [76])0x1" (binary_expression "(undefined1  [76])*fixp" (parenthesized_expression "(undefined1  [76])" ( (subscript_expression "undefined1  [76]" identifier [ number_literal ]) )) * identifier) & (cast_expression "(undefined1  [76])0x1" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) number_literal)) ))) == (cast_expression "(undefined1  [76])0x0" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) number_literal)) )) (compound_statement "{\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }" { (expression_statement "cVar1 = fixp->fx_pcrel_adjust;" (assignment_expression "cVar1 = fixp->fx_pcrel_adjust" identifier = (field_expression "fixp->fx_pcrel_adjust" identifier -> field_identifier)) ;) (expression_statement "__stream = *(FILE **)puVar4;" (assignment_expression "__stream = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    pFVar6 = *(FILE **)puVar4;\n    fwrite(" pcrel",1,6,pFVar6);\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }" else (compound_statement "{\n    pFVar6 = *(FILE **)puVar4;\n    fwrite(" pcrel",1,6,pFVar6);\n    cVar1 = fixp->fx_pcrel_adjust;\n    __stream = *(FILE **)puVar4;\n  }" { (expression_statement "pFVar6 = *(FILE **)puVar4;" (assignment_expression "pFVar6 = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "fwrite(" pcrel",1,6,pFVar6);" (call_expression "fwrite(" pcrel",1,6,pFVar6)" identifier (argument_list "(" pcrel",1,6,pFVar6)" ( (string_literal "" pcrel"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "cVar1 = fixp->fx_pcrel_adjust;" (assignment_expression "cVar1 = fixp->fx_pcrel_adjust" identifier = (field_expression "fixp->fx_pcrel_adjust" identifier -> field_identifier)) ;) (expression_statement "__stream = *(FILE **)puVar4;" (assignment_expression "__stream = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) (if_statement "if (cVar1 == '\0') {\n    bVar2 = *(byte *)fixp;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar2 = *(byte *)fixp;\n  }" { (expression_statement "bVar2 = *(byte *)fixp;" (assignment_expression "bVar2 = *(byte *)fixp" identifier = (pointer_expression "*(byte *)fixp" * (cast_expression "(byte *)fixp" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) }) (else_clause "else {\n    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" else (compound_statement "{\n    fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" { (expression_statement "fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6);" (call_expression "fprintf(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6)" identifier (argument_list "(__stream," pcrel_adjust=%d",(int)cVar1,pFVar6)" ( identifier , (string_literal "" pcrel_adjust=%d"" " string_content ") , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) ;) (expression_statement "bVar2 = *(byte *)fixp;" (assignment_expression "bVar2 = *(byte *)fixp" identifier = (pointer_expression "*(byte *)fixp" * (cast_expression "(byte *)fixp" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "__stream = *(FILE **)puVar4;" (assignment_expression "__stream = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) (if_statement "if ((bVar2 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" if (parenthesized_expression "((bVar2 & 6) != 0)" ( (binary_expression "(bVar2 & 6) != 0" (parenthesized_expression "(bVar2 & 6)" ( (binary_expression "bVar2 & 6" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" im_disp",1,8,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" { (expression_statement "fwrite(" im_disp",1,8,__stream);" (call_expression "fwrite(" im_disp",1,8,__stream)" identifier (argument_list "(" im_disp",1,8,__stream)" ( (string_literal "" im_disp"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar2 = *(byte *)fixp;" (assignment_expression "bVar2 = *(byte *)fixp" identifier = (pointer_expression "*(byte *)fixp" * (cast_expression "(byte *)fixp" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "__stream = *(FILE **)puVar4;" (assignment_expression "__stream = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if ((bVar2 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" if (parenthesized_expression "((bVar2 & 8) != 0)" ( (binary_expression "(bVar2 & 8) != 0" (parenthesized_expression "(bVar2 & 8)" ( (binary_expression "bVar2 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" tcbit",1,6,__stream);\n    bVar2 = *(byte *)fixp;\n    __stream = *(FILE **)puVar4;\n  }" { (expression_statement "fwrite(" tcbit",1,6,__stream);" (call_expression "fwrite(" tcbit",1,6,__stream)" identifier (argument_list "(" tcbit",1,6,__stream)" ( (string_literal "" tcbit"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar2 = *(byte *)fixp;" (assignment_expression "bVar2 = *(byte *)fixp" identifier = (pointer_expression "*(byte *)fixp" * (cast_expression "(byte *)fixp" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "__stream = *(FILE **)puVar4;" (assignment_expression "__stream = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if ((bVar2 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar4;\n  }" if (parenthesized_expression "((bVar2 & 0x20) != 0)" ( (binary_expression "(bVar2 & 0x20) != 0" (parenthesized_expression "(bVar2 & 0x20)" ( (binary_expression "bVar2 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar4;\n  }" { (expression_statement "fwrite(" done",1,5,__stream);" (call_expression "fwrite(" done",1,5,__stream)" identifier (argument_list "(" done",1,5,__stream)" ( (string_literal "" done"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "__stream = *(FILE **)puVar4;" (assignment_expression "__stream = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "fprintf(__stream,"\n    size=%d frag=",(uint)fixp->fx_size);" (call_expression "fprintf(__stream,"\n    size=%d frag=",(uint)fixp->fx_size)" identifier (argument_list "(__stream,"\n    size=%d frag=",(uint)fixp->fx_size)" ( identifier , (string_literal ""\n    size=%d frag="" " escape_sequence string_content ") , (cast_expression "(uint)fixp->fx_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "fixp->fx_size" identifier -> field_identifier)) ))) ;) (expression_statement "fprintf(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0);" (call_expression "fprintf(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0)" identifier (argument_list "(*(FILE **)puVar4,"%016llx",fixp->fx_frag,0)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%016llx"" " string_content ") , (field_expression "fixp->fx_frag" identifier -> field_identifier) , number_literal ))) ;) (expression_statement "fprintf(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset\n          ,(int)fixp->fx_addnumber);" (call_expression "fprintf(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset\n          ,(int)fixp->fx_addnumber)" identifier (argument_list "(*(FILE **)puVar4," where=%ld offset=%lx addnumber=%lx",fixp->fx_where,(int)fixp->fx_offset\n          ,(int)fixp->fx_addnumber)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" where=%ld offset=%lx addnumber=%lx"" " string_content ") , (field_expression "fixp->fx_where" identifier -> field_identifier) , (cast_expression "(int)fixp->fx_offset" ( (type_descriptor "int" primitive_type) ) (field_expression "fixp->fx_offset" identifier -> field_identifier)) , (cast_expression "(int)fixp->fx_addnumber" ( (type_descriptor "int" primitive_type) ) (field_expression "fixp->fx_addnumber" identifier -> field_identifier)) ))) ;) (expression_statement "bVar3 = fixp->fx_r_type;" (assignment_expression "bVar3 = fixp->fx_r_type" identifier = (field_expression "fixp->fx_r_type" identifier -> field_identifier)) ;) (expression_statement "uVar5 = bfd_get_reloc_code_name(bVar3);" (assignment_expression "uVar5 = bfd_get_reloc_code_name(bVar3)" identifier = (call_expression "bfd_get_reloc_code_name(bVar3)" identifier (argument_list "(bVar3)" ( identifier )))) ;) (expression_statement "fprintf(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3);" (call_expression "fprintf(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3)" identifier (argument_list "(*(FILE **)puVar4,"\n    %s (%d)",uVar5,bVar3)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""\n    %s (%d)"" " escape_sequence string_content ") , identifier , identifier ))) ;) (if_statement "if (fixp->fx_addsy != (symbolS *)0x0) {\n    fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);\n    fputc(0x3e,*(FILE **)puVar4);\n  }" if (parenthesized_expression "(fixp->fx_addsy != (symbolS *)0x0)" ( (binary_expression "fixp->fx_addsy != (symbolS *)0x0" (field_expression "fixp->fx_addsy" identifier -> field_identifier) != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);\n    fputc(0x3e,*(FILE **)puVar4);\n  }" { (expression_statement "fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4);" (call_expression "fwrite(&DAT_0005aa33,1,6,*(FILE **)puVar4)" identifier (argument_list "(&DAT_0005aa33,1,6,*(FILE **)puVar4)" ( (pointer_expression "&DAT_0005aa33" & identifier) , number_literal , number_literal , (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy);" (call_expression "print_symbol_value_1(*(FILE **)puVar4,fixp->fx_addsy)" identifier (argument_list "(*(FILE **)puVar4,fixp->fx_addsy)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (field_expression "fixp->fx_addsy" identifier -> field_identifier) ))) ;) (expression_statement "fputc(0x3e,*(FILE **)puVar4);" (call_expression "fputc(0x3e,*(FILE **)puVar4)" identifier (argument_list "(0x3e,*(FILE **)puVar4)" ( number_literal , (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "pFVar6 = *(FILE **)puVar4;" (assignment_expression "pFVar6 = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (fixp->fx_subsy != (symbolS *)0x0) {\n    fwrite("\n   -<",1,6,pFVar6);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);\n    fputc(0x3e,*(FILE **)puVar4);\n    pFVar6 = *(FILE **)puVar4;\n  }" if (parenthesized_expression "(fixp->fx_subsy != (symbolS *)0x0)" ( (binary_expression "fixp->fx_subsy != (symbolS *)0x0" (field_expression "fixp->fx_subsy" identifier -> field_identifier) != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fwrite("\n   -<",1,6,pFVar6);\n    print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);\n    fputc(0x3e,*(FILE **)puVar4);\n    pFVar6 = *(FILE **)puVar4;\n  }" { (expression_statement "fwrite("\n   -<",1,6,pFVar6);" (call_expression "fwrite("\n   -<",1,6,pFVar6)" identifier (argument_list "("\n   -<",1,6,pFVar6)" ( (string_literal ""\n   -<"" " escape_sequence string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy);" (call_expression "print_symbol_value_1(*(FILE **)puVar4,fixp->fx_subsy)" identifier (argument_list "(*(FILE **)puVar4,fixp->fx_subsy)" ( (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (field_expression "fixp->fx_subsy" identifier -> field_identifier) ))) ;) (expression_statement "fputc(0x3e,*(FILE **)puVar4);" (call_expression "fputc(0x3e,*(FILE **)puVar4)" identifier (argument_list "(0x3e,*(FILE **)puVar4)" ( number_literal , (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "pFVar6 = *(FILE **)puVar4;" (assignment_expression "pFVar6 = *(FILE **)puVar4" identifier = (pointer_expression "*(FILE **)puVar4" * (cast_expression "(FILE **)puVar4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "fputc(10,pFVar6);" (call_expression "fputc(10,pFVar6)" identifier (argument_list "(10,pFVar6)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00041fe0(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}\n\n" (function_definition "void FUN_00041fe0(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}" primitive_type (function_declarator "FUN_00041fe0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "FILE *pFVar5;" type_identifier (pointer_declarator "*pFVar5" * identifier) ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (expression_statement "puVar3 = PTR_stderr_00077f2c;" (assignment_expression "puVar3 = PTR_stderr_00077f2c" identifier = identifier) ;) (expression_statement "DAT_00081a8c = 1;" (assignment_expression "DAT_00081a8c = 1" identifier = number_literal) ;) (expression_statement "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);" (call_expression "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" identifier (argument_list "(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" ( (pointer_expression "&DAT_0005a9d9" & identifier) , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00077f2c" * (cast_expression "(FILE **)PTR_stderr_00077f2c" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "fprintf(*(FILE **)puVar3,"%016llx",param_1,0);" (call_expression "fprintf(*(FILE **)puVar3,"%016llx",param_1,0)" identifier (argument_list "(*(FILE **)puVar3,"%016llx",param_1,0)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%016llx"" " string_content ") , identifier , number_literal ))) ;) (expression_statement "pFVar5 = *(FILE **)(param_1 + 0x40);" (assignment_expression "pFVar5 = *(FILE **)(param_1 + 0x40)" identifier = (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);" (call_expression "fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5)" identifier (argument_list "(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" %s:%d"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) , identifier ))) ;) (if_statement "if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((*param_1 & 1) == 0)" ( (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }) (else_clause "else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" else (compound_statement "{\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "fwrite(" pcrel",1,6,pFVar5);" (call_expression "fwrite(" pcrel",1,6,pFVar5)" identifier (argument_list "(" pcrel",1,6,pFVar5)" ( (string_literal "" pcrel"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) (if_statement "if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    bVar1 = *param_1;\n  }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) }) (else_clause "else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" else (compound_statement "{\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);" (call_expression "fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5)" identifier (argument_list "(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5)" ( identifier , (string_literal "" pcrel_adjust=%d"" " string_content ") , (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) , identifier ))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) }))) (if_statement "if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((bVar1 & 6) != 0)" ( (binary_expression "(bVar1 & 6) != 0" (parenthesized_expression "(bVar1 & 6)" ( (binary_expression "bVar1 & 6" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite(" im_disp",1,8,__stream);" (call_expression "fwrite(" im_disp",1,8,__stream)" identifier (argument_list "(" im_disp",1,8,__stream)" ( (string_literal "" im_disp"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((bVar1 & 8) != 0)" ( (binary_expression "(bVar1 & 8) != 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite(" tcbit",1,6,__stream);" (call_expression "fwrite(" tcbit",1,6,__stream)" identifier (argument_list "(" tcbit",1,6,__stream)" ( (string_literal "" tcbit"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (if_statement "if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }" if (parenthesized_expression "((bVar1 & 0x20) != 0)" ( (binary_expression "(bVar1 & 0x20) != 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite(" done",1,5,__stream);" (call_expression "fwrite(" done",1,5,__stream)" identifier (argument_list "(" done",1,5,__stream)" ( (string_literal "" done"" " string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);" (call_expression "fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2])" identifier (argument_list "(__stream,"\n    size=%d frag=",(uint)param_1[2])" ( identifier , (string_literal ""\n    size=%d frag="" " escape_sequence string_content ") , (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);" (call_expression "fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0)" identifier (argument_list "(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%016llx"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));" (call_expression "fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34))" identifier (argument_list "(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34))" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal "" where=%ld offset=%lx addnumber=%lx"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) )))) ))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = bfd_get_reloc_code_name(uVar2);" (assignment_expression "uVar4 = bfd_get_reloc_code_name(uVar2)" identifier = (call_expression "bfd_get_reloc_code_name(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);" (call_expression "fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2)" identifier (argument_list "(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2)" ( (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""\n    %s (%d)"" " escape_sequence string_content ") , identifier , identifier ))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }" { (expression_statement "fwrite("\n   +<",1,6,*(FILE **)puVar3);" (call_expression "fwrite("\n   +<",1,6,*(FILE **)puVar3)" identifier (argument_list "("\n   +<",1,6,*(FILE **)puVar3)" ( (string_literal ""\n   +<"" " escape_sequence string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc))" identifier (argument_list "(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc))" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (expression_statement "fputc(0x3e,*(FILE **)puVar3);" (call_expression "fputc(0x3e,*(FILE **)puVar3)" identifier (argument_list "(0x3e,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }" { (expression_statement "fwrite("\n   -<",1,6,pFVar5);" (call_expression "fwrite("\n   -<",1,6,pFVar5)" identifier (argument_list "("\n   -<",1,6,pFVar5)" ( (string_literal ""\n   -<"" " escape_sequence string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));" (call_expression "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "fputc(0x3e,*(FILE **)puVar3);" (call_expression "fputc(0x3e,*(FILE **)puVar3)" identifier (argument_list "(0x3e,*(FILE **)puVar3)" ( number_literal , (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" identifier = (pointer_expression "*(FILE **)puVar3" * (cast_expression "(FILE **)puVar3" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "fputc(10,pFVar5);" (call_expression "fputc(10,pFVar5)" identifier (argument_list "(10,pFVar5)" ( number_literal , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content ") , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , 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 * (abstract_pointer_declarator *))) ) IDENT))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence string_content ") , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " escape_sequence string_content ") , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence string_content ") , LIT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00041fe0(byte *param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00041fe0(byte *param_1)" (identifier "FUN_00041fe0") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  undefined *puVar3;\n  undefined4 uVar4;\n  FILE *pFVar5;\n  FILE *__stream;\n  \n  puVar3 = PTR_stderr_00077f2c;\n  DAT_00081a8c = 1;\n  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);\n  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);\n  pFVar5 = *(FILE **)(param_1 + 0x40);\n  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);\n  if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }\n  if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }\n  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);\n  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);\n  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));\n  uVar2 = *(undefined4 *)(param_1 + 0x30);\n  uVar4 = bfd_get_reloc_code_name(uVar2);\n  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }\n  pFVar5 = *(FILE **)puVar3;\n  if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }\n  fputc(10,pFVar5);\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "FILE *pFVar5;" (type_identifier "FILE") (pointer_declarator "*pFVar5" (* "*") (identifier "pFVar5")) (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (expression_statement "puVar3 = PTR_stderr_00077f2c;" (assignment_expression "puVar3 = PTR_stderr_00077f2c" (identifier "puVar3") (= "=") (identifier "PTR_stderr_00077f2c")) (; ";")) (expression_statement "DAT_00081a8c = 1;" (assignment_expression "DAT_00081a8c = 1" (identifier "DAT_00081a8c") (= "=") (number_literal "1")) (; ";")) (expression_statement "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);" (call_expression "fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" (identifier "fwrite") (argument_list "(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c)" (( "(") (pointer_expression "&DAT_0005a9d9" (& "&") (identifier "DAT_0005a9d9")) (, ",") (number_literal "1") (, ",") (number_literal "4") (, ",") (pointer_expression "*(FILE **)PTR_stderr_00077f2c" (* "*") (cast_expression "(FILE **)PTR_stderr_00077f2c" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_00077f2c"))) () ")"))) (; ";")) (expression_statement "fprintf(*(FILE **)puVar3,"%016llx",param_1,0);" (call_expression "fprintf(*(FILE **)puVar3,"%016llx",param_1,0)" (identifier "fprintf") (argument_list "(*(FILE **)puVar3,"%016llx",param_1,0)" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) (, ",") (string_literal ""%016llx"" (" """) (string_content "%016llx") (" """)) (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "pFVar5 = *(FILE **)(param_1 + 0x40);" (assignment_expression "pFVar5 = *(FILE **)(param_1 + 0x40)" (identifier "pFVar5") (= "=") (pointer_expression "*(FILE **)(param_1 + 0x40)" (* "*") (cast_expression "(FILE **)(param_1 + 0x40)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);" (call_expression "fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5)" (identifier "fprintf") (argument_list "(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5)" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) (, ",") (string_literal "" %s:%d"" (" """) (string_content " %s:%d") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (, ",") (identifier "pFVar5") () ")"))) (; ";")) (if_statement "if ((*param_1 & 1) == 0) {\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }\n  else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) == 0)" (( "(") (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" (identifier "bVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}")) (else_clause "else {\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" (else "else") (compound_statement "{\n    pFVar5 = *(FILE **)puVar3;\n    fwrite(" pcrel",1,6,pFVar5);\n    bVar1 = param_1[1];\n    __stream = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" (identifier "pFVar5") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (expression_statement "fwrite(" pcrel",1,6,pFVar5);" (call_expression "fwrite(" pcrel",1,6,pFVar5)" (identifier "fwrite") (argument_list "(" pcrel",1,6,pFVar5)" (( "(") (string_literal "" pcrel"" (" """) (string_content " pcrel") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (identifier "pFVar5") () ")"))) (; ";")) (expression_statement "bVar1 = param_1[1];" (assignment_expression "bVar1 = param_1[1]" (identifier "bVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}")))) (if_statement "if (bVar1 == 0) {\n    bVar1 = *param_1;\n  }\n  else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" (if "if") (parenthesized_expression "(bVar1 == 0)" (( "(") (binary_expression "bVar1 == 0" (identifier "bVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    bVar1 = *param_1;\n  }" ({ "{") (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}")) (else_clause "else {\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" (else "else") (compound_statement "{\n    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);" (call_expression "fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5)" (identifier "fprintf") (argument_list "(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5)" (( "(") (identifier "__stream") (, ",") (string_literal "" pcrel_adjust=%d"" (" """) (string_content " pcrel_adjust=%d") (" """)) (, ",") (cast_expression "(int)(char)bVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1"))) (, ",") (identifier "pFVar5") () ")"))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}")))) (if_statement "if ((bVar1 & 6) != 0) {\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" (if "if") (parenthesized_expression "((bVar1 & 6) != 0)" (( "(") (binary_expression "(bVar1 & 6) != 0" (parenthesized_expression "(bVar1 & 6)" (( "(") (binary_expression "bVar1 & 6" (identifier "bVar1") (& "&") (number_literal "6")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite(" im_disp",1,8,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "fwrite(" im_disp",1,8,__stream);" (call_expression "fwrite(" im_disp",1,8,__stream)" (identifier "fwrite") (argument_list "(" im_disp",1,8,__stream)" (( "(") (string_literal "" im_disp"" (" """) (string_content " im_disp") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "8") (, ",") (identifier "__stream") () ")"))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}"))) (if_statement "if ((bVar1 & 8) != 0) {\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" (if "if") (parenthesized_expression "((bVar1 & 8) != 0)" (( "(") (binary_expression "(bVar1 & 8) != 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite(" tcbit",1,6,__stream);\n    bVar1 = *param_1;\n    __stream = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "fwrite(" tcbit",1,6,__stream);" (call_expression "fwrite(" tcbit",1,6,__stream)" (identifier "fwrite") (argument_list "(" tcbit",1,6,__stream)" (( "(") (string_literal "" tcbit"" (" """) (string_content " tcbit") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (identifier "__stream") () ")"))) (; ";")) (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}"))) (if_statement "if ((bVar1 & 0x20) != 0) {\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }" (if "if") (parenthesized_expression "((bVar1 & 0x20) != 0)" (( "(") (binary_expression "(bVar1 & 0x20) != 0" (parenthesized_expression "(bVar1 & 0x20)" (( "(") (binary_expression "bVar1 & 0x20" (identifier "bVar1") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite(" done",1,5,__stream);\n    __stream = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "fwrite(" done",1,5,__stream);" (call_expression "fwrite(" done",1,5,__stream)" (identifier "fwrite") (argument_list "(" done",1,5,__stream)" (( "(") (string_literal "" done"" (" """) (string_content " done") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "5") (, ",") (identifier "__stream") () ")"))) (; ";")) (expression_statement "__stream = *(FILE **)puVar3;" (assignment_expression "__stream = *(FILE **)puVar3" (identifier "__stream") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}"))) (expression_statement "fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);" (call_expression "fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2])" (identifier "fprintf") (argument_list "(__stream,"\n    size=%d frag=",(uint)param_1[2])" (( "(") (identifier "__stream") (, ",") (string_literal ""\n    size=%d frag="" (" """) (escape_sequence "\n") (string_content "    size=%d frag=") (" """)) (, ",") (cast_expression "(uint)param_1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);" (call_expression "fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0)" (identifier "fprintf") (argument_list "(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0)" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) (, ",") (string_literal ""%016llx"" (" """) (string_content "%016llx") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));" (call_expression "fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34))" (identifier "fprintf") (argument_list "(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),\n          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34))" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) (, ",") (string_literal "" where=%ld offset=%lx addnumber=%lx"" (" """) (string_content " where=%ld offset=%lx addnumber=%lx") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")")))) () ")"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x30)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar4 = bfd_get_reloc_code_name(uVar2);" (assignment_expression "uVar4 = bfd_get_reloc_code_name(uVar2)" (identifier "uVar4") (= "=") (call_expression "bfd_get_reloc_code_name(uVar2)" (identifier "bfd_get_reloc_code_name") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);" (call_expression "fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2)" (identifier "fprintf") (argument_list "(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2)" (( "(") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) (, ",") (string_literal ""\n    %s (%d)"" (" """) (escape_sequence "\n") (string_content "    %s (%d)") (" """)) (, ",") (identifier "uVar4") (, ",") (identifier "uVar2") () ")"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite("\n   +<",1,6,*(FILE **)puVar3);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));\n    fputc(0x3e,*(FILE **)puVar3);\n  }" ({ "{") (expression_statement "fwrite("\n   +<",1,6,*(FILE **)puVar3);" (call_expression "fwrite("\n   +<",1,6,*(FILE **)puVar3)" (identifier "fwrite") (argument_list "("\n   +<",1,6,*(FILE **)puVar3)" (( "(") (string_literal ""\n   +<"" (" """) (escape_sequence "\n") (string_content "   +<") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));" (call_expression "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc))" (identifier "FUN_0003d1b0") (argument_list "(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc))" (( "(") (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (expression_statement "fputc(0x3e,*(FILE **)puVar3);" (call_expression "fputc(0x3e,*(FILE **)puVar3)" (identifier "fputc") (argument_list "(0x3e,*(FILE **)puVar3)" (( "(") (number_literal "0x3e") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (} "}"))) (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" (identifier "pFVar5") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite("\n   -<",1,6,pFVar5);\n    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));\n    fputc(0x3e,*(FILE **)puVar3);\n    pFVar5 = *(FILE **)puVar3;\n  }" ({ "{") (expression_statement "fwrite("\n   -<",1,6,pFVar5);" (call_expression "fwrite("\n   -<",1,6,pFVar5)" (identifier "fwrite") (argument_list "("\n   -<",1,6,pFVar5)" (( "(") (string_literal ""\n   -<"" (" """) (escape_sequence "\n") (string_content "   -<") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "6") (, ",") (identifier "pFVar5") () ")"))) (; ";")) (expression_statement "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));" (call_expression "FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10))" (identifier "FUN_0003d1b0") (argument_list "(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "fputc(0x3e,*(FILE **)puVar3);" (call_expression "fputc(0x3e,*(FILE **)puVar3)" (identifier "fputc") (argument_list "(0x3e,*(FILE **)puVar3)" (( "(") (number_literal "0x3e") (, ",") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3"))) () ")"))) (; ";")) (expression_statement "pFVar5 = *(FILE **)puVar3;" (assignment_expression "pFVar5 = *(FILE **)puVar3" (identifier "pFVar5") (= "=") (pointer_expression "*(FILE **)puVar3" (* "*") (cast_expression "(FILE **)puVar3" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar3")))) (; ";")) (} "}"))) (expression_statement "fputc(10,pFVar5);" (call_expression "fputc(10,pFVar5)" (identifier "fputc") (argument_list "(10,pFVar5)" (( "(") (number_literal "10") (, ",") (identifier "pFVar5") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_3)

{
  char var_4;
  type_2 var_5;
  type_3 bVar3;
  type_4 *puVar4;
  type_5 uVar5;
  type_6 *pFVar6;
  type_6 *__stream;
  
  puVar4 = PTR_stderr_00077f2c;
  indent_level = 1;
  var_1(&DAT_0005a9d9,1,4,*(type_6 **)PTR_stderr_00077f2c);
  var_2(*(type_6 **)puVar4,"%016llx",var_3,0);
  pFVar6 = (type_6 *)var_3->fx_line;
  var_2(*(type_6 **)puVar4," %s:%d",var_3->fx_file,pFVar6);
  if ((type_7  [76])((type_7  [76])*var_3 & (type_7  [76])0x1) == (type_7  [76])0x0)
  {
    var_4 = var_3->fx_pcrel_adjust;
    __stream = *(type_6 **)puVar4;
  }
  else {
    pFVar6 = *(type_6 **)puVar4;
    var_1(" pcrel",1,6,pFVar6);
    var_4 = var_3->fx_pcrel_adjust;
    __stream = *(type_6 **)puVar4;
  }
  if (var_4 == '\0') {
    var_5 = *(type_2 *)var_3;
  }
  else {
    var_2(__stream," pcrel_adjust=%d",(int)var_4,pFVar6);
    var_5 = *(type_2 *)var_3;
    __stream = *(type_6 **)puVar4;
  }
  if ((var_5 & 6) != 0) {
    var_1(" im_disp",1,8,__stream);
    var_5 = *(type_2 *)var_3;
    __stream = *(type_6 **)puVar4;
  }
  if ((var_5 & 8) != 0) {
    var_1(" tcbit",1,6,__stream);
    var_5 = *(type_2 *)var_3;
    __stream = *(type_6 **)puVar4;
  }
  if ((var_5 & 0x20) != 0) {
    var_1(" done",1,5,__stream);
    __stream = *(type_6 **)puVar4;
  }
  var_2(__stream,"\n    size=%d frag=",(type_8)var_3->fx_size);
  var_2(*(type_6 **)puVar4,"%016llx",var_3->fx_frag,0);
  var_2(*(type_6 **)puVar4," where=%ld offset=%lx addnumber=%lx",var_3->fx_where,(int)var_3->fx_offset
          ,(int)var_3->fx_addnumber);
  bVar3 = var_3->fx_r_type;
  uVar5 = var_6(bVar3);
  var_2(*(type_6 **)puVar4,"\n    %s (%d)",uVar5,bVar3);
  if (var_3->fx_addsy != (type_9 *)0x0) {
    var_1(&DAT_0005aa33,1,6,*(type_6 **)puVar4);
    var_7(*(type_6 **)puVar4,var_3->fx_addsy);
    var_8(0x3e,*(type_6 **)puVar4);
  }
  pFVar6 = *(type_6 **)puVar4;
  if (var_3->fx_subsy != (type_9 *)0x0) {
    var_1("\n   -<",1,6,pFVar6);
    var_7(*(type_6 **)puVar4,var_3->fx_subsy);
    var_8(0x3e,*(type_6 **)puVar4);
    pFVar6 = *(type_6 **)puVar4;
  }
  var_8(10,pFVar6);
  return;
}


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

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

void MASKED(byte *param_1)

{
  byte bVar1;
  undefined4 uVar2;
  undefined *puVar3;
  undefined4 uVar4;
  FILE *pFVar5;
  FILE *__stream;
  
  puVar3 = PTR_stderr_00077f2c;
  DAT_00081a8c = 1;
  fwrite(&DAT_0005a9d9,1,4,*(FILE **)PTR_stderr_00077f2c);
  fprintf(*(FILE **)puVar3,"%016llx",param_1,0);
  pFVar5 = *(FILE **)(param_1 + 0x40);
  fprintf(*(FILE **)puVar3," %s:%d",*(undefined4 *)(param_1 + 0x3c),pFVar5);
  if ((*param_1 & 1) == 0) {
    bVar1 = param_1[1];
    __stream = *(FILE **)puVar3;
  }
  else {
    pFVar5 = *(FILE **)puVar3;
    fwrite(" pcrel",1,6,pFVar5);
    bVar1 = param_1[1];
    __stream = *(FILE **)puVar3;
  }
  if (bVar1 == 0) {
    bVar1 = *param_1;
  }
  else {
    fprintf(__stream," pcrel_adjust=%d",(int)(char)bVar1,pFVar5);
    bVar1 = *param_1;
    __stream = *(FILE **)puVar3;
  }
  if ((bVar1 & 6) != 0) {
    fwrite(" im_disp",1,8,__stream);
    bVar1 = *param_1;
    __stream = *(FILE **)puVar3;
  }
  if ((bVar1 & 8) != 0) {
    fwrite(" tcbit",1,6,__stream);
    bVar1 = *param_1;
    __stream = *(FILE **)puVar3;
  }
  if ((bVar1 & 0x20) != 0) {
    fwrite(" done",1,5,__stream);
    __stream = *(FILE **)puVar3;
  }
  fprintf(__stream,"\n    size=%d frag=",(uint)param_1[2]);
  fprintf(*(FILE **)puVar3,"%016llx",*(undefined4 *)(param_1 + 4),0);
  fprintf(*(FILE **)puVar3," where=%ld offset=%lx addnumber=%lx",*(undefined4 *)(param_1 + 8),
          *(undefined4 *)(param_1 + 0x14),*(undefined4 *)(param_1 + 0x34));
  uVar2 = *(undefined4 *)(param_1 + 0x30);
  uVar4 = bfd_get_reloc_code_name(uVar2);
  fprintf(*(FILE **)puVar3,"\n    %s (%d)",uVar4,uVar2);
  if (*(int *)(param_1 + 0xc) != 0) {
    fwrite("\n   +<",1,6,*(FILE **)puVar3);
    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0xc));
    fputc(0x3e,*(FILE **)puVar3);
  }
  pFVar5 = *(FILE **)puVar3;
  if (*(int *)(param_1 + 0x10) != 0) {
    fwrite("\n   -<",1,6,pFVar5);
    FUN_0003d1b0(*(undefined4 *)puVar3,*(undefined4 *)(param_1 + 0x10));
    fputc(0x3e,*(FILE **)puVar3);
    pFVar5 = *(FILE **)puVar3;
  }
  fputc(10,pFVar5);
  return;
}

