
Curl_tree * Curl_splayinsert(curltime i,Curl_tree *t,Curl_tree *node)

{
  curltime i_00;
  Curl_tree *pCVar1;
  Curl_tree *pCVar2;
  Curl_tree *in_a2;
  Curl_tree *in_a3;
  int in_stack_ffffffec;
  
  if (in_a3 == (Curl_tree *)0x0) {
    return in_a2;
  }
  if (in_a2 == (Curl_tree *)0x0) {
    in_a3->larger = (Curl_tree *)0x0;
    in_a3->smaller = (Curl_tree *)0x0;
    goto LAB_000532e4;
  }
  i_00.tv_sec = (time_t)&_gp;
  i_00.tv_usec = in_stack_ffffffec;
  pCVar1 = Curl_splay(i_00,t);
  pCVar2 = (Curl_tree *)(pCVar1->key).tv_sec;
  if (pCVar2 == t) {
    pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;
    if (pCVar2 == node) {
      (in_a3->key).tv_sec = -1;
      (in_a3->key).tv_usec = -1;
      in_a3->samen = pCVar1;
      pCVar2 = pCVar1->samep;
      in_a3->samep = pCVar2;
      pCVar2->samen = in_a3;
      pCVar1->samep = in_a3;
      return pCVar1;
    }
    if ((int)pCVar2 <= (int)node) goto LAB_00053324;
  }
  else if ((int)pCVar2 <= (int)t) {
LAB_00053324:
    in_a3->larger = pCVar1->larger;
    in_a3->smaller = pCVar1;
    pCVar1->larger = (Curl_tree *)0x0;
    goto LAB_000532e4;
  }
  in_a3->smaller = pCVar1->smaller;
  in_a3->larger = pCVar1;
  pCVar1->smaller = (Curl_tree *)0x0;
LAB_000532e4:
  (in_a3->key).tv_sec = (time_t)t;
  (in_a3->key).tv_usec = (int)node;
  in_a3->samen = in_a3;
  in_a3->samep = in_a3;
  return in_a3;
}



undefined4 * FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (param_4 == (undefined4 *)0x0) {
    return param_3;
  }
  if (param_3 == (undefined4 *)0x0) {
    param_4[1] = 0;
    *param_4 = 0;
    goto LAB_000532e4;
  }
  puVar1 = (undefined4 *)FUN_000530d0();
  if (puVar1[4] == param_1) {
    if (puVar1[5] == param_2) {
      param_4[4] = 0xffffffff;
      param_4[5] = 0xffffffff;
      param_4[2] = puVar1;
      iVar2 = puVar1[3];
      param_4[3] = iVar2;
      *(undefined4 **)(iVar2 + 8) = param_4;
      puVar1[3] = param_4;
      return puVar1;
    }
    if ((int)puVar1[5] <= param_2) goto LAB_00053324;
  }
  else if ((int)puVar1[4] <= param_1) {
LAB_00053324:
    param_4[1] = puVar1[1];
    *param_4 = puVar1;
    puVar1[1] = 0;
    goto LAB_000532e4;
  }
  *param_4 = *puVar1;
  param_4[1] = puVar1;
  *puVar1 = 0;
LAB_000532e4:
  param_4[4] = param_1;
  param_4[5] = param_2;
  param_4[2] = param_4;
  param_4[3] = param_4;
  return param_4;
}


