
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 add_qp_mutex(valueT mask)

{
  qpmutex *pqVar1;
  undefined *puVar2;
  int iVar3;
  uint in_EAX;
  undefined4 in_EDX;
  char *pcVar4;
  undefined4 uVar5;
  
  if ((in_EAX & 1) == 0) {
    if (qp_mutexeslen == qp_mutexestotlen) {
      qp_mutexestotlen = qp_mutexestotlen + 0x14;
      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);
    }
    puVar2 = PTR_stderr_0007df68;
    if ((md._48_1_ & 2) != 0) {
      pcVar4 = "  Registering mutex on";
      uVar5 = 1;
      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);
      print_prmask(CONCAT44(uVar5,pcVar4));
      fputc(10,*(FILE **)puVar2);
    }
    iVar3 = md.path;
    pqVar1 = qp_mutexes + qp_mutexeslen;
    qp_mutexeslen = qp_mutexeslen + 1;
    *(uint *)&pqVar1->prmask = in_EAX;
    pqVar1->path = iVar3;
    *(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;
    return;
  }
                    /* WARNING: Subroutine does not return */
  as_abort("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex");
}



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

void __regparm3 FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)

{
  uint *puVar1;
  undefined *puVar2;
  uint uVar3;
  
  if ((param_1 & 1) == 0) {
    if (DAT_00087714 == DAT_00087710) {
      DAT_00087710 = DAT_00087710 + 0x14;
      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);
    }
    puVar2 = PTR_stderr_0007df68;
    if ((DAT_00087970 & 2) != 0) {
      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);
      FUN_00040ad0();
      fputc(10,*(FILE **)puVar2);
    }
    uVar3 = DAT_00087da8;
    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);
    DAT_00087714 = DAT_00087714 + 1;
    *puVar1 = param_1;
    puVar1[2] = uVar3;
    puVar1[1] = param_2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016030
