
sftp_packet * sftp_wait_for_reply(sftp_request *req)

{
  sftp_packet *pktin;
  sftp_request *psVar1;
  char *pcVar2;
  
  sftp_register(req);
  pktin = sftp_recv();
  if (pktin == (sftp_packet *)0x0) {
    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);
  }
  psVar1 = sftp_find_request(pktin);
  if (req != psVar1) {
    pcVar2 = fxp_error();
    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);
  }
  return pktin;
}



int sftp_wait_for_reply(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  
  sftp_register();
  iVar1 = sftp_recv();
  if (iVar1 == 0) {
    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);
  }
  iVar2 = sftp_find_request(iVar1);
  if (param_1 != iVar2) {
    uVar3 = fxp_error();
    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);
  }
  return iVar1;
}


lui gp,0x9
addiu gp,gp,-0x50
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7d24(gp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
or s1,a0,zero
bal 0x00033860
_sw s0,0x1c(sp)
lw gp,0x10(sp)
lw t9,-0x7d20(gp)
bal 0x00033700
_nop
lw gp,0x10(sp)
beq v0,zero,0x0002823c
_or s0,v0,zero
lw t9,-0x7d1c(gp)
bal 0x0003386c
_or a0,s0,zero
beq s1,v0,0x00028224
_lw gp,0x10(sp)
lw t9,-0x7d18(gp)
bal 0x00033980
_nop
or a0,zero,zero
lw gp,0x10(sp)
or a2,v0,zero
lw a1,-0x7fc8(gp)
lw t9,-0x7d28(gp)
bal 0x00027e38
_addiu a1,a1,-0x9b4
lw ra,0x24(sp)
or v0,s0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw a1,-0x7fc8(gp)
or a0,zero,zero
lw t9,-0x7d28(gp)
bal 0x00027e38
_addiu a1,a1,-0x9e8
b 0x000281e8
_lw gp,0x10(sp)
(translation_unit "int sftp_wait_for_reply(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}\n\n" (function_definition "int sftp_wait_for_reply(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "sftp_wait_for_reply(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "sftp_register();" (call_expression "sftp_register()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = sftp_recv();" (assignment_expression "iVar1 = sftp_recv()" identifier = (call_expression "sftp_recv()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }" { (expression_statement "connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);" (call_expression "connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8)" identifier (argument_list "(0,PTR_s_Present_000b0188 + -0x9e8)" ( number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x9e8" identifier + number_literal) ))) ;) })) (expression_statement "iVar2 = sftp_find_request(iVar1);" (assignment_expression "iVar2 = sftp_find_request(iVar1)" identifier = (call_expression "sftp_find_request(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }" if (parenthesized_expression "(param_1 != iVar2)" ( (binary_expression "param_1 != iVar2" identifier != identifier) )) (compound_statement "{\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }" { (expression_statement "uVar3 = fxp_error();" (assignment_expression "uVar3 = fxp_error()" identifier = (call_expression "fxp_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);" (call_expression "connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3)" identifier (argument_list "(0,PTR_s_Present_000b0188 + -0x9b4,uVar3)" ( number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x9b4" identifier + number_literal) , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "sftp_packet * sftp_wait_for_reply(sftp_request *req)\n\n{\n  sftp_packet *pktin;\n  sftp_request *psVar1;\n  char *pcVar2;\n  \n  sftp_register(req);\n  pktin = sftp_recv();\n  if (pktin == (sftp_packet *)0x0) {\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  psVar1 = sftp_find_request(pktin);\n  if (req != psVar1) {\n    pcVar2 = fxp_error();\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);\n  }\n  return pktin;\n}\n\n" (function_definition "sftp_packet * sftp_wait_for_reply(sftp_request *req)\n\n{\n  sftp_packet *pktin;\n  sftp_request *psVar1;\n  char *pcVar2;\n  \n  sftp_register(req);\n  pktin = sftp_recv();\n  if (pktin == (sftp_packet *)0x0) {\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  psVar1 = sftp_find_request(pktin);\n  if (req != psVar1) {\n    pcVar2 = fxp_error();\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);\n  }\n  return pktin;\n}" type_identifier (pointer_declarator "* sftp_wait_for_reply(sftp_request *req)" * (function_declarator "sftp_wait_for_reply(sftp_request *req)" identifier (parameter_list "(sftp_request *req)" ( (parameter_declaration "sftp_request *req" type_identifier (pointer_declarator "*req" * identifier)) )))) (compound_statement "{\n  sftp_packet *pktin;\n  sftp_request *psVar1;\n  char *pcVar2;\n  \n  sftp_register(req);\n  pktin = sftp_recv();\n  if (pktin == (sftp_packet *)0x0) {\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  psVar1 = sftp_find_request(pktin);\n  if (req != psVar1) {\n    pcVar2 = fxp_error();\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);\n  }\n  return pktin;\n}" { (declaration "sftp_packet *pktin;" type_identifier (pointer_declarator "*pktin" * identifier) ;) (declaration "sftp_request *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "sftp_register(req);" (call_expression "sftp_register(req)" identifier (argument_list "(req)" ( identifier ))) ;) (expression_statement "pktin = sftp_recv();" (assignment_expression "pktin = sftp_recv()" identifier = (call_expression "sftp_recv()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pktin == (sftp_packet *)0x0) {\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);\n  }" if (parenthesized_expression "(pktin == (sftp_packet *)0x0)" ( (binary_expression "pktin == (sftp_packet *)0x0" identifier == (cast_expression "(sftp_packet *)0x0" ( (type_descriptor "sftp_packet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);\n  }" { (expression_statement "connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8);" (call_expression "connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9e8)" identifier (argument_list "((void *)0x0,PTR_s_Present_000b0188 + -0x9e8)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x9e8" identifier + number_literal) ))) ;) })) (expression_statement "psVar1 = sftp_find_request(pktin);" (assignment_expression "psVar1 = sftp_find_request(pktin)" identifier = (call_expression "sftp_find_request(pktin)" identifier (argument_list "(pktin)" ( identifier )))) ;) (if_statement "if (req != psVar1) {\n    pcVar2 = fxp_error();\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);\n  }" if (parenthesized_expression "(req != psVar1)" ( (binary_expression "req != psVar1" identifier != identifier) )) (compound_statement "{\n    pcVar2 = fxp_error();\n    connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);\n  }" { (expression_statement "pcVar2 = fxp_error();" (assignment_expression "pcVar2 = fxp_error()" identifier = (call_expression "fxp_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2);" (call_expression "connection_fatal((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2)" identifier (argument_list "((void *)0x0,PTR_s_Present_000b0188 + -0x9b4,pcVar2)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x9b4" identifier + number_literal) , identifier ))) ;) })) (return_statement "return pktin;" return identifier ;) })))
(translation_unit "int sftp_wait_for_reply(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}\n\n" (function_definition "int sftp_wait_for_reply(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "sftp_wait_for_reply(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "sftp_register();" (call_expression "sftp_register()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = sftp_recv();" (assignment_expression "iVar1 = sftp_recv()" identifier = (call_expression "sftp_recv()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }" { (expression_statement "connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);" (call_expression "connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8)" identifier (argument_list "(0,PTR_s_Present_000b0188 + -0x9e8)" ( number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x9e8" identifier + number_literal) ))) ;) })) (expression_statement "iVar2 = sftp_find_request(iVar1);" (assignment_expression "iVar2 = sftp_find_request(iVar1)" identifier = (call_expression "sftp_find_request(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }" if (parenthesized_expression "(param_1 != iVar2)" ( (binary_expression "param_1 != iVar2" identifier != identifier) )) (compound_statement "{\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }" { (expression_statement "uVar3 = fxp_error();" (assignment_expression "uVar3 = fxp_error()" identifier = (call_expression "fxp_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);" (call_expression "connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3)" identifier (argument_list "(0,PTR_s_Present_000b0188 + -0x9b4,uVar3)" ( number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x9b4" identifier + number_literal) , identifier ))) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int sftp_wait_for_reply(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}" (primitive_type "int") (function_declarator "sftp_wait_for_reply(int param_1)" (identifier "sftp_wait_for_reply") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  sftp_register();\n  iVar1 = sftp_recv();\n  if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }\n  iVar2 = sftp_find_request(iVar1);\n  if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "sftp_register();" (call_expression "sftp_register()" (identifier "sftp_register") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = sftp_recv();" (assignment_expression "iVar1 = sftp_recv()" (identifier "iVar1") (= "=") (call_expression "sftp_recv()" (identifier "sftp_recv") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);\n  }" ({ "{") (expression_statement "connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);" (call_expression "connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8)" (identifier "connection_fatal") (argument_list "(0,PTR_s_Present_000b0188 + -0x9e8)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_Present_000b0188 + -0x9e8" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x9e8")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = sftp_find_request(iVar1);" (assignment_expression "iVar2 = sftp_find_request(iVar1)" (identifier "iVar2") (= "=") (call_expression "sftp_find_request(iVar1)" (identifier "sftp_find_request") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (param_1 != iVar2) {\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }" (if "if") (parenthesized_expression "(param_1 != iVar2)" (( "(") (binary_expression "param_1 != iVar2" (identifier "param_1") (!= "!=") (identifier "iVar2")) () ")")) (compound_statement "{\n    uVar3 = fxp_error();\n    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);\n  }" ({ "{") (expression_statement "uVar3 = fxp_error();" (assignment_expression "uVar3 = fxp_error()" (identifier "uVar3") (= "=") (call_expression "fxp_error()" (identifier "fxp_error") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);" (call_expression "connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3)" (identifier "connection_fatal") (argument_list "(0,PTR_s_Present_000b0188 + -0x9b4,uVar3)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_s_Present_000b0188 + -0x9b4" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x9b4")) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

type_1 * function_1(type_2 *var_7)

{
  type_1 *var_3;
  type_2 *var_8;
  char *pcVar2;
  
  var_1(var_7);
  var_3 = var_2();
  if (var_3 == (type_1 *)0x0) {
    var_4((void *)0x0,var_5 + -0x9e8);
  }
  var_8 = var_6(var_3);
  if (var_7 != var_8) {
    pcVar2 = var_9();
    var_4((void *)0x0,var_5 + -0x9b4,pcVar2);
  }
  return var_3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (return_statement (identifier)))))

int MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  
  sftp_register();
  iVar1 = sftp_recv();
  if (iVar1 == 0) {
    connection_fatal(0,PTR_s_Present_000b0188 + -0x9e8);
  }
  iVar2 = sftp_find_request(iVar1);
  if (param_1 != iVar2) {
    uVar3 = fxp_error();
    connection_fatal(0,PTR_s_Present_000b0188 + -0x9b4,uVar3);
  }
  return iVar1;
}

