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

void sigpipe_ignore(Curl_easy *data,sigpipe_ignore *ig)

{
  int iVar1;
  sigaction *psVar2;
  curl_socket_t cVar3;
  curl_llist_element **ppcVar4;
  Curl_easy *pCVar5;
  sigaction *psVar6;
  void *pvVar7;
  connectdata **connp;
  connectdata *pcVar8;
  anon_union_4_2_5ad2d23e_for___sigaction_handler aVar9;
  undefined *puVar10;
  sigaction action;
  
  puVar10 = PTR___stack_chk_guard_000a6fe0;
  iVar1 = *(int *)PTR___stack_chk_guard_000a6fe0;
  (*(code *)PTR_memset_000a6a6c)(data,0,0x90);
  (*(code *)PTR_sigaction_000a7078)(0xd,0,data);
  psVar6 = &action;
  psVar2 = psVar6;
  pCVar5 = data;
  do {
    ppcVar4 = &(pCVar5->connect_queue).prev;
    aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;
    pcVar8 = pCVar5->conn;
    pvVar7 = (pCVar5->connect_queue).ptr;
    psVar2->sa_flags = (int)pCVar5->next;
    psVar2->__sigaction_handler = aVar9;
    (psVar2->sa_mask).__val[0] = (ulong)pcVar8;
    (psVar2->sa_mask).__val[1] = (ulong)pvVar7;
    psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);
    pCVar5 = (Curl_easy *)ppcVar4;
  } while ((PslCache **)ppcVar4 != &data->psl);
  connp = (connectdata **)0x0;
  pCVar5 = (Curl_easy *)0xd;
  action.__sigaction_handler = (anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1;
  (*(code *)PTR_sigaction_000a7078)();
  if (iVar1 == *(int *)puVar10) {
    return;
  }
  puVar10 = PTR___stack_chk_fail_000a6c54;
  (*(code *)PTR___stack_chk_fail_000a6c54)();
  if (pCVar5 == (Curl_easy *)0x0) {
    return;
  }
  if ((pCVar5->set).connect_only != false) {
    cVar3 = Curl_getconnectinfo(pCVar5,connp);
    psVar6->sa_flags = cVar3;
    if (cVar3 != -1) {
      return;
    }
                    /* WARNING: Subroutine does not return */
    Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));
  }
                    /* WARNING: Subroutine does not return */
  Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50));
}



uint FUN_0003c400(int *param_1)

{
  int *piVar1;
  int *piVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined *puVar8;
  int local_a4 [36];
  uint local_14;
  
  puVar8 = PTR___stack_chk_guard_000a6fe0;
  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;
  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);
  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);
  piVar4 = local_a4;
  piVar1 = piVar4;
  piVar2 = param_1;
  do {
    piVar3 = piVar2 + 4;
    iVar7 = piVar2[1];
    iVar6 = piVar2[2];
    iVar5 = piVar2[3];
    *piVar1 = *piVar2;
    piVar1[1] = iVar7;
    piVar1[2] = iVar6;
    piVar1[3] = iVar5;
    piVar1 = piVar1 + 4;
    piVar2 = piVar3;
  } while (piVar3 != param_1 + 0x24);
  iVar5 = 0xd;
  local_a4[1] = 1;
  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);
  if (local_14 == *(uint *)puVar8) {
    return *(uint *)puVar8;
  }
  puVar8 = PTR___stack_chk_fail_000a6c54;
  (*(code *)PTR___stack_chk_fail_000a6c54)();
  if (iVar5 == 0) {
    return 0x2b;
  }
  if (*(char *)(iVar5 + 0x971) != '\0') {
    iVar6 = FUN_00041130();
    *piVar4 = iVar6;
    if (iVar6 == -1) {
      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);
    }
    return (uint)(iVar6 == -1);
  }
  FUN_00026280();
  return 1;
}