ADD EBX,0x3ce07
SUB ESP,0xc
TEST AL,0x1
JNZ 0x000412c4
MOV ESI,EAX
MOV EDI,EDX
MOV EAX,dword ptr [EBX + 0x9710]
CMP dword ptr [EBX + 0x9714],EAX
JZ 0x00041298
TEST byte ptr [EBX + 0x9970],0x2
JNZ 0x00041260
MOV EAX,dword ptr [EBX + 0x9714]
MOV EDX,dword ptr [EBX + 0x9718]
LEA ECX,[EAX + EAX*0x2]
ADD EAX,0x1
LEA EDX,[EDX + ECX*0x4]
MOV ECX,dword ptr [EBX + 0x9da8]
MOV dword ptr [EBX + 0x9714],EAX
MOV dword ptr [EDX],ESI
MOV dword ptr [EDX + 0x8],ECX
MOV dword ptr [EDX + 0x4],EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBP,dword ptr [EBX + 0xffffff68]
LEA EAX,[EBX + 0xfffe55ed]
PUSH dword ptr [EBP]
PUSH 0x16
PUSH 0x1
PUSH EAX
CALL 0x000142d0
MOV EAX,ESI
MOV EDX,EDI
CALL 0x00040ad0
POP EAX
POP EDX
PUSH dword ptr [EBP]
PUSH 0xa
CALL 0x000145f0
ADD ESP,0x10
JMP 0x00041225
ADD EAX,0x14
SUB ESP,0x8
MOV dword ptr [EBX + 0x9710],EAX
LEA EAX,[EAX + EAX*0x2]
SHL EAX,0x2
PUSH EAX
PUSH dword ptr [EBX + 0x9718]
CALL 0x00014210
ADD ESP,0x10
MOV dword ptr [EBX + 0x9718],EAX
JMP 0x0004121c
LEA EAX,[EBX + 0xfffe3458]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfffe5447]
PUSH 0x262f
PUSH EAX
CALL 0x00029670
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}\n\n" comment (function_definition "void __regparm3 FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(uint param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }" if (parenthesized_expression "((param_1 & 1) == 0)" ( (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }" { (if_statement "if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }" if (parenthesized_expression "(DAT_00087714 == DAT_00087710)" ( (binary_expression "DAT_00087714 == DAT_00087710" identifier == identifier) )) (compound_statement "{\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }" { (expression_statement "DAT_00087710 = DAT_00087710 + 0x14;" (assignment_expression "DAT_00087710 = DAT_00087710 + 0x14" identifier = (binary_expression "DAT_00087710 + 0x14" identifier + number_literal)) ;) (expression_statement "DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);" (assignment_expression "DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc)" identifier = (call_expression "xrealloc(DAT_00087718,DAT_00087710 * 0xc)" identifier (argument_list "(DAT_00087718,DAT_00087710 * 0xc)" ( identifier , (binary_expression "DAT_00087710 * 0xc" identifier * number_literal) )))) ;) })) (expression_statement "puVar2 = PTR_stderr_0007df68;" (assignment_expression "puVar2 = PTR_stderr_0007df68" identifier = identifier) ;) (if_statement "if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }" if (parenthesized_expression "((DAT_00087970 & 2) != 0)" ( (binary_expression "(DAT_00087970 & 2) != 0" (parenthesized_expression "(DAT_00087970 & 2)" ( (binary_expression "DAT_00087970 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }" { (expression_statement "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);" (call_expression "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" identifier (argument_list "("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" ( (string_literal ""  Registering mutex on"" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_0007df68" * (cast_expression "(FILE **)PTR_stderr_0007df68" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_00040ad0();" (call_expression "FUN_00040ad0()" identifier (argument_list "()" ( ))) ;) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "uVar3 = DAT_00087da8;" (assignment_expression "uVar3 = DAT_00087da8" identifier = identifier) ;) (expression_statement "puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);" (assignment_expression "puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc)" identifier = (cast_expression "(uint *)(DAT_00087718 + DAT_00087714 * 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00087718 + DAT_00087714 * 0xc)" ( (binary_expression "DAT_00087718 + DAT_00087714 * 0xc" identifier + (binary_expression "DAT_00087714 * 0xc" identifier * number_literal)) )))) ;) (expression_statement "DAT_00087714 = DAT_00087714 + 1;" (assignment_expression "DAT_00087714 = DAT_00087714 + 1" identifier = (binary_expression "DAT_00087714 + 1" identifier + number_literal)) ;) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[2] = uVar3;" (assignment_expression "puVar1[2] = uVar3" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);" (call_expression "FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3)" identifier (argument_list "("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3)" ( (string_literal ""../../gas/config/tc-ia64.c"" " string_content ") , number_literal , (string_literal ""add_qp_mutex"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid __regparm3 add_qp_mutex(valueT mask)\n\n{\n  qpmutex *pqVar1;\n  undefined *puVar2;\n  int iVar3;\n  uint in_EAX;\n  undefined4 in_EDX;\n  char *pcVar4;\n  undefined4 uVar5;\n  \n  if ((in_EAX & 1) == 0) {\n    if (qp_mutexeslen == qp_mutexestotlen) {\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((md._48_1_ & 2) != 0) {\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }\n    iVar3 = md.path;\n    pqVar1 = qp_mutexes + qp_mutexeslen;\n    qp_mutexeslen = qp_mutexeslen + 1;\n    *(uint *)&pqVar1->prmask = in_EAX;\n    pqVar1->path = iVar3;\n    *(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex");\n}\n\n" comment comment (function_definition "void __regparm3 add_qp_mutex(valueT mask)\n\n{\n  qpmutex *pqVar1;\n  undefined *puVar2;\n  int iVar3;\n  uint in_EAX;\n  undefined4 in_EDX;\n  char *pcVar4;\n  undefined4 uVar5;\n  \n  if ((in_EAX & 1) == 0) {\n    if (qp_mutexeslen == qp_mutexestotlen) {\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((md._48_1_ & 2) != 0) {\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }\n    iVar3 = md.path;\n    pqVar1 = qp_mutexes + qp_mutexeslen;\n    qp_mutexeslen = qp_mutexeslen + 1;\n    *(uint *)&pqVar1->prmask = in_EAX;\n    pqVar1->path = iVar3;\n    *(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex");\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "add_qp_mutex(valueT mask)" identifier (parameter_list "(valueT mask)" ( (parameter_declaration "valueT mask" type_identifier identifier) ))) (compound_statement "{\n  qpmutex *pqVar1;\n  undefined *puVar2;\n  int iVar3;\n  uint in_EAX;\n  undefined4 in_EDX;\n  char *pcVar4;\n  undefined4 uVar5;\n  \n  if ((in_EAX & 1) == 0) {\n    if (qp_mutexeslen == qp_mutexestotlen) {\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((md._48_1_ & 2) != 0) {\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }\n    iVar3 = md.path;\n    pqVar1 = qp_mutexes + qp_mutexeslen;\n    qp_mutexeslen = qp_mutexeslen + 1;\n    *(uint *)&pqVar1->prmask = in_EAX;\n    pqVar1->path = iVar3;\n    *(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  as_abort("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex");\n}" { (declaration "qpmutex *pqVar1;" type_identifier (pointer_declarator "*pqVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint in_EAX;" type_identifier identifier ;) (declaration "undefined4 in_EDX;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (if_statement "if ((in_EAX & 1) == 0) {\n    if (qp_mutexeslen == qp_mutexestotlen) {\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((md._48_1_ & 2) != 0) {\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }\n    iVar3 = md.path;\n    pqVar1 = qp_mutexes + qp_mutexeslen;\n    qp_mutexeslen = qp_mutexeslen + 1;\n    *(uint *)&pqVar1->prmask = in_EAX;\n    pqVar1->path = iVar3;\n    *(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;\n    return;\n  }" if (parenthesized_expression "((in_EAX & 1) == 0)" ( (binary_expression "(in_EAX & 1) == 0" (parenthesized_expression "(in_EAX & 1)" ( (binary_expression "in_EAX & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if (qp_mutexeslen == qp_mutexestotlen) {\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((md._48_1_ & 2) != 0) {\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }\n    iVar3 = md.path;\n    pqVar1 = qp_mutexes + qp_mutexeslen;\n    qp_mutexeslen = qp_mutexeslen + 1;\n    *(uint *)&pqVar1->prmask = in_EAX;\n    pqVar1->path = iVar3;\n    *(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;\n    return;\n  }" { (if_statement "if (qp_mutexeslen == qp_mutexestotlen) {\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }" if (parenthesized_expression "(qp_mutexeslen == qp_mutexestotlen)" ( (binary_expression "qp_mutexeslen == qp_mutexestotlen" identifier == identifier) )) (compound_statement "{\n      qp_mutexestotlen = qp_mutexestotlen + 0x14;\n      qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);\n    }" { (expression_statement "qp_mutexestotlen = qp_mutexestotlen + 0x14;" (assignment_expression "qp_mutexestotlen = qp_mutexestotlen + 0x14" identifier = (binary_expression "qp_mutexestotlen + 0x14" identifier + number_literal)) ;) (expression_statement "qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc);" (assignment_expression "qp_mutexes = (qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc)" identifier = (cast_expression "(qpmutex *)xrealloc(qp_mutexes,qp_mutexestotlen * 0xc)" ( (type_descriptor "qpmutex *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(qp_mutexes,qp_mutexestotlen * 0xc)" identifier (argument_list "(qp_mutexes,qp_mutexestotlen * 0xc)" ( identifier , (binary_expression "qp_mutexestotlen * 0xc" identifier * number_literal) ))))) ;) })) (expression_statement "puVar2 = PTR_stderr_0007df68;" (assignment_expression "puVar2 = PTR_stderr_0007df68" identifier = identifier) ;) (if_statement "if ((md._48_1_ & 2) != 0) {\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }" if (parenthesized_expression "((md._48_1_ & 2) != 0)" ( (binary_expression "(md._48_1_ & 2) != 0" (parenthesized_expression "(md._48_1_ & 2)" ( (binary_expression "md._48_1_ & 2" (field_expression "md._48_1_" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar4 = "  Registering mutex on";\n      uVar5 = 1;\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      print_prmask(CONCAT44(uVar5,pcVar4));\n      fputc(10,*(FILE **)puVar2);\n    }" { (expression_statement "pcVar4 = "  Registering mutex on";" (assignment_expression "pcVar4 = "  Registering mutex on"" identifier = (string_literal ""  Registering mutex on"" " string_content ")) ;) (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (expression_statement "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);" (call_expression "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" identifier (argument_list "("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" ( (string_literal ""  Registering mutex on"" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_0007df68" * (cast_expression "(FILE **)PTR_stderr_0007df68" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "print_prmask(CONCAT44(uVar5,pcVar4));" (call_expression "print_prmask(CONCAT44(uVar5,pcVar4))" identifier (argument_list "(CONCAT44(uVar5,pcVar4))" ( (call_expression "CONCAT44(uVar5,pcVar4)" identifier (argument_list "(uVar5,pcVar4)" ( identifier , identifier ))) ))) ;) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "iVar3 = md.path;" (assignment_expression "iVar3 = md.path" identifier = (field_expression "md.path" identifier . field_identifier)) ;) (expression_statement "pqVar1 = qp_mutexes + qp_mutexeslen;" (assignment_expression "pqVar1 = qp_mutexes + qp_mutexeslen" identifier = (binary_expression "qp_mutexes + qp_mutexeslen" identifier + identifier)) ;) (expression_statement "qp_mutexeslen = qp_mutexeslen + 1;" (assignment_expression "qp_mutexeslen = qp_mutexeslen + 1" identifier = (binary_expression "qp_mutexeslen + 1" identifier + number_literal)) ;) (expression_statement "*(uint *)&pqVar1->prmask = in_EAX;" (assignment_expression "*(uint *)&pqVar1->prmask = in_EAX" (pointer_expression "*(uint *)&pqVar1->prmask" * (cast_expression "(uint *)&pqVar1->prmask" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pqVar1->prmask" & (field_expression "pqVar1->prmask" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pqVar1->path = iVar3;" (assignment_expression "pqVar1->path = iVar3" (field_expression "pqVar1->path" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX;" (assignment_expression "*(undefined4 *)((int)&pqVar1->prmask + 4) = in_EDX" (pointer_expression "*(undefined4 *)((int)&pqVar1->prmask + 4)" * (cast_expression "(undefined4 *)((int)&pqVar1->prmask + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pqVar1->prmask + 4)" ( (binary_expression "(int)&pqVar1->prmask + 4" (cast_expression "(int)&pqVar1->prmask" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pqVar1->prmask" & (field_expression "pqVar1->prmask" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "as_abort("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex");" (call_expression "as_abort("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex")" identifier (argument_list "("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex")" ( (string_literal ""../../gas/config/tc-ia64.c"" " string_content ") , number_literal , (string_literal ""add_qp_mutex"" " string_content ") ))) ;) })))
(translation_unit "void __regparm3 FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    \n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}\n\n" (function_definition "void __regparm3 FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    \n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(uint param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    \n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (if_statement "if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }" if (parenthesized_expression "((param_1 & 1) == 0)" ( (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }" { (if_statement "if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }" if (parenthesized_expression "(DAT_00087714 == DAT_00087710)" ( (binary_expression "DAT_00087714 == DAT_00087710" identifier == identifier) )) (compound_statement "{\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }" { (expression_statement "DAT_00087710 = DAT_00087710 + 0x14;" (assignment_expression "DAT_00087710 = DAT_00087710 + 0x14" identifier = (binary_expression "DAT_00087710 + 0x14" identifier + number_literal)) ;) (expression_statement "DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);" (assignment_expression "DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc)" identifier = (call_expression "xrealloc(DAT_00087718,DAT_00087710 * 0xc)" identifier (argument_list "(DAT_00087718,DAT_00087710 * 0xc)" ( identifier , (binary_expression "DAT_00087710 * 0xc" identifier * number_literal) )))) ;) })) (expression_statement "puVar2 = PTR_stderr_0007df68;" (assignment_expression "puVar2 = PTR_stderr_0007df68" identifier = identifier) ;) (if_statement "if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }" if (parenthesized_expression "((DAT_00087970 & 2) != 0)" ( (binary_expression "(DAT_00087970 & 2) != 0" (parenthesized_expression "(DAT_00087970 & 2)" ( (binary_expression "DAT_00087970 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }" { (expression_statement "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);" (call_expression "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" identifier (argument_list "("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" ( (string_literal ""  Registering mutex on"" " string_content ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_0007df68" * (cast_expression "(FILE **)PTR_stderr_0007df68" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "FUN_00040ad0();" (call_expression "FUN_00040ad0()" identifier (argument_list "()" ( ))) ;) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" identifier (argument_list "(10,*(FILE **)puVar2)" ( number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "uVar3 = DAT_00087da8;" (assignment_expression "uVar3 = DAT_00087da8" identifier = identifier) ;) (expression_statement "puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);" (assignment_expression "puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc)" identifier = (cast_expression "(uint *)(DAT_00087718 + DAT_00087714 * 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00087718 + DAT_00087714 * 0xc)" ( (binary_expression "DAT_00087718 + DAT_00087714 * 0xc" identifier + (binary_expression "DAT_00087714 * 0xc" identifier * number_literal)) )))) ;) (expression_statement "DAT_00087714 = DAT_00087714 + 1;" (assignment_expression "DAT_00087714 = DAT_00087714 + 1" identifier = (binary_expression "DAT_00087714 + 1" identifier + number_literal)) ;) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[2] = uVar3;" (assignment_expression "puVar1[2] = uVar3" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);" (call_expression "FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3)" identifier (argument_list "("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3)" ( (string_literal ""../../gas/config/tc-ia64.c"" " string_content ") , number_literal , (string_literal ""add_qp_mutex"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT * LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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 + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void __regparm3 FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)\n\n{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    \n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000411f0(uint param_1,uint param_2,undefined4 param_3)" (identifier "FUN_000411f0") (parameter_list "(uint param_1,uint param_2,undefined4 param_3)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  undefined *puVar2;\n  uint uVar3;\n  \n  if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }\n                    \n  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (if_statement "if ((param_1 & 1) == 0) {\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }" (if "if") (parenthesized_expression "((param_1 & 1) == 0)" (( "(") (binary_expression "(param_1 & 1) == 0" (parenthesized_expression "(param_1 & 1)" (( "(") (binary_expression "param_1 & 1" (identifier "param_1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }\n    puVar2 = PTR_stderr_0007df68;\n    if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }\n    uVar3 = DAT_00087da8;\n    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);\n    DAT_00087714 = DAT_00087714 + 1;\n    *puVar1 = param_1;\n    puVar1[2] = uVar3;\n    puVar1[1] = param_2;\n    return;\n  }" ({ "{") (if_statement "if (DAT_00087714 == DAT_00087710) {\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }" (if "if") (parenthesized_expression "(DAT_00087714 == DAT_00087710)" (( "(") (binary_expression "DAT_00087714 == DAT_00087710" (identifier "DAT_00087714") (== "==") (identifier "DAT_00087710")) () ")")) (compound_statement "{\n      DAT_00087710 = DAT_00087710 + 0x14;\n      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);\n    }" ({ "{") (expression_statement "DAT_00087710 = DAT_00087710 + 0x14;" (assignment_expression "DAT_00087710 = DAT_00087710 + 0x14" (identifier "DAT_00087710") (= "=") (binary_expression "DAT_00087710 + 0x14" (identifier "DAT_00087710") (+ "+") (number_literal "0x14"))) (; ";")) (expression_statement "DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);" (assignment_expression "DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc)" (identifier "DAT_00087718") (= "=") (call_expression "xrealloc(DAT_00087718,DAT_00087710 * 0xc)" (identifier "xrealloc") (argument_list "(DAT_00087718,DAT_00087710 * 0xc)" (( "(") (identifier "DAT_00087718") (, ",") (binary_expression "DAT_00087710 * 0xc" (identifier "DAT_00087710") (* "*") (number_literal "0xc")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar2 = PTR_stderr_0007df68;" (assignment_expression "puVar2 = PTR_stderr_0007df68" (identifier "puVar2") (= "=") (identifier "PTR_stderr_0007df68")) (; ";")) (if_statement "if ((DAT_00087970 & 2) != 0) {\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }" (if "if") (parenthesized_expression "((DAT_00087970 & 2) != 0)" (( "(") (binary_expression "(DAT_00087970 & 2) != 0" (parenthesized_expression "(DAT_00087970 & 2)" (( "(") (binary_expression "DAT_00087970 & 2" (identifier "DAT_00087970") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);\n      FUN_00040ad0();\n      fputc(10,*(FILE **)puVar2);\n    }" ({ "{") (expression_statement "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);" (call_expression "fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" (identifier "fwrite") (argument_list "("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68)" (( "(") (string_literal ""  Registering mutex on"" (" """) (string_content "  Registering mutex on") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0x16") (, ",") (pointer_expression "*(FILE **)PTR_stderr_0007df68" (* "*") (cast_expression "(FILE **)PTR_stderr_0007df68" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_0007df68"))) () ")"))) (; ";")) (expression_statement "FUN_00040ad0();" (call_expression "FUN_00040ad0()" (identifier "FUN_00040ad0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "fputc(10,*(FILE **)puVar2);" (call_expression "fputc(10,*(FILE **)puVar2)" (identifier "fputc") (argument_list "(10,*(FILE **)puVar2)" (( "(") (number_literal "10") (, ",") (pointer_expression "*(FILE **)puVar2" (* "*") (cast_expression "(FILE **)puVar2" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2"))) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = DAT_00087da8;" (assignment_expression "uVar3 = DAT_00087da8" (identifier "uVar3") (= "=") (identifier "DAT_00087da8")) (; ";")) (expression_statement "puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);" (assignment_expression "puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(DAT_00087718 + DAT_00087714 * 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00087718 + DAT_00087714 * 0xc)" (( "(") (binary_expression "DAT_00087718 + DAT_00087714 * 0xc" (identifier "DAT_00087718") (+ "+") (binary_expression "DAT_00087714 * 0xc" (identifier "DAT_00087714") (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (expression_statement "DAT_00087714 = DAT_00087714 + 1;" (assignment_expression "DAT_00087714 = DAT_00087714 + 1" (identifier "DAT_00087714") (= "=") (binary_expression "DAT_00087714 + 1" (identifier "DAT_00087714") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar1[2] = uVar3;" (assignment_expression "puVar1[2] = uVar3" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar1[1] = param_2;" (assignment_expression "puVar1[1] = param_2" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);" (call_expression "FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3)" (identifier "FUN_00029670") (argument_list "("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3)" (( "(") (string_literal ""../../gas/config/tc-ia64.c"" (" """) (string_content "../../gas/config/tc-ia64.c") (" """)) (, ",") (number_literal "0x262f") (, ",") (string_literal ""add_qp_mutex"" (" """) (string_content "add_qp_mutex") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 function_1(type_1 mask)

{
  type_2 *pqVar1;
  type_3 *puVar2;
  int iVar3;
  type_4 var_1;
  type_5 in_EDX;
  char *pcVar4;
  type_5 uVar5;
  
  if ((var_1 & 1) == 0) {
    if (var_2 == var_3) {
      var_3 = var_3 + 0x14;
      var_9 = (type_2 *)var_4(var_9,var_3 * 0xc);
    }
    puVar2 = PTR_stderr_0007df68;
    if ((md._48_1_ & 2) != 0) {
      pcVar4 = "  Registering mutex on";
      uVar5 = 1;
      var_5("  Registering mutex on",1,0x16,*(type_6 **)PTR_stderr_0007df68);
      var_6(var_7(uVar5,pcVar4));
      var_8(10,*(type_6 **)puVar2);
    }
    iVar3 = md.path;
    pqVar1 = var_9 + var_2;
    var_2 = var_2 + 1;
    *(type_4 *)&pqVar1->prmask = var_1;
    pqVar1->path = iVar3;
    *(type_5 *)((int)&pqVar1->prmask + 4) = in_EDX;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_10("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex");
}


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

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

void __regparm3 MASKED(uint param_1,uint param_2,undefined4 param_3)

{
  uint *puVar1;
  undefined *puVar2;
  uint uVar3;
  
  if ((param_1 & 1) == 0) {
    if (DAT_00087714 == DAT_00087710) {
      DAT_00087710 = DAT_00087710 + 0x14;
      DAT_00087718 = xrealloc(DAT_00087718,DAT_00087710 * 0xc);
    }
    puVar2 = PTR_stderr_0007df68;
    if ((DAT_00087970 & 2) != 0) {
      fwrite("  Registering mutex on",1,0x16,*(FILE **)PTR_stderr_0007df68);
      FUN_00040ad0();
      fputc(10,*(FILE **)puVar2);
    }
    uVar3 = DAT_00087da8;
    puVar1 = (uint *)(DAT_00087718 + DAT_00087714 * 0xc);
    DAT_00087714 = DAT_00087714 + 1;
    *puVar1 = param_1;
    puVar1[2] = uVar3;
    puVar1[1] = param_2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00029670("../../gas/config/tc-ia64.c",0x262f,"add_qp_mutex",param_3);
}

