
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

CURLcode __regparm3 ftp_state_type(connectdata *conn)

{
  _Bool ascii;
  Curl_easy *pCVar1;
  CURLcode CVar2;
  
  pCVar1 = conn->data;
  if ((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&
     (ascii = (pCVar1->set).prefer_ascii,
     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)) {
    *(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;
    CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);
    return CVar2;
  }
  CVar2 = ftp_state_size(conn);
  return CVar2;
}



void __regparm3 FUN_0002a340(int *param_1)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&
     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {
    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;
    FUN_0002aa90();
    return;
  }
  FUN_0002a2d0();
  return;
}


PUSH ESI
PUSH EBX
MOV EBX,dword ptr [EAX]
CMP byte ptr [EBX + 0x934],0x0
JZ 0x0002a390
MOV EDX,dword ptr [EAX + 0x4ec]
TEST EDX,EDX
JZ 0x0002a390
MOVZX EDX,byte ptr [EBX + 0x927]
MOVSX ESI,byte ptr [EAX + 0x504]
CMP DL,0x1
SBB ECX,ECX
AND ECX,0x8
ADD ECX,0x41
CMP ESI,ECX
JZ 0x0002a390
MOV ECX,dword ptr [EBX + 0x148]
MOV dword ptr [ECX + 0x14],0x1
MOV ECX,0x13
POP EBX
POP ESI
JMP 0x0002aa90
POP EBX
POP ESI
JMP 0x0002a2d0
(translation_unit "void __regparm3 FUN_0002a340(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0002a340(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002a340(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }" if (parenthesized_expression "(((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41))" ( (binary_expression "((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)" (parenthesized_expression "((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0))" ( (binary_expression "(*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0x934) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0x934) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x934)" * (cast_expression "(char *)(iVar1 + 0x934)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x934)" ( (binary_expression "iVar1 + 0x934" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1[0x13b] != 0)" ( (binary_expression "param_1[0x13b] != 0" (subscript_expression "param_1[0x13b]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)" ( (binary_expression "(int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41" (cast_expression "(int)(char)param_1[0x141]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)param_1[0x141]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x141]" identifier [ number_literal ]))) != (binary_expression "(-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41" (parenthesized_expression "(-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8)" ( (binary_expression "-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8" (unary_expression "-(uint)(*(char *)(iVar1 + 0x927) == '\0')" - (call_expression "(uint)(*(char *)(iVar1 + 0x927) == '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(iVar1 + 0x927) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x927) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x927)" * (cast_expression "(char *)(iVar1 + 0x927)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x927)" ( (binary_expression "iVar1 + 0x927" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )))) & number_literal) )) + number_literal)) ))) )) (compound_statement "{\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }" { (expression_statement "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1" (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x148) + 0x14)" ( (binary_expression "*(int *)(iVar1 + 0x148) + 0x14" (pointer_expression "*(int *)(iVar1 + 0x148)" * (cast_expression "(int *)(iVar1 + 0x148)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x148)" ( (binary_expression "iVar1 + 0x148" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0002aa90();" (call_expression "FUN_0002aa90()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002a2d0();" (call_expression "FUN_0002a2d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode __regparm3 ftp_state_type(connectdata *conn)\n\n{\n  _Bool ascii;\n  Curl_easy *pCVar1;\n  CURLcode CVar2;\n  \n  pCVar1 = conn->data;\n  if ((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&\n     (ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)) {\n    *(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;\n    CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);\n    return CVar2;\n  }\n  CVar2 = ftp_state_size(conn);\n  return CVar2;\n}\n\n" comment (function_definition "CURLcode __regparm3 ftp_state_type(connectdata *conn)\n\n{\n  _Bool ascii;\n  Curl_easy *pCVar1;\n  CURLcode CVar2;\n  \n  pCVar1 = conn->data;\n  if ((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&\n     (ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)) {\n    *(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;\n    CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);\n    return CVar2;\n  }\n  CVar2 = ftp_state_size(conn);\n  return CVar2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "ftp_state_type(connectdata *conn)" identifier (parameter_list "(connectdata *conn)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  _Bool ascii;\n  Curl_easy *pCVar1;\n  CURLcode CVar2;\n  \n  pCVar1 = conn->data;\n  if ((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&\n     (ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)) {\n    *(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;\n    CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);\n    return CVar2;\n  }\n  CVar2 = ftp_state_size(conn);\n  return CVar2;\n}" { (declaration "_Bool ascii;" type_identifier identifier ;) (declaration "Curl_easy *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (declaration "CURLcode CVar2;" type_identifier identifier ;) (expression_statement "pCVar1 = conn->data;" (assignment_expression "pCVar1 = conn->data" identifier = (field_expression "conn->data" identifier -> field_identifier)) ;) (if_statement "if ((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&\n     (ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)) {\n    *(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;\n    CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);\n    return CVar2;\n  }" if (parenthesized_expression "((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&\n     (ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41))" ( (binary_expression "(((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&\n     (ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)" (parenthesized_expression "(((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0))" ( (binary_expression "((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)" (parenthesized_expression "((pCVar1->set).opt_no_body != false)" ( (binary_expression "(pCVar1->set).opt_no_body != false" (field_expression "(pCVar1->set).opt_no_body" (parenthesized_expression "(pCVar1->set)" ( (field_expression "pCVar1->set" identifier -> field_identifier) )) . field_identifier) != false) )) && (parenthesized_expression "((conn->proto).ftpc.file != (char *)0x0)" ( (binary_expression "(conn->proto).ftpc.file != (char *)0x0" (field_expression "(conn->proto).ftpc.file" (field_expression "(conn->proto).ftpc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41)" ( (comma_expression "ascii = (pCVar1->set).prefer_ascii,\n     (int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41" (assignment_expression "ascii = (pCVar1->set).prefer_ascii" identifier = (field_expression "(pCVar1->set).prefer_ascii" (parenthesized_expression "(pCVar1->set)" ( (field_expression "pCVar1->set" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "(int)(conn->proto).ftpc.transfertype != (-(uint)(ascii == false) & 8) + 0x41" (cast_expression "(int)(conn->proto).ftpc.transfertype" ( (type_descriptor "int" primitive_type) ) (field_expression "(conn->proto).ftpc.transfertype" (field_expression "(conn->proto).ftpc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier)) != (binary_expression "(-(uint)(ascii == false) & 8) + 0x41" (parenthesized_expression "(-(uint)(ascii == false) & 8)" ( (binary_expression "-(uint)(ascii == false) & 8" (unary_expression "-(uint)(ascii == false)" - (call_expression "(uint)(ascii == false)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ascii == false)" ( (binary_expression "ascii == false" identifier == false) )))) & number_literal) )) + number_literal))) ))) )) (compound_statement "{\n    *(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;\n    CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);\n    return CVar2;\n  }" { (expression_statement "*(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1;" (assignment_expression "*(undefined4 *)((int)(pCVar1->req).protop + 0x14) = 1" (pointer_expression "*(undefined4 *)((int)(pCVar1->req).protop + 0x14)" * (cast_expression "(undefined4 *)((int)(pCVar1->req).protop + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(pCVar1->req).protop + 0x14)" ( (binary_expression "(int)(pCVar1->req).protop + 0x14" (cast_expression "(int)(pCVar1->req).protop" ( (type_descriptor "int" primitive_type) ) (field_expression "(pCVar1->req).protop" (parenthesized_expression "(pCVar1->req)" ( (field_expression "pCVar1->req" identifier -> field_identifier) )) . field_identifier)) + number_literal) )))) = number_literal) ;) (expression_statement "CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE);" (assignment_expression "CVar2 = ftp_nb_type(conn,ascii,FTP_TYPE)" identifier = (call_expression "ftp_nb_type(conn,ascii,FTP_TYPE)" identifier (argument_list "(conn,ascii,FTP_TYPE)" ( identifier , identifier , identifier )))) ;) (return_statement "return CVar2;" return identifier ;) })) (expression_statement "CVar2 = ftp_state_size(conn);" (assignment_expression "CVar2 = ftp_state_size(conn)" identifier = (call_expression "ftp_state_size(conn)" identifier (argument_list "(conn)" ( identifier )))) ;) (return_statement "return CVar2;" return identifier ;) })))
(translation_unit "void __regparm3 FUN_0002a340(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0002a340(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002a340(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }" if (parenthesized_expression "(((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41))" ( (binary_expression "((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)" (parenthesized_expression "((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0))" ( (binary_expression "(*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0x934) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0x934) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x934)" * (cast_expression "(char *)(iVar1 + 0x934)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x934)" ( (binary_expression "iVar1 + 0x934" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(param_1[0x13b] != 0)" ( (binary_expression "param_1[0x13b] != 0" (subscript_expression "param_1[0x13b]" identifier [ number_literal ]) != number_literal) ))) )) && (parenthesized_expression "((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)" ( (binary_expression "(int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41" (cast_expression "(int)(char)param_1[0x141]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)param_1[0x141]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x141]" identifier [ number_literal ]))) != (binary_expression "(-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41" (parenthesized_expression "(-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8)" ( (binary_expression "-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8" (unary_expression "-(uint)(*(char *)(iVar1 + 0x927) == '\0')" - (call_expression "(uint)(*(char *)(iVar1 + 0x927) == '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(iVar1 + 0x927) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x927) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x927)" * (cast_expression "(char *)(iVar1 + 0x927)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x927)" ( (binary_expression "iVar1 + 0x927" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )))) & number_literal) )) + number_literal)) ))) )) (compound_statement "{\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }" { (expression_statement "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1" (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x148) + 0x14)" ( (binary_expression "*(int *)(iVar1 + 0x148) + 0x14" (pointer_expression "*(int *)(iVar1 + 0x148)" * (cast_expression "(int *)(iVar1 + 0x148)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x148)" ( (binary_expression "iVar1 + 0x148" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0002aa90();" (call_expression "FUN_0002aa90()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0002a2d0();" (call_expression "FUN_0002a2d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) != (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )))) & LIT) )) + LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0002a340(int *param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002a340(int *param_1)" (identifier "FUN_0002a340") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *param_1;\n  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }\n  FUN_0002a2d0();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }" (if "if") (parenthesized_expression "(((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41))" (( "(") (binary_expression "((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&\n     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)" (parenthesized_expression "((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0))" (( "(") (binary_expression "(*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0x934) != '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x934) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x934)" (* "*") (cast_expression "(char *)(iVar1 + 0x934)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x934)" (( "(") (binary_expression "iVar1 + 0x934" (identifier "iVar1") (+ "+") (number_literal "0x934")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(param_1[0x13b] != 0)" (( "(") (binary_expression "param_1[0x13b] != 0" (subscript_expression "param_1[0x13b]" (identifier "param_1") ([ "[") (number_literal "0x13b") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)" (( "(") (binary_expression "(int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41" (cast_expression "(int)(char)param_1[0x141]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)param_1[0x141]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[0x141]" (identifier "param_1") ([ "[") (number_literal "0x141") (] "]")))) (!= "!=") (binary_expression "(-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41" (parenthesized_expression "(-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8)" (( "(") (binary_expression "-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8" (unary_expression "-(uint)(*(char *)(iVar1 + 0x927) == '\0')" (- "-") (call_expression "(uint)(*(char *)(iVar1 + 0x927) == '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(char *)(iVar1 + 0x927) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x927) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x927)" (* "*") (cast_expression "(char *)(iVar1 + 0x927)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x927)" (( "(") (binary_expression "iVar1 + 0x927" (identifier "iVar1") (+ "+") (number_literal "0x927")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (& "&") (number_literal "8")) () ")")) (+ "+") (number_literal "0x41"))) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;\n    FUN_0002aa90();\n    return;\n  }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1" (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x148) + 0x14)" (( "(") (binary_expression "*(int *)(iVar1 + 0x148) + 0x14" (pointer_expression "*(int *)(iVar1 + 0x148)" (* "*") (cast_expression "(int *)(iVar1 + 0x148)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x148)" (( "(") (binary_expression "iVar1 + 0x148" (identifier "iVar1") (+ "+") (number_literal "0x148")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_0002aa90();" (call_expression "FUN_0002aa90()" (identifier "FUN_0002aa90") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0002a2d0();" (call_expression "FUN_0002a2d0()" (identifier "FUN_0002a2d0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 __regparm3 function_1(type_2 *conn)

{
  type_3 var_1;
  type_4 *pCVar1;
  type_1 CVar2;
  
  pCVar1 = conn->data;
  if ((((pCVar1->set).opt_no_body != false) && ((conn->proto).ftpc.file != (char *)0x0)) &&
     (var_1 = (pCVar1->set).prefer_ascii,
     (int)(conn->proto).ftpc.transfertype != (-(uint)(var_1 == false) & 8) + 0x41)) {
    *(type_5 *)((int)(pCVar1->req).protop + 0x14) = 1;
    CVar2 = var_2(conn,var_1,FTP_TYPE);
    return CVar2;
  }
  CVar2 = var_3(conn);
  return CVar2;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (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))))) right: (char_literal (escape_sequence)))))) right: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void __regparm3 MASKED(int *param_1)

{
  int iVar1;
  
  iVar1 = *param_1;
  if (((*(char *)(iVar1 + 0x934) != '\0') && (param_1[0x13b] != 0)) &&
     ((int)(char)param_1[0x141] != (-(uint)(*(char *)(iVar1 + 0x927) == '\0') & 8) + 0x41)) {
    *(undefined4 *)(*(int *)(iVar1 + 0x148) + 0x14) = 1;
    FUN_0002aa90();
    return;
  }
  FUN_0002a2d0();
  return;
}

