
/* (anonymous namespace)::get_locale_mutex() */

undefined * (anonymous_namespace)::get_locale_mutex(void)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined *puVar5;
  
  puVar1 = PTR__environ_00433318;
  SYNC(0);
  if (PTR__environ_00433318[-0xf18] == '\0') {
    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);
    puVar3 = PTR___cxa_guard_release_004334e0;
    puVar2 = PTR__environ_00433318;
    if (iVar4 != 0) {
      puVar5 = PTR__environ_00433318 + -0xf10;
      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;
      *(undefined4 *)(puVar2 + -0xf0c) = 0;
      *(undefined4 *)(puVar2 + -0xf08) = 0;
      *(undefined4 *)(puVar2 + -0xf04) = 0;
      *(undefined4 *)(puVar2 + -0xf00) = 0;
      *(undefined4 *)(puVar2 + -0xefc) = 0;
      (*(code *)puVar3)(puVar1 + -0xf18);
      return puVar5;
    }
  }
  return PTR__environ_00433318 + -0xf10;
}



undefined * FUN_0031c570(void)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined *puVar5;
  
  puVar1 = PTR__environ_00433318;
  SYNC(0);
  if (PTR__environ_00433318[-0xf18] == '\0') {
    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);
    puVar3 = PTR___cxa_guard_release_004334e0;
    puVar2 = PTR__environ_00433318;
    if (iVar4 != 0) {
      puVar5 = PTR__environ_00433318 + -0xf10;
      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;
      *(undefined4 *)(puVar2 + -0xf0c) = 0;
      *(undefined4 *)(puVar2 + -0xf08) = 0;
      *(undefined4 *)(puVar2 + -0xf04) = 0;
      *(undefined4 *)(puVar2 + -0xf00) = 0;
      *(undefined4 *)(puVar2 + -0xefc) = 0;
      (*(code *)puVar3)(puVar1 + -0xf18);
      return puVar5;
    }
  }
  return PTR__environ_00433318 + -0xf10;
}


