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

void __regparm3 do_org(segT segment,expressionS *exp,int fill)

{
  undefined *puVar1;
  char *pcVar2;
  char *pcVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char local_28;
  symbolS *local_24;
  
  puVar1 = PTR__bfd_std_section_0007ffb0;
  if (((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&
     (expr_section != segment)) {
    pcVar3 = segment->name;
    pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);
    as_bad(pcVar2,pcVar3);
  }
  if (now_seg != (segT)(puVar1 + 0x180)) {
    local_24 = exp->X_add_symbol;
    uVar5 = (undefined4)exp->X_add_number;
    uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);
    if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {
      pcVar3 = now_seg->name;
      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);
      as_warn(pcVar2,pcVar3);
    }
    if (1 < (byte)(exp->field_0x10 - 2)) {
      uVar5 = 0;
      uVar4 = 0;
      local_24 = make_expr_symbol(exp);
    }
    pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);
    local_28 = (char)fill;
    *pcVar3 = local_28;
    return;
  }
  if (fill != 0) {
    pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);
    as_warn(pcVar3);
  }
  if (exp->field_0x10 == '\x02') {
    uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);
    abs_section_offset._0_4_ = (undefined4)exp->X_add_number;
  }
  else {
    uVar5 = 0;
    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);
    as_bad(pcVar3);
    *(undefined4 *)&exp->X_add_number = 0;
    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;
    abs_section_offset._0_4_ = 0;
  }
  abs_section_offset._4_4_ = uVar5;
  return;
}



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

void __regparm3 FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)

{
  undefined4 uVar1;
  undefined *puVar2;
  undefined4 uVar3;
  undefined1 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined1 local_28;
  undefined4 local_24;
  
  puVar2 = PTR__bfd_std_section_0007ffb0;
  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&
      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {
    uVar6 = *param_1;
    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);
    FUN_0002bd60(uVar3,uVar6);
  }
  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {
    local_24 = *param_2;
    uVar6 = param_2[2];
    uVar3 = param_2[3];
    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {
      uVar1 = *DAT_0008973c;
      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);
      FUN_0002bc80(uVar5,uVar1);
    }
    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {
      uVar6 = 0;
      uVar3 = 0;
      local_24 = FUN_00021220(param_2);
    }
    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);
    local_28 = (undefined1)param_3;
    *puVar4 = local_28;
    return;
  }
  if (param_3 != 0) {
    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);
    FUN_0002bc80(uVar6);
  }
  if (*(char *)(param_2 + 4) == '\x02') {
    uVar6 = param_2[3];
    DAT_00089970 = param_2[2];
  }
  else {
    uVar6 = 0;
    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);
    FUN_0002bd60(uVar3);
    param_2[2] = 0;
    param_2[3] = 0;
    DAT_00089970 = 0;
  }
  DAT_00089974 = uVar6;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00016000
