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

lang_output_section_statement_type *
lang_enter_output_section_statement
          (char *output_section_statement_name,etree_type *address_exp,section_type sectype,
          etree_type *align,etree_type *subalign,etree_type *ebase,int constraint,
          int align_with_input)

{
  lang_statement_list_type **pplVar1;
  lang_output_section_statement_type *plVar2;
  uint uVar3;
  char *fmt;
  uint uVar4;
  int iVar5;
  lang_statement_list_type *in_stack_ffffffe4;
  
  plVar2 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);
  current_section = plVar2;
  if (plVar2->addr_tree == (etree_union *)0x0) {
    plVar2->addr_tree = address_exp;
  }
  plVar2->sectype = sectype;
  plVar2->block_value = 1;
  plVar2->flags = (uint)(sectype == noload_section) << 9;
  if ((lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr) {
                    /* WARNING: Subroutine does not return */
    push_stat_ptr(in_stack_ffffffe4);
  }
  pplVar1 = stat_save_ptr + 1;
  *stat_save_ptr = stat_ptr;
  stat_save_ptr = pplVar1;
  stat_ptr = &plVar2->children;
  plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6;
  if ((align_with_input == 0x180) && (align != (etree_type *)0x0)) {
    fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);
    einfo(fmt,0);
  }
  uVar3 = exp_get_value_int(subalign,-1,"subsection alignment");
  if ((int)uVar3 < 0) {
    iVar5 = -1;
  }
  else {
    iVar5 = 0;
    uVar4 = 1;
    do {
      if (uVar3 <= uVar4) goto LAB_0002884a;
      iVar5 = iVar5 + 1;
      uVar4 = uVar4 * 2;
    } while (iVar5 != 0x20);
    iVar5 = 0;
  }
LAB_0002884a:
  plVar2->subsection_alignment = iVar5;
  uVar3 = exp_get_value_int(align,-1,"section alignment");
  if ((int)uVar3 < 0) {
    iVar5 = -1;
  }
  else {
    iVar5 = 0;
    uVar4 = 1;
    do {
      if (uVar3 <= uVar4) goto LAB_0002887e;
      iVar5 = iVar5 + 1;
      uVar4 = uVar4 * 2;
    } while (iVar5 != 0x20);
    iVar5 = 0;
  }
LAB_0002887e:
  plVar2->section_alignment = iVar5;
  plVar2->load_base = ebase;
  return plVar2;
}



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

int FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,
                undefined4 param_6,undefined4 param_7,int param_8)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  
  iVar2 = FUN_000256d0(param_1,param_7,1);
  DAT_001d06f8 = iVar2;
  if (*(int *)(iVar2 + 0x2c) == 0) {
    *(undefined4 *)(iVar2 + 0x2c) = param_2;
  }
  *(int *)(iVar2 + 0x50) = param_3;
  *(undefined4 *)(iVar2 + 0x3c) = 1;
  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;
  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {
                    /* WARNING: Subroutine does not return */
    FUN_000236b0();
  }
  puVar1 = PTR_DAT_001cf39c + 4;
  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;
  PTR_DAT_001cf39c = puVar1;
  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);
  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;
  if ((param_8 == 0x180) && (param_4 != 0)) {
    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);
    FUN_00034d20(uVar4,0);
  }
  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");
  if ((int)uVar3 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar3 <= uVar5) goto LAB_0002884a;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0002884a:
  *(int *)(iVar2 + 0x40) = iVar6;
  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");
  if ((int)uVar3 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar3 <= uVar5) goto LAB_0002887e;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0002887e:
  *(int *)(iVar2 + 0x44) = iVar6;
  *(undefined4 *)(iVar2 + 0x30) = param_6;
  return iVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x1a6897