lui gp,0x7
addiu gp,gp,0x1d10
addu gp,gp,t9
addiu sp,sp,-0xc0
lw t9,-0x76a4(gp)
li a2,0x90
or a1,zero,zero
sw s1,0xb8(sp)
lw s1,-0x7130(gp)
sw gp,0x10(sp)
sw ra,0xbc(sp)
sw s0,0xb4(sp)
or s0,a0,zero
lw v0,0x0(s1)
sw v0,0xac(sp)
jalr t9
_nop
or a1,zero,zero
lw gp,0x10(sp)
li a0,0xd
lw t9,-0x7098(gp)
jalr t9
_or a2,s0,zero
addiu a1,sp,0x1c
lw gp,0x10(sp)
addiu v1,s0,0x90
or a0,s0,zero
or v0,a1,zero
lw t1,0x0(a0)
addiu a0,a0,0x10
addiu v0,v0,0x10
lw t0,-0xc(a0)
lw a3,-0x8(a0)
lw a2,-0x4(a0)
sw t1,-0x10(v0)
sw t0,-0xc(v0)
sw a3,-0x8(v0)
bne a0,v1,0x0003c470
_sw a2,-0x4(v0)
lw t9,-0x7098(gp)
li v0,0x1
or a2,zero,zero
li a0,0xd
jalr t9
_sw v0,0x20(sp)
lw v1,0xac(sp)
lw v0,0x0(s1)
bne v1,v0,0x0003c4d8
_lw gp,0x10(sp)
lw ra,0xbc(sp)
lw s1,0xb8(sp)
lw s0,0xb4(sp)
jr ra
_addiu sp,sp,0xc0
lw t9,-0x74bc(gp)
jalr t9
_nop
(translation_unit "uint FUN_0003c400(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}\n\n" (function_definition "uint FUN_0003c400(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}" type_identifier (function_declarator "FUN_0003c400(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 *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int local_a4 [36];" primitive_type (array_declarator "local_a4 [36]" identifier [ number_literal ]) ;) (declaration "uint local_14;" type_identifier identifier ;) (expression_statement "puVar8 = PTR___stack_chk_guard_000a6fe0;" (assignment_expression "puVar8 = PTR___stack_chk_guard_000a6fe0" identifier = identifier) ;) (expression_statement "local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;" (assignment_expression "local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000a6fe0" * (cast_expression "(uint *)PTR___stack_chk_guard_000a6fe0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);" (call_expression "(*(code *)PTR_memset_000a6a6c)(param_1,0,0x90)" (parenthesized_expression "(*(code *)PTR_memset_000a6a6c)" ( (pointer_expression "*(code *)PTR_memset_000a6a6c" * (cast_expression "(code *)PTR_memset_000a6a6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,0x90)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,0,param_1)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" ( (pointer_expression "*(code *)PTR_sigaction_000a7078" * (cast_expression "(code *)PTR_sigaction_000a7078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xd,0,param_1)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "piVar4 = local_a4;" (assignment_expression "piVar4 = local_a4" identifier = identifier) ;) (expression_statement "piVar1 = piVar4;" (assignment_expression "piVar1 = piVar4" identifier = identifier) ;) (expression_statement "piVar2 = param_1;" (assignment_expression "piVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);" do (compound_statement "{\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  }" { (expression_statement "piVar3 = piVar2 + 4;" (assignment_expression "piVar3 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = piVar2[2];" (assignment_expression "iVar6 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = piVar2[3];" (assignment_expression "iVar5 = piVar2[3]" identifier = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar1 = *piVar2;" (assignment_expression "*piVar1 = *piVar2" (pointer_expression "*piVar1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "piVar1[1] = iVar7;" (assignment_expression "piVar1[1] = iVar7" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[2] = iVar6;" (assignment_expression "piVar1[2] = iVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[3] = iVar5;" (assignment_expression "piVar1[3] = iVar5" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1 = piVar1 + 4;" (assignment_expression "piVar1 = piVar1 + 4" identifier = (binary_expression "piVar1 + 4" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar3;" (assignment_expression "piVar2 = piVar3" identifier = identifier) ;) }) while (parenthesized_expression "(piVar3 != param_1 + 0x24)" ( (binary_expression "piVar3 != param_1 + 0x24" identifier != (binary_expression "param_1 + 0x24" identifier + number_literal)) )) ;) (expression_statement "iVar5 = 0xd;" (assignment_expression "iVar5 = 0xd" identifier = number_literal) ;) (expression_statement "local_a4[1] = 1;" (assignment_expression "local_a4[1] = 1" (subscript_expression "local_a4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" ( (pointer_expression "*(code *)PTR_sigaction_000a7078" * (cast_expression "(code *)PTR_sigaction_000a7078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xd,piVar4,0)" ( number_literal , identifier , number_literal ))) ;) (if_statement "if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }" if (parenthesized_expression "(local_14 == *(uint *)puVar8)" ( (binary_expression "local_14 == *(uint *)puVar8" identifier == (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(uint *)puVar8;\n  }" { (return_statement "return *(uint *)puVar8;" return (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar8 = PTR___stack_chk_fail_000a6c54;" (assignment_expression "puVar8 = PTR___stack_chk_fail_000a6c54" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000a6c54)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a6c54)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a6c54)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000a6c54" * (cast_expression "(code *)PTR___stack_chk_fail_000a6c54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar5 == 0) {\n    return 0x2b;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x2b;\n  }" { (return_statement "return 0x2b;" return number_literal ;) })) (if_statement "if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }" if (parenthesized_expression "(*(char *)(iVar5 + 0x971) != '\0')" ( (binary_expression "*(char *)(iVar5 + 0x971) != '\0'" (pointer_expression "*(char *)(iVar5 + 0x971)" * (cast_expression "(char *)(iVar5 + 0x971)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x971)" ( (binary_expression "iVar5 + 0x971" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }" { (expression_statement "iVar6 = FUN_00041130();" (assignment_expression "iVar6 = FUN_00041130()" identifier = (call_expression "FUN_00041130()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" * identifier) = identifier) ;) (if_statement "if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }" { (expression_statement "FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);" (call_expression "FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34)" identifier (argument_list "(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34)" ( identifier , (binary_expression "*(int *)(puVar8 + 0x69cb0) + -0x3d34" (pointer_expression "*(int *)(puVar8 + 0x69cb0)" * (cast_expression "(int *)(puVar8 + 0x69cb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x69cb0)" ( (binary_expression "puVar8 + 0x69cb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (return_statement "return (uint)(iVar6 == -1);" return (call_expression "(uint)(iVar6 == -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) ))) ;) })) (expression_statement "FUN_00026280();" (call_expression "FUN_00026280()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sigpipe_ignore(Curl_easy *data,sigpipe_ignore *ig)\n\n{\n  int iVar1;\n  sigaction *psVar2;\n  curl_socket_t cVar3;\n  curl_llist_element **ppcVar4;\n  Curl_easy *pCVar5;\n  sigaction *psVar6;\n  void *pvVar7;\n  connectdata **connp;\n  connectdata *pcVar8;\n  anon_union_4_2_5ad2d23e_for___sigaction_handler aVar9;\n  undefined *puVar10;\n  sigaction action;\n  \n  puVar10 = PTR___stack_chk_guard_000a6fe0;\n  iVar1 = *(int *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(data,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,data);\n  psVar6 = &action;\n  psVar2 = psVar6;\n  pCVar5 = data;\n  do {\n    ppcVar4 = &(pCVar5->connect_queue).prev;\n    aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;\n    pcVar8 = pCVar5->conn;\n    pvVar7 = (pCVar5->connect_queue).ptr;\n    psVar2->sa_flags = (int)pCVar5->next;\n    psVar2->__sigaction_handler = aVar9;\n    (psVar2->sa_mask).__val[0] = (ulong)pcVar8;\n    (psVar2->sa_mask).__val[1] = (ulong)pvVar7;\n    psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);\n    pCVar5 = (Curl_easy *)ppcVar4;\n  } while ((PslCache **)ppcVar4 != &data->psl);\n  connp = (connectdata **)0x0;\n  pCVar5 = (Curl_easy *)0xd;\n  action.__sigaction_handler = (anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1;\n  (*(code *)PTR_sigaction_000a7078)();\n  if (iVar1 == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (pCVar5 == (Curl_easy *)0x0) {\n    return;\n  }\n  if ((pCVar5->set).connect_only != false) {\n    cVar3 = Curl_getconnectinfo(pCVar5,connp);\n    psVar6->sa_flags = cVar3;\n    if (cVar3 != -1) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));\n  }\n                    /* WARNING: Subroutine does not return */\n  Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50));\n}\n\n" comment (function_definition "void sigpipe_ignore(Curl_easy *data,sigpipe_ignore *ig)\n\n{\n  int iVar1;\n  sigaction *psVar2;\n  curl_socket_t cVar3;\n  curl_llist_element **ppcVar4;\n  Curl_easy *pCVar5;\n  sigaction *psVar6;\n  void *pvVar7;\n  connectdata **connp;\n  connectdata *pcVar8;\n  anon_union_4_2_5ad2d23e_for___sigaction_handler aVar9;\n  undefined *puVar10;\n  sigaction action;\n  \n  puVar10 = PTR___stack_chk_guard_000a6fe0;\n  iVar1 = *(int *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(data,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,data);\n  psVar6 = &action;\n  psVar2 = psVar6;\n  pCVar5 = data;\n  do {\n    ppcVar4 = &(pCVar5->connect_queue).prev;\n    aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;\n    pcVar8 = pCVar5->conn;\n    pvVar7 = (pCVar5->connect_queue).ptr;\n    psVar2->sa_flags = (int)pCVar5->next;\n    psVar2->__sigaction_handler = aVar9;\n    (psVar2->sa_mask).__val[0] = (ulong)pcVar8;\n    (psVar2->sa_mask).__val[1] = (ulong)pvVar7;\n    psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);\n    pCVar5 = (Curl_easy *)ppcVar4;\n  } while ((PslCache **)ppcVar4 != &data->psl);\n  connp = (connectdata **)0x0;\n  pCVar5 = (Curl_easy *)0xd;\n  action.__sigaction_handler = (anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1;\n  (*(code *)PTR_sigaction_000a7078)();\n  if (iVar1 == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (pCVar5 == (Curl_easy *)0x0) {\n    return;\n  }\n  if ((pCVar5->set).connect_only != false) {\n    cVar3 = Curl_getconnectinfo(pCVar5,connp);\n    psVar6->sa_flags = cVar3;\n    if (cVar3 != -1) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));\n  }\n                    /* WARNING: Subroutine does not return */\n  Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50));\n}" primitive_type (function_declarator "sigpipe_ignore(Curl_easy *data,sigpipe_ignore *ig)" identifier (parameter_list "(Curl_easy *data,sigpipe_ignore *ig)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "sigpipe_ignore *ig" type_identifier (pointer_declarator "*ig" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  sigaction *psVar2;\n  curl_socket_t cVar3;\n  curl_llist_element **ppcVar4;\n  Curl_easy *pCVar5;\n  sigaction *psVar6;\n  void *pvVar7;\n  connectdata **connp;\n  connectdata *pcVar8;\n  anon_union_4_2_5ad2d23e_for___sigaction_handler aVar9;\n  undefined *puVar10;\n  sigaction action;\n  \n  puVar10 = PTR___stack_chk_guard_000a6fe0;\n  iVar1 = *(int *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(data,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,data);\n  psVar6 = &action;\n  psVar2 = psVar6;\n  pCVar5 = data;\n  do {\n    ppcVar4 = &(pCVar5->connect_queue).prev;\n    aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;\n    pcVar8 = pCVar5->conn;\n    pvVar7 = (pCVar5->connect_queue).ptr;\n    psVar2->sa_flags = (int)pCVar5->next;\n    psVar2->__sigaction_handler = aVar9;\n    (psVar2->sa_mask).__val[0] = (ulong)pcVar8;\n    (psVar2->sa_mask).__val[1] = (ulong)pvVar7;\n    psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);\n    pCVar5 = (Curl_easy *)ppcVar4;\n  } while ((PslCache **)ppcVar4 != &data->psl);\n  connp = (connectdata **)0x0;\n  pCVar5 = (Curl_easy *)0xd;\n  action.__sigaction_handler = (anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1;\n  (*(code *)PTR_sigaction_000a7078)();\n  if (iVar1 == *(int *)puVar10) {\n    return;\n  }\n  puVar10 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (pCVar5 == (Curl_easy *)0x0) {\n    return;\n  }\n  if ((pCVar5->set).connect_only != false) {\n    cVar3 = Curl_getconnectinfo(pCVar5,connp);\n    psVar6->sa_flags = cVar3;\n    if (cVar3 != -1) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));\n  }\n                    /* WARNING: Subroutine does not return */\n  Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50));\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "sigaction *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "curl_socket_t cVar3;" type_identifier identifier ;) (declaration "curl_llist_element **ppcVar4;" type_identifier (pointer_declarator "**ppcVar4" * (pointer_declarator "*ppcVar4" * identifier)) ;) (declaration "Curl_easy *pCVar5;" type_identifier (pointer_declarator "*pCVar5" * identifier) ;) (declaration "sigaction *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "connectdata **connp;" type_identifier (pointer_declarator "**connp" * (pointer_declarator "*connp" * identifier)) ;) (declaration "connectdata *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "anon_union_4_2_5ad2d23e_for___sigaction_handler aVar9;" type_identifier identifier ;) (declaration "undefined *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "sigaction action;" type_identifier identifier ;) (expression_statement "puVar10 = PTR___stack_chk_guard_000a6fe0;" (assignment_expression "puVar10 = PTR___stack_chk_guard_000a6fe0" identifier = identifier) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000a6fe0;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000a6fe0" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000a6fe0" * (cast_expression "(int *)PTR___stack_chk_guard_000a6fe0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_memset_000a6a6c)(data,0,0x90);" (call_expression "(*(code *)PTR_memset_000a6a6c)(data,0,0x90)" (parenthesized_expression "(*(code *)PTR_memset_000a6a6c)" ( (pointer_expression "*(code *)PTR_memset_000a6a6c" * (cast_expression "(code *)PTR_memset_000a6a6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(data,0,0x90)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,0,data);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,0,data)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" ( (pointer_expression "*(code *)PTR_sigaction_000a7078" * (cast_expression "(code *)PTR_sigaction_000a7078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xd,0,data)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "psVar6 = &action;" (assignment_expression "psVar6 = &action" identifier = (pointer_expression "&action" & identifier)) ;) (expression_statement "psVar2 = psVar6;" (assignment_expression "psVar2 = psVar6" identifier = identifier) ;) (expression_statement "pCVar5 = data;" (assignment_expression "pCVar5 = data" identifier = identifier) ;) (do_statement "do {\n    ppcVar4 = &(pCVar5->connect_queue).prev;\n    aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;\n    pcVar8 = pCVar5->conn;\n    pvVar7 = (pCVar5->connect_queue).ptr;\n    psVar2->sa_flags = (int)pCVar5->next;\n    psVar2->__sigaction_handler = aVar9;\n    (psVar2->sa_mask).__val[0] = (ulong)pcVar8;\n    (psVar2->sa_mask).__val[1] = (ulong)pvVar7;\n    psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);\n    pCVar5 = (Curl_easy *)ppcVar4;\n  } while ((PslCache **)ppcVar4 != &data->psl);" do (compound_statement "{\n    ppcVar4 = &(pCVar5->connect_queue).prev;\n    aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;\n    pcVar8 = pCVar5->conn;\n    pvVar7 = (pCVar5->connect_queue).ptr;\n    psVar2->sa_flags = (int)pCVar5->next;\n    psVar2->__sigaction_handler = aVar9;\n    (psVar2->sa_mask).__val[0] = (ulong)pcVar8;\n    (psVar2->sa_mask).__val[1] = (ulong)pvVar7;\n    psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);\n    pCVar5 = (Curl_easy *)ppcVar4;\n  }" { (expression_statement "ppcVar4 = &(pCVar5->connect_queue).prev;" (assignment_expression "ppcVar4 = &(pCVar5->connect_queue).prev" identifier = (pointer_expression "&(pCVar5->connect_queue).prev" & (field_expression "(pCVar5->connect_queue).prev" (parenthesized_expression "(pCVar5->connect_queue)" ( (field_expression "pCVar5->connect_queue" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev;" (assignment_expression "aVar9 = (anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev" identifier = (cast_expression "(anon_union_4_2_5ad2d23e_for___sigaction_handler)pCVar5->prev" ( (type_descriptor "anon_union_4_2_5ad2d23e_for___sigaction_handler" type_identifier) ) (field_expression "pCVar5->prev" identifier -> field_identifier))) ;) (expression_statement "pcVar8 = pCVar5->conn;" (assignment_expression "pcVar8 = pCVar5->conn" identifier = (field_expression "pCVar5->conn" identifier -> field_identifier)) ;) (expression_statement "pvVar7 = (pCVar5->connect_queue).ptr;" (assignment_expression "pvVar7 = (pCVar5->connect_queue).ptr" identifier = (field_expression "(pCVar5->connect_queue).ptr" (parenthesized_expression "(pCVar5->connect_queue)" ( (field_expression "pCVar5->connect_queue" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "psVar2->sa_flags = (int)pCVar5->next;" (assignment_expression "psVar2->sa_flags = (int)pCVar5->next" (field_expression "psVar2->sa_flags" identifier -> field_identifier) = (cast_expression "(int)pCVar5->next" ( (type_descriptor "int" primitive_type) ) (field_expression "pCVar5->next" identifier -> field_identifier))) ;) (expression_statement "psVar2->__sigaction_handler = aVar9;" (assignment_expression "psVar2->__sigaction_handler = aVar9" (field_expression "psVar2->__sigaction_handler" identifier -> field_identifier) = identifier) ;) (expression_statement "(psVar2->sa_mask).__val[0] = (ulong)pcVar8;" (assignment_expression "(psVar2->sa_mask).__val[0] = (ulong)pcVar8" (subscript_expression "(psVar2->sa_mask).__val[0]" (field_expression "(psVar2->sa_mask).__val" (parenthesized_expression "(psVar2->sa_mask)" ( (field_expression "psVar2->sa_mask" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(ulong)pcVar8" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "(psVar2->sa_mask).__val[1] = (ulong)pvVar7;" (assignment_expression "(psVar2->sa_mask).__val[1] = (ulong)pvVar7" (subscript_expression "(psVar2->sa_mask).__val[1]" (field_expression "(psVar2->sa_mask).__val" (parenthesized_expression "(psVar2->sa_mask)" ( (field_expression "psVar2->sa_mask" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(ulong)pvVar7" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2);" (assignment_expression "psVar2 = (sigaction *)((psVar2->sa_mask).__val + 2)" identifier = (cast_expression "(sigaction *)((psVar2->sa_mask).__val + 2)" ( (type_descriptor "sigaction *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((psVar2->sa_mask).__val + 2)" ( (binary_expression "(psVar2->sa_mask).__val + 2" (field_expression "(psVar2->sa_mask).__val" (parenthesized_expression "(psVar2->sa_mask)" ( (field_expression "psVar2->sa_mask" identifier -> field_identifier) )) . field_identifier) + number_literal) )))) ;) (expression_statement "pCVar5 = (Curl_easy *)ppcVar4;" (assignment_expression "pCVar5 = (Curl_easy *)ppcVar4" identifier = (cast_expression "(Curl_easy *)ppcVar4" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) while (parenthesized_expression "((PslCache **)ppcVar4 != &data->psl)" ( (binary_expression "(PslCache **)ppcVar4 != &data->psl" (cast_expression "(PslCache **)ppcVar4" ( (type_descriptor "PslCache **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier) != (pointer_expression "&data->psl" & (field_expression "data->psl" identifier -> field_identifier))) )) ;) (expression_statement "connp = (connectdata **)0x0;" (assignment_expression "connp = (connectdata **)0x0" identifier = (cast_expression "(connectdata **)0x0" ( (type_descriptor "connectdata **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "pCVar5 = (Curl_easy *)0xd;" (assignment_expression "pCVar5 = (Curl_easy *)0xd" identifier = (cast_expression "(Curl_easy *)0xd" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "action.__sigaction_handler = (anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1;" (assignment_expression "action.__sigaction_handler = (anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1" (field_expression "action.__sigaction_handler" identifier . field_identifier) = (cast_expression "(anon_union_4_2_5ad2d23e_for___sigaction_handler)0x1" ( (type_descriptor "anon_union_4_2_5ad2d23e_for___sigaction_handler" type_identifier) ) number_literal)) ;) (expression_statement "(*(code *)PTR_sigaction_000a7078)();" (call_expression "(*(code *)PTR_sigaction_000a7078)()" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" ( (pointer_expression "*(code *)PTR_sigaction_000a7078" * (cast_expression "(code *)PTR_sigaction_000a7078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == *(int *)puVar10) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar10)" ( (binary_expression "iVar1 == *(int *)puVar10" identifier == (pointer_expression "*(int *)puVar10" * (cast_expression "(int *)puVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar10 = PTR___stack_chk_fail_000a6c54;" (assignment_expression "puVar10 = PTR___stack_chk_fail_000a6c54" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000a6c54)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a6c54)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a6c54)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000a6c54" * (cast_expression "(code *)PTR___stack_chk_fail_000a6c54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (pCVar5 == (Curl_easy *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pCVar5 == (Curl_easy *)0x0)" ( (binary_expression "pCVar5 == (Curl_easy *)0x0" identifier == (cast_expression "(Curl_easy *)0x0" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((pCVar5->set).connect_only != false) {\n    cVar3 = Curl_getconnectinfo(pCVar5,connp);\n    psVar6->sa_flags = cVar3;\n    if (cVar3 != -1) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));\n  }" if (parenthesized_expression "((pCVar5->set).connect_only != false)" ( (binary_expression "(pCVar5->set).connect_only != false" (field_expression "(pCVar5->set).connect_only" (parenthesized_expression "(pCVar5->set)" ( (field_expression "pCVar5->set" identifier -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n    cVar3 = Curl_getconnectinfo(pCVar5,connp);\n    psVar6->sa_flags = cVar3;\n    if (cVar3 != -1) {\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));\n  }" { (expression_statement "cVar3 = Curl_getconnectinfo(pCVar5,connp);" (assignment_expression "cVar3 = Curl_getconnectinfo(pCVar5,connp)" identifier = (call_expression "Curl_getconnectinfo(pCVar5,connp)" identifier (argument_list "(pCVar5,connp)" ( identifier , identifier )))) ;) (expression_statement "psVar6->sa_flags = cVar3;" (assignment_expression "psVar6->sa_flags = cVar3" (field_expression "psVar6->sa_flags" identifier -> field_identifier) = identifier) ;) (if_statement "if (cVar3 != -1) {\n      return;\n    }" if (parenthesized_expression "(cVar3 != -1)" ( (binary_expression "cVar3 != -1" identifier != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) comment (expression_statement "Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34));" (call_expression "Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34))" identifier (argument_list "(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34))" ( identifier , (cast_expression "(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0x69cb0) + -0x3d34)" ( (binary_expression "*(int *)(puVar10 + 0x69cb0) + -0x3d34" (pointer_expression "*(int *)(puVar10 + 0x69cb0)" * (cast_expression "(int *)(puVar10 + 0x69cb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x69cb0)" ( (binary_expression "puVar10 + 0x69cb0" identifier + number_literal) )))) + number_literal) ))) ))) ;) })) comment (expression_statement "Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50));" (call_expression "Curl_failf(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50))" identifier (argument_list "(pCVar5,(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50))" ( identifier , (cast_expression "(char *)(*(int *)(puVar10 + 0x69cb0) + -0x3d50)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar10 + 0x69cb0) + -0x3d50)" ( (binary_expression "*(int *)(puVar10 + 0x69cb0) + -0x3d50" (pointer_expression "*(int *)(puVar10 + 0x69cb0)" * (cast_expression "(int *)(puVar10 + 0x69cb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar10 + 0x69cb0)" ( (binary_expression "puVar10 + 0x69cb0" identifier + number_literal) )))) + number_literal) ))) ))) ;) })))
(translation_unit "uint FUN_0003c400(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}\n\n" (function_definition "uint FUN_0003c400(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}" type_identifier (function_declarator "FUN_0003c400(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 *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int local_a4 [36];" primitive_type (array_declarator "local_a4 [36]" identifier [ number_literal ]) ;) (declaration "uint local_14;" type_identifier identifier ;) (expression_statement "puVar8 = PTR___stack_chk_guard_000a6fe0;" (assignment_expression "puVar8 = PTR___stack_chk_guard_000a6fe0" identifier = identifier) ;) (expression_statement "local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;" (assignment_expression "local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_000a6fe0" * (cast_expression "(uint *)PTR___stack_chk_guard_000a6fe0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "(*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);" (call_expression "(*(code *)PTR_memset_000a6a6c)(param_1,0,0x90)" (parenthesized_expression "(*(code *)PTR_memset_000a6a6c)" ( (pointer_expression "*(code *)PTR_memset_000a6a6c" * (cast_expression "(code *)PTR_memset_000a6a6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,0,0x90)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,0,param_1)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" ( (pointer_expression "*(code *)PTR_sigaction_000a7078" * (cast_expression "(code *)PTR_sigaction_000a7078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xd,0,param_1)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "piVar4 = local_a4;" (assignment_expression "piVar4 = local_a4" identifier = identifier) ;) (expression_statement "piVar1 = piVar4;" (assignment_expression "piVar1 = piVar4" identifier = identifier) ;) (expression_statement "piVar2 = param_1;" (assignment_expression "piVar2 = param_1" identifier = identifier) ;) (do_statement "do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);" do (compound_statement "{\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  }" { (expression_statement "piVar3 = piVar2 + 4;" (assignment_expression "piVar3 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = piVar2[2];" (assignment_expression "iVar6 = piVar2[2]" identifier = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = piVar2[3];" (assignment_expression "iVar5 = piVar2[3]" identifier = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar1 = *piVar2;" (assignment_expression "*piVar1 = *piVar2" (pointer_expression "*piVar1" * identifier) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "piVar1[1] = iVar7;" (assignment_expression "piVar1[1] = iVar7" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[2] = iVar6;" (assignment_expression "piVar1[2] = iVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1[3] = iVar5;" (assignment_expression "piVar1[3] = iVar5" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1 = piVar1 + 4;" (assignment_expression "piVar1 = piVar1 + 4" identifier = (binary_expression "piVar1 + 4" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar3;" (assignment_expression "piVar2 = piVar3" identifier = identifier) ;) }) while (parenthesized_expression "(piVar3 != param_1 + 0x24)" ( (binary_expression "piVar3 != param_1 + 0x24" identifier != (binary_expression "param_1 + 0x24" identifier + number_literal)) )) ;) (expression_statement "iVar5 = 0xd;" (assignment_expression "iVar5 = 0xd" identifier = number_literal) ;) (expression_statement "local_a4[1] = 1;" (assignment_expression "local_a4[1] = 1" (subscript_expression "local_a4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" ( (pointer_expression "*(code *)PTR_sigaction_000a7078" * (cast_expression "(code *)PTR_sigaction_000a7078" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xd,piVar4,0)" ( number_literal , identifier , number_literal ))) ;) (if_statement "if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }" if (parenthesized_expression "(local_14 == *(uint *)puVar8)" ( (binary_expression "local_14 == *(uint *)puVar8" identifier == (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(uint *)puVar8;\n  }" { (return_statement "return *(uint *)puVar8;" return (pointer_expression "*(uint *)puVar8" * (cast_expression "(uint *)puVar8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "puVar8 = PTR___stack_chk_fail_000a6c54;" (assignment_expression "puVar8 = PTR___stack_chk_fail_000a6c54" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000a6c54)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a6c54)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a6c54)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000a6c54" * (cast_expression "(code *)PTR___stack_chk_fail_000a6c54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (iVar5 == 0) {\n    return 0x2b;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0x2b;\n  }" { (return_statement "return 0x2b;" return number_literal ;) })) (if_statement "if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }" if (parenthesized_expression "(*(char *)(iVar5 + 0x971) != '\0')" ( (binary_expression "*(char *)(iVar5 + 0x971) != '\0'" (pointer_expression "*(char *)(iVar5 + 0x971)" * (cast_expression "(char *)(iVar5 + 0x971)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x971)" ( (binary_expression "iVar5 + 0x971" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }" { (expression_statement "iVar6 = FUN_00041130();" (assignment_expression "iVar6 = FUN_00041130()" identifier = (call_expression "FUN_00041130()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" * identifier) = identifier) ;) (if_statement "if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }" { (expression_statement "FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);" (call_expression "FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34)" identifier (argument_list "(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34)" ( identifier , (binary_expression "*(int *)(puVar8 + 0x69cb0) + -0x3d34" (pointer_expression "*(int *)(puVar8 + 0x69cb0)" * (cast_expression "(int *)(puVar8 + 0x69cb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x69cb0)" ( (binary_expression "puVar8 + 0x69cb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (return_statement "return (uint)(iVar6 == -1);" return (call_expression "(uint)(iVar6 == -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) ))) ;) })) (expression_statement "FUN_00026280();" (call_expression "FUN_00026280()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "uint FUN_0003c400(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}" (type_identifier "uint") (function_declarator "FUN_0003c400(int *param_1)" (identifier "FUN_0003c400") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  undefined *puVar8;\n  int local_a4 [36];\n  uint local_14;\n  \n  puVar8 = PTR___stack_chk_guard_000a6fe0;\n  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;\n  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);\n  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);\n  piVar4 = local_a4;\n  piVar1 = piVar4;\n  piVar2 = param_1;\n  do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);\n  iVar5 = 0xd;\n  local_a4[1] = 1;\n  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);\n  if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }\n  puVar8 = PTR___stack_chk_fail_000a6c54;\n  (*(code *)PTR___stack_chk_fail_000a6c54)();\n  if (iVar5 == 0) {\n    return 0x2b;\n  }\n  if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }\n  FUN_00026280();\n  return 1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int local_a4 [36];" (primitive_type "int") (array_declarator "local_a4 [36]" (identifier "local_a4") ([ "[") (number_literal "36") (] "]")) (; ";")) (declaration "uint local_14;" (type_identifier "uint") (identifier "local_14") (; ";")) (expression_statement "puVar8 = PTR___stack_chk_guard_000a6fe0;" (assignment_expression "puVar8 = PTR___stack_chk_guard_000a6fe0" (identifier "puVar8") (= "=") (identifier "PTR___stack_chk_guard_000a6fe0")) (; ";")) (expression_statement "local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;" (assignment_expression "local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0" (identifier "local_14") (= "=") (pointer_expression "*(uint *)PTR___stack_chk_guard_000a6fe0" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_000a6fe0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000a6fe0")))) (; ";")) (expression_statement "(*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);" (call_expression "(*(code *)PTR_memset_000a6a6c)(param_1,0,0x90)" (parenthesized_expression "(*(code *)PTR_memset_000a6a6c)" (( "(") (pointer_expression "*(code *)PTR_memset_000a6a6c" (* "*") (cast_expression "(code *)PTR_memset_000a6a6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_000a6a6c"))) () ")")) (argument_list "(param_1,0,0x90)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0x90") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,0,param_1)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" (( "(") (pointer_expression "*(code *)PTR_sigaction_000a7078" (* "*") (cast_expression "(code *)PTR_sigaction_000a7078" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigaction_000a7078"))) () ")")) (argument_list "(0xd,0,param_1)" (( "(") (number_literal "0xd") (, ",") (number_literal "0") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "piVar4 = local_a4;" (assignment_expression "piVar4 = local_a4" (identifier "piVar4") (= "=") (identifier "local_a4")) (; ";")) (expression_statement "piVar1 = piVar4;" (assignment_expression "piVar1 = piVar4" (identifier "piVar1") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar2 = param_1;" (assignment_expression "piVar2 = param_1" (identifier "piVar2") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  } while (piVar3 != param_1 + 0x24);" (do "do") (compound_statement "{\n    piVar3 = piVar2 + 4;\n    iVar7 = piVar2[1];\n    iVar6 = piVar2[2];\n    iVar5 = piVar2[3];\n    *piVar1 = *piVar2;\n    piVar1[1] = iVar7;\n    piVar1[2] = iVar6;\n    piVar1[3] = iVar5;\n    piVar1 = piVar1 + 4;\n    piVar2 = piVar3;\n  }" ({ "{") (expression_statement "piVar3 = piVar2 + 4;" (assignment_expression "piVar3 = piVar2 + 4" (identifier "piVar3") (= "=") (binary_expression "piVar2 + 4" (identifier "piVar2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar7 = piVar2[1];" (assignment_expression "iVar7 = piVar2[1]" (identifier "iVar7") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar6 = piVar2[2];" (assignment_expression "iVar6 = piVar2[2]" (identifier "iVar6") (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar5 = piVar2[3];" (assignment_expression "iVar5 = piVar2[3]" (identifier "iVar5") (= "=") (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar1 = *piVar2;" (assignment_expression "*piVar1 = *piVar2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "piVar1[1] = iVar7;" (assignment_expression "piVar1[1] = iVar7" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "piVar1[2] = iVar6;" (assignment_expression "piVar1[2] = iVar6" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "piVar1[3] = iVar5;" (assignment_expression "piVar1[3] = iVar5" (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "piVar1 = piVar1 + 4;" (assignment_expression "piVar1 = piVar1 + 4" (identifier "piVar1") (= "=") (binary_expression "piVar1 + 4" (identifier "piVar1") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "piVar2 = piVar3;" (assignment_expression "piVar2 = piVar3" (identifier "piVar2") (= "=") (identifier "piVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar3 != param_1 + 0x24)" (( "(") (binary_expression "piVar3 != param_1 + 0x24" (identifier "piVar3") (!= "!=") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24"))) () ")")) (; ";")) (expression_statement "iVar5 = 0xd;" (assignment_expression "iVar5 = 0xd" (identifier "iVar5") (= "=") (number_literal "0xd")) (; ";")) (expression_statement "local_a4[1] = 1;" (assignment_expression "local_a4[1] = 1" (subscript_expression "local_a4[1]" (identifier "local_a4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);" (call_expression "(*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0)" (parenthesized_expression "(*(code *)PTR_sigaction_000a7078)" (( "(") (pointer_expression "*(code *)PTR_sigaction_000a7078" (* "*") (cast_expression "(code *)PTR_sigaction_000a7078" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sigaction_000a7078"))) () ")")) (argument_list "(0xd,piVar4,0)" (( "(") (number_literal "0xd") (, ",") (identifier "piVar4") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_14 == *(uint *)puVar8) {\n    return *(uint *)puVar8;\n  }" (if "if") (parenthesized_expression "(local_14 == *(uint *)puVar8)" (( "(") (binary_expression "local_14 == *(uint *)puVar8" (identifier "local_14") (== "==") (pointer_expression "*(uint *)puVar8" (* "*") (cast_expression "(uint *)puVar8" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8")))) () ")")) (compound_statement "{\n    return *(uint *)puVar8;\n  }" ({ "{") (return_statement "return *(uint *)puVar8;" (return "return") (pointer_expression "*(uint *)puVar8" (* "*") (cast_expression "(uint *)puVar8" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (; ";")) (} "}"))) (expression_statement "puVar8 = PTR___stack_chk_fail_000a6c54;" (assignment_expression "puVar8 = PTR___stack_chk_fail_000a6c54" (identifier "puVar8") (= "=") (identifier "PTR___stack_chk_fail_000a6c54")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000a6c54)();" (call_expression "(*(code *)PTR___stack_chk_fail_000a6c54)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000a6c54)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000a6c54" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000a6c54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000a6c54"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar5 == 0) {\n    return 0x2b;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0x2b;\n  }" ({ "{") (return_statement "return 0x2b;" (return "return") (number_literal "0x2b") (; ";")) (} "}"))) (if_statement "if (*(char *)(iVar5 + 0x971) != '\0') {\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar5 + 0x971) != '\0')" (( "(") (binary_expression "*(char *)(iVar5 + 0x971) != '\0'" (pointer_expression "*(char *)(iVar5 + 0x971)" (* "*") (cast_expression "(char *)(iVar5 + 0x971)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x971)" (( "(") (binary_expression "iVar5 + 0x971" (identifier "iVar5") (+ "+") (number_literal "0x971")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar6 = FUN_00041130();\n    *piVar4 = iVar6;\n    if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }\n    return (uint)(iVar6 == -1);\n  }" ({ "{") (expression_statement "iVar6 = FUN_00041130();" (assignment_expression "iVar6 = FUN_00041130()" (identifier "iVar6") (= "=") (call_expression "FUN_00041130()" (identifier "FUN_00041130") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (iVar6 == -1) {\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);\n    }" ({ "{") (expression_statement "FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);" (call_expression "FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34)" (identifier "FUN_00026280") (argument_list "(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34)" (( "(") (identifier "iVar5") (, ",") (binary_expression "*(int *)(puVar8 + 0x69cb0) + -0x3d34" (pointer_expression "*(int *)(puVar8 + 0x69cb0)" (* "*") (cast_expression "(int *)(puVar8 + 0x69cb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x69cb0)" (( "(") (binary_expression "puVar8 + 0x69cb0" (identifier "puVar8") (+ "+") (number_literal "0x69cb0")) () ")")))) (+ "+") (number_literal "-0x3d34")) () ")"))) (; ";")) (} "}"))) (return_statement "return (uint)(iVar6 == -1);" (return "return") (call_expression "(uint)(iVar6 == -1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00026280();" (call_expression "FUN_00026280()" (identifier "FUN_00026280") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

void function_1(type_1 *data,function_1 *ig)

{
  int var_1;
  type_2 *psVar2;
  type_3 var_4;
  type_4 **ppcVar4;
  type_1 *var_2;
  type_2 *psVar6;
  void *pvVar7;
  type_5 **connp;
  type_5 *pcVar8;
  type_6 aVar9;
  type_7 *var_6;
  type_2 action;
  
  var_6 = PTR___stack_chk_guard_000a6fe0;
  var_1 = *(int *)PTR___stack_chk_guard_000a6fe0;
  (*(type_8 *)PTR_memset_000a6a6c)(data,0,0x90);
  (*(type_8 *)PTR_sigaction_000a7078)(0xd,0,data);
  psVar6 = &action;
  psVar2 = psVar6;
  var_2 = data;
  do {
    ppcVar4 = &(var_2->connect_queue).prev;
    aVar9 = (type_6)var_2->prev;
    pcVar8 = var_2->conn;
    pvVar7 = (var_2->connect_queue).ptr;
    psVar2->sa_flags = (int)var_2->next;
    psVar2->__sigaction_handler = aVar9;
    (psVar2->sa_mask).__val[0] = (type_9)pcVar8;
    (psVar2->sa_mask).__val[1] = (type_9)pvVar7;
    psVar2 = (type_2 *)((psVar2->sa_mask).__val + 2);
    var_2 = (type_1 *)ppcVar4;
  } while ((type_10 **)ppcVar4 != &data->psl);
  connp = (type_5 **)0x0;
  var_2 = (type_1 *)0xd;
  action.__sigaction_handler = (type_6)0x1;
  (*(type_8 *)PTR_sigaction_000a7078)();
  if (var_1 == *(int *)var_6) {
    return;
  }
  var_6 = PTR___stack_chk_fail_000a6c54;
  (*(type_8 *)PTR___stack_chk_fail_000a6c54)();
  if (var_2 == (type_1 *)0x0) {
    return;
  }
  if ((var_2->set).connect_only != false) {
    var_4 = var_3(var_2,connp);
    psVar6->sa_flags = var_4;
    if (var_4 != -1) {
      return;
    }
                    /* WARNING: Subroutine does not return */
    var_5(var_2,(char *)(*(int *)(var_6 + 0x69cb0) + -0x3d34));
  }
                    /* WARNING: Subroutine does not return */
  var_5(var_2,(char *)(*(int *)(var_6 + 0x69cb0) + -0x3d50));
}


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

uint MASKED(int *param_1)

{
  int *piVar1;
  int *piVar2;
  int *piVar3;
  int *piVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  undefined *puVar8;
  int local_a4 [36];
  uint local_14;
  
  puVar8 = PTR___stack_chk_guard_000a6fe0;
  local_14 = *(uint *)PTR___stack_chk_guard_000a6fe0;
  (*(code *)PTR_memset_000a6a6c)(param_1,0,0x90);
  (*(code *)PTR_sigaction_000a7078)(0xd,0,param_1);
  piVar4 = local_a4;
  piVar1 = piVar4;
  piVar2 = param_1;
  do {
    piVar3 = piVar2 + 4;
    iVar7 = piVar2[1];
    iVar6 = piVar2[2];
    iVar5 = piVar2[3];
    *piVar1 = *piVar2;
    piVar1[1] = iVar7;
    piVar1[2] = iVar6;
    piVar1[3] = iVar5;
    piVar1 = piVar1 + 4;
    piVar2 = piVar3;
  } while (piVar3 != param_1 + 0x24);
  iVar5 = 0xd;
  local_a4[1] = 1;
  (*(code *)PTR_sigaction_000a7078)(0xd,piVar4,0);
  if (local_14 == *(uint *)puVar8) {
    return *(uint *)puVar8;
  }
  puVar8 = PTR___stack_chk_fail_000a6c54;
  (*(code *)PTR___stack_chk_fail_000a6c54)();
  if (iVar5 == 0) {
    return 0x2b;
  }
  if (*(char *)(iVar5 + 0x971) != '\0') {
    iVar6 = FUN_00041130();
    *piVar4 = iVar6;
    if (iVar6 == -1) {
      FUN_00026280(iVar5,*(int *)(puVar8 + 0x69cb0) + -0x3d34);
    }
    return (uint)(iVar6 == -1);
  }
  FUN_00026280();
  return 1;
}

