
/* WARNING: Unknown calling convention */

Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)

{
  Ssh_gss_stat SVar1;
  int in_GS_OFFSET;
  OM_uint32 min_stat;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);
  if (SVar1 != SSH_GSS_OK) {
    SVar1 = SSH_GSS_FAILURE;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return SVar1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



int FUN_0004dec0(int param_1,undefined4 param_2)

{
  int iVar1;
  int in_GS_OFFSET;
  undefined1 local_14 [4];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);
  if (iVar1 != 0) {
    iVar1 = 4;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006dad0();
}


SUB ESP,0x24
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x14],EAX
XOR EAX,EAX
PUSH dword ptr [ESP + 0x2c]
LEA EAX,[ESP + 0x14]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x30]
CALL dword ptr [EAX + 0x44]
MOV EDX,0x4
ADD ESP,0x10
TEST EAX,EAX
CMOVNZ EAX,EDX
MOV ECX,dword ptr [ESP + 0xc]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0004defd
ADD ESP,0x1c
RET
CALL 0x0006dad0
(translation_unit "int FUN_0004dec0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}\n\n" (function_definition "int FUN_0004dec0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}" primitive_type (function_declarator "FUN_0004dec0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_14 [4];" type_identifier (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2)" identifier = (call_expression "(**(code **)(param_1 + 0x44))(local_14,param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x44))" ( (pointer_expression "**(code **)(param_1 + 0x44)" * (pointer_expression "*(code **)(param_1 + 0x44)" * (cast_expression "(code **)(param_1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) (argument_list "(local_14,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 4;\n  }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "FUN_0006dad0();" (call_expression "FUN_0006dad0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nSsh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)\n\n{\n  Ssh_gss_stat SVar1;\n  int in_GS_OFFSET;\n  OM_uint32 min_stat;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return SVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)\n\n{\n  Ssh_gss_stat SVar1;\n  int in_GS_OFFSET;\n  OM_uint32 min_stat;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return SVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (function_declarator "ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)" identifier (parameter_list "(ssh_gss_library *lib,Ssh_gss_buf *send_tok)" ( (parameter_declaration "ssh_gss_library *lib" type_identifier (pointer_declarator "*lib" * identifier)) , (parameter_declaration "Ssh_gss_buf *send_tok" type_identifier (pointer_declarator "*send_tok" * identifier)) ))) (compound_statement "{\n  Ssh_gss_stat SVar1;\n  int in_GS_OFFSET;\n  OM_uint32 min_stat;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);\n  if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return SVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "Ssh_gss_stat SVar1;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "OM_uint32 min_stat;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);" (assignment_expression "SVar1 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok)" identifier = (call_expression "(*(lib->u).gssapi.release_buffer)(&min_stat,send_tok)" (parenthesized_expression "(*(lib->u).gssapi.release_buffer)" ( (pointer_expression "*(lib->u).gssapi.release_buffer" * (field_expression "(lib->u).gssapi.release_buffer" (field_expression "(lib->u).gssapi" (parenthesized_expression "(lib->u)" ( (field_expression "lib->u" identifier -> field_identifier) )) . field_identifier) . field_identifier)) )) (argument_list "(&min_stat,send_tok)" ( (pointer_expression "&min_stat" & identifier) , identifier )))) ;) (if_statement "if (SVar1 != SSH_GSS_OK) {\n    SVar1 = SSH_GSS_FAILURE;\n  }" if (parenthesized_expression "(SVar1 != SSH_GSS_OK)" ( (binary_expression "SVar1 != SSH_GSS_OK" identifier != identifier) )) (compound_statement "{\n    SVar1 = SSH_GSS_FAILURE;\n  }" { (expression_statement "SVar1 = SSH_GSS_FAILURE;" (assignment_expression "SVar1 = SSH_GSS_FAILURE" identifier = identifier) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return SVar1;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return SVar1;\n  }" { (return_statement "return SVar1;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_0004dec0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_0006dad0();\n}\n\n" (function_definition "int FUN_0004dec0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_0006dad0();\n}" primitive_type (function_declarator "FUN_0004dec0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_0006dad0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_14 [4];" type_identifier (array_declarator "local_14 [4]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2)" identifier = (call_expression "(**(code **)(param_1 + 0x44))(local_14,param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x44))" ( (pointer_expression "**(code **)(param_1 + 0x44)" * (pointer_expression "*(code **)(param_1 + 0x44)" * (cast_expression "(code **)(param_1 + 0x44)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) )) (argument_list "(local_14,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = 4;\n  }" { (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" identifier = number_literal) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "FUN_0006dad0();" (call_expression "FUN_0006dad0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_0004dec0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_0006dad0();\n}" (primitive_type "int") (function_declarator "FUN_0004dec0(int param_1,undefined4 param_2)" (identifier "FUN_0004dec0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int in_GS_OFFSET;\n  undefined1 local_14 [4];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);\n  if (iVar1 != 0) {\n    iVar1 = 4;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }\n                    \n  FUN_0006dad0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 local_14 [4];" (type_identifier "undefined1") (array_declarator "local_14 [4]" (identifier "local_14") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(param_1 + 0x44))(local_14,param_2)" (parenthesized_expression "(**(code **)(param_1 + 0x44))" (( "(") (pointer_expression "**(code **)(param_1 + 0x44)" (* "*") (pointer_expression "*(code **)(param_1 + 0x44)" (* "*") (cast_expression "(code **)(param_1 + 0x44)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) () ")")) (argument_list "(local_14,param_2)" (( "(") (identifier "local_14") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar1 = 4;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = 4;\n  }" ({ "{") (expression_statement "iVar1 = 4;" (assignment_expression "iVar1 = 4" (identifier "iVar1") (= "=") (number_literal "4")) (; ";")) (} "}"))) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "FUN_0006dad0();" (call_expression "FUN_0006dad0()" (identifier "FUN_0006dad0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *lib,type_3 *send_tok)

{
  type_1 var_2;
  int var_1;
  type_4 min_stat;
  int var_4;
  
  var_4 = *(int *)(var_1 + 0x14);
  var_2 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok);
  if (var_2 != var_3) {
    var_2 = SSH_GSS_FAILURE;
  }
  if (var_4 == *(int *)(var_1 + 0x14)) {
    return var_2;
  }
                    /* WARNING: Subroutine does not return */
  var_5();
}


(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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

int MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  int in_GS_OFFSET;
  undefined1 local_14 [4];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = (**(code **)(param_1 + 0x44))(local_14,param_2);
  if (iVar1 != 0) {
    iVar1 = 4;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006dad0();
}

