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

uchar * display_mips_gnu_attribute(uchar *p,uint tag,uchar *end)

{
  uchar *puVar1;
  int iVar2;
  char *pcVar3;
  dwarf_vma dVar4;
  uint len;
  
  len = 0x38b98;
  if (tag == 4) {
    dVar4 = read_leb128(p,&len,0,end);
    puVar1 = p + len;
    printf("  Tag_GNU_MIPS_ABI_FP: ");
    print_mips_fp_abi_value((uint)dVar4);
    return puVar1;
  }
  if (tag == 8) {
    dVar4 = read_leb128(p,&len,0,end);
    iVar2 = (int)dVar4;
    puVar1 = p + len;
    printf("  Tag_GNU_MIPS_ABI_MSA: ");
    if (iVar2 == 0) {
      pcVar3 = "Any MSA or not\n";
    }
    else {
      if (iVar2 != 1) {
        printf("??? (%d)\n",iVar2);
        return puVar1;
      }
      pcVar3 = "128-bit MSA\n";
    }
    pcVar3 = (char *)dcgettext(0,pcVar3,5);
    printf(pcVar3);
    return puVar1;
  }
  puVar1 = display_tag_value(tag & 1,p,end);
  return puVar1;
}



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

int FUN_00038b90(int param_1,int param_2,undefined4 param_3)