ADD EBX,0x53595
SUB ESP,0x1c
MOV dword ptr [ESP + 0x4],ECX
MOV EDI,dword ptr [EBX + 0xffffffb0]
LEA EBP,[EBX + 0x973c]
LEA ECX,[EDI + 0x180]
MOV EDX,dword ptr [EBP]
CMP EAX,ECX
JZ 0x0002cacb
CMP EDX,EAX
JZ 0x0002cacb
LEA ECX,[EBX + 0x9720]
CMP dword ptr [ECX],EAX
JZ 0x0002cacb
MOV EDX,dword ptr [EAX]
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe02b5]
MOV dword ptr [ESP + 0xc],EDX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
POP EDX
POP ECX
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
PUSH EAX
CALL 0x0002bd60
MOV EDX,dword ptr [EBP]
ADD ESP,0x10
LEA EAX,[EDI + 0x180]
CMP EDX,EAX
JZ 0x0002cb50
MOV EAX,dword ptr [ESI]
MOV EDI,dword ptr [ESI + 0x8]
MOV EBP,dword ptr [ESI + 0xc]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JZ 0x0002cafa
MOV EAX,dword ptr [EDX + 0x14]
AND EAX,0x103
CMP EAX,0x1
JZ 0x0002cbb8
MOVZX EAX,byte ptr [ESI + 0x10]
SUB EAX,0x2
CMP AL,0x1
JA 0x0002cb30
PUSH 0x0
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x14]
PUSH 0x0
PUSH 0x1
PUSH 0x1
PUSH 0x5
CALL 0x00024b60
MOVZX ECX,byte ptr [ESP + 0x24]
ADD ESP,0x20
MOV byte ptr [EAX],CL
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
XOR EDI,EDI
XOR EBP,EBP
PUSH ESI
CALL 0x00021220
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
JMP 0x0002cb05
MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JNZ 0x0002cbf0
CMP byte ptr [ESI + 0x10],0x2
JNZ 0x0002cb80
MOV EDI,dword ptr [ESI + 0xc]
MOV ESI,dword ptr [ESI + 0x8]
LEA EAX,[EBX + 0x9970]
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdf650]
XOR EDI,EDI
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bd60
MOV dword ptr [ESI + 0x8],0x0
ADD ESP,0x10
MOV dword ptr [ESI + 0xc],0x0
XOR ESI,ESI
JMP 0x0002cb68
MOV EDX,dword ptr [EDX]
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdf684]
MOV dword ptr [ESP + 0x10],EDX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
POP EDX
POP ECX
MOV EDX,dword ptr [ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x0002bc80
ADD ESP,0x10
JMP 0x0002cafa
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdf628]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bc80
ADD ESP,0x10
JMP 0x0002cb5c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined1 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (expression_statement "puVar2 = PTR__bfd_std_section_0007ffb0;" (assignment_expression "puVar2 = PTR__bfd_std_section_0007ffb0" identifier = identifier) ;) (if_statement "if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }" if (parenthesized_expression "(((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1))" ( (binary_expression "((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)" (parenthesized_expression "((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1))" ( (binary_expression "(param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)" (parenthesized_expression "(param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180))" ( (binary_expression "param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0007ffb0 + 0x180)" ( (binary_expression "PTR__bfd_std_section_0007ffb0 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(DAT_0008973c != param_1)" ( (binary_expression "DAT_0008973c != param_1" identifier != identifier) ))) )) && (parenthesized_expression "(DAT_00089720 != param_1)" ( (binary_expression "DAT_00089720 != param_1" identifier != identifier) ))) )) (compound_statement "{\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }" { (expression_statement "uVar6 = *param_1;" (assignment_expression "uVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = dcgettext(0,"invalid segment \"%s\"",5);" (assignment_expression "uVar3 = dcgettext(0,"invalid segment \"%s\"",5)" identifier = (call_expression "dcgettext(0,"invalid segment \"%s\"",5)" identifier (argument_list "(0,"invalid segment \"%s\"",5)" ( number_literal , (string_literal ""invalid segment \"%s\""" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar3,uVar6);" (call_expression "FUN_0002bd60(uVar3,uVar6)" identifier (argument_list "(uVar3,uVar6)" ( identifier , identifier ))) ;) })) (if_statement "if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }" if (parenthesized_expression "(DAT_0008973c != (undefined4 *)(puVar2 + 0x180))" ( (binary_expression "DAT_0008973c != (undefined4 *)(puVar2 + 0x180)" identifier != (cast_expression "(undefined4 *)(puVar2 + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x180)" ( (binary_expression "puVar2 + 0x180" identifier + number_literal) )))) )) (compound_statement "{\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }" { (expression_statement "local_24 = *param_2;" (assignment_expression "local_24 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = param_2[2];" (assignment_expression "uVar6 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_2[3];" (assignment_expression "uVar3 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (if_statement "if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }" if (parenthesized_expression "((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1))" ( (binary_expression "(param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "((DAT_0008973c[5] & 0x103) == 1)" ( (binary_expression "(DAT_0008973c[5] & 0x103) == 1" (parenthesized_expression "(DAT_0008973c[5] & 0x103)" ( (binary_expression "DAT_0008973c[5] & 0x103" (subscript_expression "DAT_0008973c[5]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }" { (expression_statement "uVar1 = *DAT_0008973c;" (assignment_expression "uVar1 = *DAT_0008973c" identifier = (pointer_expression "*DAT_0008973c" * identifier)) ;) (expression_statement "uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);" (assignment_expression "uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5)" identifier = (call_expression "dcgettext(0,"ignoring fill value in section `%s\'",5)" identifier (argument_list "(0,"ignoring fill value in section `%s\'",5)" ( number_literal , (string_literal ""ignoring fill value in section `%s\'"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_0002bc80(uVar5,uVar1);" (call_expression "FUN_0002bc80(uVar5,uVar1)" identifier (argument_list "(uVar5,uVar1)" ( identifier , identifier ))) ;) })) (if_statement "if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }" if (parenthesized_expression "(1 < (byte)(*(char *)(param_2 + 4) - 2U))" ( (binary_expression "1 < (byte)(*(char *)(param_2 + 4) - 2U)" number_literal < (call_expression "(byte)(*(char *)(param_2 + 4) - 2U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(param_2 + 4) - 2U)" ( (binary_expression "*(char *)(param_2 + 4) - 2U" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) - number_literal) )))) )) (compound_statement "{\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "local_24 = FUN_00021220(param_2);" (assignment_expression "local_24 = FUN_00021220(param_2)" identifier = (call_expression "FUN_00021220(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) })) (expression_statement "puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);" (assignment_expression "puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" identifier = (cast_expression "(undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" identifier (argument_list "(5,1,1,0,local_24,uVar6,uVar3,0)" ( number_literal , number_literal , number_literal , number_literal , identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "local_28 = (undefined1)param_3;" (assignment_expression "local_28 = (undefined1)param_3" identifier = (cast_expression "(undefined1)param_3" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "*puVar4 = local_28;" (assignment_expression "*puVar4 = local_28" (pointer_expression "*puVar4" * identifier) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }" { (expression_statement "uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);" (assignment_expression "uVar6 = dcgettext(0,"ignoring fill value in absolute section",5)" identifier = (call_expression "dcgettext(0,"ignoring fill value in absolute section",5)" identifier (argument_list "(0,"ignoring fill value in absolute section",5)" ( number_literal , (string_literal ""ignoring fill value in absolute section"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bc80(uVar6);" (call_expression "FUN_0002bc80(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) })) (if_statement "if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 4) == '\x02')" ( (binary_expression "*(char *)(param_2 + 4) == '\x02'" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }" { (expression_statement "uVar6 = param_2[3];" (assignment_expression "uVar6 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089970 = param_2[2];" (assignment_expression "DAT_00089970 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" else (compound_statement "{\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);" (assignment_expression "uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5)" identifier = (call_expression "dcgettext(0,"only constant offsets supported in absolute section",5)" identifier (argument_list "(0,"only constant offsets supported in absolute section",5)" ( number_literal , (string_literal ""only constant offsets supported in absolute section"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar3);" (call_expression "FUN_0002bd60(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "DAT_00089970 = 0;" (assignment_expression "DAT_00089970 = 0" identifier = number_literal) ;) }))) (expression_statement "DAT_00089974 = uVar6;" (assignment_expression "DAT_00089974 = uVar6" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 do_org(segT segment,expressionS *exp,int fill)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char local_28;\n  symbolS *local_24;\n  \n  puVar1 = PTR__bfd_std_section_0007ffb0;\n  if (((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&\n     (expr_section != segment)) {\n    pcVar3 = segment->name;\n    pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);\n    as_bad(pcVar2,pcVar3);\n  }\n  if (now_seg != (segT)(puVar1 + 0x180)) {\n    local_24 = exp->X_add_symbol;\n    uVar5 = (undefined4)exp->X_add_number;\n    uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }\n    if (1 < (byte)(exp->field_0x10 - 2)) {\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }\n    pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);\n    local_28 = (char)fill;\n    *pcVar3 = local_28;\n    return;\n  }\n  if (fill != 0) {\n    pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);\n    as_warn(pcVar3);\n  }\n  if (exp->field_0x10 == '\x02') {\n    uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    abs_section_offset._0_4_ = (undefined4)exp->X_add_number;\n  }\n  else {\n    uVar5 = 0;\n    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);\n    as_bad(pcVar3);\n    *(undefined4 *)&exp->X_add_number = 0;\n    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;\n    abs_section_offset._0_4_ = 0;\n  }\n  abs_section_offset._4_4_ = uVar5;\n  return;\n}\n\n" comment (function_definition "void __regparm3 do_org(segT segment,expressionS *exp,int fill)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char local_28;\n  symbolS *local_24;\n  \n  puVar1 = PTR__bfd_std_section_0007ffb0;\n  if (((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&\n     (expr_section != segment)) {\n    pcVar3 = segment->name;\n    pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);\n    as_bad(pcVar2,pcVar3);\n  }\n  if (now_seg != (segT)(puVar1 + 0x180)) {\n    local_24 = exp->X_add_symbol;\n    uVar5 = (undefined4)exp->X_add_number;\n    uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }\n    if (1 < (byte)(exp->field_0x10 - 2)) {\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }\n    pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);\n    local_28 = (char)fill;\n    *pcVar3 = local_28;\n    return;\n  }\n  if (fill != 0) {\n    pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);\n    as_warn(pcVar3);\n  }\n  if (exp->field_0x10 == '\x02') {\n    uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    abs_section_offset._0_4_ = (undefined4)exp->X_add_number;\n  }\n  else {\n    uVar5 = 0;\n    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);\n    as_bad(pcVar3);\n    *(undefined4 *)&exp->X_add_number = 0;\n    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;\n    abs_section_offset._0_4_ = 0;\n  }\n  abs_section_offset._4_4_ = uVar5;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "do_org(segT segment,expressionS *exp,int fill)" identifier (parameter_list "(segT segment,expressionS *exp,int fill)" ( (parameter_declaration "segT segment" type_identifier identifier) , (parameter_declaration "expressionS *exp" type_identifier (pointer_declarator "*exp" * identifier)) , (parameter_declaration "int fill" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  char *pcVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char local_28;\n  symbolS *local_24;\n  \n  puVar1 = PTR__bfd_std_section_0007ffb0;\n  if (((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&\n     (expr_section != segment)) {\n    pcVar3 = segment->name;\n    pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);\n    as_bad(pcVar2,pcVar3);\n  }\n  if (now_seg != (segT)(puVar1 + 0x180)) {\n    local_24 = exp->X_add_symbol;\n    uVar5 = (undefined4)exp->X_add_number;\n    uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }\n    if (1 < (byte)(exp->field_0x10 - 2)) {\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }\n    pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);\n    local_28 = (char)fill;\n    *pcVar3 = local_28;\n    return;\n  }\n  if (fill != 0) {\n    pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);\n    as_warn(pcVar3);\n  }\n  if (exp->field_0x10 == '\x02') {\n    uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    abs_section_offset._0_4_ = (undefined4)exp->X_add_number;\n  }\n  else {\n    uVar5 = 0;\n    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);\n    as_bad(pcVar3);\n    *(undefined4 *)&exp->X_add_number = 0;\n    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;\n    abs_section_offset._0_4_ = 0;\n  }\n  abs_section_offset._4_4_ = uVar5;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char local_28;" primitive_type identifier ;) (declaration "symbolS *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "puVar1 = PTR__bfd_std_section_0007ffb0;" (assignment_expression "puVar1 = PTR__bfd_std_section_0007ffb0" identifier = identifier) ;) (if_statement "if (((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&\n     (expr_section != segment)) {\n    pcVar3 = segment->name;\n    pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);\n    as_bad(pcVar2,pcVar3);\n  }" if (parenthesized_expression "(((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&\n     (expr_section != segment))" ( (binary_expression "((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)) &&\n     (expr_section != segment)" (parenthesized_expression "((segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment))" ( (binary_expression "(segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)) && (now_seg != segment)" (parenthesized_expression "(segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180))" ( (binary_expression "segment != (segT)(PTR__bfd_std_section_0007ffb0 + 0x180)" identifier != (call_expression "(segT)(PTR__bfd_std_section_0007ffb0 + 0x180)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_0007ffb0 + 0x180)" ( (binary_expression "PTR__bfd_std_section_0007ffb0 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(now_seg != segment)" ( (binary_expression "now_seg != segment" identifier != identifier) ))) )) && (parenthesized_expression "(expr_section != segment)" ( (binary_expression "expr_section != segment" identifier != identifier) ))) )) (compound_statement "{\n    pcVar3 = segment->name;\n    pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);\n    as_bad(pcVar2,pcVar3);\n  }" { (expression_statement "pcVar3 = segment->name;" (assignment_expression "pcVar3 = segment->name" identifier = (field_expression "segment->name" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"invalid segment \"%s\"",5)" identifier = (cast_expression "(char *)dcgettext(0,"invalid segment \"%s\"",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"invalid segment \"%s\"",5)" identifier (argument_list "(0,"invalid segment \"%s\"",5)" ( number_literal , (string_literal ""invalid segment \"%s\""" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar2,pcVar3);" (call_expression "as_bad(pcVar2,pcVar3)" identifier (argument_list "(pcVar2,pcVar3)" ( identifier , identifier ))) ;) })) (if_statement "if (now_seg != (segT)(puVar1 + 0x180)) {\n    local_24 = exp->X_add_symbol;\n    uVar5 = (undefined4)exp->X_add_number;\n    uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }\n    if (1 < (byte)(exp->field_0x10 - 2)) {\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }\n    pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);\n    local_28 = (char)fill;\n    *pcVar3 = local_28;\n    return;\n  }" if (parenthesized_expression "(now_seg != (segT)(puVar1 + 0x180))" ( (binary_expression "now_seg != (segT)(puVar1 + 0x180)" identifier != (call_expression "(segT)(puVar1 + 0x180)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(puVar1 + 0x180)" ( (binary_expression "puVar1 + 0x180" identifier + number_literal) )))) )) (compound_statement "{\n    local_24 = exp->X_add_symbol;\n    uVar5 = (undefined4)exp->X_add_number;\n    uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }\n    if (1 < (byte)(exp->field_0x10 - 2)) {\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }\n    pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);\n    local_28 = (char)fill;\n    *pcVar3 = local_28;\n    return;\n  }" { (expression_statement "local_24 = exp->X_add_symbol;" (assignment_expression "local_24 = exp->X_add_symbol" identifier = (field_expression "exp->X_add_symbol" identifier -> field_identifier)) ;) (expression_statement "uVar5 = (undefined4)exp->X_add_number;" (assignment_expression "uVar5 = (undefined4)exp->X_add_number" identifier = (cast_expression "(undefined4)exp->X_add_number" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "exp->X_add_number" identifier -> field_identifier))) ;) (expression_statement "uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4);" (assignment_expression "uVar4 = *(undefined4 *)((int)&exp->X_add_number + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&exp->X_add_number + 4)" * (cast_expression "(undefined4 *)((int)&exp->X_add_number + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&exp->X_add_number + 4)" ( (binary_expression "(int)&exp->X_add_number + 4" (cast_expression "(int)&exp->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&exp->X_add_number" & (field_expression "exp->X_add_number" identifier -> field_identifier))) + number_literal) ))))) ;) (if_statement "if ((fill != 0) && ((now_seg->flags & 0x103) == 1)) {\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }" if (parenthesized_expression "((fill != 0) && ((now_seg->flags & 0x103) == 1))" ( (binary_expression "(fill != 0) && ((now_seg->flags & 0x103) == 1)" (parenthesized_expression "(fill != 0)" ( (binary_expression "fill != 0" identifier != number_literal) )) && (parenthesized_expression "((now_seg->flags & 0x103) == 1)" ( (binary_expression "(now_seg->flags & 0x103) == 1" (parenthesized_expression "(now_seg->flags & 0x103)" ( (binary_expression "now_seg->flags & 0x103" (field_expression "now_seg->flags" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      pcVar3 = now_seg->name;\n      pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);\n      as_warn(pcVar2,pcVar3);\n    }" { (expression_statement "pcVar3 = now_seg->name;" (assignment_expression "pcVar3 = now_seg->name" identifier = (field_expression "now_seg->name" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"ignoring fill value in section `%s\'",5)" identifier = (cast_expression "(char *)dcgettext(0,"ignoring fill value in section `%s\'",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"ignoring fill value in section `%s\'",5)" identifier (argument_list "(0,"ignoring fill value in section `%s\'",5)" ( number_literal , (string_literal ""ignoring fill value in section `%s\'"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "as_warn(pcVar2,pcVar3);" (call_expression "as_warn(pcVar2,pcVar3)" identifier (argument_list "(pcVar2,pcVar3)" ( identifier , identifier ))) ;) })) (if_statement "if (1 < (byte)(exp->field_0x10 - 2)) {\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }" if (parenthesized_expression "(1 < (byte)(exp->field_0x10 - 2))" ( (binary_expression "1 < (byte)(exp->field_0x10 - 2)" number_literal < (call_expression "(byte)(exp->field_0x10 - 2)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(exp->field_0x10 - 2)" ( (binary_expression "exp->field_0x10 - 2" (field_expression "exp->field_0x10" identifier -> field_identifier) - number_literal) )))) )) (compound_statement "{\n      uVar5 = 0;\n      uVar4 = 0;\n      local_24 = make_expr_symbol(exp);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "local_24 = make_expr_symbol(exp);" (assignment_expression "local_24 = make_expr_symbol(exp)" identifier = (call_expression "make_expr_symbol(exp)" identifier (argument_list "(exp)" ( identifier )))) ;) })) (expression_statement "pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0);" (assignment_expression "pcVar3 = frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0)" identifier = (call_expression "frag_var(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0)" identifier (argument_list "(rs_org,1,1,0,local_24,CONCAT44(uVar4,uVar5),(char *)0x0)" ( identifier , number_literal , number_literal , number_literal , identifier , (call_expression "CONCAT44(uVar4,uVar5)" identifier (argument_list "(uVar4,uVar5)" ( identifier , identifier ))) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "local_28 = (char)fill;" (assignment_expression "local_28 = (char)fill" identifier = (cast_expression "(char)fill" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*pcVar3 = local_28;" (assignment_expression "*pcVar3 = local_28" (pointer_expression "*pcVar3" * identifier) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (fill != 0) {\n    pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);\n    as_warn(pcVar3);\n  }" if (parenthesized_expression "(fill != 0)" ( (binary_expression "fill != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);\n    as_warn(pcVar3);\n  }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"ignoring fill value in absolute section",5)" identifier = (cast_expression "(char *)dcgettext(0,"ignoring fill value in absolute section",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"ignoring fill value in absolute section",5)" identifier (argument_list "(0,"ignoring fill value in absolute section",5)" ( number_literal , (string_literal ""ignoring fill value in absolute section"" " string_content ") , number_literal ))))) ;) (expression_statement "as_warn(pcVar3);" (call_expression "as_warn(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) })) (if_statement "if (exp->field_0x10 == '\x02') {\n    uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    abs_section_offset._0_4_ = (undefined4)exp->X_add_number;\n  }\n  else {\n    uVar5 = 0;\n    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);\n    as_bad(pcVar3);\n    *(undefined4 *)&exp->X_add_number = 0;\n    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;\n    abs_section_offset._0_4_ = 0;\n  }" if (parenthesized_expression "(exp->field_0x10 == '\x02')" ( (binary_expression "exp->field_0x10 == '\x02'" (field_expression "exp->field_0x10" identifier -> field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);\n    abs_section_offset._0_4_ = (undefined4)exp->X_add_number;\n  }" { (expression_statement "uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4);" (assignment_expression "uVar5 = *(undefined4 *)((int)&exp->X_add_number + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&exp->X_add_number + 4)" * (cast_expression "(undefined4 *)((int)&exp->X_add_number + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&exp->X_add_number + 4)" ( (binary_expression "(int)&exp->X_add_number + 4" (cast_expression "(int)&exp->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&exp->X_add_number" & (field_expression "exp->X_add_number" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "abs_section_offset._0_4_ = (undefined4)exp->X_add_number;" (assignment_expression "abs_section_offset._0_4_ = (undefined4)exp->X_add_number" (field_expression "abs_section_offset._0_4_" identifier . field_identifier) = (cast_expression "(undefined4)exp->X_add_number" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "exp->X_add_number" identifier -> field_identifier))) ;) }) (else_clause "else {\n    uVar5 = 0;\n    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);\n    as_bad(pcVar3);\n    *(undefined4 *)&exp->X_add_number = 0;\n    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;\n    abs_section_offset._0_4_ = 0;\n  }" else (compound_statement "{\n    uVar5 = 0;\n    pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);\n    as_bad(pcVar3);\n    *(undefined4 *)&exp->X_add_number = 0;\n    *(undefined4 *)((int)&exp->X_add_number + 4) = 0;\n    abs_section_offset._0_4_ = 0;\n  }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"only constant offsets supported in absolute section",5)" identifier = (cast_expression "(char *)dcgettext(0,"only constant offsets supported in absolute section",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"only constant offsets supported in absolute section",5)" identifier (argument_list "(0,"only constant offsets supported in absolute section",5)" ( number_literal , (string_literal ""only constant offsets supported in absolute section"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar3);" (call_expression "as_bad(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (expression_statement "*(undefined4 *)&exp->X_add_number = 0;" (assignment_expression "*(undefined4 *)&exp->X_add_number = 0" (pointer_expression "*(undefined4 *)&exp->X_add_number" * (cast_expression "(undefined4 *)&exp->X_add_number" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&exp->X_add_number" & (field_expression "exp->X_add_number" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&exp->X_add_number + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&exp->X_add_number + 4) = 0" (pointer_expression "*(undefined4 *)((int)&exp->X_add_number + 4)" * (cast_expression "(undefined4 *)((int)&exp->X_add_number + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&exp->X_add_number + 4)" ( (binary_expression "(int)&exp->X_add_number + 4" (cast_expression "(int)&exp->X_add_number" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&exp->X_add_number" & (field_expression "exp->X_add_number" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "abs_section_offset._0_4_ = 0;" (assignment_expression "abs_section_offset._0_4_ = 0" (field_expression "abs_section_offset._0_4_" identifier . field_identifier) = number_literal) ;) }))) (expression_statement "abs_section_offset._4_4_ = uVar5;" (assignment_expression "abs_section_offset._4_4_ = uVar5" (field_expression "abs_section_offset._4_4_" identifier . field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined1 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (expression_statement "puVar2 = PTR__bfd_std_section_0007ffb0;" (assignment_expression "puVar2 = PTR__bfd_std_section_0007ffb0" identifier = identifier) ;) (if_statement "if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }" if (parenthesized_expression "(((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1))" ( (binary_expression "((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)" (parenthesized_expression "((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1))" ( (binary_expression "(param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)" (parenthesized_expression "(param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180))" ( (binary_expression "param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)" identifier != (cast_expression "(undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__bfd_std_section_0007ffb0 + 0x180)" ( (binary_expression "PTR__bfd_std_section_0007ffb0 + 0x180" identifier + number_literal) )))) )) && (parenthesized_expression "(DAT_0008973c != param_1)" ( (binary_expression "DAT_0008973c != param_1" identifier != identifier) ))) )) && (parenthesized_expression "(DAT_00089720 != param_1)" ( (binary_expression "DAT_00089720 != param_1" identifier != identifier) ))) )) (compound_statement "{\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }" { (expression_statement "uVar6 = *param_1;" (assignment_expression "uVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar3 = dcgettext(0,"invalid segment \"%s\"",5);" (assignment_expression "uVar3 = dcgettext(0,"invalid segment \"%s\"",5)" identifier = (call_expression "dcgettext(0,"invalid segment \"%s\"",5)" identifier (argument_list "(0,"invalid segment \"%s\"",5)" ( number_literal , (string_literal ""invalid segment \"%s\""" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar3,uVar6);" (call_expression "FUN_0002bd60(uVar3,uVar6)" identifier (argument_list "(uVar3,uVar6)" ( identifier , identifier ))) ;) })) (if_statement "if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }" if (parenthesized_expression "(DAT_0008973c != (undefined4 *)(puVar2 + 0x180))" ( (binary_expression "DAT_0008973c != (undefined4 *)(puVar2 + 0x180)" identifier != (cast_expression "(undefined4 *)(puVar2 + 0x180)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x180)" ( (binary_expression "puVar2 + 0x180" identifier + number_literal) )))) )) (compound_statement "{\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }" { (expression_statement "local_24 = *param_2;" (assignment_expression "local_24 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = param_2[2];" (assignment_expression "uVar6 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_2[3];" (assignment_expression "uVar3 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (if_statement "if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }" if (parenthesized_expression "((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1))" ( (binary_expression "(param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "((DAT_0008973c[5] & 0x103) == 1)" ( (binary_expression "(DAT_0008973c[5] & 0x103) == 1" (parenthesized_expression "(DAT_0008973c[5] & 0x103)" ( (binary_expression "DAT_0008973c[5] & 0x103" (subscript_expression "DAT_0008973c[5]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }" { (expression_statement "uVar1 = *DAT_0008973c;" (assignment_expression "uVar1 = *DAT_0008973c" identifier = (pointer_expression "*DAT_0008973c" * identifier)) ;) (expression_statement "uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);" (assignment_expression "uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5)" identifier = (call_expression "dcgettext(0,"ignoring fill value in section `%s\'",5)" identifier (argument_list "(0,"ignoring fill value in section `%s\'",5)" ( number_literal , (string_literal ""ignoring fill value in section `%s\'"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_0002bc80(uVar5,uVar1);" (call_expression "FUN_0002bc80(uVar5,uVar1)" identifier (argument_list "(uVar5,uVar1)" ( identifier , identifier ))) ;) })) (if_statement "if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }" if (parenthesized_expression "(1 < (byte)(*(char *)(param_2 + 4) - 2U))" ( (binary_expression "1 < (byte)(*(char *)(param_2 + 4) - 2U)" number_literal < (call_expression "(byte)(*(char *)(param_2 + 4) - 2U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(param_2 + 4) - 2U)" ( (binary_expression "*(char *)(param_2 + 4) - 2U" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) - number_literal) )))) )) (compound_statement "{\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "local_24 = FUN_00021220(param_2);" (assignment_expression "local_24 = FUN_00021220(param_2)" identifier = (call_expression "FUN_00021220(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) })) (expression_statement "puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);" (assignment_expression "puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" identifier = (cast_expression "(undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" identifier (argument_list "(5,1,1,0,local_24,uVar6,uVar3,0)" ( number_literal , number_literal , number_literal , number_literal , identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "local_28 = (undefined1)param_3;" (assignment_expression "local_28 = (undefined1)param_3" identifier = (cast_expression "(undefined1)param_3" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (expression_statement "*puVar4 = local_28;" (assignment_expression "*puVar4 = local_28" (pointer_expression "*puVar4" * identifier) = identifier) ;) (return_statement "return;" return ;) })) (if_statement "if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }" { (expression_statement "uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);" (assignment_expression "uVar6 = dcgettext(0,"ignoring fill value in absolute section",5)" identifier = (call_expression "dcgettext(0,"ignoring fill value in absolute section",5)" identifier (argument_list "(0,"ignoring fill value in absolute section",5)" ( number_literal , (string_literal ""ignoring fill value in absolute section"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bc80(uVar6);" (call_expression "FUN_0002bc80(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) })) (if_statement "if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 4) == '\x02')" ( (binary_expression "*(char *)(param_2 + 4) == '\x02'" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }" { (expression_statement "uVar6 = param_2[3];" (assignment_expression "uVar6 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "DAT_00089970 = param_2[2];" (assignment_expression "DAT_00089970 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" else (compound_statement "{\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);" (assignment_expression "uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5)" identifier = (call_expression "dcgettext(0,"only constant offsets supported in absolute section",5)" identifier (argument_list "(0,"only constant offsets supported in absolute section",5)" ( number_literal , (string_literal ""only constant offsets supported in absolute section"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd60(uVar3);" (call_expression "FUN_0002bd60(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "DAT_00089970 = 0;" (assignment_expression "DAT_00089970 = 0" identifier = number_literal) ;) }))) (expression_statement "DAT_00089974 = uVar6;" (assignment_expression "DAT_00089974 = uVar6" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT , LIT , LIT , IDENT , IDENT , IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002ca60(undefined4 *param_1,undefined4 *param_2,int param_3)" (identifier "FUN_0002ca60") (parameter_list "(undefined4 *param_1,undefined4 *param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  undefined1 local_28;\n  undefined4 local_24;\n  \n  puVar2 = PTR__bfd_std_section_0007ffb0;\n  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }\n  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }\n  if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }\n  if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }\n  DAT_00089974 = uVar6;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined1 local_28;" (type_identifier "undefined1") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (expression_statement "puVar2 = PTR__bfd_std_section_0007ffb0;" (assignment_expression "puVar2 = PTR__bfd_std_section_0007ffb0" (identifier "puVar2") (= "=") (identifier "PTR__bfd_std_section_0007ffb0")) (; ";")) (if_statement "if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }" (if "if") (parenthesized_expression "(((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1))" (( "(") (binary_expression "((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)" (parenthesized_expression "((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1))" (( "(") (binary_expression "(param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&\n      (DAT_0008973c != param_1)" (parenthesized_expression "(param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180))" (( "(") (binary_expression "param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__bfd_std_section_0007ffb0 + 0x180)" (( "(") (binary_expression "PTR__bfd_std_section_0007ffb0 + 0x180" (identifier "PTR__bfd_std_section_0007ffb0") (+ "+") (number_literal "0x180")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(DAT_0008973c != param_1)" (( "(") (binary_expression "DAT_0008973c != param_1" (identifier "DAT_0008973c") (!= "!=") (identifier "param_1")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_00089720 != param_1)" (( "(") (binary_expression "DAT_00089720 != param_1" (identifier "DAT_00089720") (!= "!=") (identifier "param_1")) () ")"))) () ")")) (compound_statement "{\n    uVar6 = *param_1;\n    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);\n    FUN_0002bd60(uVar3,uVar6);\n  }" ({ "{") (expression_statement "uVar6 = *param_1;" (assignment_expression "uVar6 = *param_1" (identifier "uVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"invalid segment \"%s\"",5);" (assignment_expression "uVar3 = dcgettext(0,"invalid segment \"%s\"",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"invalid segment \"%s\"",5)" (identifier "dcgettext") (argument_list "(0,"invalid segment \"%s\"",5)" (( "(") (number_literal "0") (, ",") (string_literal ""invalid segment \"%s\""" (" """) (string_content "invalid segment ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bd60(uVar3,uVar6);" (call_expression "FUN_0002bd60(uVar3,uVar6)" (identifier "FUN_0002bd60") (argument_list "(uVar3,uVar6)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_0008973c != (undefined4 *)(puVar2 + 0x180))" (( "(") (binary_expression "DAT_0008973c != (undefined4 *)(puVar2 + 0x180)" (identifier "DAT_0008973c") (!= "!=") (cast_expression "(undefined4 *)(puVar2 + 0x180)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x180)" (( "(") (binary_expression "puVar2 + 0x180" (identifier "puVar2") (+ "+") (number_literal "0x180")) () ")")))) () ")")) (compound_statement "{\n    local_24 = *param_2;\n    uVar6 = param_2[2];\n    uVar3 = param_2[3];\n    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }\n    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }\n    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);\n    local_28 = (undefined1)param_3;\n    *puVar4 = local_28;\n    return;\n  }" ({ "{") (expression_statement "local_24 = *param_2;" (assignment_expression "local_24 = *param_2" (identifier "local_24") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar6 = param_2[2];" (assignment_expression "uVar6 = param_2[2]" (identifier "uVar6") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = param_2[3];" (assignment_expression "uVar3 = param_2[3]" (identifier "uVar3") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }" (if "if") (parenthesized_expression "((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1))" (( "(") (binary_expression "(param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((DAT_0008973c[5] & 0x103) == 1)" (( "(") (binary_expression "(DAT_0008973c[5] & 0x103) == 1" (parenthesized_expression "(DAT_0008973c[5] & 0x103)" (( "(") (binary_expression "DAT_0008973c[5] & 0x103" (subscript_expression "DAT_0008973c[5]" (identifier "DAT_0008973c") ([ "[") (number_literal "5") (] "]")) (& "&") (number_literal "0x103")) () ")")) (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n      uVar1 = *DAT_0008973c;\n      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);\n      FUN_0002bc80(uVar5,uVar1);\n    }" ({ "{") (expression_statement "uVar1 = *DAT_0008973c;" (assignment_expression "uVar1 = *DAT_0008973c" (identifier "uVar1") (= "=") (pointer_expression "*DAT_0008973c" (* "*") (identifier "DAT_0008973c"))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);" (assignment_expression "uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"ignoring fill value in section `%s\'",5)" (identifier "dcgettext") (argument_list "(0,"ignoring fill value in section `%s\'",5)" (( "(") (number_literal "0") (, ",") (string_literal ""ignoring fill value in section `%s\'"" (" """) (string_content "ignoring fill value in section `%s") (escape_sequence "\'") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bc80(uVar5,uVar1);" (call_expression "FUN_0002bc80(uVar5,uVar1)" (identifier "FUN_0002bc80") (argument_list "(uVar5,uVar1)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (if_statement "if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }" (if "if") (parenthesized_expression "(1 < (byte)(*(char *)(param_2 + 4) - 2U))" (( "(") (binary_expression "1 < (byte)(*(char *)(param_2 + 4) - 2U)" (number_literal "1") (< "<") (call_expression "(byte)(*(char *)(param_2 + 4) - 2U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(*(char *)(param_2 + 4) - 2U)" (( "(") (binary_expression "*(char *)(param_2 + 4) - 2U" (pointer_expression "*(char *)(param_2 + 4)" (* "*") (cast_expression "(char *)(param_2 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (- "-") (number_literal "2U")) () ")")))) () ")")) (compound_statement "{\n      uVar6 = 0;\n      uVar3 = 0;\n      local_24 = FUN_00021220(param_2);\n    }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = FUN_00021220(param_2);" (assignment_expression "local_24 = FUN_00021220(param_2)" (identifier "local_24") (= "=") (call_expression "FUN_00021220(param_2)" (identifier "FUN_00021220") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);" (assignment_expression "puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" (identifier "puVar4") (= "=") (cast_expression "(undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0)" (identifier "FUN_00024b60") (argument_list "(5,1,1,0,local_24,uVar6,uVar3,0)" (( "(") (number_literal "5") (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "local_24") (, ",") (identifier "uVar6") (, ",") (identifier "uVar3") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "local_28 = (undefined1)param_3;" (assignment_expression "local_28 = (undefined1)param_3" (identifier "local_28") (= "=") (cast_expression "(undefined1)param_3" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (identifier "param_3"))) (; ";")) (expression_statement "*puVar4 = local_28;" (assignment_expression "*puVar4 = local_28" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "local_28")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 != 0) {\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);\n    FUN_0002bc80(uVar6);\n  }" ({ "{") (expression_statement "uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);" (assignment_expression "uVar6 = dcgettext(0,"ignoring fill value in absolute section",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"ignoring fill value in absolute section",5)" (identifier "dcgettext") (argument_list "(0,"ignoring fill value in absolute section",5)" (( "(") (number_literal "0") (, ",") (string_literal ""ignoring fill value in absolute section"" (" """) (string_content "ignoring fill value in absolute section") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bc80(uVar6);" (call_expression "FUN_0002bc80(uVar6)" (identifier "FUN_0002bc80") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(param_2 + 4) == '\x02') {\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }\n  else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 4) == '\x02')" (( "(") (binary_expression "*(char *)(param_2 + 4) == '\x02'" (pointer_expression "*(char *)(param_2 + 4)" (* "*") (cast_expression "(char *)(param_2 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    uVar6 = param_2[3];\n    DAT_00089970 = param_2[2];\n  }" ({ "{") (expression_statement "uVar6 = param_2[3];" (assignment_expression "uVar6 = param_2[3]" (identifier "uVar6") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "DAT_00089970 = param_2[2];" (assignment_expression "DAT_00089970 = param_2[2]" (identifier "DAT_00089970") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" (else "else") (compound_statement "{\n    uVar6 = 0;\n    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);\n    FUN_0002bd60(uVar3);\n    param_2[2] = 0;\n    param_2[3] = 0;\n    DAT_00089970 = 0;\n  }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);" (assignment_expression "uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"only constant offsets supported in absolute section",5)" (identifier "dcgettext") (argument_list "(0,"only constant offsets supported in absolute section",5)" (( "(") (number_literal "0") (, ",") (string_literal ""only constant offsets supported in absolute section"" (" """) (string_content "only constant offsets supported in absolute section") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bd60(uVar3);" (call_expression "FUN_0002bd60(uVar3)" (identifier "FUN_0002bd60") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "DAT_00089970 = 0;" (assignment_expression "DAT_00089970 = 0" (identifier "DAT_00089970") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "DAT_00089974 = uVar6;" (assignment_expression "DAT_00089974 = uVar6" (identifier "DAT_00089974") (= "=") (identifier "uVar6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 var_1,type_2 *exp,int var_8)

{
  type_3 *var_7;
  char *pcVar2;
  char *pcVar3;
  type_4 uVar4;
  type_4 uVar5;
  char local_28;
  type_5 *local_24;
  
  var_7 = var_2;
  if (((var_1 != (type_1)(var_2 + 0x180)) && (var_3 != var_1)) &&
     (var_4 != var_1)) {
    pcVar3 = var_1->name;
    pcVar2 = (char *)var_5(0,"invalid segment \"%s\"",5);
    var_6(pcVar2,pcVar3);
  }
  if (var_3 != (type_1)(var_7 + 0x180)) {
    local_24 = exp->X_add_symbol;
    uVar5 = (type_4)exp->X_add_number;
    uVar4 = *(type_4 *)((int)&exp->X_add_number + 4);
    if ((var_8 != 0) && ((var_3->flags & 0x103) == 1)) {
      pcVar3 = var_3->name;
      pcVar2 = (char *)var_5(0,"ignoring fill value in section `%s\'",5);
      var_9(pcVar2,pcVar3);
    }
    if (1 < (byte)(exp->field_0x10 - 2)) {
      uVar5 = 0;
      uVar4 = 0;
      local_24 = var_10(exp);
    }
    pcVar3 = var_11(rs_org,1,1,0,local_24,var_12(uVar4,uVar5),(char *)0x0);
    local_28 = (char)var_8;
    *pcVar3 = local_28;
    return;
  }
  if (var_8 != 0) {
    pcVar3 = (char *)var_5(0,"ignoring fill value in absolute section",5);
    var_9(pcVar3);
  }
  if (exp->field_0x10 == '\x02') {
    uVar5 = *(type_4 *)((int)&exp->X_add_number + 4);
    abs_section_offset._0_4_ = (type_4)exp->X_add_number;
  }
  else {
    uVar5 = 0;
    pcVar3 = (char *)var_5(0,"only constant offsets supported in absolute section",5);
    var_6(pcVar3);
    *(type_4 *)&exp->X_add_number = 0;
    *(type_4 *)((int)&exp->X_add_number + 4) = 0;
    abs_section_offset._0_4_ = 0;
  }
  abs_section_offset._4_4_ = uVar5;
  return;
}


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

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

void __regparm3 MASKED(undefined4 *param_1,undefined4 *param_2,int param_3)

{
  undefined4 uVar1;
  undefined *puVar2;
  undefined4 uVar3;
  undefined1 *puVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  undefined1 local_28;
  undefined4 local_24;
  
  puVar2 = PTR__bfd_std_section_0007ffb0;
  if (((param_1 != (undefined4 *)(PTR__bfd_std_section_0007ffb0 + 0x180)) &&
      (DAT_0008973c != param_1)) && (DAT_00089720 != param_1)) {
    uVar6 = *param_1;
    uVar3 = dcgettext(0,"invalid segment \"%s\"",5);
    FUN_0002bd60(uVar3,uVar6);
  }
  if (DAT_0008973c != (undefined4 *)(puVar2 + 0x180)) {
    local_24 = *param_2;
    uVar6 = param_2[2];
    uVar3 = param_2[3];
    if ((param_3 != 0) && ((DAT_0008973c[5] & 0x103) == 1)) {
      uVar1 = *DAT_0008973c;
      uVar5 = dcgettext(0,"ignoring fill value in section `%s\'",5);
      FUN_0002bc80(uVar5,uVar1);
    }
    if (1 < (byte)(*(char *)(param_2 + 4) - 2U)) {
      uVar6 = 0;
      uVar3 = 0;
      local_24 = FUN_00021220(param_2);
    }
    puVar4 = (undefined1 *)FUN_00024b60(5,1,1,0,local_24,uVar6,uVar3,0);
    local_28 = (undefined1)param_3;
    *puVar4 = local_28;
    return;
  }
  if (param_3 != 0) {
    uVar6 = dcgettext(0,"ignoring fill value in absolute section",5);
    FUN_0002bc80(uVar6);
  }
  if (*(char *)(param_2 + 4) == '\x02') {
    uVar6 = param_2[3];
    DAT_00089970 = param_2[2];
  }
  else {
    uVar6 = 0;
    uVar3 = dcgettext(0,"only constant offsets supported in absolute section",5);
    FUN_0002bd60(uVar3);
    param_2[2] = 0;
    param_2[3] = 0;
    DAT_00089970 = 0;
  }
  DAT_00089974 = uVar6;
  return;
}

