
void system_fh_txqlen_query(format_data_t form,int argc,char **argv)

{
  int iVar1;
  
  iVar1 = rpl_ioctl(form->sfd,0x8942,form->ifr);
  if (iVar1 < 0) {
    select_arg(form,argc,argv,1);
  }
  else {
    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);
  }
  return;
}



void FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)

{
  int iVar1;
  
  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));
  if (iVar1 < 0) {
    FUN_001085fc(param_1,param_2,param_3,1);
  }
  else {
    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);
  }
  return;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
MOV EBP,ESI
MOV R12,RDX
MOV RDX,qword ptr [RDI + 0x8]
MOV EDI,dword ptr [RDI + 0x10]
MOV ESI,0x8942
MOV EAX,0x0
CALL 0x0010c465
TEST EAX,EAX
JS 0x0010a159
MOV RAX,qword ptr [RBX + 0x8]
MOV ECX,dword ptr [RAX + 0x10]
SHR ECX,0x1f
MOV RDX,R12
MOV ESI,EBP
MOV RDI,RBX
CALL 0x001085fc
POP RBX
POP RBP
POP R12
RET
MOV ECX,0x1
MOV RDX,R12
MOV ESI,EBP
MOV RDI,RBX
CALL 0x001085fc
JMP 0x0010a154
(translation_unit "void FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined4 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));" (assignment_expression "iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" identifier = (call_expression "FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }" { (expression_statement "FUN_001085fc(param_1,param_2,param_3,1);" (call_expression "FUN_001085fc(param_1,param_2,param_3,1)" identifier (argument_list "(param_1,param_2,param_3,1)" ( identifier , identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" else (compound_statement "{\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" { (expression_statement "FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);" (call_expression "FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f)" identifier (argument_list "(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f)" ( identifier , identifier , identifier , (binary_expression "*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f" (pointer_expression "*(uint *)(*(long *)(param_1 + 8) + 0x10)" * (cast_expression "(uint *)(*(long *)(param_1 + 8) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x10)" ( (binary_expression "*(long *)(param_1 + 8) + 0x10" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) >> number_literal) ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void system_fh_txqlen_query(format_data_t form,int argc,char **argv)\n\n{\n  int iVar1;\n  \n  iVar1 = rpl_ioctl(form->sfd,0x8942,form->ifr);\n  if (iVar1 < 0) {\n    select_arg(form,argc,argv,1);\n  }\n  else {\n    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);\n  }\n  return;\n}\n\n" (function_definition "void system_fh_txqlen_query(format_data_t form,int argc,char **argv)\n\n{\n  int iVar1;\n  \n  iVar1 = rpl_ioctl(form->sfd,0x8942,form->ifr);\n  if (iVar1 < 0) {\n    select_arg(form,argc,argv,1);\n  }\n  else {\n    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);\n  }\n  return;\n}" primitive_type (function_declarator "system_fh_txqlen_query(format_data_t form,int argc,char **argv)" identifier (parameter_list "(format_data_t form,int argc,char **argv)" ( (parameter_declaration "format_data_t form" type_identifier identifier) , (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = rpl_ioctl(form->sfd,0x8942,form->ifr);\n  if (iVar1 < 0) {\n    select_arg(form,argc,argv,1);\n  }\n  else {\n    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = rpl_ioctl(form->sfd,0x8942,form->ifr);" (assignment_expression "iVar1 = rpl_ioctl(form->sfd,0x8942,form->ifr)" identifier = (call_expression "rpl_ioctl(form->sfd,0x8942,form->ifr)" identifier (argument_list "(form->sfd,0x8942,form->ifr)" ( (field_expression "form->sfd" identifier -> field_identifier) , number_literal , (field_expression "form->ifr" identifier -> field_identifier) )))) ;) (if_statement "if (iVar1 < 0) {\n    select_arg(form,argc,argv,1);\n  }\n  else {\n    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    select_arg(form,argc,argv,1);\n  }" { (expression_statement "select_arg(form,argc,argv,1);" (call_expression "select_arg(form,argc,argv,1)" identifier (argument_list "(form,argc,argv,1)" ( identifier , identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);\n  }" else (compound_statement "{\n    select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);\n  }" { (expression_statement "select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);" (call_expression "select_arg(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f)" identifier (argument_list "(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f)" ( identifier , identifier , identifier , (binary_expression "(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f" (field_expression "(uint)(form->ifr->ifr_ifru).ifru_ivalue" (call_expression "(uint)(form->ifr->ifr_ifru)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(form->ifr->ifr_ifru)" ( (field_expression "form->ifr->ifr_ifru" (field_expression "form->ifr" identifier -> field_identifier) -> field_identifier) ))) . field_identifier) >> number_literal) ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)" identifier (parameter_list "(long param_1,undefined4 param_2,undefined8 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));" (assignment_expression "iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" identifier = (call_expression "FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }" { (expression_statement "FUN_001085fc(param_1,param_2,param_3,1);" (call_expression "FUN_001085fc(param_1,param_2,param_3,1)" identifier (argument_list "(param_1,param_2,param_3,1)" ( identifier , identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" else (compound_statement "{\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" { (expression_statement "FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);" (call_expression "FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f)" identifier (argument_list "(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f)" ( identifier , identifier , identifier , (binary_expression "*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f" (pointer_expression "*(uint *)(*(long *)(param_1 + 8) + 0x10)" * (cast_expression "(uint *)(*(long *)(param_1 + 8) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x10)" ( (binary_expression "*(long *)(param_1 + 8) + 0x10" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) >> number_literal) ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) >> LIT) ))) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010a117(long param_1,undefined4 param_2,undefined8 param_3)" (identifier "FUN_0010a117") (parameter_list "(long param_1,undefined4 param_2,undefined8 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));\n  if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));" (assignment_expression "iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" (identifier "iVar1") (= "=") (call_expression "FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" (identifier "FUN_0010c465") (argument_list "(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "0x8942") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 < 0) {\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }\n  else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" (if "if") (parenthesized_expression "(iVar1 < 0)" (( "(") (binary_expression "iVar1 < 0" (identifier "iVar1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001085fc(param_1,param_2,param_3,1);\n  }" ({ "{") (expression_statement "FUN_001085fc(param_1,param_2,param_3,1);" (call_expression "FUN_001085fc(param_1,param_2,param_3,1)" (identifier "FUN_001085fc") (argument_list "(param_1,param_2,param_3,1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" (else "else") (compound_statement "{\n    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);\n  }" ({ "{") (expression_statement "FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);" (call_expression "FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f)" (identifier "FUN_001085fc") (argument_list "(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (binary_expression "*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f" (pointer_expression "*(uint *)(*(long *)(param_1 + 8) + 0x10)" (* "*") (cast_expression "(uint *)(*(long *)(param_1 + 8) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x10)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x10" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (>> ">>") (number_literal "0x1f")) () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 form,int argc,char **argv)

{
  int var_2;
  
  var_2 = var_1(form->sfd,0x8942,form->ifr);
  if (var_2 < 0) {
    var_3(form,argc,argv,1);
  }
  else {
    var_3(form,argc,argv,(uint)(form->ifr->ifr_ifru).ifru_ivalue >> 0x1f);
  }
  return;
}


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

void MASKED(long param_1,undefined4 param_2,undefined8 param_3)

{
  int iVar1;
  
  iVar1 = FUN_0010c465(*(undefined4 *)(param_1 + 0x10),0x8942,*(undefined8 *)(param_1 + 8));
  if (iVar1 < 0) {
    FUN_001085fc(param_1,param_2,param_3,1);
  }
  else {
    FUN_001085fc(param_1,param_2,param_3,*(uint *)(*(long *)(param_1 + 8) + 0x10) >> 0x1f);
  }
  return;
}

