
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void reserve_tlsdesc_entries(Target_aarch64<32,_true> * this,
   Symbol_table * symtab, Layout * layout) */

void __thiscall
anon_unknown.dwarf_109b185::Target_aarch64<32,_true>::reserve_tlsdesc_entries
          (Target_aarch64<32,_true> *this,Symbol_table *symtab,Layout *layout)

{
}



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

void __regparm3 FUN_001d9ee0(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 local_24;
  undefined4 local_20;
  
  iVar1 = *(int *)(param_1 + 0x18);
  if (iVar1 == 0) {
    FUN_001d9ce0();
    iVar1 = *(int *)(param_1 + 0x18);
  }
  if (*(int *)(iVar1 + 0x4c) != -1) {
    return;
  }
  uVar2 = FUN_001d86f0();
  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);
  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;
  return;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00050b50
ADD EBX,0x410111
SUB ESP,0x1c
MOV EAX,dword ptr [EAX + 0x18]
TEST EAX,EAX
JZ 0x001d9f48
CMP dword ptr [EAX + 0x4c],-0x1
JZ 0x001d9f10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,EDI
MOV ECX,EBP
MOV EAX,ESI
CALL 0x001d86f0
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x18]
PUSH 0x7ffffffe
PUSH 0x0
PUSH EAX
CALL 0x002e3e20
MOV EDX,dword ptr [ESI + 0x18]
ADD ESP,0x20
MOV dword ptr [EDX + 0x4c],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x001d9ce0
MOV EAX,dword ptr [ESI + 0x18]
JMP 0x001d9eff
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_001d9ee0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_001d9ee0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_001d9ee0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }" { (expression_statement "FUN_001d9ce0();" (call_expression "FUN_001d9ce0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x4c) != -1)" ( (binary_expression "*(int *)(iVar1 + 0x4c) != -1" (pointer_expression "*(int *)(iVar1 + 0x4c)" * (cast_expression "(int *)(iVar1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_001d86f0();" (assignment_expression "uVar2 = FUN_001d86f0()" identifier = (call_expression "FUN_001d86f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);" (assignment_expression "uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20)" identifier = (call_expression "FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20)" identifier (argument_list "(uVar2,0,0x7ffffffe,local_24,local_20)" ( identifier , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x4c)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x4c" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void reserve_tlsdesc_entries(Target_aarch64<32,_true> * this,\n   Symbol_table * symtab, Layout * layout) */\n\nvoid __thiscall\nanon_unknown.dwarf_109b185::Target_aarch64<32,_true>::reserve_tlsdesc_entries\n          (Target_aarch64<32,_true> *this,Symbol_table *symtab,Layout *layout)\n\n{\n}\n\n" comment comment comment (ERROR "void __thiscall\nanon_unknown.dwarf_109b185::Target_aarch64<32,_true>::reserve_tlsdesc_entries\n          (Target_aarch64<32,_true> *this,Symbol_table *symtab,Layout *layout)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_109b185::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::" identifier > : :) (function_declarator "reserve_tlsdesc_entries\n          (Target_aarch64<32,_true> *this,Symbol_table *symtab,Layout *layout)" identifier (parameter_list "(Target_aarch64<32,_true> *this,Symbol_table *symtab,Layout *layout)" ( (parameter_declaration "Target_aarch64" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "void __regparm3 FUN_001d9ee0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_001d9ee0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_001d9ee0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }" { (expression_statement "FUN_001d9ce0();" (call_expression "FUN_001d9ce0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x4c) != -1)" ( (binary_expression "*(int *)(iVar1 + 0x4c) != -1" (pointer_expression "*(int *)(iVar1 + 0x4c)" * (cast_expression "(int *)(iVar1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4c)" ( (binary_expression "iVar1 + 0x4c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = FUN_001d86f0();" (assignment_expression "uVar2 = FUN_001d86f0()" identifier = (call_expression "FUN_001d86f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);" (assignment_expression "uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20)" identifier = (call_expression "FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20)" identifier (argument_list "(uVar2,0,0x7ffffffe,local_24,local_20)" ( identifier , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x4c)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x4c" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_001d9ee0(int param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_001d9ee0(int param_1)" (identifier "FUN_001d9ee0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  iVar1 = *(int *)(param_1 + 0x18);\n  if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }\n  if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }\n  uVar2 = FUN_001d86f0();\n  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);\n  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001d9ce0();\n    iVar1 = *(int *)(param_1 + 0x18);\n  }" ({ "{") (expression_statement "FUN_001d9ce0();" (call_expression "FUN_001d9ce0()" (identifier "FUN_001d9ce0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x4c) != -1) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x4c) != -1)" (( "(") (binary_expression "*(int *)(iVar1 + 0x4c) != -1" (pointer_expression "*(int *)(iVar1 + 0x4c)" (* "*") (cast_expression "(int *)(iVar1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4c)" (( "(") (binary_expression "iVar1 + 0x4c" (identifier "iVar1") (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = FUN_001d86f0();" (assignment_expression "uVar2 = FUN_001d86f0()" (identifier "uVar2") (= "=") (call_expression "FUN_001d86f0()" (identifier "FUN_001d86f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);" (assignment_expression "uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20)" (identifier "uVar2") (= "=") (call_expression "FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20)" (identifier "FUN_002e3e20") (argument_list "(uVar2,0,0x7ffffffe,local_24,local_20)" (( "(") (identifier "uVar2") (, ",") (number_literal "0") (, ",") (number_literal "0x7ffffffe") (, ",") (identifier "local_24") (, ",") (identifier "local_20") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x4c)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) + 0x4c" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void reserve_tlsdesc_entries(Target_aarch64<32,_true> * this,
   Symbol_table * symtab, Layout * layout) */

void __thiscall
anon_unknown.dwarf_109b185::Target_aarch64<32,_true>::reserve_tlsdesc_entries
          (Target_aarch64<32,_true> *this,Symbol_table *symtab,Layout *layout)

{
}


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

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

void __regparm3 MASKED(int param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 local_24;
  undefined4 local_20;
  
  iVar1 = *(int *)(param_1 + 0x18);
  if (iVar1 == 0) {
    FUN_001d9ce0();
    iVar1 = *(int *)(param_1 + 0x18);
  }
  if (*(int *)(iVar1 + 0x4c) != -1) {
    return;
  }
  uVar2 = FUN_001d86f0();
  uVar2 = FUN_002e3e20(uVar2,0,0x7ffffffe,local_24,local_20);
  *(undefined4 *)(*(int *)(param_1 + 0x18) + 0x4c) = uVar2;
  return;
}