lui gp,0x12
addiu gp,gp,-0x23a0
addu gp,gp,t9
addiu sp,sp,-0x28
sw s0,0x20(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
lw s0,-0x6eb8(gp)
lbu v0,-0xf18(s0)
sync 0x0
andi v0,v0,0xff
beq v0,zero,0x0031c5bc
_lw t9,-0x6cf4(gp)
lw ra,0x24(sp)
lw v0,-0x6eb8(gp)
lw s0,0x20(sp)
addiu sp,sp,0x28
jr ra
_addiu v0,v0,-0xf10
jalr t9
_addiu a0,s0,-0xf18
beq v0,zero,0x0031c5a4
_lw gp,0x10(sp)
lw v1,-0x6eb8(gp)
addiu a0,s0,-0xf18
lw t9,-0x6cf0(gp)
addiu v0,v1,-0xf10
sw zero,-0xf10(v1)
sw v0,0x18(sp)
sw zero,0x4(v0)
sw zero,0x8(v0)
sw zero,0xc(v0)
sw zero,0x10(v0)
jalr t9
_sw zero,0x14(v0)
lw ra,0x24(sp)
lw v0,0x18(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined * FUN_0031c570(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}\n\n" (function_definition "undefined * FUN_0031c570(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" type_identifier (pointer_declarator "* FUN_0031c570(void)" * (function_declarator "FUN_0031c570(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = PTR__environ_00433318;" (assignment_expression "puVar1 = PTR__environ_00433318" identifier = identifier) ;) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (if_statement "if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" if (parenthesized_expression "(PTR__environ_00433318[-0xf18] == '\0')" ( (binary_expression "PTR__environ_00433318[-0xf18] == '\0'" (subscript_expression "PTR__environ_00433318[-0xf18]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);" (assignment_expression "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" identifier = (call_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" (parenthesized_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)" ( (pointer_expression "*(code *)PTR___cxa_guard_acquire_004334dc" * (cast_expression "(code *)PTR___cxa_guard_acquire_004334dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR__environ_00433318 + -0xf18)" ( (binary_expression "PTR__environ_00433318 + -0xf18" identifier + number_literal) )))) ;) (expression_statement "puVar3 = PTR___cxa_guard_release_004334e0;" (assignment_expression "puVar3 = PTR___cxa_guard_release_004334e0" identifier = identifier) ;) (expression_statement "puVar2 = PTR__environ_00433318;" (assignment_expression "puVar2 = PTR__environ_00433318" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" { (expression_statement "puVar5 = PTR__environ_00433318 + -0xf10;" (assignment_expression "puVar5 = PTR__environ_00433318 + -0xf10" identifier = (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;" (assignment_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0" (pointer_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10)" * (cast_expression "(undefined4 *)(PTR__environ_00433318 + -0xf10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__environ_00433318 + -0xf10)" ( (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf0c) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf0c) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf0c)" * (cast_expression "(undefined4 *)(puVar2 + -0xf0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf0c)" ( (binary_expression "puVar2 + -0xf0c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf08) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf08) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf08)" * (cast_expression "(undefined4 *)(puVar2 + -0xf08)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf08)" ( (binary_expression "puVar2 + -0xf08" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf04) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf04) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf04)" * (cast_expression "(undefined4 *)(puVar2 + -0xf04)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf04)" ( (binary_expression "puVar2 + -0xf04" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf00) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf00) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf00)" * (cast_expression "(undefined4 *)(puVar2 + -0xf00)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf00)" ( (binary_expression "puVar2 + -0xf00" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xefc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xefc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xefc)" * (cast_expression "(undefined4 *)(puVar2 + -0xefc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xefc)" ( (binary_expression "puVar2 + -0xefc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar3)(puVar1 + -0xf18);" (call_expression "(*(code *)puVar3)(puVar1 + -0xf18)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + -0xf18)" ( (binary_expression "puVar1 + -0xf18" identifier + number_literal) ))) ;) (return_statement "return puVar5;" return identifier ;) })) })) (return_statement "return PTR__environ_00433318 + -0xf10;" return (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal) ;) })))
(translation_unit "/* (anonymous namespace)::get_locale_mutex() */\n\nundefined * (anonymous_namespace)::get_locale_mutex(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}\n\n" comment (ERROR "undefined * (anonymous_namespace)::" (binary_expression "undefined * (anonymous_namespace)" identifier * (parenthesized_expression "(anonymous_namespace)" ( identifier ))) : :) (function_definition "get_locale_mutex(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" type_identifier (parenthesized_declarator "(void)" ( identifier )) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = PTR__environ_00433318;" (assignment_expression "puVar1 = PTR__environ_00433318" identifier = identifier) ;) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (if_statement "if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" if (parenthesized_expression "(PTR__environ_00433318[-0xf18] == '\0')" ( (binary_expression "PTR__environ_00433318[-0xf18] == '\0'" (subscript_expression "PTR__environ_00433318[-0xf18]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);" (assignment_expression "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" identifier = (call_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" (parenthesized_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)" ( (pointer_expression "*(code *)PTR___cxa_guard_acquire_004334dc" * (cast_expression "(code *)PTR___cxa_guard_acquire_004334dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR__environ_00433318 + -0xf18)" ( (binary_expression "PTR__environ_00433318 + -0xf18" identifier + number_literal) )))) ;) (expression_statement "puVar3 = PTR___cxa_guard_release_004334e0;" (assignment_expression "puVar3 = PTR___cxa_guard_release_004334e0" identifier = identifier) ;) (expression_statement "puVar2 = PTR__environ_00433318;" (assignment_expression "puVar2 = PTR__environ_00433318" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" { (expression_statement "puVar5 = PTR__environ_00433318 + -0xf10;" (assignment_expression "puVar5 = PTR__environ_00433318 + -0xf10" identifier = (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;" (assignment_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0" (pointer_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10)" * (cast_expression "(undefined4 *)(PTR__environ_00433318 + -0xf10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__environ_00433318 + -0xf10)" ( (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf0c) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf0c) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf0c)" * (cast_expression "(undefined4 *)(puVar2 + -0xf0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf0c)" ( (binary_expression "puVar2 + -0xf0c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf08) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf08) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf08)" * (cast_expression "(undefined4 *)(puVar2 + -0xf08)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf08)" ( (binary_expression "puVar2 + -0xf08" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf04) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf04) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf04)" * (cast_expression "(undefined4 *)(puVar2 + -0xf04)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf04)" ( (binary_expression "puVar2 + -0xf04" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf00) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf00) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf00)" * (cast_expression "(undefined4 *)(puVar2 + -0xf00)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf00)" ( (binary_expression "puVar2 + -0xf00" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xefc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xefc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xefc)" * (cast_expression "(undefined4 *)(puVar2 + -0xefc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xefc)" ( (binary_expression "puVar2 + -0xefc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar3)(puVar1 + -0xf18);" (call_expression "(*(code *)puVar3)(puVar1 + -0xf18)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + -0xf18)" ( (binary_expression "puVar1 + -0xf18" identifier + number_literal) ))) ;) (return_statement "return puVar5;" return identifier ;) })) })) (return_statement "return PTR__environ_00433318 + -0xf10;" return (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal) ;) })))
(translation_unit "undefined * FUN_0031c570(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}\n\n" (function_definition "undefined * FUN_0031c570(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" type_identifier (pointer_declarator "* FUN_0031c570(void)" * (function_declarator "FUN_0031c570(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "puVar1 = PTR__environ_00433318;" (assignment_expression "puVar1 = PTR__environ_00433318" identifier = identifier) ;) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (if_statement "if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" if (parenthesized_expression "(PTR__environ_00433318[-0xf18] == '\0')" ( (binary_expression "PTR__environ_00433318[-0xf18] == '\0'" (subscript_expression "PTR__environ_00433318[-0xf18]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);" (assignment_expression "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" identifier = (call_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" (parenthesized_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)" ( (pointer_expression "*(code *)PTR___cxa_guard_acquire_004334dc" * (cast_expression "(code *)PTR___cxa_guard_acquire_004334dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR__environ_00433318 + -0xf18)" ( (binary_expression "PTR__environ_00433318 + -0xf18" identifier + number_literal) )))) ;) (expression_statement "puVar3 = PTR___cxa_guard_release_004334e0;" (assignment_expression "puVar3 = PTR___cxa_guard_release_004334e0" identifier = identifier) ;) (expression_statement "puVar2 = PTR__environ_00433318;" (assignment_expression "puVar2 = PTR__environ_00433318" identifier = identifier) ;) (if_statement "if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" { (expression_statement "puVar5 = PTR__environ_00433318 + -0xf10;" (assignment_expression "puVar5 = PTR__environ_00433318 + -0xf10" identifier = (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;" (assignment_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0" (pointer_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10)" * (cast_expression "(undefined4 *)(PTR__environ_00433318 + -0xf10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__environ_00433318 + -0xf10)" ( (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf0c) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf0c) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf0c)" * (cast_expression "(undefined4 *)(puVar2 + -0xf0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf0c)" ( (binary_expression "puVar2 + -0xf0c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf08) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf08) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf08)" * (cast_expression "(undefined4 *)(puVar2 + -0xf08)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf08)" ( (binary_expression "puVar2 + -0xf08" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf04) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf04) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf04)" * (cast_expression "(undefined4 *)(puVar2 + -0xf04)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf04)" ( (binary_expression "puVar2 + -0xf04" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xf00) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf00) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf00)" * (cast_expression "(undefined4 *)(puVar2 + -0xf00)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xf00)" ( (binary_expression "puVar2 + -0xf00" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + -0xefc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xefc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xefc)" * (cast_expression "(undefined4 *)(puVar2 + -0xefc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0xefc)" ( (binary_expression "puVar2 + -0xefc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar3)(puVar1 + -0xf18);" (call_expression "(*(code *)puVar3)(puVar1 + -0xf18)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar1 + -0xf18)" ( (binary_expression "puVar1 + -0xf18" identifier + number_literal) ))) ;) (return_statement "return puVar5;" return identifier ;) })) })) (return_statement "return PTR__environ_00433318 + -0xf10;" return (binary_expression "PTR__environ_00433318 + -0xf10" identifier + number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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) )))) = LIT) ;) (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) )))) = LIT) ;) (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) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return IDENT ;) })) })) (return_statement return (binary_expression IDENT + LIT) ;) })))
(function_definition "undefined * FUN_0031c570(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" (type_identifier "undefined") (pointer_declarator "* FUN_0031c570(void)" (* "*") (function_declarator "FUN_0031c570(void)" (identifier "FUN_0031c570") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  \n  puVar1 = PTR__environ_00433318;\n  SYNC(0);\n  if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }\n  return PTR__environ_00433318 + -0xf10;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "puVar1 = PTR__environ_00433318;" (assignment_expression "puVar1 = PTR__environ_00433318" (identifier "puVar1") (= "=") (identifier "PTR__environ_00433318")) (; ";")) (expression_statement "SYNC(0);" (call_expression "SYNC(0)" (identifier "SYNC") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (if_statement "if (PTR__environ_00433318[-0xf18] == '\0') {\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" (if "if") (parenthesized_expression "(PTR__environ_00433318[-0xf18] == '\0')" (( "(") (binary_expression "PTR__environ_00433318[-0xf18] == '\0'" (subscript_expression "PTR__environ_00433318[-0xf18]" (identifier "PTR__environ_00433318") ([ "[") (number_literal "-0xf18") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);\n    puVar3 = PTR___cxa_guard_release_004334e0;\n    puVar2 = PTR__environ_00433318;\n    if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }\n  }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);" (assignment_expression "iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18)" (parenthesized_expression "(*(code *)PTR___cxa_guard_acquire_004334dc)" (( "(") (pointer_expression "*(code *)PTR___cxa_guard_acquire_004334dc" (* "*") (cast_expression "(code *)PTR___cxa_guard_acquire_004334dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___cxa_guard_acquire_004334dc"))) () ")")) (argument_list "(PTR__environ_00433318 + -0xf18)" (( "(") (binary_expression "PTR__environ_00433318 + -0xf18" (identifier "PTR__environ_00433318") (+ "+") (number_literal "-0xf18")) () ")")))) (; ";")) (expression_statement "puVar3 = PTR___cxa_guard_release_004334e0;" (assignment_expression "puVar3 = PTR___cxa_guard_release_004334e0" (identifier "puVar3") (= "=") (identifier "PTR___cxa_guard_release_004334e0")) (; ";")) (expression_statement "puVar2 = PTR__environ_00433318;" (assignment_expression "puVar2 = PTR__environ_00433318" (identifier "puVar2") (= "=") (identifier "PTR__environ_00433318")) (; ";")) (if_statement "if (iVar4 != 0) {\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar5 = PTR__environ_00433318 + -0xf10;\n      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;\n      *(undefined4 *)(puVar2 + -0xf0c) = 0;\n      *(undefined4 *)(puVar2 + -0xf08) = 0;\n      *(undefined4 *)(puVar2 + -0xf04) = 0;\n      *(undefined4 *)(puVar2 + -0xf00) = 0;\n      *(undefined4 *)(puVar2 + -0xefc) = 0;\n      (*(code *)puVar3)(puVar1 + -0xf18);\n      return puVar5;\n    }" ({ "{") (expression_statement "puVar5 = PTR__environ_00433318 + -0xf10;" (assignment_expression "puVar5 = PTR__environ_00433318 + -0xf10" (identifier "puVar5") (= "=") (binary_expression "PTR__environ_00433318 + -0xf10" (identifier "PTR__environ_00433318") (+ "+") (number_literal "-0xf10"))) (; ";")) (expression_statement "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;" (assignment_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0" (pointer_expression "*(undefined4 *)(PTR__environ_00433318 + -0xf10)" (* "*") (cast_expression "(undefined4 *)(PTR__environ_00433318 + -0xf10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__environ_00433318 + -0xf10)" (( "(") (binary_expression "PTR__environ_00433318 + -0xf10" (identifier "PTR__environ_00433318") (+ "+") (number_literal "-0xf10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0xf0c) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf0c) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf0c)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0xf0c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0xf0c)" (( "(") (binary_expression "puVar2 + -0xf0c" (identifier "puVar2") (+ "+") (number_literal "-0xf0c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0xf08) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf08) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf08)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0xf08)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0xf08)" (( "(") (binary_expression "puVar2 + -0xf08" (identifier "puVar2") (+ "+") (number_literal "-0xf08")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0xf04) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf04) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf04)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0xf04)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0xf04)" (( "(") (binary_expression "puVar2 + -0xf04" (identifier "puVar2") (+ "+") (number_literal "-0xf04")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0xf00) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xf00) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xf00)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0xf00)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0xf00)" (( "(") (binary_expression "puVar2 + -0xf00" (identifier "puVar2") (+ "+") (number_literal "-0xf00")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + -0xefc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + -0xefc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + -0xefc)" (* "*") (cast_expression "(undefined4 *)(puVar2 + -0xefc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0xefc)" (( "(") (binary_expression "puVar2 + -0xefc" (identifier "puVar2") (+ "+") (number_literal "-0xefc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar3)(puVar1 + -0xf18);" (call_expression "(*(code *)puVar3)(puVar1 + -0xf18)" (parenthesized_expression "(*(code *)puVar3)" (( "(") (pointer_expression "*(code *)puVar3" (* "*") (cast_expression "(code *)puVar3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) () ")")) (argument_list "(puVar1 + -0xf18)" (( "(") (binary_expression "puVar1 + -0xf18" (identifier "puVar1") (+ "+") (number_literal "-0xf18")) () ")"))) (; ";")) (return_statement "return puVar5;" (return "return") (identifier "puVar5") (; ";")) (} "}"))) (} "}"))) (return_statement "return PTR__environ_00433318 + -0xf10;" (return "return") (binary_expression "PTR__environ_00433318 + -0xf10" (identifier "PTR__environ_00433318") (+ "+") (number_literal "-0xf10")) (; ";")) (} "}")))