{
  int iVar1;
  char *pcVar2;
  int local_10;
  
  local_10 = 0x38b98;
  if (param_2 == 4) {
    FUN_0004f990(param_1,&local_10,0,param_3);
    param_1 = param_1 + local_10;
    printf("  Tag_GNU_MIPS_ABI_FP: ");
    FUN_0001f4c0();
    return param_1;
  }
  if (param_2 == 8) {
    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);
    param_1 = param_1 + local_10;
    printf("  Tag_GNU_MIPS_ABI_MSA: ");
    if (iVar1 == 0) {
      pcVar2 = "Any MSA or not\n";
    }
    else {
      if (iVar1 != 1) {
        printf("??? (%d)\n",iVar1);
        return param_1;
      }
      pcVar2 = "128-bit MSA\n";
    }
    pcVar2 = (char *)dcgettext(0,pcVar2,5);
    printf(pcVar2);
    return param_1;
  }
  iVar1 = FUN_0001ff40();
  return iVar1;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x7b468
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [ESP + 0x20]
CMP EAX,0x4
JZ 0x00038c20
CMP EAX,0x8
JZ 0x00038bd0
MOV ECX,dword ptr [ESP + 0x28]
MOV EDX,ESI
AND EAX,0x1
CALL 0x0001ff40
MOV ESI,EAX
ADD ESP,0x10
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
PUSH dword ptr [ESP + 0x28]
PUSH 0x0
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH ESI
CALL 0x0004f990
ADD ESI,dword ptr [ESP + 0x1c]
MOV EDI,EAX
LEA EAX,[EBX + 0xfffc8234]
MOV dword ptr [ESP],EAX
CALL 0x00013060
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00038c90
CMP EDI,0x1
JZ 0x00038c60
SUB ESP,0x8
LEA EAX,[EBX + 0xfffc2a87]
PUSH EDI
PUSH EAX
CALL 0x00013060
ADD ESP,0x10
JMP 0x00038bc3
PUSH dword ptr [ESP + 0x28]
PUSH 0x0
LEA EAX,[ESP + 0x14]
PUSH EAX
PUSH ESI
CALL 0x0004f990
ADD ESI,dword ptr [ESP + 0x1c]
MOV EDI,EAX
LEA EAX,[EBX + 0xfffc821c]
MOV dword ptr [ESP],EAX
CALL 0x00013060
MOV EAX,EDI
CALL 0x0001f4c0
ADD ESP,0x10
MOV EAX,ESI
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc825d]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV dword ptr [ESP],EAX
CALL 0x00013060
ADD ESP,0x10
MOV EAX,ESI
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc824d]
PUSH 0x5
JMP 0x00038c6b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00038b90(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_00038b90(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00038b90(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = 0x38b98;" (assignment_expression "local_10 = 0x38b98" identifier = number_literal) ;) (if_statement "if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) (compound_statement "{\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }" { (expression_statement "FUN_0004f990(param_1,&local_10,0,param_3);" (call_expression "FUN_0004f990(param_1,&local_10,0,param_3)" identifier (argument_list "(param_1,&local_10,0,param_3)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal , identifier ))) ;) (expression_statement "param_1 = param_1 + local_10;" (assignment_expression "param_1 = param_1 + local_10" identifier = (binary_expression "param_1 + local_10" identifier + identifier)) ;) (expression_statement "printf("  Tag_GNU_MIPS_ABI_FP: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_FP: ")" identifier (argument_list "("  Tag_GNU_MIPS_ABI_FP: ")" ( (string_literal ""  Tag_GNU_MIPS_ABI_FP: "" " string_content ") ))) ;) (expression_statement "FUN_0001f4c0();" (call_expression "FUN_0001f4c0()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })) (if_statement "if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) )) (compound_statement "{\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }" { (expression_statement "iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);" (assignment_expression "iVar1 = FUN_0004f990(param_1,&local_10,0,param_3)" identifier = (call_expression "FUN_0004f990(param_1,&local_10,0,param_3)" identifier (argument_list "(param_1,&local_10,0,param_3)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal , identifier )))) ;) (expression_statement "param_1 = param_1 + local_10;" (assignment_expression "param_1 = param_1 + local_10" identifier = (binary_expression "param_1 + local_10" identifier + identifier)) ;) (expression_statement "printf("  Tag_GNU_MIPS_ABI_MSA: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_MSA: ")" identifier (argument_list "("  Tag_GNU_MIPS_ABI_MSA: ")" ( (string_literal ""  Tag_GNU_MIPS_ABI_MSA: "" " string_content ") ))) ;) (if_statement "if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar2 = "Any MSA or not\n";\n    }" { (expression_statement "pcVar2 = "Any MSA or not\n";" (assignment_expression "pcVar2 = "Any MSA or not\n"" identifier = (string_literal ""Any MSA or not\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" else (compound_statement "{\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" { (if_statement "if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }" { (expression_statement "printf("??? (%d)\n",iVar1);" (call_expression "printf("??? (%d)\n",iVar1)" identifier (argument_list "("??? (%d)\n",iVar1)" ( (string_literal ""??? (%d)\n"" " string_content escape_sequence ") , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "pcVar2 = "128-bit MSA\n";" (assignment_expression "pcVar2 = "128-bit MSA\n"" identifier = (string_literal ""128-bit MSA\n"" " string_content escape_sequence ")) ;) }))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar1 = FUN_0001ff40();" (assignment_expression "iVar1 = FUN_0001ff40()" identifier = (call_expression "FUN_0001ff40()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuchar * display_mips_gnu_attribute(uchar *p,uint tag,uchar *end)\n\n{\n  uchar *puVar1;\n  int iVar2;\n  char *pcVar3;\n  dwarf_vma dVar4;\n  uint len;\n  \n  len = 0x38b98;\n  if (tag == 4) {\n    dVar4 = read_leb128(p,&len,0,end);\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    print_mips_fp_abi_value((uint)dVar4);\n    return puVar1;\n  }\n  if (tag == 8) {\n    dVar4 = read_leb128(p,&len,0,end);\n    iVar2 = (int)dVar4;\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar2 == 0) {\n      pcVar3 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }\n    pcVar3 = (char *)dcgettext(0,pcVar3,5);\n    printf(pcVar3);\n    return puVar1;\n  }\n  puVar1 = display_tag_value(tag & 1,p,end);\n  return puVar1;\n}\n\n" comment (function_definition "uchar * display_mips_gnu_attribute(uchar *p,uint tag,uchar *end)\n\n{\n  uchar *puVar1;\n  int iVar2;\n  char *pcVar3;\n  dwarf_vma dVar4;\n  uint len;\n  \n  len = 0x38b98;\n  if (tag == 4) {\n    dVar4 = read_leb128(p,&len,0,end);\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    print_mips_fp_abi_value((uint)dVar4);\n    return puVar1;\n  }\n  if (tag == 8) {\n    dVar4 = read_leb128(p,&len,0,end);\n    iVar2 = (int)dVar4;\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar2 == 0) {\n      pcVar3 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }\n    pcVar3 = (char *)dcgettext(0,pcVar3,5);\n    printf(pcVar3);\n    return puVar1;\n  }\n  puVar1 = display_tag_value(tag & 1,p,end);\n  return puVar1;\n}" type_identifier (pointer_declarator "* display_mips_gnu_attribute(uchar *p,uint tag,uchar *end)" * (function_declarator "display_mips_gnu_attribute(uchar *p,uint tag,uchar *end)" identifier (parameter_list "(uchar *p,uint tag,uchar *end)" ( (parameter_declaration "uchar *p" type_identifier (pointer_declarator "*p" * identifier)) , (parameter_declaration "uint tag" type_identifier identifier) , (parameter_declaration "uchar *end" type_identifier (pointer_declarator "*end" * identifier)) )))) (compound_statement "{\n  uchar *puVar1;\n  int iVar2;\n  char *pcVar3;\n  dwarf_vma dVar4;\n  uint len;\n  \n  len = 0x38b98;\n  if (tag == 4) {\n    dVar4 = read_leb128(p,&len,0,end);\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    print_mips_fp_abi_value((uint)dVar4);\n    return puVar1;\n  }\n  if (tag == 8) {\n    dVar4 = read_leb128(p,&len,0,end);\n    iVar2 = (int)dVar4;\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar2 == 0) {\n      pcVar3 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }\n    pcVar3 = (char *)dcgettext(0,pcVar3,5);\n    printf(pcVar3);\n    return puVar1;\n  }\n  puVar1 = display_tag_value(tag & 1,p,end);\n  return puVar1;\n}" { (declaration "uchar *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "dwarf_vma dVar4;" type_identifier identifier ;) (declaration "uint len;" type_identifier identifier ;) (expression_statement "len = 0x38b98;" (assignment_expression "len = 0x38b98" identifier = number_literal) ;) (if_statement "if (tag == 4) {\n    dVar4 = read_leb128(p,&len,0,end);\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    print_mips_fp_abi_value((uint)dVar4);\n    return puVar1;\n  }" if (parenthesized_expression "(tag == 4)" ( (binary_expression "tag == 4" identifier == number_literal) )) (compound_statement "{\n    dVar4 = read_leb128(p,&len,0,end);\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    print_mips_fp_abi_value((uint)dVar4);\n    return puVar1;\n  }" { (expression_statement "dVar4 = read_leb128(p,&len,0,end);" (assignment_expression "dVar4 = read_leb128(p,&len,0,end)" identifier = (call_expression "read_leb128(p,&len,0,end)" identifier (argument_list "(p,&len,0,end)" ( identifier , (pointer_expression "&len" & identifier) , number_literal , identifier )))) ;) (expression_statement "puVar1 = p + len;" (assignment_expression "puVar1 = p + len" identifier = (binary_expression "p + len" identifier + identifier)) ;) (expression_statement "printf("  Tag_GNU_MIPS_ABI_FP: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_FP: ")" identifier (argument_list "("  Tag_GNU_MIPS_ABI_FP: ")" ( (string_literal ""  Tag_GNU_MIPS_ABI_FP: "" " string_content ") ))) ;) (expression_statement "print_mips_fp_abi_value((uint)dVar4);" (call_expression "print_mips_fp_abi_value((uint)dVar4)" identifier (argument_list "((uint)dVar4)" ( (cast_expression "(uint)dVar4" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) (return_statement "return puVar1;" return identifier ;) })) (if_statement "if (tag == 8) {\n    dVar4 = read_leb128(p,&len,0,end);\n    iVar2 = (int)dVar4;\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar2 == 0) {\n      pcVar3 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }\n    pcVar3 = (char *)dcgettext(0,pcVar3,5);\n    printf(pcVar3);\n    return puVar1;\n  }" if (parenthesized_expression "(tag == 8)" ( (binary_expression "tag == 8" identifier == number_literal) )) (compound_statement "{\n    dVar4 = read_leb128(p,&len,0,end);\n    iVar2 = (int)dVar4;\n    puVar1 = p + len;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar2 == 0) {\n      pcVar3 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }\n    pcVar3 = (char *)dcgettext(0,pcVar3,5);\n    printf(pcVar3);\n    return puVar1;\n  }" { (expression_statement "dVar4 = read_leb128(p,&len,0,end);" (assignment_expression "dVar4 = read_leb128(p,&len,0,end)" identifier = (call_expression "read_leb128(p,&len,0,end)" identifier (argument_list "(p,&len,0,end)" ( identifier , (pointer_expression "&len" & identifier) , number_literal , identifier )))) ;) (expression_statement "iVar2 = (int)dVar4;" (assignment_expression "iVar2 = (int)dVar4" identifier = (cast_expression "(int)dVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar1 = p + len;" (assignment_expression "puVar1 = p + len" identifier = (binary_expression "p + len" identifier + identifier)) ;) (expression_statement "printf("  Tag_GNU_MIPS_ABI_MSA: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_MSA: ")" identifier (argument_list "("  Tag_GNU_MIPS_ABI_MSA: ")" ( (string_literal ""  Tag_GNU_MIPS_ABI_MSA: "" " string_content ") ))) ;) (if_statement "if (iVar2 == 0) {\n      pcVar3 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar3 = "Any MSA or not\n";\n    }" { (expression_statement "pcVar3 = "Any MSA or not\n";" (assignment_expression "pcVar3 = "Any MSA or not\n"" identifier = (string_literal ""Any MSA or not\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }" else (compound_statement "{\n      if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }\n      pcVar3 = "128-bit MSA\n";\n    }" { (if_statement "if (iVar2 != 1) {\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }" if (parenthesized_expression "(iVar2 != 1)" ( (binary_expression "iVar2 != 1" identifier != number_literal) )) (compound_statement "{\n        printf("??? (%d)\n",iVar2);\n        return puVar1;\n      }" { (expression_statement "printf("??? (%d)\n",iVar2);" (call_expression "printf("??? (%d)\n",iVar2)" identifier (argument_list "("??? (%d)\n",iVar2)" ( (string_literal ""??? (%d)\n"" " string_content escape_sequence ") , identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "pcVar3 = "128-bit MSA\n";" (assignment_expression "pcVar3 = "128-bit MSA\n"" identifier = (string_literal ""128-bit MSA\n"" " string_content escape_sequence ")) ;) }))) (expression_statement "pcVar3 = (char *)dcgettext(0,pcVar3,5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,pcVar3,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar3,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar3,5)" identifier (argument_list "(0,pcVar3,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "printf(pcVar3);" (call_expression "printf(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return puVar1;" return identifier ;) })) (expression_statement "puVar1 = display_tag_value(tag & 1,p,end);" (assignment_expression "puVar1 = display_tag_value(tag & 1,p,end)" identifier = (call_expression "display_tag_value(tag & 1,p,end)" identifier (argument_list "(tag & 1,p,end)" ( (binary_expression "tag & 1" identifier & number_literal) , identifier , identifier )))) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "int FUN_00038b90(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}\n\n" (function_definition "int FUN_00038b90(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00038b90(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = 0x38b98;" (assignment_expression "local_10 = 0x38b98" identifier = number_literal) ;) (if_statement "if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == 4)" ( (binary_expression "param_2 == 4" identifier == number_literal) )) (compound_statement "{\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }" { (expression_statement "FUN_0004f990(param_1,&local_10,0,param_3);" (call_expression "FUN_0004f990(param_1,&local_10,0,param_3)" identifier (argument_list "(param_1,&local_10,0,param_3)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal , identifier ))) ;) (expression_statement "param_1 = param_1 + local_10;" (assignment_expression "param_1 = param_1 + local_10" identifier = (binary_expression "param_1 + local_10" identifier + identifier)) ;) (expression_statement "printf("  Tag_GNU_MIPS_ABI_FP: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_FP: ")" identifier (argument_list "("  Tag_GNU_MIPS_ABI_FP: ")" ( (string_literal ""  Tag_GNU_MIPS_ABI_FP: "" " string_content ") ))) ;) (expression_statement "FUN_0001f4c0();" (call_expression "FUN_0001f4c0()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })) (if_statement "if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }" if (parenthesized_expression "(param_2 == 8)" ( (binary_expression "param_2 == 8" identifier == number_literal) )) (compound_statement "{\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }" { (expression_statement "iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);" (assignment_expression "iVar1 = FUN_0004f990(param_1,&local_10,0,param_3)" identifier = (call_expression "FUN_0004f990(param_1,&local_10,0,param_3)" identifier (argument_list "(param_1,&local_10,0,param_3)" ( identifier , (pointer_expression "&local_10" & identifier) , number_literal , identifier )))) ;) (expression_statement "param_1 = param_1 + local_10;" (assignment_expression "param_1 = param_1 + local_10" identifier = (binary_expression "param_1 + local_10" identifier + identifier)) ;) (expression_statement "printf("  Tag_GNU_MIPS_ABI_MSA: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_MSA: ")" identifier (argument_list "("  Tag_GNU_MIPS_ABI_MSA: ")" ( (string_literal ""  Tag_GNU_MIPS_ABI_MSA: "" " string_content ") ))) ;) (if_statement "if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar2 = "Any MSA or not\n";\n    }" { (expression_statement "pcVar2 = "Any MSA or not\n";" (assignment_expression "pcVar2 = "Any MSA or not\n"" identifier = (string_literal ""Any MSA or not\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" else (compound_statement "{\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" { (if_statement "if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }" if (parenthesized_expression "(iVar1 != 1)" ( (binary_expression "iVar1 != 1" identifier != number_literal) )) (compound_statement "{\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }" { (expression_statement "printf("??? (%d)\n",iVar1);" (call_expression "printf("??? (%d)\n",iVar1)" identifier (argument_list "("??? (%d)\n",iVar1)" ( (string_literal ""??? (%d)\n"" " string_content escape_sequence ") , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "pcVar2 = "128-bit MSA\n";" (assignment_expression "pcVar2 = "128-bit MSA\n"" identifier = (string_literal ""128-bit MSA\n"" " string_content escape_sequence ")) ;) }))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar1 = FUN_0001ff40();" (assignment_expression "iVar1 = FUN_0001ff40()" identifier = (call_expression "FUN_0001ff40()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00038b90(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00038b90(int param_1,int param_2,undefined4 param_3)" (identifier "FUN_00038b90") (parameter_list "(int param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int local_10;\n  \n  local_10 = 0x38b98;\n  if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }\n  if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }\n  iVar1 = FUN_0001ff40();\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x38b98;" (assignment_expression "local_10 = 0x38b98" (identifier "local_10") (= "=") (number_literal "0x38b98")) (; ";")) (if_statement "if (param_2 == 4) {\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }" (if "if") (parenthesized_expression "(param_2 == 4)" (( "(") (binary_expression "param_2 == 4" (identifier "param_2") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n    FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_FP: ");\n    FUN_0001f4c0();\n    return param_1;\n  }" ({ "{") (expression_statement "FUN_0004f990(param_1,&local_10,0,param_3);" (call_expression "FUN_0004f990(param_1,&local_10,0,param_3)" (identifier "FUN_0004f990") (argument_list "(param_1,&local_10,0,param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "0") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "param_1 = param_1 + local_10;" (assignment_expression "param_1 = param_1 + local_10" (identifier "param_1") (= "=") (binary_expression "param_1 + local_10" (identifier "param_1") (+ "+") (identifier "local_10"))) (; ";")) (expression_statement "printf("  Tag_GNU_MIPS_ABI_FP: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_FP: ")" (identifier "printf") (argument_list "("  Tag_GNU_MIPS_ABI_FP: ")" (( "(") (string_literal ""  Tag_GNU_MIPS_ABI_FP: "" (" """) (string_content "  Tag_GNU_MIPS_ABI_FP: ") (" """)) () ")"))) (; ";")) (expression_statement "FUN_0001f4c0();" (call_expression "FUN_0001f4c0()" (identifier "FUN_0001f4c0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (if_statement "if (param_2 == 8) {\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(param_2 == 8)" (( "(") (binary_expression "param_2 == 8" (identifier "param_2") (== "==") (number_literal "8")) () ")")) (compound_statement "{\n    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);\n    param_1 = param_1 + local_10;\n    printf("  Tag_GNU_MIPS_ABI_MSA: ");\n    if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }\n    pcVar2 = (char *)dcgettext(0,pcVar2,5);\n    printf(pcVar2);\n    return param_1;\n  }" ({ "{") (expression_statement "iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);" (assignment_expression "iVar1 = FUN_0004f990(param_1,&local_10,0,param_3)" (identifier "iVar1") (= "=") (call_expression "FUN_0004f990(param_1,&local_10,0,param_3)" (identifier "FUN_0004f990") (argument_list "(param_1,&local_10,0,param_3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) (, ",") (number_literal "0") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "param_1 = param_1 + local_10;" (assignment_expression "param_1 = param_1 + local_10" (identifier "param_1") (= "=") (binary_expression "param_1 + local_10" (identifier "param_1") (+ "+") (identifier "local_10"))) (; ";")) (expression_statement "printf("  Tag_GNU_MIPS_ABI_MSA: ");" (call_expression "printf("  Tag_GNU_MIPS_ABI_MSA: ")" (identifier "printf") (argument_list "("  Tag_GNU_MIPS_ABI_MSA: ")" (( "(") (string_literal ""  Tag_GNU_MIPS_ABI_MSA: "" (" """) (string_content "  Tag_GNU_MIPS_ABI_MSA: ") (" """)) () ")"))) (; ";")) (if_statement "if (iVar1 == 0) {\n      pcVar2 = "Any MSA or not\n";\n    }\n    else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar2 = "Any MSA or not\n";\n    }" ({ "{") (expression_statement "pcVar2 = "Any MSA or not\n";" (assignment_expression "pcVar2 = "Any MSA or not\n"" (identifier "pcVar2") (= "=") (string_literal ""Any MSA or not\n"" (" """) (string_content "Any MSA or not") (escape_sequence "\n") (" """))) (; ";")) (} "}")) (else_clause "else {\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" (else "else") (compound_statement "{\n      if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }\n      pcVar2 = "128-bit MSA\n";\n    }" ({ "{") (if_statement "if (iVar1 != 1) {\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }" (if "if") (parenthesized_expression "(iVar1 != 1)" (( "(") (binary_expression "iVar1 != 1" (identifier "iVar1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        printf("??? (%d)\n",iVar1);\n        return param_1;\n      }" ({ "{") (expression_statement "printf("??? (%d)\n",iVar1);" (call_expression "printf("??? (%d)\n",iVar1)" (identifier "printf") (argument_list "("??? (%d)\n",iVar1)" (( "(") (string_literal ""??? (%d)\n"" (" """) (string_content "??? (%d)") (escape_sequence "\n") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "pcVar2 = "128-bit MSA\n";" (assignment_expression "pcVar2 = "128-bit MSA\n"" (identifier "pcVar2") (= "=") (string_literal ""128-bit MSA\n"" (" """) (string_content "128-bit MSA") (escape_sequence "\n") (" """))) (; ";")) (} "}")))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,pcVar2,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,pcVar2,5)" (identifier "dcgettext") (argument_list "(0,pcVar2,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar2") (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar2);" (call_expression "printf(pcVar2)" (identifier "printf") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0001ff40();" (assignment_expression "iVar1 = FUN_0001ff40()" (identifier "iVar1") (= "=") (call_expression "FUN_0001ff40()" (identifier "FUN_0001ff40") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

type_1 * function_1(type_1 *var_3,type_2 var_1,type_1 *end)

{
  type_1 *puVar1;
  int var_7;
  char *pcVar3;
  type_3 dVar4;
  type_2 var_4;
  
  var_4 = 0x38b98;
  if (var_1 == 4) {
    dVar4 = var_2(var_3,&var_4,0,end);
    puVar1 = var_3 + var_4;
    var_5("  Tag_GNU_MIPS_ABI_FP: ");
    var_6((type_2)dVar4);
    return puVar1;
  }
  if (var_1 == 8) {
    dVar4 = var_2(var_3,&var_4,0,end);
    var_7 = (int)dVar4;
    puVar1 = var_3 + var_4;
    var_5("  Tag_GNU_MIPS_ABI_MSA: ");
    if (var_7 == 0) {
      pcVar3 = "Any MSA or not\n";
    }
    else {
      if (var_7 != 1) {
        var_5("??? (%d)\n",var_7);
        return puVar1;
      }
      pcVar3 = "128-bit MSA\n";
    }
    pcVar3 = (char *)var_8(0,pcVar3,5);
    var_5(pcVar3);
    return puVar1;
  }
  puVar1 = var_9(var_1 & 1,var_3,end);
  return puVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (identifier)))))

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

int MASKED(int param_1,int param_2,undefined4 param_3)

{
  int iVar1;
  char *pcVar2;
  int local_10;
  
  local_10 = 0x38b98;
  if (param_2 == 4) {
    FUN_0004f990(param_1,&local_10,0,param_3);
    param_1 = param_1 + local_10;
    printf("  Tag_GNU_MIPS_ABI_FP: ");
    FUN_0001f4c0();
    return param_1;
  }
  if (param_2 == 8) {
    iVar1 = FUN_0004f990(param_1,&local_10,0,param_3);
    param_1 = param_1 + local_10;
    printf("  Tag_GNU_MIPS_ABI_MSA: ");
    if (iVar1 == 0) {
      pcVar2 = "Any MSA or not\n";
    }
    else {
      if (iVar1 != 1) {
        printf("??? (%d)\n",iVar1);
        return param_1;
      }
      pcVar2 = "128-bit MSA\n";
    }
    pcVar2 = (char *)dcgettext(0,pcVar2,5);
    printf(pcVar2);
    return param_1;
  }
  iVar1 = FUN_0001ff40();
  return iVar1;
}