lui gp,0x6
addiu gp,gp,0x5ea0
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
sw a0,0x28(sp)
beq a3,zero,0x0005335c
_sw a1,0x2c(sp)
or s0,a3,zero
or s1,a0,zero
beq a2,zero,0x00053364
_or s2,a1,zero
lw t9,-0x7ae8(gp)
bal 0x000530d0
_nop
lw gp,0x10(sp)
lw v1,0x10(v0)
beq v1,s1,0x00053310
_slt v1,s1,v1
beq v1,zero,0x00053324
_nop
lw v1,0x0(v0)
sw v1,0x0(s0)
sw v0,0x4(s0)
sw zero,0x0(v0)
sw s1,0x10(s0)
sw s2,0x14(s0)
sw s0,0x8(s0)
sw s0,0xc(s0)
or v0,s0,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw v1,0x14(v0)
beq v1,s2,0x00053338
_slt v1,s2,v1
bne v1,zero,0x000532d4
_nop
lw v1,0x4(v0)
sw v1,0x4(s0)
sw v0,0x0(s0)
b 0x000532e4
_sw zero,0x4(v0)
li v1,-0x1
sw v1,0x10(s0)
sw v1,0x14(s0)
sw v0,0x8(s0)
lw v1,0xc(v0)
sw v1,0xc(s0)
sw s0,0x8(v1)
b 0x000532f8
_sw s0,0xc(v0)
b 0x000532f8
_or v0,a2,zero
sw zero,0x4(a3)
b 0x000532e4
_sw zero,0x0(a3)
(translation_unit "undefined4 * FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}\n\n" (function_definition "undefined4 * FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}" type_identifier (pointer_declarator "* FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" * (function_declarator "FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }" if (parenthesized_expression "(param_4 == (undefined4 *)0x0)" ( (binary_expression "param_4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return param_3;\n  }" { (return_statement "return param_3;" return identifier ;) })) (if_statement "if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "(param_3 == (undefined4 *)0x0)" ( (binary_expression "param_3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }" { (expression_statement "param_4[1] = 0;" (assignment_expression "param_4[1] = 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (goto_statement "goto LAB_000532e4;" goto statement_identifier ;) })) (expression_statement "puVar1 = (undefined4 *)FUN_000530d0();" (assignment_expression "puVar1 = (undefined4 *)FUN_000530d0()" identifier = (cast_expression "(undefined4 *)FUN_000530d0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000530d0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "(puVar1[4] == param_1)" ( (binary_expression "puVar1[4] == param_1" (subscript_expression "puVar1[4]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }" { (if_statement "if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1[5] == param_2)" ( (binary_expression "puVar1[5] == param_2" (subscript_expression "puVar1[5]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }" { (expression_statement "param_4[4] = 0xffffffff;" (assignment_expression "param_4[4] = 0xffffffff" (subscript_expression "param_4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_4[5] = 0xffffffff;" (assignment_expression "param_4[5] = 0xffffffff" (subscript_expression "param_4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_4[2] = puVar1;" (assignment_expression "param_4[2] = puVar1" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = puVar1[3];" (assignment_expression "iVar2 = puVar1[3]" identifier = (subscript_expression "puVar1[3]" identifier [ number_literal ])) ;) (expression_statement "param_4[3] = iVar2;" (assignment_expression "param_4[3] = iVar2" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)(iVar2 + 8) = param_4;" (assignment_expression "*(undefined4 **)(iVar2 + 8) = param_4" (pointer_expression "*(undefined4 **)(iVar2 + 8)" * (cast_expression "(undefined4 **)(iVar2 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[3] = param_4;" (assignment_expression "puVar1[3] = param_4" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })) (if_statement "if ((int)puVar1[5] <= param_2) goto LAB_00053324;" if (parenthesized_expression "((int)puVar1[5] <= param_2)" ( (binary_expression "(int)puVar1[5] <= param_2" (cast_expression "(int)puVar1[5]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar1[5]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00053324;" goto statement_identifier ;)) }) (else_clause "else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" else (if_statement "if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "((int)puVar1[4] <= param_1)" ( (binary_expression "(int)puVar1[4] <= param_1" (cast_expression "(int)puVar1[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar1[4]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" { (labeled_statement "LAB_00053324:\n    param_4[1] = puVar1[1];" statement_identifier : (expression_statement "param_4[1] = puVar1[1];" (assignment_expression "param_4[1] = puVar1[1]" (subscript_expression "param_4[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;)) (expression_statement "*param_4 = puVar1;" (assignment_expression "*param_4 = puVar1" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000532e4;" goto statement_identifier ;) })))) (expression_statement "*param_4 = *puVar1;" (assignment_expression "*param_4 = *puVar1" (pointer_expression "*param_4" * identifier) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "param_4[1] = puVar1;" (assignment_expression "param_4[1] = puVar1" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (labeled_statement "LAB_000532e4:\n  param_4[4] = param_1;" statement_identifier : (expression_statement "param_4[4] = param_1;" (assignment_expression "param_4[4] = param_1" (subscript_expression "param_4[4]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "param_4[5] = param_2;" (assignment_expression "param_4[5] = param_2" (subscript_expression "param_4[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = param_4;" (assignment_expression "param_4[2] = param_4" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[3] = param_4;" (assignment_expression "param_4[3] = param_4" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_4;" return identifier ;) })))
(translation_unit "Curl_tree * Curl_splayinsert(curltime i,Curl_tree *t,Curl_tree *node)\n\n{\n  curltime i_00;\n  Curl_tree *pCVar1;\n  Curl_tree *pCVar2;\n  Curl_tree *in_a2;\n  Curl_tree *in_a3;\n  int in_stack_ffffffec;\n  \n  if (in_a3 == (Curl_tree *)0x0) {\n    return in_a2;\n  }\n  if (in_a2 == (Curl_tree *)0x0) {\n    in_a3->larger = (Curl_tree *)0x0;\n    in_a3->smaller = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }\n  i_00.tv_sec = (time_t)&_gp;\n  i_00.tv_usec = in_stack_ffffffec;\n  pCVar1 = Curl_splay(i_00,t);\n  pCVar2 = (Curl_tree *)(pCVar1->key).tv_sec;\n  if (pCVar2 == t) {\n    pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;\n    if (pCVar2 == node) {\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }\n    if ((int)pCVar2 <= (int)node) goto LAB_00053324;\n  }\n  else if ((int)pCVar2 <= (int)t) {\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }\n  in_a3->smaller = pCVar1->smaller;\n  in_a3->larger = pCVar1;\n  pCVar1->smaller = (Curl_tree *)0x0;\nLAB_000532e4:\n  (in_a3->key).tv_sec = (time_t)t;\n  (in_a3->key).tv_usec = (int)node;\n  in_a3->samen = in_a3;\n  in_a3->samep = in_a3;\n  return in_a3;\n}\n\n" (function_definition "Curl_tree * Curl_splayinsert(curltime i,Curl_tree *t,Curl_tree *node)\n\n{\n  curltime i_00;\n  Curl_tree *pCVar1;\n  Curl_tree *pCVar2;\n  Curl_tree *in_a2;\n  Curl_tree *in_a3;\n  int in_stack_ffffffec;\n  \n  if (in_a3 == (Curl_tree *)0x0) {\n    return in_a2;\n  }\n  if (in_a2 == (Curl_tree *)0x0) {\n    in_a3->larger = (Curl_tree *)0x0;\n    in_a3->smaller = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }\n  i_00.tv_sec = (time_t)&_gp;\n  i_00.tv_usec = in_stack_ffffffec;\n  pCVar1 = Curl_splay(i_00,t);\n  pCVar2 = (Curl_tree *)(pCVar1->key).tv_sec;\n  if (pCVar2 == t) {\n    pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;\n    if (pCVar2 == node) {\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }\n    if ((int)pCVar2 <= (int)node) goto LAB_00053324;\n  }\n  else if ((int)pCVar2 <= (int)t) {\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }\n  in_a3->smaller = pCVar1->smaller;\n  in_a3->larger = pCVar1;\n  pCVar1->smaller = (Curl_tree *)0x0;\nLAB_000532e4:\n  (in_a3->key).tv_sec = (time_t)t;\n  (in_a3->key).tv_usec = (int)node;\n  in_a3->samen = in_a3;\n  in_a3->samep = in_a3;\n  return in_a3;\n}" type_identifier (pointer_declarator "* Curl_splayinsert(curltime i,Curl_tree *t,Curl_tree *node)" * (function_declarator "Curl_splayinsert(curltime i,Curl_tree *t,Curl_tree *node)" identifier (parameter_list "(curltime i,Curl_tree *t,Curl_tree *node)" ( (parameter_declaration "curltime i" type_identifier identifier) , (parameter_declaration "Curl_tree *t" type_identifier (pointer_declarator "*t" * identifier)) , (parameter_declaration "Curl_tree *node" type_identifier (pointer_declarator "*node" * identifier)) )))) (compound_statement "{\n  curltime i_00;\n  Curl_tree *pCVar1;\n  Curl_tree *pCVar2;\n  Curl_tree *in_a2;\n  Curl_tree *in_a3;\n  int in_stack_ffffffec;\n  \n  if (in_a3 == (Curl_tree *)0x0) {\n    return in_a2;\n  }\n  if (in_a2 == (Curl_tree *)0x0) {\n    in_a3->larger = (Curl_tree *)0x0;\n    in_a3->smaller = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }\n  i_00.tv_sec = (time_t)&_gp;\n  i_00.tv_usec = in_stack_ffffffec;\n  pCVar1 = Curl_splay(i_00,t);\n  pCVar2 = (Curl_tree *)(pCVar1->key).tv_sec;\n  if (pCVar2 == t) {\n    pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;\n    if (pCVar2 == node) {\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }\n    if ((int)pCVar2 <= (int)node) goto LAB_00053324;\n  }\n  else if ((int)pCVar2 <= (int)t) {\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }\n  in_a3->smaller = pCVar1->smaller;\n  in_a3->larger = pCVar1;\n  pCVar1->smaller = (Curl_tree *)0x0;\nLAB_000532e4:\n  (in_a3->key).tv_sec = (time_t)t;\n  (in_a3->key).tv_usec = (int)node;\n  in_a3->samen = in_a3;\n  in_a3->samep = in_a3;\n  return in_a3;\n}" { (declaration "curltime i_00;" type_identifier identifier ;) (declaration "Curl_tree *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (declaration "Curl_tree *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (declaration "Curl_tree *in_a2;" type_identifier (pointer_declarator "*in_a2" * identifier) ;) (declaration "Curl_tree *in_a3;" type_identifier (pointer_declarator "*in_a3" * identifier) ;) (declaration "int in_stack_ffffffec;" primitive_type identifier ;) (if_statement "if (in_a3 == (Curl_tree *)0x0) {\n    return in_a2;\n  }" if (parenthesized_expression "(in_a3 == (Curl_tree *)0x0)" ( (binary_expression "in_a3 == (Curl_tree *)0x0" identifier == (cast_expression "(Curl_tree *)0x0" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return in_a2;\n  }" { (return_statement "return in_a2;" return identifier ;) })) (if_statement "if (in_a2 == (Curl_tree *)0x0) {\n    in_a3->larger = (Curl_tree *)0x0;\n    in_a3->smaller = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "(in_a2 == (Curl_tree *)0x0)" ( (binary_expression "in_a2 == (Curl_tree *)0x0" identifier == (cast_expression "(Curl_tree *)0x0" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    in_a3->larger = (Curl_tree *)0x0;\n    in_a3->smaller = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }" { (expression_statement "in_a3->larger = (Curl_tree *)0x0;" (assignment_expression "in_a3->larger = (Curl_tree *)0x0" (field_expression "in_a3->larger" identifier -> field_identifier) = (cast_expression "(Curl_tree *)0x0" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "in_a3->smaller = (Curl_tree *)0x0;" (assignment_expression "in_a3->smaller = (Curl_tree *)0x0" (field_expression "in_a3->smaller" identifier -> field_identifier) = (cast_expression "(Curl_tree *)0x0" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000532e4;" goto statement_identifier ;) })) (expression_statement "i_00.tv_sec = (time_t)&_gp;" (assignment_expression "i_00.tv_sec = (time_t)&_gp" (field_expression "i_00.tv_sec" identifier . field_identifier) = (binary_expression "(time_t)&_gp" (parenthesized_expression "(time_t)" ( identifier )) & identifier)) ;) (expression_statement "i_00.tv_usec = in_stack_ffffffec;" (assignment_expression "i_00.tv_usec = in_stack_ffffffec" (field_expression "i_00.tv_usec" identifier . field_identifier) = identifier) ;) (expression_statement "pCVar1 = Curl_splay(i_00,t);" (assignment_expression "pCVar1 = Curl_splay(i_00,t)" identifier = (call_expression "Curl_splay(i_00,t)" identifier (argument_list "(i_00,t)" ( identifier , identifier )))) ;) (expression_statement "pCVar2 = (Curl_tree *)(pCVar1->key).tv_sec;" (assignment_expression "pCVar2 = (Curl_tree *)(pCVar1->key).tv_sec" identifier = (cast_expression "(Curl_tree *)(pCVar1->key).tv_sec" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pCVar1->key).tv_sec" (parenthesized_expression "(pCVar1->key)" ( (field_expression "pCVar1->key" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if (pCVar2 == t) {\n    pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;\n    if (pCVar2 == node) {\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }\n    if ((int)pCVar2 <= (int)node) goto LAB_00053324;\n  }\n  else if ((int)pCVar2 <= (int)t) {\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "(pCVar2 == t)" ( (binary_expression "pCVar2 == t" identifier == identifier) )) (compound_statement "{\n    pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;\n    if (pCVar2 == node) {\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }\n    if ((int)pCVar2 <= (int)node) goto LAB_00053324;\n  }" { (expression_statement "pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec;" (assignment_expression "pCVar2 = (Curl_tree *)(pCVar1->key).tv_usec" identifier = (cast_expression "(Curl_tree *)(pCVar1->key).tv_usec" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pCVar1->key).tv_usec" (parenthesized_expression "(pCVar1->key)" ( (field_expression "pCVar1->key" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if (pCVar2 == node) {\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }" if (parenthesized_expression "(pCVar2 == node)" ( (binary_expression "pCVar2 == node" identifier == identifier) )) (compound_statement "{\n      (in_a3->key).tv_sec = -1;\n      (in_a3->key).tv_usec = -1;\n      in_a3->samen = pCVar1;\n      pCVar2 = pCVar1->samep;\n      in_a3->samep = pCVar2;\n      pCVar2->samen = in_a3;\n      pCVar1->samep = in_a3;\n      return pCVar1;\n    }" { (expression_statement "(in_a3->key).tv_sec = -1;" (assignment_expression "(in_a3->key).tv_sec = -1" (field_expression "(in_a3->key).tv_sec" (parenthesized_expression "(in_a3->key)" ( (field_expression "in_a3->key" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(in_a3->key).tv_usec = -1;" (assignment_expression "(in_a3->key).tv_usec = -1" (field_expression "(in_a3->key).tv_usec" (parenthesized_expression "(in_a3->key)" ( (field_expression "in_a3->key" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "in_a3->samen = pCVar1;" (assignment_expression "in_a3->samen = pCVar1" (field_expression "in_a3->samen" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar2 = pCVar1->samep;" (assignment_expression "pCVar2 = pCVar1->samep" identifier = (field_expression "pCVar1->samep" identifier -> field_identifier)) ;) (expression_statement "in_a3->samep = pCVar2;" (assignment_expression "in_a3->samep = pCVar2" (field_expression "in_a3->samep" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar2->samen = in_a3;" (assignment_expression "pCVar2->samen = in_a3" (field_expression "pCVar2->samen" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar1->samep = in_a3;" (assignment_expression "pCVar1->samep = in_a3" (field_expression "pCVar1->samep" identifier -> field_identifier) = identifier) ;) (return_statement "return pCVar1;" return identifier ;) })) (if_statement "if ((int)pCVar2 <= (int)node) goto LAB_00053324;" if (parenthesized_expression "((int)pCVar2 <= (int)node)" ( (binary_expression "(int)pCVar2 <= (int)node" (cast_expression "(int)pCVar2" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)node" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_00053324;" goto statement_identifier ;)) }) (else_clause "else if ((int)pCVar2 <= (int)t) {\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }" else (if_statement "if ((int)pCVar2 <= (int)t) {\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "((int)pCVar2 <= (int)t)" ( (binary_expression "(int)pCVar2 <= (int)t" (cast_expression "(int)pCVar2" ( (type_descriptor "int" primitive_type) ) identifier) <= (cast_expression "(int)t" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_00053324:\n    in_a3->larger = pCVar1->larger;\n    in_a3->smaller = pCVar1;\n    pCVar1->larger = (Curl_tree *)0x0;\n    goto LAB_000532e4;\n  }" { (labeled_statement "LAB_00053324:\n    in_a3->larger = pCVar1->larger;" statement_identifier : (expression_statement "in_a3->larger = pCVar1->larger;" (assignment_expression "in_a3->larger = pCVar1->larger" (field_expression "in_a3->larger" identifier -> field_identifier) = (field_expression "pCVar1->larger" identifier -> field_identifier)) ;)) (expression_statement "in_a3->smaller = pCVar1;" (assignment_expression "in_a3->smaller = pCVar1" (field_expression "in_a3->smaller" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar1->larger = (Curl_tree *)0x0;" (assignment_expression "pCVar1->larger = (Curl_tree *)0x0" (field_expression "pCVar1->larger" identifier -> field_identifier) = (cast_expression "(Curl_tree *)0x0" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_000532e4;" goto statement_identifier ;) })))) (expression_statement "in_a3->smaller = pCVar1->smaller;" (assignment_expression "in_a3->smaller = pCVar1->smaller" (field_expression "in_a3->smaller" identifier -> field_identifier) = (field_expression "pCVar1->smaller" identifier -> field_identifier)) ;) (expression_statement "in_a3->larger = pCVar1;" (assignment_expression "in_a3->larger = pCVar1" (field_expression "in_a3->larger" identifier -> field_identifier) = identifier) ;) (expression_statement "pCVar1->smaller = (Curl_tree *)0x0;" (assignment_expression "pCVar1->smaller = (Curl_tree *)0x0" (field_expression "pCVar1->smaller" identifier -> field_identifier) = (cast_expression "(Curl_tree *)0x0" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000532e4:\n  (in_a3->key).tv_sec = (time_t)t;" statement_identifier : (expression_statement "(in_a3->key).tv_sec = (time_t)t;" (assignment_expression "(in_a3->key).tv_sec = (time_t)t" (field_expression "(in_a3->key).tv_sec" (parenthesized_expression "(in_a3->key)" ( (field_expression "in_a3->key" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(time_t)t" ( (type_descriptor "time_t" type_identifier) ) identifier)) ;)) (expression_statement "(in_a3->key).tv_usec = (int)node;" (assignment_expression "(in_a3->key).tv_usec = (int)node" (field_expression "(in_a3->key).tv_usec" (parenthesized_expression "(in_a3->key)" ( (field_expression "in_a3->key" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(int)node" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "in_a3->samen = in_a3;" (assignment_expression "in_a3->samen = in_a3" (field_expression "in_a3->samen" identifier -> field_identifier) = identifier) ;) (expression_statement "in_a3->samep = in_a3;" (assignment_expression "in_a3->samep = in_a3" (field_expression "in_a3->samep" identifier -> field_identifier) = identifier) ;) (return_statement "return in_a3;" return identifier ;) })))
(translation_unit "undefined4 * FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}\n\n" (function_definition "undefined4 * FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}" type_identifier (pointer_declarator "* FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" * (function_declarator "FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }" if (parenthesized_expression "(param_4 == (undefined4 *)0x0)" ( (binary_expression "param_4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return param_3;\n  }" { (return_statement "return param_3;" return identifier ;) })) (if_statement "if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "(param_3 == (undefined4 *)0x0)" ( (binary_expression "param_3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }" { (expression_statement "param_4[1] = 0;" (assignment_expression "param_4[1] = 0" (subscript_expression "param_4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (goto_statement "goto LAB_000532e4;" goto statement_identifier ;) })) (expression_statement "puVar1 = (undefined4 *)FUN_000530d0();" (assignment_expression "puVar1 = (undefined4 *)FUN_000530d0()" identifier = (cast_expression "(undefined4 *)FUN_000530d0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000530d0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "(puVar1[4] == param_1)" ( (binary_expression "puVar1[4] == param_1" (subscript_expression "puVar1[4]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }" { (if_statement "if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }" if (parenthesized_expression "(puVar1[5] == param_2)" ( (binary_expression "puVar1[5] == param_2" (subscript_expression "puVar1[5]" identifier [ number_literal ]) == identifier) )) (compound_statement "{\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }" { (expression_statement "param_4[4] = 0xffffffff;" (assignment_expression "param_4[4] = 0xffffffff" (subscript_expression "param_4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_4[5] = 0xffffffff;" (assignment_expression "param_4[5] = 0xffffffff" (subscript_expression "param_4[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_4[2] = puVar1;" (assignment_expression "param_4[2] = puVar1" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = puVar1[3];" (assignment_expression "iVar2 = puVar1[3]" identifier = (subscript_expression "puVar1[3]" identifier [ number_literal ])) ;) (expression_statement "param_4[3] = iVar2;" (assignment_expression "param_4[3] = iVar2" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)(iVar2 + 8) = param_4;" (assignment_expression "*(undefined4 **)(iVar2 + 8) = param_4" (pointer_expression "*(undefined4 **)(iVar2 + 8)" * (cast_expression "(undefined4 **)(iVar2 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar1[3] = param_4;" (assignment_expression "puVar1[3] = param_4" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })) (if_statement "if ((int)puVar1[5] <= param_2) goto LAB_00053324;" if (parenthesized_expression "((int)puVar1[5] <= param_2)" ( (binary_expression "(int)puVar1[5] <= param_2" (cast_expression "(int)puVar1[5]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar1[5]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00053324;" goto statement_identifier ;)) }) (else_clause "else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" else (if_statement "if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" if (parenthesized_expression "((int)puVar1[4] <= param_1)" ( (binary_expression "(int)puVar1[4] <= param_1" (cast_expression "(int)puVar1[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar1[4]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" { (labeled_statement "LAB_00053324:\n    param_4[1] = puVar1[1];" statement_identifier : (expression_statement "param_4[1] = puVar1[1];" (assignment_expression "param_4[1] = puVar1[1]" (subscript_expression "param_4[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;)) (expression_statement "*param_4 = puVar1;" (assignment_expression "*param_4 = puVar1" (pointer_expression "*param_4" * identifier) = identifier) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_000532e4;" goto statement_identifier ;) })))) (expression_statement "*param_4 = *puVar1;" (assignment_expression "*param_4 = *puVar1" (pointer_expression "*param_4" * identifier) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "param_4[1] = puVar1;" (assignment_expression "param_4[1] = puVar1" (subscript_expression "param_4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (labeled_statement "LAB_000532e4:\n  param_4[4] = param_1;" statement_identifier : (expression_statement "param_4[4] = param_1;" (assignment_expression "param_4[4] = param_1" (subscript_expression "param_4[4]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "param_4[5] = param_2;" (assignment_expression "param_4[5] = param_2" (subscript_expression "param_4[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[2] = param_4;" (assignment_expression "param_4[2] = param_4" (subscript_expression "param_4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_4[3] = param_4;" (assignment_expression "param_4[3] = param_4" (subscript_expression "param_4[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_4;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (labeled_statement statement_identifier : (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" (* "*") (function_declarator "FUN_00053270(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" (identifier "FUN_00053270") (parameter_list "(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }\n  if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }\n  puVar1 = (undefined4 *)FUN_000530d0();\n  if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }\n  *param_4 = *puVar1;\n  param_4[1] = puVar1;\n  *puVar1 = 0;\nLAB_000532e4:\n  param_4[4] = param_1;\n  param_4[5] = param_2;\n  param_4[2] = param_4;\n  param_4[3] = param_4;\n  return param_4;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_4 == (undefined4 *)0x0) {\n    return param_3;\n  }" (if "if") (parenthesized_expression "(param_4 == (undefined4 *)0x0)" (( "(") (binary_expression "param_4 == (undefined4 *)0x0" (identifier "param_4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return param_3;\n  }" ({ "{") (return_statement "return param_3;" (return "return") (identifier "param_3") (; ";")) (} "}"))) (if_statement "if (param_3 == (undefined4 *)0x0) {\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }" (if "if") (parenthesized_expression "(param_3 == (undefined4 *)0x0)" (( "(") (binary_expression "param_3 == (undefined4 *)0x0" (identifier "param_3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_4[1] = 0;\n    *param_4 = 0;\n    goto LAB_000532e4;\n  }" ({ "{") (expression_statement "param_4[1] = 0;" (assignment_expression "param_4[1] = 0" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000532e4;" (goto "goto") (statement_identifier "LAB_000532e4") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)FUN_000530d0();" (assignment_expression "puVar1 = (undefined4 *)FUN_000530d0()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_000530d0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000530d0()" (identifier "FUN_000530d0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (puVar1[4] == param_1) {\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }\n  else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" (if "if") (parenthesized_expression "(puVar1[4] == param_1)" (( "(") (binary_expression "puVar1[4] == param_1" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }\n    if ((int)puVar1[5] <= param_2) goto LAB_00053324;\n  }" ({ "{") (if_statement "if (puVar1[5] == param_2) {\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }" (if "if") (parenthesized_expression "(puVar1[5] == param_2)" (( "(") (binary_expression "puVar1[5] == param_2" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n      param_4[4] = 0xffffffff;\n      param_4[5] = 0xffffffff;\n      param_4[2] = puVar1;\n      iVar2 = puVar1[3];\n      param_4[3] = iVar2;\n      *(undefined4 **)(iVar2 + 8) = param_4;\n      puVar1[3] = param_4;\n      return puVar1;\n    }" ({ "{") (expression_statement "param_4[4] = 0xffffffff;" (assignment_expression "param_4[4] = 0xffffffff" (subscript_expression "param_4[4]" (identifier "param_4") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_4[5] = 0xffffffff;" (assignment_expression "param_4[5] = 0xffffffff" (subscript_expression "param_4[5]" (identifier "param_4") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_4[2] = puVar1;" (assignment_expression "param_4[2] = puVar1" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "iVar2 = puVar1[3];" (assignment_expression "iVar2 = puVar1[3]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_4[3] = iVar2;" (assignment_expression "param_4[3] = iVar2" (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined4 **)(iVar2 + 8) = param_4;" (assignment_expression "*(undefined4 **)(iVar2 + 8) = param_4" (pointer_expression "*(undefined4 **)(iVar2 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar2 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar1[3] = param_4;" (assignment_expression "puVar1[3] = param_4" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_4")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (if_statement "if ((int)puVar1[5] <= param_2) goto LAB_00053324;" (if "if") (parenthesized_expression "((int)puVar1[5] <= param_2)" (( "(") (binary_expression "(int)puVar1[5] <= param_2" (cast_expression "(int)puVar1[5]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]"))) (<= "<=") (identifier "param_2")) () ")")) (goto_statement "goto LAB_00053324;" (goto "goto") (statement_identifier "LAB_00053324") (; ";"))) (} "}")) (else_clause "else if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" (else "else") (if_statement "if ((int)puVar1[4] <= param_1) {\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" (if "if") (parenthesized_expression "((int)puVar1[4] <= param_1)" (( "(") (binary_expression "(int)puVar1[4] <= param_1" (cast_expression "(int)puVar1[4]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]"))) (<= "<=") (identifier "param_1")) () ")")) (compound_statement "{\nLAB_00053324:\n    param_4[1] = puVar1[1];\n    *param_4 = puVar1;\n    puVar1[1] = 0;\n    goto LAB_000532e4;\n  }" ({ "{") (labeled_statement "LAB_00053324:\n    param_4[1] = puVar1[1];" (statement_identifier "LAB_00053324") (: ":") (expression_statement "param_4[1] = puVar1[1];" (assignment_expression "param_4[1] = puVar1[1]" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "*param_4 = puVar1;" (assignment_expression "*param_4 = puVar1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000532e4;" (goto "goto") (statement_identifier "LAB_000532e4") (; ";")) (} "}"))))) (expression_statement "*param_4 = *puVar1;" (assignment_expression "*param_4 = *puVar1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "param_4[1] = puVar1;" (assignment_expression "param_4[1] = puVar1" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000532e4:\n  param_4[4] = param_1;" (statement_identifier "LAB_000532e4") (: ":") (expression_statement "param_4[4] = param_1;" (assignment_expression "param_4[4] = param_1" (subscript_expression "param_4[4]" (identifier "param_4") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_1")) (; ";"))) (expression_statement "param_4[5] = param_2;" (assignment_expression "param_4[5] = param_2" (subscript_expression "param_4[5]" (identifier "param_4") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_4[2] = param_4;" (assignment_expression "param_4[2] = param_4" (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "param_4[3] = param_4;" (assignment_expression "param_4[3] = param_4" (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_4")) (; ";")) (return_statement "return param_4;" (return "return") (identifier "param_4") (; ";")) (} "}")))

type_1 * function_1(type_2 i,type_1 *var_6,type_1 *var_7)

{
  type_2 i_00;
  type_1 *pCVar1;
  type_1 *var_5;
  type_1 *var_2;
  type_1 *var_1;
  int in_stack_ffffffec;
  
  if (var_1 == (type_1 *)0x0) {
    return var_2;
  }
  if (var_2 == (type_1 *)0x0) {
    var_1->larger = (type_1 *)0x0;
    var_1->smaller = (type_1 *)0x0;
    goto LAB_000532e4;
  }
  i_00.tv_sec = (type_3)&var_3;
  i_00.tv_usec = in_stack_ffffffec;
  pCVar1 = var_4(i_00,var_6);
  var_5 = (type_1 *)(pCVar1->key).tv_sec;
  if (var_5 == var_6) {
    var_5 = (type_1 *)(pCVar1->key).tv_usec;
    if (var_5 == var_7) {
      (var_1->key).tv_sec = -1;
      (var_1->key).tv_usec = -1;
      var_1->samen = pCVar1;
      var_5 = pCVar1->samep;
      var_1->samep = var_5;
      var_5->samen = var_1;
      pCVar1->samep = var_1;
      return pCVar1;
    }
    if ((int)var_5 <= (int)var_7) goto LAB_00053324;
  }
  else if ((int)var_5 <= (int)var_6) {
LAB_00053324:
    var_1->larger = pCVar1->larger;
    var_1->smaller = pCVar1;
    pCVar1->larger = (type_1 *)0x0;
    goto LAB_000532e4;
  }
  var_1->smaller = pCVar1->smaller;
  var_1->larger = pCVar1;
  pCVar1->smaller = (type_1 *)0x0;
LAB_000532e4:
  (var_1->key).tv_sec = (type_3)var_6;
  (var_1->key).tv_usec = (int)var_7;
  var_1->samen = var_1;
  var_1->samep = var_1;
  return var_1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (goto_statement label: (statement_identifier)))))) (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: (pointer_expression argument: (identifier)) right: (number_literal))) (labeled_statement label: (statement_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))))

undefined4 * MASKED(int param_1,int param_2,undefined4 *param_3,undefined4 *param_4)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (param_4 == (undefined4 *)0x0) {
    return param_3;
  }
  if (param_3 == (undefined4 *)0x0) {
    param_4[1] = 0;
    *param_4 = 0;
    goto LAB_000532e4;
  }
  puVar1 = (undefined4 *)FUN_000530d0();
  if (puVar1[4] == param_1) {
    if (puVar1[5] == param_2) {
      param_4[4] = 0xffffffff;
      param_4[5] = 0xffffffff;
      param_4[2] = puVar1;
      iVar2 = puVar1[3];
      param_4[3] = iVar2;
      *(undefined4 **)(iVar2 + 8) = param_4;
      puVar1[3] = param_4;
      return puVar1;
    }
    if ((int)puVar1[5] <= param_2) goto LAB_00053324;
  }
  else if ((int)puVar1[4] <= param_1) {
LAB_00053324:
    param_4[1] = puVar1[1];
    *param_4 = puVar1;
    puVar1[1] = 0;
    goto LAB_000532e4;
  }
  *param_4 = *puVar1;
  param_4[1] = puVar1;
  *puVar1 = 0;
LAB_000532e4:
  param_4[4] = param_1;
  param_4[5] = param_2;
  param_4[2] = param_4;
  param_4[3] = param_4;
  return param_4;
}