/* (anonymous namespace)::get_locale_mutex() */

type_2 * (anonymous_namespace)::type_1(function_1)

{
  type_2 *var_5;
  type_2 *var_4;
  type_2 *puVar3;
  int var_3;
  type_2 *puVar5;
  
  var_5 = var_2;
  var_1(0);
  if (var_2[-0xf18] == '\0') {
    var_3 = (*(type_3 *)PTR___cxa_guard_acquire_004334dc)(var_2 + -0xf18);
    puVar3 = PTR___cxa_guard_release_004334e0;
    var_4 = var_2;
    if (var_3 != 0) {
      puVar5 = var_2 + -0xf10;
      *(type_4 *)(var_2 + -0xf10) = 0;
      *(type_4 *)(var_4 + -0xf0c) = 0;
      *(type_4 *)(var_4 + -0xf08) = 0;
      *(type_4 *)(var_4 + -0xf04) = 0;
      *(type_4 *)(var_4 + -0xf00) = 0;
      *(type_4 *)(var_4 + -0xefc) = 0;
      (*(type_3 *)puVar3)(var_5 + -0xf18);
      return puVar5;
    }
  }
  return var_2 + -0xf10;
}


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

undefined * MASKED(void)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined *puVar5;
  
  puVar1 = PTR__environ_00433318;
  SYNC(0);
  if (PTR__environ_00433318[-0xf18] == '\0') {
    iVar4 = (*(code *)PTR___cxa_guard_acquire_004334dc)(PTR__environ_00433318 + -0xf18);
    puVar3 = PTR___cxa_guard_release_004334e0;
    puVar2 = PTR__environ_00433318;
    if (iVar4 != 0) {
      puVar5 = PTR__environ_00433318 + -0xf10;
      *(undefined4 *)(PTR__environ_00433318 + -0xf10) = 0;
      *(undefined4 *)(puVar2 + -0xf0c) = 0;
      *(undefined4 *)(puVar2 + -0xf08) = 0;
      *(undefined4 *)(puVar2 + -0xf04) = 0;
      *(undefined4 *)(puVar2 + -0xf00) = 0;
      *(undefined4 *)(puVar2 + -0xefc) = 0;
      (*(code *)puVar3)(puVar1 + -0xf18);
      return puVar5;
    }
  }
  return PTR__environ_00433318 + -0xf10;
}

