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

void Curl_tcpnodelay(connectdata *conn,curl_socket_t sockfd)

{
  Curl_easy *data;
  int iVar1;
  int *piVar2;
  char *pcVar3;
  long in_FS_OFFSET;
  curl_socklen_t onoff;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  data = conn->data;
  onoff = 1;
  iVar1 = setsockopt(sockfd,6,1,&onoff,4);
  if (iVar1 < 0) {
    piVar2 = __errno_location();
    pcVar3 = Curl_strerror(conn,*piVar2);
    Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);
  }
  else {
    Curl_infof(data,"TCP_NODELAY set\n");
  }
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



void FUN_001323f4(undefined8 *param_1,int param_2)

{
  undefined8 uVar1;
  int iVar2;
  int *piVar3;
  undefined8 uVar4;
  long in_FS_OFFSET;
  undefined4 local_24;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  uVar1 = *param_1;
  local_24 = 1;
  iVar2 = setsockopt(param_2,6,1,&local_24,4);
  if (iVar2 < 0) {
    piVar3 = __errno_location();
    uVar4 = FUN_00139b21(param_1,*piVar3);
    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);
  }
  else {
    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");
  }
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
MOV EDI,ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x8],RAX
XOR EAX,EAX
MOV RBP,qword ptr [RBX]
MOV dword ptr [RSP + 0x4],0x1
LEA RCX,[RSP + 0x4]
MOV R8D,0x4
MOV EDX,0x1
MOV ESI,0x6
CALL 0x0010eb10
TEST EAX,EAX
JS 0x00132463
LEA RSI,[0x171718]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x0011a8d8
MOV RAX,qword ptr [RSP + 0x8]
XOR RAX,qword ptr FS:[0x28]
JNZ 0x0013248b
ADD RSP,0x18
POP RBX
POP RBP
RET
CALL 0x0010d080
MOV ESI,dword ptr [RAX]
MOV RDI,RBX
CALL 0x00139b21
MOV RDX,RAX
LEA RSI,[0x171880]
MOV RDI,RBP
MOV EAX,0x0
CALL 0x0011a8d8
JMP 0x0013244c
CALL 0x0010e1c0
(translation_unit "void FUN_001323f4(undefined8 *param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "void FUN_001323f4(undefined8 *param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_001323f4(undefined8 *param_1,int param_2)" identifier (parameter_list "(undefined8 *param_1,int param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = setsockopt(param_2,6,1,&local_24,4);" (assignment_expression "iVar2 = setsockopt(param_2,6,1,&local_24,4)" identifier = (call_expression "setsockopt(param_2,6,1,&local_24,4)" identifier (argument_list "(param_2,6,1,&local_24,4)" ( identifier , number_literal , number_literal , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) (if_statement "if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = FUN_00139b21(param_1,*piVar3);" (assignment_expression "uVar4 = FUN_00139b21(param_1,*piVar3)" identifier = (call_expression "FUN_00139b21(param_1,*piVar3)" identifier (argument_list "(param_1,*piVar3)" ( identifier , (pointer_expression "*piVar3" * identifier) )))) ;) (expression_statement "FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);" (call_expression "FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4)" identifier (argument_list "(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4)" ( identifier , (string_literal ""Could not set TCP_NODELAY: %s\n"" " string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" else (compound_statement "{\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" { (expression_statement "FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");" (call_expression "FUN_0011a8d8(uVar1,"TCP_NODELAY set\n")" identifier (argument_list "(uVar1,"TCP_NODELAY set\n")" ( identifier , (string_literal ""TCP_NODELAY set\n"" " string_content escape_sequence ") ))) ;) }))) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid Curl_tcpnodelay(connectdata *conn,curl_socket_t sockfd)\n\n{\n  Curl_easy *data;\n  int iVar1;\n  int *piVar2;\n  char *pcVar3;\n  long in_FS_OFFSET;\n  curl_socklen_t onoff;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  data = conn->data;\n  onoff = 1;\n  iVar1 = setsockopt(sockfd,6,1,&onoff,4);\n  if (iVar1 < 0) {\n    piVar2 = __errno_location();\n    pcVar3 = Curl_strerror(conn,*piVar2);\n    Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);\n  }\n  else {\n    Curl_infof(data,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" comment (function_definition "void Curl_tcpnodelay(connectdata *conn,curl_socket_t sockfd)\n\n{\n  Curl_easy *data;\n  int iVar1;\n  int *piVar2;\n  char *pcVar3;\n  long in_FS_OFFSET;\n  curl_socklen_t onoff;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  data = conn->data;\n  onoff = 1;\n  iVar1 = setsockopt(sockfd,6,1,&onoff,4);\n  if (iVar1 < 0) {\n    piVar2 = __errno_location();\n    pcVar3 = Curl_strerror(conn,*piVar2);\n    Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);\n  }\n  else {\n    Curl_infof(data,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "Curl_tcpnodelay(connectdata *conn,curl_socket_t sockfd)" identifier (parameter_list "(connectdata *conn,curl_socket_t sockfd)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) , (parameter_declaration "curl_socket_t sockfd" type_identifier identifier) ))) (compound_statement "{\n  Curl_easy *data;\n  int iVar1;\n  int *piVar2;\n  char *pcVar3;\n  long in_FS_OFFSET;\n  curl_socklen_t onoff;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  data = conn->data;\n  onoff = 1;\n  iVar1 = setsockopt(sockfd,6,1,&onoff,4);\n  if (iVar1 < 0) {\n    piVar2 = __errno_location();\n    pcVar3 = Curl_strerror(conn,*piVar2);\n    Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);\n  }\n  else {\n    Curl_infof(data,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "Curl_easy *data;" type_identifier (pointer_declarator "*data" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "curl_socklen_t onoff;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "data = conn->data;" (assignment_expression "data = conn->data" identifier = (field_expression "conn->data" identifier -> field_identifier)) ;) (expression_statement "onoff = 1;" (assignment_expression "onoff = 1" identifier = number_literal) ;) (expression_statement "iVar1 = setsockopt(sockfd,6,1,&onoff,4);" (assignment_expression "iVar1 = setsockopt(sockfd,6,1,&onoff,4)" identifier = (call_expression "setsockopt(sockfd,6,1,&onoff,4)" identifier (argument_list "(sockfd,6,1,&onoff,4)" ( identifier , number_literal , number_literal , (pointer_expression "&onoff" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 < 0) {\n    piVar2 = __errno_location();\n    pcVar3 = Curl_strerror(conn,*piVar2);\n    Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);\n  }\n  else {\n    Curl_infof(data,"TCP_NODELAY set\n");\n  }" if (parenthesized_expression "(iVar1 < 0)" ( (binary_expression "iVar1 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar2 = __errno_location();\n    pcVar3 = Curl_strerror(conn,*piVar2);\n    Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);\n  }" { (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar3 = Curl_strerror(conn,*piVar2);" (assignment_expression "pcVar3 = Curl_strerror(conn,*piVar2)" identifier = (call_expression "Curl_strerror(conn,*piVar2)" identifier (argument_list "(conn,*piVar2)" ( identifier , (pointer_expression "*piVar2" * identifier) )))) ;) (expression_statement "Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3);" (call_expression "Curl_infof(data,"Could not set TCP_NODELAY: %s\n",pcVar3)" identifier (argument_list "(data,"Could not set TCP_NODELAY: %s\n",pcVar3)" ( identifier , (string_literal ""Could not set TCP_NODELAY: %s\n"" " string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n    Curl_infof(data,"TCP_NODELAY set\n");\n  }" else (compound_statement "{\n    Curl_infof(data,"TCP_NODELAY set\n");\n  }" { (expression_statement "Curl_infof(data,"TCP_NODELAY set\n");" (call_expression "Curl_infof(data,"TCP_NODELAY set\n")" identifier (argument_list "(data,"TCP_NODELAY set\n")" ( identifier , (string_literal ""TCP_NODELAY set\n"" " string_content escape_sequence ") ))) ;) }))) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_001323f4(undefined8 *param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "void FUN_001323f4(undefined8 *param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_001323f4(undefined8 *param_1,int param_2)" identifier (parameter_list "(undefined8 *param_1,int param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = setsockopt(param_2,6,1,&local_24,4);" (assignment_expression "iVar2 = setsockopt(param_2,6,1,&local_24,4)" identifier = (call_expression "setsockopt(param_2,6,1,&local_24,4)" identifier (argument_list "(param_2,6,1,&local_24,4)" ( identifier , number_literal , number_literal , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) (if_statement "if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar4 = FUN_00139b21(param_1,*piVar3);" (assignment_expression "uVar4 = FUN_00139b21(param_1,*piVar3)" identifier = (call_expression "FUN_00139b21(param_1,*piVar3)" identifier (argument_list "(param_1,*piVar3)" ( identifier , (pointer_expression "*piVar3" * identifier) )))) ;) (expression_statement "FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);" (call_expression "FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4)" identifier (argument_list "(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4)" ( identifier , (string_literal ""Could not set TCP_NODELAY: %s\n"" " string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" else (compound_statement "{\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" { (expression_statement "FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");" (call_expression "FUN_0011a8d8(uVar1,"TCP_NODELAY set\n")" identifier (argument_list "(uVar1,"TCP_NODELAY set\n")" ( identifier , (string_literal ""TCP_NODELAY set\n"" " string_content escape_sequence ") ))) ;) }))) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_001323f4(undefined8 *param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "void") (function_declarator "FUN_001323f4(undefined8 *param_1,int param_2)" (identifier "FUN_001323f4") (parameter_list "(undefined8 *param_1,int param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  int *piVar3;\n  undefined8 uVar4;\n  long in_FS_OFFSET;\n  undefined4 local_24;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  uVar1 = *param_1;\n  local_24 = 1;\n  iVar2 = setsockopt(param_2,6,1,&local_24,4);\n  if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }\n  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar2 = setsockopt(param_2,6,1,&local_24,4);" (assignment_expression "iVar2 = setsockopt(param_2,6,1,&local_24,4)" (identifier "iVar2") (= "=") (call_expression "setsockopt(param_2,6,1,&local_24,4)" (identifier "setsockopt") (argument_list "(param_2,6,1,&local_24,4)" (( "(") (identifier "param_2") (, ",") (number_literal "6") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if (iVar2 < 0) {\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }\n  else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    piVar3 = __errno_location();\n    uVar4 = FUN_00139b21(param_1,*piVar3);\n    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);\n  }" ({ "{") (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" (identifier "piVar3") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar4 = FUN_00139b21(param_1,*piVar3);" (assignment_expression "uVar4 = FUN_00139b21(param_1,*piVar3)" (identifier "uVar4") (= "=") (call_expression "FUN_00139b21(param_1,*piVar3)" (identifier "FUN_00139b21") (argument_list "(param_1,*piVar3)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) () ")")))) (; ";")) (expression_statement "FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);" (call_expression "FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4)" (identifier "FUN_0011a8d8") (argument_list "(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4)" (( "(") (identifier "uVar1") (, ",") (string_literal ""Could not set TCP_NODELAY: %s\n"" (" """) (string_content "Could not set TCP_NODELAY: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" (else "else") (compound_statement "{\n    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");\n  }" ({ "{") (expression_statement "FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");" (call_expression "FUN_0011a8d8(uVar1,"TCP_NODELAY set\n")" (identifier "FUN_0011a8d8") (argument_list "(uVar1,"TCP_NODELAY set\n")" (( "(") (identifier "uVar1") (, ",") (string_literal ""TCP_NODELAY set\n"" (" """) (string_content "TCP_NODELAY set") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}")))) (if_statement "if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_20 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void function_1(type_1 *conn,type_2 sockfd)

{
  type_3 *data;
  int var_3;
  int *piVar2;
  char *pcVar3;
  long var_1;
  type_4 onoff;
  long var_7;
  
  var_7 = *(long *)(var_1 + 0x28);
  data = conn->data;
  onoff = 1;
  var_3 = var_2(sockfd,6,1,&onoff,4);
  if (var_3 < 0) {
    piVar2 = var_4();
    pcVar3 = var_5(conn,*piVar2);
    var_6(data,"Could not set TCP_NODELAY: %s\n",pcVar3);
  }
  else {
    var_6(data,"TCP_NODELAY set\n");
  }
  if (var_7 == *(long *)(var_1 + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_8();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(undefined8 *param_1,int param_2)

{
  undefined8 uVar1;
  int iVar2;
  int *piVar3;
  undefined8 uVar4;
  long in_FS_OFFSET;
  undefined4 local_24;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  uVar1 = *param_1;
  local_24 = 1;
  iVar2 = setsockopt(param_2,6,1,&local_24,4);
  if (iVar2 < 0) {
    piVar3 = __errno_location();
    uVar4 = FUN_00139b21(param_1,*piVar3);
    FUN_0011a8d8(uVar1,"Could not set TCP_NODELAY: %s\n",uVar4);
  }
  else {
    FUN_0011a8d8(uVar1,"TCP_NODELAY set\n");
  }
  if (local_20 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

