
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;
  uint uVar2;
  lang_output_section_statement_type *plVar3;
  char *fmt;
  uint uVar4;
  int iVar5;
  
  plVar3 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);
  current_section = plVar3;
  if (plVar3->addr_tree == (etree_union *)0x0) {
    plVar3->addr_tree = address_exp;
  }
  plVar3->sectype = sectype;
  plVar3->block_value = 1;
  plVar3->flags = (uint)(sectype == noload_section) << 9;
  if ((lang_statement_list_type **)((long)stat_save + 0x4fU) < stat_save_ptr) {
                    /* WARNING: Subroutine does not return */
    push_stat_ptr((lang_statement_list_type *)output_section_statement_name);
  }
  pplVar1 = stat_save_ptr + 1;
  *stat_save_ptr = stat_ptr;
  stat_save_ptr = pplVar1;
  stat_ptr = &plVar3->children;
  plVar3->field_0x90 = plVar3->field_0x90 & 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);
  }
  uVar2 = exp_get_value_int(subalign,-1,"subsection alignment");
  if ((int)uVar2 < 0) {
    iVar5 = -1;
  }
  else {
    iVar5 = 0;
    uVar4 = 1;
    do {
      if (uVar2 <= uVar4) goto LAB_0011ad82;
      iVar5 = iVar5 + 1;
      uVar4 = uVar4 * 2;
    } while (iVar5 != 0x20);
    iVar5 = 0;
  }
LAB_0011ad82:
  plVar3->subsection_alignment = iVar5;
  uVar2 = exp_get_value_int(align,-1,"section alignment");
  if ((int)uVar2 < 0) {
    iVar5 = -1;
  }
  else {
    iVar5 = 0;
    uVar4 = 1;
    do {
      if (uVar2 <= uVar4) goto LAB_0011adbe;
      iVar5 = iVar5 + 1;
      uVar4 = uVar4 * 2;
    } while (iVar5 != 0x20);
    iVar5 = 0;
  }
LAB_0011adbe:
  plVar3->section_alignment = iVar5;
  plVar3->load_base = ebase;
  return plVar3;
}



long FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,
                 undefined8 param_6,undefined4 param_7,int param_8)

{
  undefined *puVar1;
  uint uVar2;
  long lVar3;
  undefined8 uVar4;
  uint uVar5;
  int iVar6;
  
  lVar3 = FUN_00117e20(param_1,param_7,1);
  DAT_00224fd0 = lVar3;
  if (*(long *)(lVar3 + 0x58) == 0) {
    *(undefined8 *)(lVar3 + 0x58) = param_2;
  }
  *(int *)(lVar3 + 0x8c) = param_3;
  *(undefined4 *)(lVar3 + 0x78) = 1;
  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;
  if ((undefined *)0x22508f < PTR_DAT_00223658) {
                    /* WARNING: Subroutine does not return */
    FUN_00116490();
  }
  puVar1 = PTR_DAT_00223658 + 8;
  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;
  PTR_DAT_00223658 = puVar1;
  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);
  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);
  }
  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");
  if ((int)uVar2 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar2 <= uVar5) goto LAB_0011ad82;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0011ad82:
  *(int *)(lVar3 + 0x7c) = iVar6;
  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");
  if ((int)uVar2 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar2 <= uVar5) goto LAB_0011adbe;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0011adbe:
  *(int *)(lVar3 + 0x80) = iVar6;
  *(undefined8 *)(lVar3 + 0x60) = param_6;
  return lVar3;
}


