
void agent_query_synchronous(void *in,int inlen,void **out,int *outlen)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  uVar3 = 0;
  uVar2 = 0;
  iVar1 = (*(code *)PTR_agent_query_00079204)();
  if (iVar1 == 0) {
    return;
  }
  (*(code *)PTR___assert_fail_000796c0)
            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,
             uVar2,uVar3);
  return;
}



void agent_query_synchronous(void)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  uVar3 = 0;
  uVar2 = 0;
  iVar1 = (*(code *)PTR_agent_query_00079204)();
  if (iVar1 == 0) {
    return;
  }
  (*(code *)PTR___assert_fail_000796c0)
            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,
             uVar2,uVar3);
  return;
}


lui gp,0x7
addiu gp,gp,-0x6800
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7e6c(gp)
sw gp,0x18(sp)
sw ra,0x24(sp)
sw zero,0x14(sp)
jalr t9
_sw zero,0x10(sp)
bne v0,zero,0x000178ac
_lw gp,0x18(sp)
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
lw a3,-0x7fc8(gp)
li a2,0x13
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x79b0(gp)
addiu a3,a3,-0x28c0
addiu a1,a1,-0x28dc
jalr t9
_addiu a0,a0,-0x28d0
(translation_unit "void agent_query_synchronous(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}\n\n" (function_definition "void agent_query_synchronous(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" primitive_type (function_declarator "agent_query_synchronous(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = (*(code *)PTR_agent_query_00079204)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_query_00079204)()" identifier = (call_expression "(*(code *)PTR_agent_query_00079204)()" (parenthesized_expression "(*(code *)PTR_agent_query_00079204)" ( (pointer_expression "*(code *)PTR_agent_query_00079204" * (cast_expression "(code *)PTR_agent_query_00079204" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);" (call_expression "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR___assert_fail_000796c0)" ( (pointer_expression "*(code *)PTR___assert_fail_000796c0" * (cast_expression "(code *)PTR___assert_fail_000796c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" ( (binary_expression "PTR_s_j_000790a8 + -0x28d0" identifier + number_literal) , (binary_expression "PTR_s_j_000790a8 + -0x28dc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_j_000790a8 + -0x28c0" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void agent_query_synchronous(void *in,int inlen,void **out,int *outlen)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}\n\n" (function_definition "void agent_query_synchronous(void *in,int inlen,void **out,int *outlen)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" primitive_type (function_declarator "agent_query_synchronous(void *in,int inlen,void **out,int *outlen)" identifier (parameter_list "(void *in,int inlen,void **out,int *outlen)" ( (parameter_declaration "void *in" primitive_type (pointer_declarator "*in" * identifier)) , (parameter_declaration "int inlen" primitive_type identifier) , (parameter_declaration "void **out" primitive_type (pointer_declarator "**out" * (pointer_declarator "*out" * identifier))) , (parameter_declaration "int *outlen" primitive_type (pointer_declarator "*outlen" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = (*(code *)PTR_agent_query_00079204)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_query_00079204)()" identifier = (call_expression "(*(code *)PTR_agent_query_00079204)()" (parenthesized_expression "(*(code *)PTR_agent_query_00079204)" ( (pointer_expression "*(code *)PTR_agent_query_00079204" * (cast_expression "(code *)PTR_agent_query_00079204" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);" (call_expression "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR___assert_fail_000796c0)" ( (pointer_expression "*(code *)PTR___assert_fail_000796c0" * (cast_expression "(code *)PTR___assert_fail_000796c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" ( (binary_expression "PTR_s_j_000790a8 + -0x28d0" identifier + number_literal) , (binary_expression "PTR_s_j_000790a8 + -0x28dc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_j_000790a8 + -0x28c0" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void agent_query_synchronous(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}\n\n" (function_definition "void agent_query_synchronous(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" primitive_type (function_declarator "agent_query_synchronous(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = (*(code *)PTR_agent_query_00079204)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_query_00079204)()" identifier = (call_expression "(*(code *)PTR_agent_query_00079204)()" (parenthesized_expression "(*(code *)PTR_agent_query_00079204)" ( (pointer_expression "*(code *)PTR_agent_query_00079204" * (cast_expression "(code *)PTR_agent_query_00079204" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);" (call_expression "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR___assert_fail_000796c0)" ( (pointer_expression "*(code *)PTR___assert_fail_000796c0" * (cast_expression "(code *)PTR___assert_fail_000796c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" ( (binary_expression "PTR_s_j_000790a8 + -0x28d0" identifier + number_literal) , (binary_expression "PTR_s_j_000790a8 + -0x28dc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_j_000790a8 + -0x28c0" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void agent_query_synchronous(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" (primitive_type "void") (function_declarator "agent_query_synchronous(void)" (identifier "agent_query_synchronous") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  uVar3 = 0;\n  uVar2 = 0;\n  iVar1 = (*(code *)PTR_agent_query_00079204)();\n  if (iVar1 == 0) {\n    return;\n  }\n  (*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_agent_query_00079204)();" (assignment_expression "iVar1 = (*(code *)PTR_agent_query_00079204)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_agent_query_00079204)()" (parenthesized_expression "(*(code *)PTR_agent_query_00079204)" (( "(") (pointer_expression "*(code *)PTR_agent_query_00079204" (* "*") (cast_expression "(code *)PTR_agent_query_00079204" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_agent_query_00079204"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3);" (call_expression "(*(code *)PTR___assert_fail_000796c0)\n            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR___assert_fail_000796c0)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000796c0" (* "*") (cast_expression "(code *)PTR___assert_fail_000796c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000796c0"))) () ")")) (argument_list "(PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,\n             uVar2,uVar3)" (( "(") (binary_expression "PTR_s_j_000790a8 + -0x28d0" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "-0x28d0")) (, ",") (binary_expression "PTR_s_j_000790a8 + -0x28dc" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "-0x28dc")) (, ",") (number_literal "0x13") (, ",") (binary_expression "PTR_s_j_000790a8 + -0x28c0" (identifier "PTR_s_j_000790a8") (+ "+") (number_literal "-0x28c0")) (, ",") (identifier "uVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (return_statement))))

void MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  uVar3 = 0;
  uVar2 = 0;
  iVar1 = (*(code *)PTR_agent_query_00079204)();
  if (iVar1 == 0) {
    return;
  }
  (*(code *)PTR___assert_fail_000796c0)
            (PTR_s_j_000790a8 + -0x28d0,PTR_s_j_000790a8 + -0x28dc,0x13,PTR_s_j_000790a8 + -0x28c0,
             uVar2,uVar3);
  return;
}