SUB ESP,0x10
MOV EBP,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x30]
PUSH 0x1
PUSH dword ptr [ESP + 0x40]
PUSH dword ptr [ESP + 0x2c]
CALL 0x000256d0
ADD ESP,0x10
MOV ESI,EAX
MOV dword ptr [EBX + 0x16f8],EAX
MOV EAX,dword ptr [EAX + 0x2c]
TEST EAX,EAX
JZ 0x000288d0
XOR EAX,EAX
CMP EBP,0x2
LEA EDX,[EBX + 0x1768]
MOV dword ptr [ESI + 0x50],EBP
SETZ AL
MOV dword ptr [ESI + 0x3c],0x1
LEA ECX,[ESI + 0x8]
SHL EAX,0x9
MOV dword ptr [ESI + 0x4c],EAX
MOV EAX,dword ptr [EBX + 0x39c]
CMP EAX,EDX
JNC 0x000288ed
LEA EDX,[EAX + 0x4]
CMP dword ptr [ESP + 0x3c],0x180
MOV dword ptr [EBX + 0x39c],EDX
MOV EDX,dword ptr [EBX + 0x398]
MOV dword ptr [EAX],EDX
MOVZX EAX,byte ptr [ESI + 0x54]
SETZ DL
SHL EDX,0x6
MOV dword ptr [EBX + 0x398],ECX
AND EAX,0xffffffbf
OR EAX,EDX
MOV byte ptr [ESI + 0x54],AL
TEST AL,0x40
JZ 0x0002880b
TEST EDI,EDI
JNZ 0x00028898
SUB ESP,0x4
LEA EAX,[EBX + 0xffeac163]
PUSH EAX
PUSH -0x1
PUSH dword ptr [ESP + 0x3c]
CALL 0x00033210
ADD ESP,0x10
TEST EAX,EAX
JS 0x000288e3
XOR EDX,EDX
MOV ECX,0x1
JMP 0x00028846
ADD EDX,0x1
ADD ECX,ECX
CMP EDX,0x20
JZ 0x000288c8
CMP EAX,ECX
JA 0x00028838
SUB ESP,0x4
LEA EAX,[EBX + 0xffeac166]
MOV dword ptr [ESI + 0x40],EDX
PUSH EAX
PUSH -0x1
PUSH EDI
CALL 0x00033210
ADD ESP,0x10
TEST EAX,EAX
JS 0x000288dc
XOR EDX,EDX
MOV ECX,0x1
JMP 0x0002887a
ADD EDX,0x1
ADD ECX,ECX
CMP EDX,0x20
JZ 0x000288c0
CMP EAX,ECX
JA 0x00028870
MOV EAX,dword ptr [ESP + 0x34]
MOV dword ptr [ESI + 0x44],EDX
MOV dword ptr [ESI + 0x30],EAX
ADD ESP,0xc
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffeac9e4]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
POP EDX
POP ECX
PUSH 0x0
PUSH EAX
CALL 0x00034d20
ADD ESP,0x10
JMP 0x0002880b
XOR EDX,EDX
JMP 0x0002887e
XOR EDX,EDX
JMP 0x0002884a
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x2c],EAX
JMP 0x0002879f
MOV EDX,0xffffffff
JMP 0x0002887e
MOV EDX,0xffffffff
JMP 0x0002884a
CALL 0x000236b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}\n\n" comment (function_definition "int FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar2 = FUN_000256d0(param_1,param_7,1);" (assignment_expression "iVar2 = FUN_000256d0(param_1,param_7,1)" identifier = (call_expression "FUN_000256d0(param_1,param_7,1)" identifier (argument_list "(param_1,param_7,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "DAT_001d06f8 = iVar2;" (assignment_expression "DAT_001d06f8 = iVar2" identifier = identifier) ;) (if_statement "if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x2c) == 0" (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 0x2c) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 0x2c) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" * (cast_expression "(undefined4 *)(iVar2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)(iVar2 + 0x50) = param_3;" (assignment_expression "*(int *)(iVar2 + 0x50) = param_3" (pointer_expression "*(int *)(iVar2 + 0x50)" * (cast_expression "(int *)(iVar2 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x50)" ( (binary_expression "iVar2 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x3c) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x3c) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;" (assignment_expression "*(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9" (pointer_expression "*(uint *)(iVar2 + 0x4c)" * (cast_expression "(uint *)(iVar2 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))) = (binary_expression "(uint)(param_3 == 2) << 9" (call_expression "(uint)(param_3 == 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 == 2)" ( (binary_expression "param_3 == 2" identifier == number_literal) ))) << number_literal)) ;) (if_statement "if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000236b0();\n  }" if (parenthesized_expression "((undefined *)0x1d0767 < PTR_DAT_001cf39c)" ( (binary_expression "(undefined *)0x1d0767 < PTR_DAT_001cf39c" (cast_expression "(undefined *)0x1d0767" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000236b0();\n  }" { comment (expression_statement "FUN_000236b0();" (call_expression "FUN_000236b0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_DAT_001cf39c + 4;" (assignment_expression "puVar1 = PTR_DAT_001cf39c + 4" identifier = (binary_expression "PTR_DAT_001cf39c + 4" identifier + number_literal)) ;) (expression_statement "*(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;" (assignment_expression "*(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398" (pointer_expression "*(undefined **)PTR_DAT_001cf39c" * (cast_expression "(undefined **)PTR_DAT_001cf39c" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "PTR_DAT_001cf39c = puVar1;" (assignment_expression "PTR_DAT_001cf39c = puVar1" identifier = identifier) ;) (expression_statement "PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);" (assignment_expression "PTR_DAT_001cf398 = (undefined *)(iVar2 + 8)" identifier = (cast_expression "(undefined *)(iVar2 + 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) (expression_statement "*(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;" (assignment_expression "*(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6" (pointer_expression "*(byte *)(iVar2 + 0x54)" * (cast_expression "(byte *)(iVar2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6" (binary_expression "*(byte *)(iVar2 + 0x54) & 0xbf" (pointer_expression "*(byte *)(iVar2 + 0x54)" * (cast_expression "(byte *)(iVar2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) & number_literal) | (binary_expression "(param_8 == 0x180) << 6" (parenthesized_expression "(param_8 == 0x180)" ( (binary_expression "param_8 == 0x180" identifier == number_literal) )) << number_literal))) ;) (if_statement "if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }" if (parenthesized_expression "((param_8 == 0x180) && (param_4 != 0))" ( (binary_expression "(param_8 == 0x180) && (param_4 != 0)" (parenthesized_expression "(param_8 == 0x180)" ( (binary_expression "param_8 == 0x180" identifier == number_literal) )) && (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }" { (expression_statement "uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" identifier = (call_expression "dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" identifier (argument_list "(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" ( number_literal , (string_literal ""%F%P:%pS: error: align with input and explicit align specified\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar4,0);" (call_expression "FUN_00034d20(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");" (assignment_expression "uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment")" identifier = (call_expression "FUN_00033210(param_5,0xffffffff,"subsection alignment")" identifier (argument_list "(param_5,0xffffffff,"subsection alignment")" ( identifier , number_literal , (string_literal ""subsection alignment"" " string_content ") )))) ;) (if_statement "if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" else (compound_statement "{\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (do_statement "do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar3 <= uVar5) goto LAB_0002884a;" if (parenthesized_expression "(uVar3 <= uVar5)" ( (binary_expression "uVar3 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0002884a;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x20)" ( (binary_expression "iVar6 != 0x20" identifier != number_literal) )) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;" statement_identifier : (expression_statement "*(int *)(iVar2 + 0x40) = iVar6;" (assignment_expression "*(int *)(iVar2 + 0x40) = iVar6" (pointer_expression "*(int *)(iVar2 + 0x40)" * (cast_expression "(int *)(iVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) = identifier) ;)) (expression_statement "uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");" (assignment_expression "uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment")" identifier = (call_expression "FUN_00033210(param_4,0xffffffff,"section alignment")" identifier (argument_list "(param_4,0xffffffff,"section alignment")" ( identifier , number_literal , (string_literal ""section alignment"" " string_content ") )))) ;) (if_statement "if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" else (compound_statement "{\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (do_statement "do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar3 <= uVar5) goto LAB_0002887e;" if (parenthesized_expression "(uVar3 <= uVar5)" ( (binary_expression "uVar3 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0002887e;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x20)" ( (binary_expression "iVar6 != 0x20" identifier != number_literal) )) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;" statement_identifier : (expression_statement "*(int *)(iVar2 + 0x44) = iVar6;" (assignment_expression "*(int *)(iVar2 + 0x44) = iVar6" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = param_6;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = param_6" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nlang_output_section_statement_type *\nlang_enter_output_section_statement\n          (char *output_section_statement_name,etree_type *address_exp,section_type sectype,\n          etree_type *align,etree_type *subalign,etree_type *ebase,int constraint,\n          int align_with_input)\n\n{\n  lang_statement_list_type **pplVar1;\n  lang_output_section_statement_type *plVar2;\n  uint uVar3;\n  char *fmt;\n  uint uVar4;\n  int iVar5;\n  lang_statement_list_type *in_stack_ffffffe4;\n  \n  plVar2 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);\n  current_section = plVar2;\n  if (plVar2->addr_tree == (etree_union *)0x0) {\n    plVar2->addr_tree = address_exp;\n  }\n  plVar2->sectype = sectype;\n  plVar2->block_value = 1;\n  plVar2->flags = (uint)(sectype == noload_section) << 9;\n  if ((lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr(in_stack_ffffffe4);\n  }\n  pplVar1 = stat_save_ptr + 1;\n  *stat_save_ptr = stat_ptr;\n  stat_save_ptr = pplVar1;\n  stat_ptr = &plVar2->children;\n  plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6;\n  if ((align_with_input == 0x180) && (align != (etree_type *)0x0)) {\n    fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    einfo(fmt,0);\n  }\n  uVar3 = exp_get_value_int(subalign,-1,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0002884a:\n  plVar2->subsection_alignment = iVar5;\n  uVar3 = exp_get_value_int(align,-1,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0002887e:\n  plVar2->section_alignment = iVar5;\n  plVar2->load_base = ebase;\n  return plVar2;\n}\n\n" comment comment (function_definition "lang_output_section_statement_type *\nlang_enter_output_section_statement\n          (char *output_section_statement_name,etree_type *address_exp,section_type sectype,\n          etree_type *align,etree_type *subalign,etree_type *ebase,int constraint,\n          int align_with_input)\n\n{\n  lang_statement_list_type **pplVar1;\n  lang_output_section_statement_type *plVar2;\n  uint uVar3;\n  char *fmt;\n  uint uVar4;\n  int iVar5;\n  lang_statement_list_type *in_stack_ffffffe4;\n  \n  plVar2 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);\n  current_section = plVar2;\n  if (plVar2->addr_tree == (etree_union *)0x0) {\n    plVar2->addr_tree = address_exp;\n  }\n  plVar2->sectype = sectype;\n  plVar2->block_value = 1;\n  plVar2->flags = (uint)(sectype == noload_section) << 9;\n  if ((lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr(in_stack_ffffffe4);\n  }\n  pplVar1 = stat_save_ptr + 1;\n  *stat_save_ptr = stat_ptr;\n  stat_save_ptr = pplVar1;\n  stat_ptr = &plVar2->children;\n  plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6;\n  if ((align_with_input == 0x180) && (align != (etree_type *)0x0)) {\n    fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    einfo(fmt,0);\n  }\n  uVar3 = exp_get_value_int(subalign,-1,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0002884a:\n  plVar2->subsection_alignment = iVar5;\n  uVar3 = exp_get_value_int(align,-1,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0002887e:\n  plVar2->section_alignment = iVar5;\n  plVar2->load_base = ebase;\n  return plVar2;\n}" type_identifier (pointer_declarator "*\nlang_enter_output_section_statement\n          (char *output_section_statement_name,etree_type *address_exp,section_type sectype,\n          etree_type *align,etree_type *subalign,etree_type *ebase,int constraint,\n          int align_with_input)" * (function_declarator "lang_enter_output_section_statement\n          (char *output_section_statement_name,etree_type *address_exp,section_type sectype,\n          etree_type *align,etree_type *subalign,etree_type *ebase,int constraint,\n          int align_with_input)" identifier (parameter_list "(char *output_section_statement_name,etree_type *address_exp,section_type sectype,\n          etree_type *align,etree_type *subalign,etree_type *ebase,int constraint,\n          int align_with_input)" ( (parameter_declaration "char *output_section_statement_name" primitive_type (pointer_declarator "*output_section_statement_name" * identifier)) , (parameter_declaration "etree_type *address_exp" type_identifier (pointer_declarator "*address_exp" * identifier)) , (parameter_declaration "section_type sectype" type_identifier identifier) , (parameter_declaration "etree_type *align" type_identifier (pointer_declarator "*align" * identifier)) , (parameter_declaration "etree_type *subalign" type_identifier (pointer_declarator "*subalign" * identifier)) , (parameter_declaration "etree_type *ebase" type_identifier (pointer_declarator "*ebase" * identifier)) , (parameter_declaration "int constraint" primitive_type identifier) , (parameter_declaration "int align_with_input" primitive_type identifier) )))) (compound_statement "{\n  lang_statement_list_type **pplVar1;\n  lang_output_section_statement_type *plVar2;\n  uint uVar3;\n  char *fmt;\n  uint uVar4;\n  int iVar5;\n  lang_statement_list_type *in_stack_ffffffe4;\n  \n  plVar2 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);\n  current_section = plVar2;\n  if (plVar2->addr_tree == (etree_union *)0x0) {\n    plVar2->addr_tree = address_exp;\n  }\n  plVar2->sectype = sectype;\n  plVar2->block_value = 1;\n  plVar2->flags = (uint)(sectype == noload_section) << 9;\n  if ((lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr(in_stack_ffffffe4);\n  }\n  pplVar1 = stat_save_ptr + 1;\n  *stat_save_ptr = stat_ptr;\n  stat_save_ptr = pplVar1;\n  stat_ptr = &plVar2->children;\n  plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6;\n  if ((align_with_input == 0x180) && (align != (etree_type *)0x0)) {\n    fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    einfo(fmt,0);\n  }\n  uVar3 = exp_get_value_int(subalign,-1,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0002884a:\n  plVar2->subsection_alignment = iVar5;\n  uVar3 = exp_get_value_int(align,-1,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0002887e:\n  plVar2->section_alignment = iVar5;\n  plVar2->load_base = ebase;\n  return plVar2;\n}" { (declaration "lang_statement_list_type **pplVar1;" type_identifier (pointer_declarator "**pplVar1" * (pointer_declarator "*pplVar1" * identifier)) ;) (declaration "lang_output_section_statement_type *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "lang_statement_list_type *in_stack_ffffffe4;" type_identifier (pointer_declarator "*in_stack_ffffffe4" * identifier) ;) (expression_statement "plVar2 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);" (assignment_expression "plVar2 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1)" identifier = (call_expression "lang_output_section_statement_lookup(output_section_statement_name,constraint,1)" identifier (argument_list "(output_section_statement_name,constraint,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "current_section = plVar2;" (assignment_expression "current_section = plVar2" identifier = identifier) ;) (if_statement "if (plVar2->addr_tree == (etree_union *)0x0) {\n    plVar2->addr_tree = address_exp;\n  }" if (parenthesized_expression "(plVar2->addr_tree == (etree_union *)0x0)" ( (binary_expression "plVar2->addr_tree == (etree_union *)0x0" (field_expression "plVar2->addr_tree" identifier -> field_identifier) == (cast_expression "(etree_union *)0x0" ( (type_descriptor "etree_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    plVar2->addr_tree = address_exp;\n  }" { (expression_statement "plVar2->addr_tree = address_exp;" (assignment_expression "plVar2->addr_tree = address_exp" (field_expression "plVar2->addr_tree" identifier -> field_identifier) = identifier) ;) })) (expression_statement "plVar2->sectype = sectype;" (assignment_expression "plVar2->sectype = sectype" (field_expression "plVar2->sectype" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar2->block_value = 1;" (assignment_expression "plVar2->block_value = 1" (field_expression "plVar2->block_value" identifier -> field_identifier) = number_literal) ;) (expression_statement "plVar2->flags = (uint)(sectype == noload_section) << 9;" (assignment_expression "plVar2->flags = (uint)(sectype == noload_section) << 9" (field_expression "plVar2->flags" identifier -> field_identifier) = (binary_expression "(uint)(sectype == noload_section) << 9" (call_expression "(uint)(sectype == noload_section)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(sectype == noload_section)" ( (binary_expression "sectype == noload_section" identifier == identifier) ))) << number_literal)) ;) (if_statement "if ((lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr(in_stack_ffffffe4);\n  }" if (parenthesized_expression "((lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr)" ( (binary_expression "(lang_statement_list_type **)((int)stat_save + 0x27U) < stat_save_ptr" (cast_expression "(lang_statement_list_type **)((int)stat_save + 0x27U)" ( (type_descriptor "lang_statement_list_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)stat_save + 0x27U)" ( (binary_expression "(int)stat_save + 0x27U" (cast_expression "(int)stat_save" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr(in_stack_ffffffe4);\n  }" { comment (expression_statement "push_stat_ptr(in_stack_ffffffe4);" (call_expression "push_stat_ptr(in_stack_ffffffe4)" identifier (argument_list "(in_stack_ffffffe4)" ( identifier ))) ;) })) (expression_statement "pplVar1 = stat_save_ptr + 1;" (assignment_expression "pplVar1 = stat_save_ptr + 1" identifier = (binary_expression "stat_save_ptr + 1" identifier + number_literal)) ;) (expression_statement "*stat_save_ptr = stat_ptr;" (assignment_expression "*stat_save_ptr = stat_ptr" (pointer_expression "*stat_save_ptr" * identifier) = identifier) ;) (expression_statement "stat_save_ptr = pplVar1;" (assignment_expression "stat_save_ptr = pplVar1" identifier = identifier) ;) (expression_statement "stat_ptr = &plVar2->children;" (assignment_expression "stat_ptr = &plVar2->children" identifier = (pointer_expression "&plVar2->children" & (field_expression "plVar2->children" identifier -> field_identifier))) ;) (expression_statement "plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6;" (assignment_expression "plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6" (field_expression "plVar2->field_0x54" identifier -> field_identifier) = (binary_expression "plVar2->field_0x54 & 0xbf | (align_with_input == 0x180) << 6" (binary_expression "plVar2->field_0x54 & 0xbf" (field_expression "plVar2->field_0x54" identifier -> field_identifier) & number_literal) | (binary_expression "(align_with_input == 0x180) << 6" (parenthesized_expression "(align_with_input == 0x180)" ( (binary_expression "align_with_input == 0x180" identifier == number_literal) )) << number_literal))) ;) (if_statement "if ((align_with_input == 0x180) && (align != (etree_type *)0x0)) {\n    fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    einfo(fmt,0);\n  }" if (parenthesized_expression "((align_with_input == 0x180) && (align != (etree_type *)0x0))" ( (binary_expression "(align_with_input == 0x180) && (align != (etree_type *)0x0)" (parenthesized_expression "(align_with_input == 0x180)" ( (binary_expression "align_with_input == 0x180" identifier == number_literal) )) && (parenthesized_expression "(align != (etree_type *)0x0)" ( (binary_expression "align != (etree_type *)0x0" identifier != (cast_expression "(etree_type *)0x0" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    einfo(fmt,0);\n  }" { (expression_statement "fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" identifier (argument_list "(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" ( number_literal , (string_literal ""%F%P:%pS: error: align with input and explicit align specified\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,0);" (call_expression "einfo(fmt,0)" identifier (argument_list "(fmt,0)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar3 = exp_get_value_int(subalign,-1,"subsection alignment");" (assignment_expression "uVar3 = exp_get_value_int(subalign,-1,"subsection alignment")" identifier = (call_expression "exp_get_value_int(subalign,-1,"subsection alignment")" identifier (argument_list "(subalign,-1,"subsection alignment")" ( identifier , number_literal , (string_literal ""subsection alignment"" " string_content ") )))) ;) (if_statement "if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar5 = -1;\n  }" { (expression_statement "iVar5 = -1;" (assignment_expression "iVar5 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" else (compound_statement "{\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (do_statement "do {\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);" do (compound_statement "{\n      if (uVar3 <= uVar4) goto LAB_0002884a;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    }" { (if_statement "if (uVar3 <= uVar4) goto LAB_0002884a;" if (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) (goto_statement "goto LAB_0002884a;" goto statement_identifier ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x20)" ( (binary_expression "iVar5 != 0x20" identifier != number_literal) )) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002884a:\n  plVar2->subsection_alignment = iVar5;" statement_identifier : (expression_statement "plVar2->subsection_alignment = iVar5;" (assignment_expression "plVar2->subsection_alignment = iVar5" (field_expression "plVar2->subsection_alignment" identifier -> field_identifier) = identifier) ;)) (expression_statement "uVar3 = exp_get_value_int(align,-1,"section alignment");" (assignment_expression "uVar3 = exp_get_value_int(align,-1,"section alignment")" identifier = (call_expression "exp_get_value_int(align,-1,"section alignment")" identifier (argument_list "(align,-1,"section alignment")" ( identifier , number_literal , (string_literal ""section alignment"" " string_content ") )))) ;) (if_statement "if ((int)uVar3 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar5 = -1;\n  }" { (expression_statement "iVar5 = -1;" (assignment_expression "iVar5 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" else (compound_statement "{\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (do_statement "do {\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);" do (compound_statement "{\n      if (uVar3 <= uVar4) goto LAB_0002887e;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    }" { (if_statement "if (uVar3 <= uVar4) goto LAB_0002887e;" if (parenthesized_expression "(uVar3 <= uVar4)" ( (binary_expression "uVar3 <= uVar4" identifier <= identifier) )) (goto_statement "goto LAB_0002887e;" goto statement_identifier ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 * 2;" (assignment_expression "uVar4 = uVar4 * 2" identifier = (binary_expression "uVar4 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x20)" ( (binary_expression "iVar5 != 0x20" identifier != number_literal) )) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002887e:\n  plVar2->section_alignment = iVar5;" statement_identifier : (expression_statement "plVar2->section_alignment = iVar5;" (assignment_expression "plVar2->section_alignment = iVar5" (field_expression "plVar2->section_alignment" identifier -> field_identifier) = identifier) ;)) (expression_statement "plVar2->load_base = ebase;" (assignment_expression "plVar2->load_base = ebase" (field_expression "plVar2->load_base" identifier -> field_identifier) = identifier) ;) (return_statement "return plVar2;" return identifier ;) })))
(translation_unit "int FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}\n\n" (function_definition "int FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) , (parameter_declaration "int param_8" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "iVar2 = FUN_000256d0(param_1,param_7,1);" (assignment_expression "iVar2 = FUN_000256d0(param_1,param_7,1)" identifier = (call_expression "FUN_000256d0(param_1,param_7,1)" identifier (argument_list "(param_1,param_7,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "DAT_001d06f8 = iVar2;" (assignment_expression "DAT_001d06f8 = iVar2" identifier = identifier) ;) (if_statement "if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x2c) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x2c) == 0" (pointer_expression "*(int *)(iVar2 + 0x2c)" * (cast_expression "(int *)(iVar2 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 0x2c) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 0x2c) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" * (cast_expression "(undefined4 *)(iVar2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2c)" ( (binary_expression "iVar2 + 0x2c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)(iVar2 + 0x50) = param_3;" (assignment_expression "*(int *)(iVar2 + 0x50) = param_3" (pointer_expression "*(int *)(iVar2 + 0x50)" * (cast_expression "(int *)(iVar2 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x50)" ( (binary_expression "iVar2 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x3c) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x3c) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" * (cast_expression "(undefined4 *)(iVar2 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;" (assignment_expression "*(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9" (pointer_expression "*(uint *)(iVar2 + 0x4c)" * (cast_expression "(uint *)(iVar2 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x4c)" ( (binary_expression "iVar2 + 0x4c" identifier + number_literal) )))) = (binary_expression "(uint)(param_3 == 2) << 9" (call_expression "(uint)(param_3 == 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_3 == 2)" ( (binary_expression "param_3 == 2" identifier == number_literal) ))) << number_literal)) ;) (if_statement "if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }" if (parenthesized_expression "((undefined *)0x1d0767 < PTR_DAT_001cf39c)" ( (binary_expression "(undefined *)0x1d0767 < PTR_DAT_001cf39c" (cast_expression "(undefined *)0x1d0767" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    \n    FUN_000236b0();\n  }" { (expression_statement "FUN_000236b0();" (call_expression "FUN_000236b0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_DAT_001cf39c + 4;" (assignment_expression "puVar1 = PTR_DAT_001cf39c + 4" identifier = (binary_expression "PTR_DAT_001cf39c + 4" identifier + number_literal)) ;) (expression_statement "*(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;" (assignment_expression "*(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398" (pointer_expression "*(undefined **)PTR_DAT_001cf39c" * (cast_expression "(undefined **)PTR_DAT_001cf39c" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "PTR_DAT_001cf39c = puVar1;" (assignment_expression "PTR_DAT_001cf39c = puVar1" identifier = identifier) ;) (expression_statement "PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);" (assignment_expression "PTR_DAT_001cf398 = (undefined *)(iVar2 + 8)" identifier = (cast_expression "(undefined *)(iVar2 + 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) (expression_statement "*(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;" (assignment_expression "*(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6" (pointer_expression "*(byte *)(iVar2 + 0x54)" * (cast_expression "(byte *)(iVar2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) = (binary_expression "*(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6" (binary_expression "*(byte *)(iVar2 + 0x54) & 0xbf" (pointer_expression "*(byte *)(iVar2 + 0x54)" * (cast_expression "(byte *)(iVar2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x54)" ( (binary_expression "iVar2 + 0x54" identifier + number_literal) )))) & number_literal) | (binary_expression "(param_8 == 0x180) << 6" (parenthesized_expression "(param_8 == 0x180)" ( (binary_expression "param_8 == 0x180" identifier == number_literal) )) << number_literal))) ;) (if_statement "if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }" if (parenthesized_expression "((param_8 == 0x180) && (param_4 != 0))" ( (binary_expression "(param_8 == 0x180) && (param_4 != 0)" (parenthesized_expression "(param_8 == 0x180)" ( (binary_expression "param_8 == 0x180" identifier == number_literal) )) && (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }" { (expression_statement "uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" identifier = (call_expression "dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" identifier (argument_list "(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" ( number_literal , (string_literal ""%F%P:%pS: error: align with input and explicit align specified\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00034d20(uVar4,0);" (call_expression "FUN_00034d20(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");" (assignment_expression "uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment")" identifier = (call_expression "FUN_00033210(param_5,0xffffffff,"subsection alignment")" identifier (argument_list "(param_5,0xffffffff,"subsection alignment")" ( identifier , number_literal , (string_literal ""subsection alignment"" " string_content ") )))) ;) (if_statement "if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" else (compound_statement "{\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (do_statement "do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar3 <= uVar5) goto LAB_0002884a;" if (parenthesized_expression "(uVar3 <= uVar5)" ( (binary_expression "uVar3 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0002884a;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x20)" ( (binary_expression "iVar6 != 0x20" identifier != number_literal) )) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;" statement_identifier : (expression_statement "*(int *)(iVar2 + 0x40) = iVar6;" (assignment_expression "*(int *)(iVar2 + 0x40) = iVar6" (pointer_expression "*(int *)(iVar2 + 0x40)" * (cast_expression "(int *)(iVar2 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) = identifier) ;)) (expression_statement "uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");" (assignment_expression "uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment")" identifier = (call_expression "FUN_00033210(param_4,0xffffffff,"section alignment")" identifier (argument_list "(param_4,0xffffffff,"section alignment")" ( identifier , number_literal , (string_literal ""section alignment"" " string_content ") )))) ;) (if_statement "if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    iVar6 = -1;\n  }" { (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" else (compound_statement "{\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (do_statement "do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar3 <= uVar5) goto LAB_0002887e;" if (parenthesized_expression "(uVar3 <= uVar5)" ( (binary_expression "uVar3 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0002887e;" goto statement_identifier ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" identifier = (binary_expression "uVar5 * 2" identifier * number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x20)" ( (binary_expression "iVar6 != 0x20" identifier != number_literal) )) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;" statement_identifier : (expression_statement "*(int *)(iVar2 + 0x44) = iVar6;" (assignment_expression "*(int *)(iVar2 + 0x44) = iVar6" (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = param_6;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = param_6" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" * (cast_expression "(undefined4 *)(iVar2 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) << LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (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 , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_00028760(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)" (identifier "FUN_00028760") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,\n                undefined4 param_6,undefined4 param_7,int param_8)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  iVar2 = FUN_000256d0(param_1,param_7,1);\n  DAT_001d06f8 = iVar2;\n  if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }\n  *(int *)(iVar2 + 0x50) = param_3;\n  *(undefined4 *)(iVar2 + 0x3c) = 1;\n  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }\n  puVar1 = PTR_DAT_001cf39c + 4;\n  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;\n  PTR_DAT_001cf39c = puVar1;\n  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);\n  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;\n  if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }\n  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;\n  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");\n  if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;\n  *(undefined4 *)(iVar2 + 0x30) = param_6;\n  return iVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "iVar2 = FUN_000256d0(param_1,param_7,1);" (assignment_expression "iVar2 = FUN_000256d0(param_1,param_7,1)" (identifier "iVar2") (= "=") (call_expression "FUN_000256d0(param_1,param_7,1)" (identifier "FUN_000256d0") (argument_list "(param_1,param_7,1)" (( "(") (identifier "param_1") (, ",") (identifier "param_7") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "DAT_001d06f8 = iVar2;" (assignment_expression "DAT_001d06f8 = iVar2" (identifier "DAT_001d06f8") (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x2c) == 0) {\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x2c) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x2c) == 0" (pointer_expression "*(int *)(iVar2 + 0x2c)" (* "*") (cast_expression "(int *)(iVar2 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar2 + 0x2c) = param_2;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 0x2c) = param_2;" (assignment_expression "*(undefined4 *)(iVar2 + 0x2c) = param_2" (pointer_expression "*(undefined4 *)(iVar2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2c)" (( "(") (binary_expression "iVar2 + 0x2c" (identifier "iVar2") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar2 + 0x50) = param_3;" (assignment_expression "*(int *)(iVar2 + 0x50) = param_3" (pointer_expression "*(int *)(iVar2 + 0x50)" (* "*") (cast_expression "(int *)(iVar2 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x50)" (( "(") (binary_expression "iVar2 + 0x50" (identifier "iVar2") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x3c) = 1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x3c) = 1" (pointer_expression "*(undefined4 *)(iVar2 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3c)" (( "(") (binary_expression "iVar2 + 0x3c" (identifier "iVar2") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;" (assignment_expression "*(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9" (pointer_expression "*(uint *)(iVar2 + 0x4c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x4c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x4c)" (( "(") (binary_expression "iVar2 + 0x4c" (identifier "iVar2") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (binary_expression "(uint)(param_3 == 2) << 9" (call_expression "(uint)(param_3 == 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_3 == 2)" (( "(") (binary_expression "param_3 == 2" (identifier "param_3") (== "==") (number_literal "2")) () ")"))) (<< "<<") (number_literal "9"))) (; ";")) (if_statement "if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {\n                    \n    FUN_000236b0();\n  }" (if "if") (parenthesized_expression "((undefined *)0x1d0767 < PTR_DAT_001cf39c)" (( "(") (binary_expression "(undefined *)0x1d0767 < PTR_DAT_001cf39c" (cast_expression "(undefined *)0x1d0767" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1d0767")) (< "<") (identifier "PTR_DAT_001cf39c")) () ")")) (compound_statement "{\n                    \n    FUN_000236b0();\n  }" ({ "{") (expression_statement "FUN_000236b0();" (call_expression "FUN_000236b0()" (identifier "FUN_000236b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_DAT_001cf39c + 4;" (assignment_expression "puVar1 = PTR_DAT_001cf39c + 4" (identifier "puVar1") (= "=") (binary_expression "PTR_DAT_001cf39c + 4" (identifier "PTR_DAT_001cf39c") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;" (assignment_expression "*(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398" (pointer_expression "*(undefined **)PTR_DAT_001cf39c" (* "*") (cast_expression "(undefined **)PTR_DAT_001cf39c" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_001cf39c"))) (= "=") (identifier "PTR_DAT_001cf398")) (; ";")) (expression_statement "PTR_DAT_001cf39c = puVar1;" (assignment_expression "PTR_DAT_001cf39c = puVar1" (identifier "PTR_DAT_001cf39c") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);" (assignment_expression "PTR_DAT_001cf398 = (undefined *)(iVar2 + 8)" (identifier "PTR_DAT_001cf398") (= "=") (cast_expression "(undefined *)(iVar2 + 8)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;" (assignment_expression "*(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6" (pointer_expression "*(byte *)(iVar2 + 0x54)" (* "*") (cast_expression "(byte *)(iVar2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (binary_expression "*(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6" (binary_expression "*(byte *)(iVar2 + 0x54) & 0xbf" (pointer_expression "*(byte *)(iVar2 + 0x54)" (* "*") (cast_expression "(byte *)(iVar2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x54)" (( "(") (binary_expression "iVar2 + 0x54" (identifier "iVar2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "0xbf")) (| "|") (binary_expression "(param_8 == 0x180) << 6" (parenthesized_expression "(param_8 == 0x180)" (( "(") (binary_expression "param_8 == 0x180" (identifier "param_8") (== "==") (number_literal "0x180")) () ")")) (<< "<<") (number_literal "6")))) (; ";")) (if_statement "if ((param_8 == 0x180) && (param_4 != 0)) {\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }" (if "if") (parenthesized_expression "((param_8 == 0x180) && (param_4 != 0))" (( "(") (binary_expression "(param_8 == 0x180) && (param_4 != 0)" (parenthesized_expression "(param_8 == 0x180)" (( "(") (binary_expression "param_8 == 0x180" (identifier "param_8") (== "==") (number_literal "0x180")) () ")")) (&& "&&") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);\n    FUN_00034d20(uVar4,0);\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P:%pS: error: align with input and explicit align specified\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P:%pS: error: align with input and explicit align specified\n"" (" """) (string_content "%F%P:%pS: error: align with input and explicit align specified") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00034d20(uVar4,0);" (call_expression "FUN_00034d20(uVar4,0)" (identifier "FUN_00034d20") (argument_list "(uVar4,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");" (assignment_expression "uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment")" (identifier "uVar3") (= "=") (call_expression "FUN_00033210(param_5,0xffffffff,"subsection alignment")" (identifier "FUN_00033210") (argument_list "(param_5,0xffffffff,"subsection alignment")" (( "(") (identifier "param_5") (, ",") (number_literal "0xffffffff") (, ",") (string_literal ""subsection alignment"" (" """) (string_content "subsection alignment") (" """)) () ")")))) (; ";")) (if_statement "if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "((int)uVar3 < 0)" (( "(") (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = -1;\n  }" ({ "{") (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" (identifier "iVar6") (= "=") (number_literal "-1")) (; ";")) (} "}")) (else_clause "else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" (else "else") (compound_statement "{\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" (do "do") (compound_statement "{\n      if (uVar3 <= uVar5) goto LAB_0002884a;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" ({ "{") (if_statement "if (uVar3 <= uVar5) goto LAB_0002884a;" (if "if") (parenthesized_expression "(uVar3 <= uVar5)" (( "(") (binary_expression "uVar3 <= uVar5" (identifier "uVar3") (<= "<=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0002884a;" (goto "goto") (statement_identifier "LAB_0002884a") (; ";"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" (identifier "uVar5") (= "=") (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0x20)" (( "(") (binary_expression "iVar6 != 0x20" (identifier "iVar6") (!= "!=") (number_literal "0x20")) () ")")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (labeled_statement "LAB_0002884a:\n  *(int *)(iVar2 + 0x40) = iVar6;" (statement_identifier "LAB_0002884a") (: ":") (expression_statement "*(int *)(iVar2 + 0x40) = iVar6;" (assignment_expression "*(int *)(iVar2 + 0x40) = iVar6" (pointer_expression "*(int *)(iVar2 + 0x40)" (* "*") (cast_expression "(int *)(iVar2 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x40)" (( "(") (binary_expression "iVar2 + 0x40" (identifier "iVar2") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");" (assignment_expression "uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment")" (identifier "uVar3") (= "=") (call_expression "FUN_00033210(param_4,0xffffffff,"section alignment")" (identifier "FUN_00033210") (argument_list "(param_4,0xffffffff,"section alignment")" (( "(") (identifier "param_4") (, ",") (number_literal "0xffffffff") (, ",") (string_literal ""section alignment"" (" """) (string_content "section alignment") (" """)) () ")")))) (; ";")) (if_statement "if ((int)uVar3 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "((int)uVar3 < 0)" (( "(") (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = -1;\n  }" ({ "{") (expression_statement "iVar6 = -1;" (assignment_expression "iVar6 = -1" (identifier "iVar6") (= "=") (number_literal "-1")) (; ";")) (} "}")) (else_clause "else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" (else "else") (compound_statement "{\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" (do "do") (compound_statement "{\n      if (uVar3 <= uVar5) goto LAB_0002887e;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" ({ "{") (if_statement "if (uVar3 <= uVar5) goto LAB_0002887e;" (if "if") (parenthesized_expression "(uVar3 <= uVar5)" (( "(") (binary_expression "uVar3 <= uVar5" (identifier "uVar3") (<= "<=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0002887e;" (goto "goto") (statement_identifier "LAB_0002887e") (; ";"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = uVar5 * 2;" (assignment_expression "uVar5 = uVar5 * 2" (identifier "uVar5") (= "=") (binary_expression "uVar5 * 2" (identifier "uVar5") (* "*") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0x20)" (( "(") (binary_expression "iVar6 != 0x20" (identifier "iVar6") (!= "!=") (number_literal "0x20")) () ")")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (labeled_statement "LAB_0002887e:\n  *(int *)(iVar2 + 0x44) = iVar6;" (statement_identifier "LAB_0002887e") (: ":") (expression_statement "*(int *)(iVar2 + 0x44) = iVar6;" (assignment_expression "*(int *)(iVar2 + 0x44) = iVar6" (pointer_expression "*(int *)(iVar2 + 0x44)" (* "*") (cast_expression "(int *)(iVar2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "*(undefined4 *)(iVar2 + 0x30) = param_6;" (assignment_expression "*(undefined4 *)(iVar2 + 0x30) = param_6" (pointer_expression "*(undefined4 *)(iVar2 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "param_6")) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

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

type_1 *
function_1
          (char *output_section_statement_name,type_2 *address_exp,type_3 var_2,
          type_2 *var_7,type_2 *subalign,type_2 *ebase,int constraint,
          int var_6)

{
  type_4 **pplVar1;
  type_1 *plVar2;
  type_5 var_11;
  char *fmt;
  type_5 var_12;
  int var_13;
  type_4 *in_stack_ffffffe4;
  
  plVar2 = var_1(output_section_statement_name,constraint,1);
  current_section = plVar2;
  if (plVar2->addr_tree == (type_6 *)0x0) {
    plVar2->addr_tree = address_exp;
  }
  plVar2->var_2 = var_2;
  plVar2->block_value = 1;
  plVar2->flags = (type_5)(var_2 == var_3) << 9;
  if ((type_4 **)((int)stat_save + 0x27U) < var_4) {
                    /* WARNING: Subroutine does not return */
    var_5(in_stack_ffffffe4);
  }
  pplVar1 = var_4 + 1;
  *var_4 = stat_ptr;
  var_4 = pplVar1;
  stat_ptr = &plVar2->children;
  plVar2->field_0x54 = plVar2->field_0x54 & 0xbf | (var_6 == 0x180) << 6;
  if ((var_6 == 0x180) && (var_7 != (type_2 *)0x0)) {
    fmt = (char *)var_8(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);
    var_9(fmt,0);
  }
  var_11 = var_10(subalign,-1,"subsection alignment");
  if ((int)var_11 < 0) {
    var_13 = -1;
  }
  else {
    var_13 = 0;
    var_12 = 1;
    do {
      if (var_11 <= var_12) goto LAB_0002884a;
      var_13 = var_13 + 1;
      var_12 = var_12 * 2;
    } while (var_13 != 0x20);
    var_13 = 0;
  }
LAB_0002884a:
  plVar2->subsection_alignment = var_13;
  var_11 = var_10(var_7,-1,"section alignment");
  if ((int)var_11 < 0) {
    var_13 = -1;
  }
  else {
    var_13 = 0;
    var_12 = 1;
    do {
      if (var_11 <= var_12) goto LAB_0002887e;
      var_13 = var_13 + 1;
      var_12 = var_12 * 2;
    } while (var_13 != 0x20);
    var_13 = 0;
  }
LAB_0002887e:
  plVar2->section_alignment = var_13;
  plVar2->load_base = ebase;
  return plVar2;
}


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

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

int MASKED(undefined4 param_1,undefined4 param_2,int param_3,int param_4,undefined4 param_5,
                undefined4 param_6,undefined4 param_7,int param_8)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  
  iVar2 = FUN_000256d0(param_1,param_7,1);
  DAT_001d06f8 = iVar2;
  if (*(int *)(iVar2 + 0x2c) == 0) {
    *(undefined4 *)(iVar2 + 0x2c) = param_2;
  }
  *(int *)(iVar2 + 0x50) = param_3;
  *(undefined4 *)(iVar2 + 0x3c) = 1;
  *(uint *)(iVar2 + 0x4c) = (uint)(param_3 == 2) << 9;
  if ((undefined *)0x1d0767 < PTR_DAT_001cf39c) {
                    /* WARNING: Subroutine does not return */
    FUN_000236b0();
  }
  puVar1 = PTR_DAT_001cf39c + 4;
  *(undefined **)PTR_DAT_001cf39c = PTR_DAT_001cf398;
  PTR_DAT_001cf39c = puVar1;
  PTR_DAT_001cf398 = (undefined *)(iVar2 + 8);
  *(byte *)(iVar2 + 0x54) = *(byte *)(iVar2 + 0x54) & 0xbf | (param_8 == 0x180) << 6;
  if ((param_8 == 0x180) && (param_4 != 0)) {
    uVar4 = dcgettext(0,"%F%P:%pS: error: align with input and explicit align specified\n",5);
    FUN_00034d20(uVar4,0);
  }
  uVar3 = FUN_00033210(param_5,0xffffffff,"subsection alignment");
  if ((int)uVar3 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar3 <= uVar5) goto LAB_0002884a;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0002884a:
  *(int *)(iVar2 + 0x40) = iVar6;
  uVar3 = FUN_00033210(param_4,0xffffffff,"section alignment");
  if ((int)uVar3 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar3 <= uVar5) goto LAB_0002887e;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0002887e:
  *(int *)(iVar2 + 0x44) = iVar6;
  *(undefined4 *)(iVar2 + 0x30) = param_6;
  return iVar2;
}