PUSH R15
MOV R15,RSI
PUSH R14
MOV R14D,EDX
MOV EDX,0x1
PUSH R13
MOV R13,R8
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,R9
PUSH RBX
SUB RSP,0x8
MOV ESI,dword ptr [RSP + 0x40]
CALL 0x00117e20
CMP qword ptr [RAX + 0x58],0x0
MOV RBX,RAX
MOV qword ptr [0x00224fd0],RAX
JZ 0x0011ae20
XOR EAX,EAX
CMP R14D,0x2
LEA RDX,[0x225090]
MOV dword ptr [RBX + 0x8c],R14D
SETZ AL
MOV dword ptr [RBX + 0x78],0x1
LEA RCX,[RBX + 0x10]
SHL EAX,0x9
MOV dword ptr [RBX + 0x88],EAX
MOV RAX,qword ptr [0x00223658]
CMP RAX,RDX
JNC 0x0011ae3a
LEA RDX,[RAX + 0x8]
CMP dword ptr [RSP + 0x48],0x180
MOV qword ptr [0x00223658],RDX
MOV RDX,qword ptr [0x00223650]
MOV qword ptr [RAX],RDX
SETZ AL
SHL EAX,0x6
MOV qword ptr [0x00223650],RCX
MOV EDX,EAX
MOVZX EAX,byte ptr [RBX + 0x90]
AND EAX,0xffffffbf
OR EAX,EDX
MOV byte ptr [RBX + 0x90],AL
TEST AL,0x40
JZ 0x0011ad46
TEST R12,R12
JNZ 0x0011ade0
LEA RDX,[0x153206]
MOV ESI,0xffffffff
MOV RDI,R13
CALL 0x001248a0
TEST EAX,EAX
JS 0x0011ae30
XOR EDX,EDX
MOV ECX,0x1
JMP 0x0011ad7e
ADD EDX,0x1
ADD ECX,ECX
CMP EDX,0x20
JZ 0x0011ae10
CMP EAX,ECX
JA 0x0011ad70
MOV dword ptr [RBX + 0x7c],EDX
MOV ESI,0xffffffff
MOV RDI,R12
LEA RDX,[0x153209]
CALL 0x001248a0
TEST EAX,EAX
JS 0x0011ae29
XOR EDX,EDX
MOV ECX,0x1
JMP 0x0011adba
ADD EDX,0x1
ADD ECX,ECX
CMP EDX,0x20
JZ 0x0011ae08
CMP EAX,ECX
JA 0x0011adb0
MOV dword ptr [RBX + 0x80],EDX
MOV RAX,RBX
MOV qword ptr [RBX + 0x60],RBP
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
XOR EDI,EDI
MOV EDX,0x5
LEA RSI,[0x153ac0]
CALL 0x0010a2e0
XOR ESI,ESI
MOV RDI,RAX
XOR EAX,EAX
CALL 0x001261f0
JMP 0x0011ad46
XOR EDX,EDX
JMP 0x0011adbe
XOR EDX,EDX
JMP 0x0011ad82
MOV qword ptr [RAX + 0x58],R15
JMP 0x0011acc0
MOV EDX,0xffffffff
JMP 0x0011adbe
MOV EDX,0xffffffff
JMP 0x0011ad82
CALL 0x00116490
(translation_unit "long FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}\n\n" (function_definition "long FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "undefined8 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  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "lVar3 = FUN_00117e20(param_1,param_7,1);" (assignment_expression "lVar3 = FUN_00117e20(param_1,param_7,1)" identifier = (call_expression "FUN_00117e20(param_1,param_7,1)" identifier (argument_list "(param_1,param_7,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "DAT_00224fd0 = lVar3;" (assignment_expression "DAT_00224fd0 = lVar3" identifier = identifier) ;) (if_statement "if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }" if (parenthesized_expression "(*(long *)(lVar3 + 0x58) == 0)" ( (binary_expression "*(long *)(lVar3 + 0x58) == 0" (pointer_expression "*(long *)(lVar3 + 0x58)" * (cast_expression "(long *)(lVar3 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x58)" ( (binary_expression "lVar3 + 0x58" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }" { (expression_statement "*(undefined8 *)(lVar3 + 0x58) = param_2;" (assignment_expression "*(undefined8 *)(lVar3 + 0x58) = param_2" (pointer_expression "*(undefined8 *)(lVar3 + 0x58)" * (cast_expression "(undefined8 *)(lVar3 + 0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x58)" ( (binary_expression "lVar3 + 0x58" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)(lVar3 + 0x8c) = param_3;" (assignment_expression "*(int *)(lVar3 + 0x8c) = param_3" (pointer_expression "*(int *)(lVar3 + 0x8c)" * (cast_expression "(int *)(lVar3 + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x8c)" ( (binary_expression "lVar3 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x78) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x78) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x78)" * (cast_expression "(undefined4 *)(lVar3 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x78)" ( (binary_expression "lVar3 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;" (assignment_expression "*(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9" (pointer_expression "*(uint *)(lVar3 + 0x88)" * (cast_expression "(uint *)(lVar3 + 0x88)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x88)" ( (binary_expression "lVar3 + 0x88" 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 *)0x22508f < PTR_DAT_00223658) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116490();\n  }" if (parenthesized_expression "((undefined *)0x22508f < PTR_DAT_00223658)" ( (binary_expression "(undefined *)0x22508f < PTR_DAT_00223658" (cast_expression "(undefined *)0x22508f" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00116490();\n  }" { comment (expression_statement "FUN_00116490();" (call_expression "FUN_00116490()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_DAT_00223658 + 8;" (assignment_expression "puVar1 = PTR_DAT_00223658 + 8" identifier = (binary_expression "PTR_DAT_00223658 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;" (assignment_expression "*(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650" (pointer_expression "*(undefined **)PTR_DAT_00223658" * (cast_expression "(undefined **)PTR_DAT_00223658" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "PTR_DAT_00223658 = puVar1;" (assignment_expression "PTR_DAT_00223658 = puVar1" identifier = identifier) ;) (expression_statement "PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);" (assignment_expression "PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10)" identifier = (cast_expression "(undefined *)(lVar3 + 0x10)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ;) (expression_statement "*(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6;" (assignment_expression "*(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6" (pointer_expression "*(byte *)(lVar3 + 0x90)" * (cast_expression "(byte *)(lVar3 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x90)" ( (binary_expression "lVar3 + 0x90" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6" (binary_expression "*(byte *)(lVar3 + 0x90) & 0xbf" (pointer_expression "*(byte *)(lVar3 + 0x90)" * (cast_expression "(byte *)(lVar3 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x90)" ( (binary_expression "lVar3 + 0x90" 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_001261f0(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_001261f0(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_001261f0(uVar4,0);" (call_expression "FUN_001261f0(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");" (assignment_expression "uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment")" identifier = (call_expression "FUN_001248a0(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)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (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 (uVar2 <= uVar5) goto LAB_0011ad82;\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 (uVar2 <= uVar5) goto LAB_0011ad82;\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 (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar2 <= uVar5) goto LAB_0011ad82;" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0011ad82;" 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_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;" statement_identifier : (expression_statement "*(int *)(lVar3 + 0x7c) = iVar6;" (assignment_expression "*(int *)(lVar3 + 0x7c) = iVar6" (pointer_expression "*(int *)(lVar3 + 0x7c)" * (cast_expression "(int *)(lVar3 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x7c)" ( (binary_expression "lVar3 + 0x7c" identifier + number_literal) )))) = identifier) ;)) (expression_statement "uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");" (assignment_expression "uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment")" identifier = (call_expression "FUN_001248a0(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)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (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 (uVar2 <= uVar5) goto LAB_0011adbe;\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 (uVar2 <= uVar5) goto LAB_0011adbe;\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 (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar2 <= uVar5) goto LAB_0011adbe;" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0011adbe;" 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_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;" statement_identifier : (expression_statement "*(int *)(lVar3 + 0x80) = iVar6;" (assignment_expression "*(int *)(lVar3 + 0x80) = iVar6" (pointer_expression "*(int *)(lVar3 + 0x80)" * (cast_expression "(int *)(lVar3 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x80)" ( (binary_expression "lVar3 + 0x80" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined8 *)(lVar3 + 0x60) = param_6;" (assignment_expression "*(undefined8 *)(lVar3 + 0x60) = param_6" (pointer_expression "*(undefined8 *)(lVar3 + 0x60)" * (cast_expression "(undefined8 *)(lVar3 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x60)" ( (binary_expression "lVar3 + 0x60" identifier + number_literal) )))) = identifier) ;) (return_statement "return lVar3;" return identifier ;) })))
(translation_unit "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  uint uVar2;\n  lang_output_section_statement_type *plVar3;\n  char *fmt;\n  uint uVar4;\n  int iVar5;\n  \n  plVar3 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);\n  current_section = plVar3;\n  if (plVar3->addr_tree == (etree_union *)0x0) {\n    plVar3->addr_tree = address_exp;\n  }\n  plVar3->sectype = sectype;\n  plVar3->block_value = 1;\n  plVar3->flags = (uint)(sectype == noload_section) << 9;\n  if ((lang_statement_list_type **)((long)stat_save + 0x4fU) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr((lang_statement_list_type *)output_section_statement_name);\n  }\n  pplVar1 = stat_save_ptr + 1;\n  *stat_save_ptr = stat_ptr;\n  stat_save_ptr = pplVar1;\n  stat_ptr = &plVar3->children;\n  plVar3->field_0x90 = plVar3->field_0x90 & 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  uVar2 = exp_get_value_int(subalign,-1,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011ad82;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0011ad82:\n  plVar3->subsection_alignment = iVar5;\n  uVar2 = exp_get_value_int(align,-1,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011adbe;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0011adbe:\n  plVar3->section_alignment = iVar5;\n  plVar3->load_base = ebase;\n  return plVar3;\n}\n\n" (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  uint uVar2;\n  lang_output_section_statement_type *plVar3;\n  char *fmt;\n  uint uVar4;\n  int iVar5;\n  \n  plVar3 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);\n  current_section = plVar3;\n  if (plVar3->addr_tree == (etree_union *)0x0) {\n    plVar3->addr_tree = address_exp;\n  }\n  plVar3->sectype = sectype;\n  plVar3->block_value = 1;\n  plVar3->flags = (uint)(sectype == noload_section) << 9;\n  if ((lang_statement_list_type **)((long)stat_save + 0x4fU) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr((lang_statement_list_type *)output_section_statement_name);\n  }\n  pplVar1 = stat_save_ptr + 1;\n  *stat_save_ptr = stat_ptr;\n  stat_save_ptr = pplVar1;\n  stat_ptr = &plVar3->children;\n  plVar3->field_0x90 = plVar3->field_0x90 & 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  uVar2 = exp_get_value_int(subalign,-1,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011ad82;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0011ad82:\n  plVar3->subsection_alignment = iVar5;\n  uVar2 = exp_get_value_int(align,-1,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011adbe;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0011adbe:\n  plVar3->section_alignment = iVar5;\n  plVar3->load_base = ebase;\n  return plVar3;\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  uint uVar2;\n  lang_output_section_statement_type *plVar3;\n  char *fmt;\n  uint uVar4;\n  int iVar5;\n  \n  plVar3 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);\n  current_section = plVar3;\n  if (plVar3->addr_tree == (etree_union *)0x0) {\n    plVar3->addr_tree = address_exp;\n  }\n  plVar3->sectype = sectype;\n  plVar3->block_value = 1;\n  plVar3->flags = (uint)(sectype == noload_section) << 9;\n  if ((lang_statement_list_type **)((long)stat_save + 0x4fU) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr((lang_statement_list_type *)output_section_statement_name);\n  }\n  pplVar1 = stat_save_ptr + 1;\n  *stat_save_ptr = stat_ptr;\n  stat_save_ptr = pplVar1;\n  stat_ptr = &plVar3->children;\n  plVar3->field_0x90 = plVar3->field_0x90 & 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  uVar2 = exp_get_value_int(subalign,-1,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011ad82;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0011ad82:\n  plVar3->subsection_alignment = iVar5;\n  uVar2 = exp_get_value_int(align,-1,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011adbe;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }\nLAB_0011adbe:\n  plVar3->section_alignment = iVar5;\n  plVar3->load_base = ebase;\n  return plVar3;\n}" { (declaration "lang_statement_list_type **pplVar1;" type_identifier (pointer_declarator "**pplVar1" * (pointer_declarator "*pplVar1" * identifier)) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "lang_output_section_statement_type *plVar3;" type_identifier (pointer_declarator "*plVar3" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "plVar3 = lang_output_section_statement_lookup(output_section_statement_name,constraint,1);" (assignment_expression "plVar3 = 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 = plVar3;" (assignment_expression "current_section = plVar3" identifier = identifier) ;) (if_statement "if (plVar3->addr_tree == (etree_union *)0x0) {\n    plVar3->addr_tree = address_exp;\n  }" if (parenthesized_expression "(plVar3->addr_tree == (etree_union *)0x0)" ( (binary_expression "plVar3->addr_tree == (etree_union *)0x0" (field_expression "plVar3->addr_tree" identifier -> field_identifier) == (cast_expression "(etree_union *)0x0" ( (type_descriptor "etree_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    plVar3->addr_tree = address_exp;\n  }" { (expression_statement "plVar3->addr_tree = address_exp;" (assignment_expression "plVar3->addr_tree = address_exp" (field_expression "plVar3->addr_tree" identifier -> field_identifier) = identifier) ;) })) (expression_statement "plVar3->sectype = sectype;" (assignment_expression "plVar3->sectype = sectype" (field_expression "plVar3->sectype" identifier -> field_identifier) = identifier) ;) (expression_statement "plVar3->block_value = 1;" (assignment_expression "plVar3->block_value = 1" (field_expression "plVar3->block_value" identifier -> field_identifier) = number_literal) ;) (expression_statement "plVar3->flags = (uint)(sectype == noload_section) << 9;" (assignment_expression "plVar3->flags = (uint)(sectype == noload_section) << 9" (field_expression "plVar3->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 **)((long)stat_save + 0x4fU) < stat_save_ptr) {\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr((lang_statement_list_type *)output_section_statement_name);\n  }" if (parenthesized_expression "((lang_statement_list_type **)((long)stat_save + 0x4fU) < stat_save_ptr)" ( (binary_expression "(lang_statement_list_type **)((long)stat_save + 0x4fU) < stat_save_ptr" (cast_expression "(lang_statement_list_type **)((long)stat_save + 0x4fU)" ( (type_descriptor "lang_statement_list_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)stat_save + 0x4fU)" ( (binary_expression "(long)stat_save + 0x4fU" (cast_expression "(long)stat_save" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    push_stat_ptr((lang_statement_list_type *)output_section_statement_name);\n  }" { comment (expression_statement "push_stat_ptr((lang_statement_list_type *)output_section_statement_name);" (call_expression "push_stat_ptr((lang_statement_list_type *)output_section_statement_name)" identifier (argument_list "((lang_statement_list_type *)output_section_statement_name)" ( (cast_expression "(lang_statement_list_type *)output_section_statement_name" ( (type_descriptor "lang_statement_list_type *" type_identifier (abstract_pointer_declarator "*" *)) ) 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 = &plVar3->children;" (assignment_expression "stat_ptr = &plVar3->children" identifier = (pointer_expression "&plVar3->children" & (field_expression "plVar3->children" identifier -> field_identifier))) ;) (expression_statement "plVar3->field_0x90 = plVar3->field_0x90 & 0xbf | (align_with_input == 0x180) << 6;" (assignment_expression "plVar3->field_0x90 = plVar3->field_0x90 & 0xbf | (align_with_input == 0x180) << 6" (field_expression "plVar3->field_0x90" identifier -> field_identifier) = (binary_expression "plVar3->field_0x90 & 0xbf | (align_with_input == 0x180) << 6" (binary_expression "plVar3->field_0x90 & 0xbf" (field_expression "plVar3->field_0x90" 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 "uVar2 = exp_get_value_int(subalign,-1,"subsection alignment");" (assignment_expression "uVar2 = 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)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011ad82;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (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 (uVar2 <= uVar4) goto LAB_0011ad82;\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 (uVar2 <= uVar4) goto LAB_0011ad82;\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 (uVar2 <= uVar4) goto LAB_0011ad82;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);" do (compound_statement "{\n      if (uVar2 <= uVar4) goto LAB_0011ad82;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    }" { (if_statement "if (uVar2 <= uVar4) goto LAB_0011ad82;" if (parenthesized_expression "(uVar2 <= uVar4)" ( (binary_expression "uVar2 <= uVar4" identifier <= identifier) )) (goto_statement "goto LAB_0011ad82;" 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_0011ad82:\n  plVar3->subsection_alignment = iVar5;" statement_identifier : (expression_statement "plVar3->subsection_alignment = iVar5;" (assignment_expression "plVar3->subsection_alignment = iVar5" (field_expression "plVar3->subsection_alignment" identifier -> field_identifier) = identifier) ;)) (expression_statement "uVar2 = exp_get_value_int(align,-1,"section alignment");" (assignment_expression "uVar2 = 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)uVar2 < 0) {\n    iVar5 = -1;\n  }\n  else {\n    iVar5 = 0;\n    uVar4 = 1;\n    do {\n      if (uVar2 <= uVar4) goto LAB_0011adbe;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);\n    iVar5 = 0;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (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 (uVar2 <= uVar4) goto LAB_0011adbe;\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 (uVar2 <= uVar4) goto LAB_0011adbe;\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 (uVar2 <= uVar4) goto LAB_0011adbe;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    } while (iVar5 != 0x20);" do (compound_statement "{\n      if (uVar2 <= uVar4) goto LAB_0011adbe;\n      iVar5 = iVar5 + 1;\n      uVar4 = uVar4 * 2;\n    }" { (if_statement "if (uVar2 <= uVar4) goto LAB_0011adbe;" if (parenthesized_expression "(uVar2 <= uVar4)" ( (binary_expression "uVar2 <= uVar4" identifier <= identifier) )) (goto_statement "goto LAB_0011adbe;" 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_0011adbe:\n  plVar3->section_alignment = iVar5;" statement_identifier : (expression_statement "plVar3->section_alignment = iVar5;" (assignment_expression "plVar3->section_alignment = iVar5" (field_expression "plVar3->section_alignment" identifier -> field_identifier) = identifier) ;)) (expression_statement "plVar3->load_base = ebase;" (assignment_expression "plVar3->load_base = ebase" (field_expression "plVar3->load_base" identifier -> field_identifier) = identifier) ;) (return_statement "return plVar3;" return identifier ;) })))
(translation_unit "long FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}\n\n" (function_definition "long FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "undefined8 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  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "lVar3 = FUN_00117e20(param_1,param_7,1);" (assignment_expression "lVar3 = FUN_00117e20(param_1,param_7,1)" identifier = (call_expression "FUN_00117e20(param_1,param_7,1)" identifier (argument_list "(param_1,param_7,1)" ( identifier , identifier , number_literal )))) ;) (expression_statement "DAT_00224fd0 = lVar3;" (assignment_expression "DAT_00224fd0 = lVar3" identifier = identifier) ;) (if_statement "if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }" if (parenthesized_expression "(*(long *)(lVar3 + 0x58) == 0)" ( (binary_expression "*(long *)(lVar3 + 0x58) == 0" (pointer_expression "*(long *)(lVar3 + 0x58)" * (cast_expression "(long *)(lVar3 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x58)" ( (binary_expression "lVar3 + 0x58" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }" { (expression_statement "*(undefined8 *)(lVar3 + 0x58) = param_2;" (assignment_expression "*(undefined8 *)(lVar3 + 0x58) = param_2" (pointer_expression "*(undefined8 *)(lVar3 + 0x58)" * (cast_expression "(undefined8 *)(lVar3 + 0x58)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x58)" ( (binary_expression "lVar3 + 0x58" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "*(int *)(lVar3 + 0x8c) = param_3;" (assignment_expression "*(int *)(lVar3 + 0x8c) = param_3" (pointer_expression "*(int *)(lVar3 + 0x8c)" * (cast_expression "(int *)(lVar3 + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x8c)" ( (binary_expression "lVar3 + 0x8c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x78) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x78) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x78)" * (cast_expression "(undefined4 *)(lVar3 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x78)" ( (binary_expression "lVar3 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;" (assignment_expression "*(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9" (pointer_expression "*(uint *)(lVar3 + 0x88)" * (cast_expression "(uint *)(lVar3 + 0x88)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x88)" ( (binary_expression "lVar3 + 0x88" 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 *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }" if (parenthesized_expression "((undefined *)0x22508f < PTR_DAT_00223658)" ( (binary_expression "(undefined *)0x22508f < PTR_DAT_00223658" (cast_expression "(undefined *)0x22508f" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    \n    FUN_00116490();\n  }" { (expression_statement "FUN_00116490();" (call_expression "FUN_00116490()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar1 = PTR_DAT_00223658 + 8;" (assignment_expression "puVar1 = PTR_DAT_00223658 + 8" identifier = (binary_expression "PTR_DAT_00223658 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;" (assignment_expression "*(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650" (pointer_expression "*(undefined **)PTR_DAT_00223658" * (cast_expression "(undefined **)PTR_DAT_00223658" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "PTR_DAT_00223658 = puVar1;" (assignment_expression "PTR_DAT_00223658 = puVar1" identifier = identifier) ;) (expression_statement "PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);" (assignment_expression "PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10)" identifier = (cast_expression "(undefined *)(lVar3 + 0x10)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) ;) (expression_statement "*(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6;" (assignment_expression "*(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6" (pointer_expression "*(byte *)(lVar3 + 0x90)" * (cast_expression "(byte *)(lVar3 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x90)" ( (binary_expression "lVar3 + 0x90" identifier + number_literal) )))) = (binary_expression "*(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6" (binary_expression "*(byte *)(lVar3 + 0x90) & 0xbf" (pointer_expression "*(byte *)(lVar3 + 0x90)" * (cast_expression "(byte *)(lVar3 + 0x90)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x90)" ( (binary_expression "lVar3 + 0x90" 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_001261f0(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_001261f0(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_001261f0(uVar4,0);" (call_expression "FUN_001261f0(uVar4,0)" identifier (argument_list "(uVar4,0)" ( identifier , number_literal ))) ;) })) (expression_statement "uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");" (assignment_expression "uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment")" identifier = (call_expression "FUN_001248a0(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)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (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 (uVar2 <= uVar5) goto LAB_0011ad82;\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 (uVar2 <= uVar5) goto LAB_0011ad82;\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 (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar2 <= uVar5) goto LAB_0011ad82;" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0011ad82;" 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_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;" statement_identifier : (expression_statement "*(int *)(lVar3 + 0x7c) = iVar6;" (assignment_expression "*(int *)(lVar3 + 0x7c) = iVar6" (pointer_expression "*(int *)(lVar3 + 0x7c)" * (cast_expression "(int *)(lVar3 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x7c)" ( (binary_expression "lVar3 + 0x7c" identifier + number_literal) )))) = identifier) ;)) (expression_statement "uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");" (assignment_expression "uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment")" identifier = (call_expression "FUN_001248a0(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)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (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 (uVar2 <= uVar5) goto LAB_0011adbe;\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 (uVar2 <= uVar5) goto LAB_0011adbe;\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 (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" do (compound_statement "{\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" { (if_statement "if (uVar2 <= uVar5) goto LAB_0011adbe;" if (parenthesized_expression "(uVar2 <= uVar5)" ( (binary_expression "uVar2 <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0011adbe;" 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_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;" statement_identifier : (expression_statement "*(int *)(lVar3 + 0x80) = iVar6;" (assignment_expression "*(int *)(lVar3 + 0x80) = iVar6" (pointer_expression "*(int *)(lVar3 + 0x80)" * (cast_expression "(int *)(lVar3 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x80)" ( (binary_expression "lVar3 + 0x80" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined8 *)(lVar3 + 0x60) = param_6;" (assignment_expression "*(undefined8 *)(lVar3 + 0x60) = param_6" (pointer_expression "*(undefined8 *)(lVar3 + 0x60)" * (cast_expression "(undefined8 *)(lVar3 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x60)" ( (binary_expression "lVar3 + 0x60" identifier + number_literal) )))) = identifier) ;) (return_statement "return lVar3;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) 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 (sized_type_specifier long) 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 (sized_type_specifier long) (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 "long FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0011ac80(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)" (identifier "FUN_0011ac80") (parameter_list "(undefined8 param_1,undefined8 param_2,int param_3,long param_4,undefined8 param_5,\n                 undefined8 param_6,undefined4 param_7,int param_8)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) (, ",") (parameter_declaration "undefined8 param_6" (type_identifier "undefined8") (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  uint uVar2;\n  long lVar3;\n  undefined8 uVar4;\n  uint uVar5;\n  int iVar6;\n  \n  lVar3 = FUN_00117e20(param_1,param_7,1);\n  DAT_00224fd0 = lVar3;\n  if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }\n  *(int *)(lVar3 + 0x8c) = param_3;\n  *(undefined4 *)(lVar3 + 0x78) = 1;\n  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;\n  if ((undefined *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }\n  puVar1 = PTR_DAT_00223658 + 8;\n  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;\n  PTR_DAT_00223658 = puVar1;\n  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);\n  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);\n  }\n  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;\n  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");\n  if ((int)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }\nLAB_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;\n  *(undefined8 *)(lVar3 + 0x60) = param_6;\n  return lVar3;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "lVar3 = FUN_00117e20(param_1,param_7,1);" (assignment_expression "lVar3 = FUN_00117e20(param_1,param_7,1)" (identifier "lVar3") (= "=") (call_expression "FUN_00117e20(param_1,param_7,1)" (identifier "FUN_00117e20") (argument_list "(param_1,param_7,1)" (( "(") (identifier "param_1") (, ",") (identifier "param_7") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "DAT_00224fd0 = lVar3;" (assignment_expression "DAT_00224fd0 = lVar3" (identifier "DAT_00224fd0") (= "=") (identifier "lVar3")) (; ";")) (if_statement "if (*(long *)(lVar3 + 0x58) == 0) {\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar3 + 0x58) == 0)" (( "(") (binary_expression "*(long *)(lVar3 + 0x58) == 0" (pointer_expression "*(long *)(lVar3 + 0x58)" (* "*") (cast_expression "(long *)(lVar3 + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x58)" (( "(") (binary_expression "lVar3 + 0x58" (identifier "lVar3") (+ "+") (number_literal "0x58")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined8 *)(lVar3 + 0x58) = param_2;\n  }" ({ "{") (expression_statement "*(undefined8 *)(lVar3 + 0x58) = param_2;" (assignment_expression "*(undefined8 *)(lVar3 + 0x58) = param_2" (pointer_expression "*(undefined8 *)(lVar3 + 0x58)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x58)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x58)" (( "(") (binary_expression "lVar3 + 0x58" (identifier "lVar3") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "*(int *)(lVar3 + 0x8c) = param_3;" (assignment_expression "*(int *)(lVar3 + 0x8c) = param_3" (pointer_expression "*(int *)(lVar3 + 0x8c)" (* "*") (cast_expression "(int *)(lVar3 + 0x8c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x8c)" (( "(") (binary_expression "lVar3 + 0x8c" (identifier "lVar3") (+ "+") (number_literal "0x8c")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(lVar3 + 0x78) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x78) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x78)" (* "*") (cast_expression "(undefined4 *)(lVar3 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x78)" (( "(") (binary_expression "lVar3 + 0x78" (identifier "lVar3") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;" (assignment_expression "*(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9" (pointer_expression "*(uint *)(lVar3 + 0x88)" (* "*") (cast_expression "(uint *)(lVar3 + 0x88)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x88)" (( "(") (binary_expression "lVar3 + 0x88" (identifier "lVar3") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (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 *)0x22508f < PTR_DAT_00223658) {\n                    \n    FUN_00116490();\n  }" (if "if") (parenthesized_expression "((undefined *)0x22508f < PTR_DAT_00223658)" (( "(") (binary_expression "(undefined *)0x22508f < PTR_DAT_00223658" (cast_expression "(undefined *)0x22508f" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x22508f")) (< "<") (identifier "PTR_DAT_00223658")) () ")")) (compound_statement "{\n                    \n    FUN_00116490();\n  }" ({ "{") (expression_statement "FUN_00116490();" (call_expression "FUN_00116490()" (identifier "FUN_00116490") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_DAT_00223658 + 8;" (assignment_expression "puVar1 = PTR_DAT_00223658 + 8" (identifier "puVar1") (= "=") (binary_expression "PTR_DAT_00223658 + 8" (identifier "PTR_DAT_00223658") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;" (assignment_expression "*(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650" (pointer_expression "*(undefined **)PTR_DAT_00223658" (* "*") (cast_expression "(undefined **)PTR_DAT_00223658" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_DAT_00223658"))) (= "=") (identifier "PTR_DAT_00223650")) (; ";")) (expression_statement "PTR_DAT_00223658 = puVar1;" (assignment_expression "PTR_DAT_00223658 = puVar1" (identifier "PTR_DAT_00223658") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);" (assignment_expression "PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10)" (identifier "PTR_DAT_00223650") (= "=") (cast_expression "(undefined *)(lVar3 + 0x10)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "*(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6;" (assignment_expression "*(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6" (pointer_expression "*(byte *)(lVar3 + 0x90)" (* "*") (cast_expression "(byte *)(lVar3 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x90)" (( "(") (binary_expression "lVar3 + 0x90" (identifier "lVar3") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (binary_expression "*(byte *)(lVar3 + 0x90) & 0xbf | (param_8 == 0x180) << 6" (binary_expression "*(byte *)(lVar3 + 0x90) & 0xbf" (pointer_expression "*(byte *)(lVar3 + 0x90)" (* "*") (cast_expression "(byte *)(lVar3 + 0x90)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x90)" (( "(") (binary_expression "lVar3 + 0x90" (identifier "lVar3") (+ "+") (number_literal "0x90")) () ")")))) (& "&") (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_001261f0(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_001261f0(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_001261f0(uVar4,0);" (call_expression "FUN_001261f0(uVar4,0)" (identifier "FUN_001261f0") (argument_list "(uVar4,0)" (( "(") (identifier "uVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");" (assignment_expression "uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment")" (identifier "uVar2") (= "=") (call_expression "FUN_001248a0(param_5,0xffffffff,"subsection alignment")" (identifier "FUN_001248a0") (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)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (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 (uVar2 <= uVar5) goto LAB_0011ad82;\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 (uVar2 <= uVar5) goto LAB_0011ad82;\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 (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" (do "do") (compound_statement "{\n      if (uVar2 <= uVar5) goto LAB_0011ad82;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" ({ "{") (if_statement "if (uVar2 <= uVar5) goto LAB_0011ad82;" (if "if") (parenthesized_expression "(uVar2 <= uVar5)" (( "(") (binary_expression "uVar2 <= uVar5" (identifier "uVar2") (<= "<=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0011ad82;" (goto "goto") (statement_identifier "LAB_0011ad82") (; ";"))) (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_0011ad82:\n  *(int *)(lVar3 + 0x7c) = iVar6;" (statement_identifier "LAB_0011ad82") (: ":") (expression_statement "*(int *)(lVar3 + 0x7c) = iVar6;" (assignment_expression "*(int *)(lVar3 + 0x7c) = iVar6" (pointer_expression "*(int *)(lVar3 + 0x7c)" (* "*") (cast_expression "(int *)(lVar3 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x7c)" (( "(") (binary_expression "lVar3 + 0x7c" (identifier "lVar3") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");" (assignment_expression "uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment")" (identifier "uVar2") (= "=") (call_expression "FUN_001248a0(param_4,0xffffffff,"section alignment")" (identifier "FUN_001248a0") (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)uVar2 < 0) {\n    iVar6 = -1;\n  }\n  else {\n    iVar6 = 0;\n    uVar5 = 1;\n    do {\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (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 (uVar2 <= uVar5) goto LAB_0011adbe;\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 (uVar2 <= uVar5) goto LAB_0011adbe;\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 (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    } while (iVar6 != 0x20);" (do "do") (compound_statement "{\n      if (uVar2 <= uVar5) goto LAB_0011adbe;\n      iVar6 = iVar6 + 1;\n      uVar5 = uVar5 * 2;\n    }" ({ "{") (if_statement "if (uVar2 <= uVar5) goto LAB_0011adbe;" (if "if") (parenthesized_expression "(uVar2 <= uVar5)" (( "(") (binary_expression "uVar2 <= uVar5" (identifier "uVar2") (<= "<=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0011adbe;" (goto "goto") (statement_identifier "LAB_0011adbe") (; ";"))) (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_0011adbe:\n  *(int *)(lVar3 + 0x80) = iVar6;" (statement_identifier "LAB_0011adbe") (: ":") (expression_statement "*(int *)(lVar3 + 0x80) = iVar6;" (assignment_expression "*(int *)(lVar3 + 0x80) = iVar6" (pointer_expression "*(int *)(lVar3 + 0x80)" (* "*") (cast_expression "(int *)(lVar3 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x80)" (( "(") (binary_expression "lVar3 + 0x80" (identifier "lVar3") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "*(undefined8 *)(lVar3 + 0x60) = param_6;" (assignment_expression "*(undefined8 *)(lVar3 + 0x60) = param_6" (pointer_expression "*(undefined8 *)(lVar3 + 0x60)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x60)" (( "(") (binary_expression "lVar3 + 0x60" (identifier "lVar3") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (identifier "param_6")) (; ";")) (return_statement "return lVar3;" (return "return") (identifier "lVar3") (; ";")) (} "}")))

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_5 var_11;
  type_1 *plVar3;
  char *fmt;
  type_5 var_12;
  int var_13;
  
  plVar3 = var_1(output_section_statement_name,constraint,1);
  current_section = plVar3;
  if (plVar3->addr_tree == (type_6 *)0x0) {
    plVar3->addr_tree = address_exp;
  }
  plVar3->var_2 = var_2;
  plVar3->block_value = 1;
  plVar3->flags = (type_5)(var_2 == var_3) << 9;
  if ((type_4 **)((long)stat_save + 0x4fU) < var_4) {
                    /* WARNING: Subroutine does not return */
    var_5((type_4 *)output_section_statement_name);
  }
  pplVar1 = var_4 + 1;
  *var_4 = stat_ptr;
  var_4 = pplVar1;
  stat_ptr = &plVar3->children;
  plVar3->field_0x90 = plVar3->field_0x90 & 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_0011ad82;
      var_13 = var_13 + 1;
      var_12 = var_12 * 2;
    } while (var_13 != 0x20);
    var_13 = 0;
  }
LAB_0011ad82:
  plVar3->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_0011adbe;
      var_13 = var_13 + 1;
      var_12 = var_12 * 2;
    } while (var_13 != 0x20);
    var_13 = 0;
  }
LAB_0011adbe:
  plVar3->section_alignment = var_13;
  plVar3->load_base = ebase;
  return plVar3;
}


(translation_unit (function_definition type: (sized_type_specifier) 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: (sized_type_specifier) 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: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) 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: (sized_type_specifier) 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)))))

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

{
  undefined *puVar1;
  uint uVar2;
  long lVar3;
  undefined8 uVar4;
  uint uVar5;
  int iVar6;
  
  lVar3 = FUN_00117e20(param_1,param_7,1);
  DAT_00224fd0 = lVar3;
  if (*(long *)(lVar3 + 0x58) == 0) {
    *(undefined8 *)(lVar3 + 0x58) = param_2;
  }
  *(int *)(lVar3 + 0x8c) = param_3;
  *(undefined4 *)(lVar3 + 0x78) = 1;
  *(uint *)(lVar3 + 0x88) = (uint)(param_3 == 2) << 9;
  if ((undefined *)0x22508f < PTR_DAT_00223658) {
                    /* WARNING: Subroutine does not return */
    FUN_00116490();
  }
  puVar1 = PTR_DAT_00223658 + 8;
  *(undefined **)PTR_DAT_00223658 = PTR_DAT_00223650;
  PTR_DAT_00223658 = puVar1;
  PTR_DAT_00223650 = (undefined *)(lVar3 + 0x10);
  *(byte *)(lVar3 + 0x90) = *(byte *)(lVar3 + 0x90) & 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_001261f0(uVar4,0);
  }
  uVar2 = FUN_001248a0(param_5,0xffffffff,"subsection alignment");
  if ((int)uVar2 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar2 <= uVar5) goto LAB_0011ad82;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0011ad82:
  *(int *)(lVar3 + 0x7c) = iVar6;
  uVar2 = FUN_001248a0(param_4,0xffffffff,"section alignment");
  if ((int)uVar2 < 0) {
    iVar6 = -1;
  }
  else {
    iVar6 = 0;
    uVar5 = 1;
    do {
      if (uVar2 <= uVar5) goto LAB_0011adbe;
      iVar6 = iVar6 + 1;
      uVar5 = uVar5 * 2;
    } while (iVar6 != 0x20);
    iVar6 = 0;
  }
LAB_0011adbe:
  *(int *)(lVar3 + 0x80) = iVar6;
  *(undefined8 *)(lVar3 + 0x60) = param_6;
  return lVar3;
}

