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

CURLcode Curl_http2_add_child(Curl_easy *parent,Curl_easy *child,_Bool exclusive)

{
  Curl_easy **ppCVar1;
  Curl_http2_dep *pCVar2;
  Curl_http2_dep *pCVar3;
  Curl_http2_dep *pCVar4;
  Curl_http2_dep *pCVar5;
  undefined3 in_register_00000018;
  
  if (parent != (Curl_easy *)0x0) {
    pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);
    if (pCVar2 == (Curl_http2_dep *)0x0) {
      return CURLE_OUT_OF_MEMORY;
    }
    pCVar3 = (parent->set).stream_dependents;
    pCVar2->data = child;
    if (pCVar3 != (Curl_http2_dep *)0x0) {
      pCVar4 = pCVar3;
      if (CONCAT31(in_register_00000018,exclusive) == 0) {
        do {
          pCVar4 = pCVar3;
          pCVar3 = pCVar4->next;
          (pCVar4->data->set).stream_depends_e = false;
        } while (pCVar3 != (Curl_http2_dep *)0x0);
        pCVar4->next = pCVar2;
        goto LAB_0006b504;
      }
      do {
        ppCVar1 = &pCVar4->data;
        pCVar4 = pCVar4->next;
        ((*ppCVar1)->set).stream_depends_on = child;
      } while (pCVar4 != (Curl_http2_dep *)0x0);
      pCVar4 = (child->set).stream_dependents;
      if (pCVar4 == (Curl_http2_dep *)0x0) {
        (child->set).stream_dependents = pCVar3;
        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;
      }
      else {
        do {
          pCVar5 = pCVar4;
          pCVar4 = pCVar5->next;
        } while (pCVar4 != (Curl_http2_dep *)0x0);
        pCVar5->next = pCVar3;
        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;
      }
    }
    (parent->set).stream_dependents = pCVar2;
  }
LAB_0006b504:
  (child->set).stream_depends_on = parent;
  (child->set).stream_depends_e = exclusive;
  return CURLE_OK;
}



undefined4 FUN_0006b470(int param_1,int param_2,int param_3)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  
  if (param_1 != 0) {
    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);
    if (iVar2 == 0) {
      return 0x1b;
    }
    piVar3 = *(int **)(param_1 + 0xb0c);
    *(int *)(iVar2 + 4) = param_2;
    if (piVar3 != (int *)0x0) {
      piVar4 = piVar3;
      if (param_3 == 0) {
        do {
          piVar4 = piVar3;
          piVar3 = (int *)*piVar4;
          *(undefined1 *)(piVar4[1] + 0xb00) = 0;
        } while (piVar3 != (int *)0x0);
        *piVar4 = iVar2;
        goto LAB_0006b504;
      }
      do {
        piVar1 = piVar4 + 1;
        piVar4 = (int *)*piVar4;
        *(int *)(*piVar1 + 0xafc) = param_2;
      } while (piVar4 != (int *)0x0);
      puVar5 = *(undefined4 **)(param_2 + 0xb0c);
      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {
        *(int **)(param_2 + 0xb0c) = piVar3;
        *(undefined4 *)(param_1 + 0xb0c) = 0;
      }
      else {
        do {
          puVar6 = puVar5;
          puVar5 = (undefined4 *)*puVar6;
        } while (puVar5 != (undefined4 *)0x0);
        *puVar6 = piVar3;
        *(undefined4 *)(param_1 + 0xb0c) = 0;
      }
    }
    *(int *)(param_1 + 0xb0c) = iVar2;
  }
LAB_0006b504:
  *(int *)(param_2 + 0xafc) = param_1;
  *(char *)(param_2 + 0xb00) = (char)param_3;
  return 0;
}


lui gp,0x4
addiu gp,gp,0x2ca0
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw s2,0x20(sp)
or s2,a2,zero
sw s1,0x1c(sp)
or s1,a0,zero
sw s0,0x18(sp)
or s0,a1,zero
beq a0,zero,0x0006b504
_sw ra,0x24(sp)
lw v0,-0x7fd0(gp)
li a1,0x8
lw t9,0x0(v0)
jalr t9
_li a0,0x1
beq v0,zero,0x0006b560
_nop
lw v1,0xb0c(s1)
beq v1,zero,0x0006b4fc
_sw s0,0x4(v0)
beq s2,zero,0x0006b52c
_or a0,v1,zero
lw a1,0x4(a0)
lw a0,0x0(a0)
bne a0,zero,0x0006b4d4
_sw s0,0xafc(a1)
lw a1,0xb0c(s0)
bne a1,zero,0x0006b548
_nop
addiu a1,s0,0xb0c
sw v1,0x0(a1)
sw zero,0xb0c(s1)
addiu v1,s1,0xb0c
sw v0,0x0(v1)
or v0,zero,zero
sw s1,0xafc(s0)
sb s2,0xb00(s0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
or v1,a0,zero
lw a1,0x4(v1)
lw a0,0x0(v1)
bne a0,zero,0x0006b528
_sb zero,0xb00(a1)
b 0x0006b504
_sw v0,0x0(v1)
or a1,a0,zero
lw a0,0x0(a1)
bne a0,zero,0x0006b544
_nop
sw v1,0x0(a1)
b 0x0006b4fc
_sw zero,0xb0c(s1)
b 0x0006b510
_li v0,0x1b
(translation_unit "undefined4 FUN_0006b470(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0006b470(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}" type_identifier (function_declarator "FUN_0006b470(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }" { (expression_statement "iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);" (assignment_expression "iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8)" identifier = (call_expression "(**(code **)PTR_PTR_calloc_000a6140)(1,8)" (parenthesized_expression "(**(code **)PTR_PTR_calloc_000a6140)" ( (pointer_expression "**(code **)PTR_PTR_calloc_000a6140" * (pointer_expression "*(code **)PTR_PTR_calloc_000a6140" * (cast_expression "(code **)PTR_PTR_calloc_000a6140" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(1,8)" ( number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      return 0x1b;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0x1b;\n    }" { (return_statement "return 0x1b;" return number_literal ;) })) (expression_statement "piVar3 = *(int **)(param_1 + 0xb0c);" (assignment_expression "piVar3 = *(int **)(param_1 + 0xb0c)" identifier = (pointer_expression "*(int **)(param_1 + 0xb0c)" * (cast_expression "(int **)(param_1 + 0xb0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 4) = param_2;" (assignment_expression "*(int *)(iVar2 + 4) = param_2" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }" { (expression_statement "piVar4 = piVar3;" (assignment_expression "piVar4 = piVar3" identifier = identifier) ;) (if_statement "if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }" { (do_statement "do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);" do (compound_statement "{\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        }" { (expression_statement "piVar4 = piVar3;" (assignment_expression "piVar4 = piVar3" identifier = identifier) ;) (expression_statement "piVar3 = (int *)*piVar4;" (assignment_expression "piVar3 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "*(undefined1 *)(piVar4[1] + 0xb00) = 0;" (assignment_expression "*(undefined1 *)(piVar4[1] + 0xb00) = 0" (pointer_expression "*(undefined1 *)(piVar4[1] + 0xb00)" * (cast_expression "(undefined1 *)(piVar4[1] + 0xb00)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[1] + 0xb00)" ( (binary_expression "piVar4[1] + 0xb00" (subscript_expression "piVar4[1]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) }) while (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" * identifier) = identifier) ;) (goto_statement "goto LAB_0006b504;" goto statement_identifier ;) })) (do_statement "do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);" do (compound_statement "{\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      }" { (expression_statement "piVar1 = piVar4 + 1;" (assignment_expression "piVar1 = piVar4 + 1" identifier = (binary_expression "piVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "*(int *)(*piVar1 + 0xafc) = param_2;" (assignment_expression "*(int *)(*piVar1 + 0xafc) = param_2" (pointer_expression "*(int *)(*piVar1 + 0xafc)" * (cast_expression "(int *)(*piVar1 + 0xafc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0xafc)" ( (binary_expression "*piVar1 + 0xafc" (pointer_expression "*piVar1" * identifier) + number_literal) )))) = identifier) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar5 = *(undefined4 **)(param_2 + 0xb0c);" (assignment_expression "puVar5 = *(undefined4 **)(param_2 + 0xb0c)" identifier = (pointer_expression "*(undefined4 **)(param_2 + 0xb0c)" * (cast_expression "(undefined4 **)(param_2 + 0xb0c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xb0c)" ( (binary_expression "param_2 + 0xb0c" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" if (parenthesized_expression "(*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_2 + 0xb0c)" * (cast_expression "(undefined4 **)(param_2 + 0xb0c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xb0c)" ( (binary_expression "param_2 + 0xb0c" identifier + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" { (expression_statement "*(int **)(param_2 + 0xb0c) = piVar3;" (assignment_expression "*(int **)(param_2 + 0xb0c) = piVar3" (pointer_expression "*(int **)(param_2 + 0xb0c)" * (cast_expression "(int **)(param_2 + 0xb0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xb0c)" ( (binary_expression "param_2 + 0xb0c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xb0c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xb0c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xb0c)" * (cast_expression "(undefined4 *)(param_1 + 0xb0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" else (compound_statement "{\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" { (do_statement "do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);" do (compound_statement "{\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (expression_statement "puVar5 = (undefined4 *)*puVar6;" (assignment_expression "puVar5 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*puVar6 = piVar3;" (assignment_expression "*puVar6 = piVar3" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xb0c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xb0c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xb0c)" * (cast_expression "(undefined4 *)(param_1 + 0xb0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) )))) = number_literal) ;) }))) })) (expression_statement "*(int *)(param_1 + 0xb0c) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xb0c) = iVar2" (pointer_expression "*(int *)(param_1 + 0xb0c)" * (cast_expression "(int *)(param_1 + 0xb0c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) )))) = identifier) ;) })) (labeled_statement "LAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;" statement_identifier : (expression_statement "*(int *)(param_2 + 0xafc) = param_1;" (assignment_expression "*(int *)(param_2 + 0xafc) = param_1" (pointer_expression "*(int *)(param_2 + 0xafc)" * (cast_expression "(int *)(param_2 + 0xafc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xafc)" ( (binary_expression "param_2 + 0xafc" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(char *)(param_2 + 0xb00) = (char)param_3;" (assignment_expression "*(char *)(param_2 + 0xb00) = (char)param_3" (pointer_expression "*(char *)(param_2 + 0xb00)" * (cast_expression "(char *)(param_2 + 0xb00)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xb00)" ( (binary_expression "param_2 + 0xb00" identifier + number_literal) )))) = (cast_expression "(char)param_3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode Curl_http2_add_child(Curl_easy *parent,Curl_easy *child,_Bool exclusive)\n\n{\n  Curl_easy **ppCVar1;\n  Curl_http2_dep *pCVar2;\n  Curl_http2_dep *pCVar3;\n  Curl_http2_dep *pCVar4;\n  Curl_http2_dep *pCVar5;\n  undefined3 in_register_00000018;\n  \n  if (parent != (Curl_easy *)0x0) {\n    pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);\n    if (pCVar2 == (Curl_http2_dep *)0x0) {\n      return CURLE_OUT_OF_MEMORY;\n    }\n    pCVar3 = (parent->set).stream_dependents;\n    pCVar2->data = child;\n    if (pCVar3 != (Curl_http2_dep *)0x0) {\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }\n    (parent->set).stream_dependents = pCVar2;\n  }\nLAB_0006b504:\n  (child->set).stream_depends_on = parent;\n  (child->set).stream_depends_e = exclusive;\n  return CURLE_OK;\n}\n\n" comment (function_definition "CURLcode Curl_http2_add_child(Curl_easy *parent,Curl_easy *child,_Bool exclusive)\n\n{\n  Curl_easy **ppCVar1;\n  Curl_http2_dep *pCVar2;\n  Curl_http2_dep *pCVar3;\n  Curl_http2_dep *pCVar4;\n  Curl_http2_dep *pCVar5;\n  undefined3 in_register_00000018;\n  \n  if (parent != (Curl_easy *)0x0) {\n    pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);\n    if (pCVar2 == (Curl_http2_dep *)0x0) {\n      return CURLE_OUT_OF_MEMORY;\n    }\n    pCVar3 = (parent->set).stream_dependents;\n    pCVar2->data = child;\n    if (pCVar3 != (Curl_http2_dep *)0x0) {\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }\n    (parent->set).stream_dependents = pCVar2;\n  }\nLAB_0006b504:\n  (child->set).stream_depends_on = parent;\n  (child->set).stream_depends_e = exclusive;\n  return CURLE_OK;\n}" type_identifier (function_declarator "Curl_http2_add_child(Curl_easy *parent,Curl_easy *child,_Bool exclusive)" identifier (parameter_list "(Curl_easy *parent,Curl_easy *child,_Bool exclusive)" ( (parameter_declaration "Curl_easy *parent" type_identifier (pointer_declarator "*parent" * identifier)) , (parameter_declaration "Curl_easy *child" type_identifier (pointer_declarator "*child" * identifier)) , (parameter_declaration "_Bool exclusive" type_identifier identifier) ))) (compound_statement "{\n  Curl_easy **ppCVar1;\n  Curl_http2_dep *pCVar2;\n  Curl_http2_dep *pCVar3;\n  Curl_http2_dep *pCVar4;\n  Curl_http2_dep *pCVar5;\n  undefined3 in_register_00000018;\n  \n  if (parent != (Curl_easy *)0x0) {\n    pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);\n    if (pCVar2 == (Curl_http2_dep *)0x0) {\n      return CURLE_OUT_OF_MEMORY;\n    }\n    pCVar3 = (parent->set).stream_dependents;\n    pCVar2->data = child;\n    if (pCVar3 != (Curl_http2_dep *)0x0) {\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }\n    (parent->set).stream_dependents = pCVar2;\n  }\nLAB_0006b504:\n  (child->set).stream_depends_on = parent;\n  (child->set).stream_depends_e = exclusive;\n  return CURLE_OK;\n}" { (declaration "Curl_easy **ppCVar1;" type_identifier (pointer_declarator "**ppCVar1" * (pointer_declarator "*ppCVar1" * identifier)) ;) (declaration "Curl_http2_dep *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (declaration "Curl_http2_dep *pCVar3;" type_identifier (pointer_declarator "*pCVar3" * identifier) ;) (declaration "Curl_http2_dep *pCVar4;" type_identifier (pointer_declarator "*pCVar4" * identifier) ;) (declaration "Curl_http2_dep *pCVar5;" type_identifier (pointer_declarator "*pCVar5" * identifier) ;) (declaration "undefined3 in_register_00000018;" type_identifier identifier ;) (if_statement "if (parent != (Curl_easy *)0x0) {\n    pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);\n    if (pCVar2 == (Curl_http2_dep *)0x0) {\n      return CURLE_OUT_OF_MEMORY;\n    }\n    pCVar3 = (parent->set).stream_dependents;\n    pCVar2->data = child;\n    if (pCVar3 != (Curl_http2_dep *)0x0) {\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }\n    (parent->set).stream_dependents = pCVar2;\n  }" if (parenthesized_expression "(parent != (Curl_easy *)0x0)" ( (binary_expression "parent != (Curl_easy *)0x0" identifier != (cast_expression "(Curl_easy *)0x0" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);\n    if (pCVar2 == (Curl_http2_dep *)0x0) {\n      return CURLE_OUT_OF_MEMORY;\n    }\n    pCVar3 = (parent->set).stream_dependents;\n    pCVar2->data = child;\n    if (pCVar3 != (Curl_http2_dep *)0x0) {\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }\n    (parent->set).stream_dependents = pCVar2;\n  }" { (expression_statement "pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8);" (assignment_expression "pCVar2 = (Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8)" identifier = (cast_expression "(Curl_http2_dep *)(**(code **)PTR_Curl_ccalloc_000a6140)(1,8)" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)PTR_Curl_ccalloc_000a6140)(1,8)" (parenthesized_expression "(**(code **)PTR_Curl_ccalloc_000a6140)" ( (pointer_expression "**(code **)PTR_Curl_ccalloc_000a6140" * (pointer_expression "*(code **)PTR_Curl_ccalloc_000a6140" * (cast_expression "(code **)PTR_Curl_ccalloc_000a6140" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(1,8)" ( number_literal , number_literal ))))) ;) (if_statement "if (pCVar2 == (Curl_http2_dep *)0x0) {\n      return CURLE_OUT_OF_MEMORY;\n    }" if (parenthesized_expression "(pCVar2 == (Curl_http2_dep *)0x0)" ( (binary_expression "pCVar2 == (Curl_http2_dep *)0x0" identifier == (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return CURLE_OUT_OF_MEMORY;\n    }" { (return_statement "return CURLE_OUT_OF_MEMORY;" return identifier ;) })) (expression_statement "pCVar3 = (parent->set).stream_dependents;" (assignment_expression "pCVar3 = (parent->set).stream_dependents" identifier = (field_expression "(parent->set).stream_dependents" (parenthesized_expression "(parent->set)" ( (field_expression "parent->set" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pCVar2->data = child;" (assignment_expression "pCVar2->data = child" (field_expression "pCVar2->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (pCVar3 != (Curl_http2_dep *)0x0) {\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }" if (parenthesized_expression "(pCVar3 != (Curl_http2_dep *)0x0)" ( (binary_expression "pCVar3 != (Curl_http2_dep *)0x0" identifier != (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pCVar4 = pCVar3;\n      if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);\n      pCVar4 = (child->set).stream_dependents;\n      if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n    }" { (expression_statement "pCVar4 = pCVar3;" (assignment_expression "pCVar4 = pCVar3" identifier = identifier) ;) (if_statement "if (CONCAT31(in_register_00000018,exclusive) == 0) {\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }" if (parenthesized_expression "(CONCAT31(in_register_00000018,exclusive) == 0)" ( (binary_expression "CONCAT31(in_register_00000018,exclusive) == 0" (call_expression "CONCAT31(in_register_00000018,exclusive)" identifier (argument_list "(in_register_00000018,exclusive)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n        do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);\n        pCVar4->next = pCVar2;\n        goto LAB_0006b504;\n      }" { (do_statement "do {\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        } while (pCVar3 != (Curl_http2_dep *)0x0);" do (compound_statement "{\n          pCVar4 = pCVar3;\n          pCVar3 = pCVar4->next;\n          (pCVar4->data->set).stream_depends_e = false;\n        }" { (expression_statement "pCVar4 = pCVar3;" (assignment_expression "pCVar4 = pCVar3" identifier = identifier) ;) (expression_statement "pCVar3 = pCVar4->next;" (assignment_expression "pCVar3 = pCVar4->next" identifier = (field_expression "pCVar4->next" identifier -> field_identifier)) ;) (expression_statement "(pCVar4->data->set).stream_depends_e = false;" (assignment_expression "(pCVar4->data->set).stream_depends_e = false" (field_expression "(pCVar4->data->set).stream_depends_e" (parenthesized_expression "(pCVar4->data->set)" ( (field_expression "pCVar4->data->set" (field_expression "pCVar4->data" identifier -> field_identifier) -> field_identifier) )) . field_identifier) = false) ;) }) while (parenthesized_expression "(pCVar3 != (Curl_http2_dep *)0x0)" ( (binary_expression "pCVar3 != (Curl_http2_dep *)0x0" identifier != (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pCVar4->next = pCVar2;" (assignment_expression "pCVar4->next = pCVar2" (field_expression "pCVar4->next" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0006b504;" goto statement_identifier ;) })) (do_statement "do {\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      } while (pCVar4 != (Curl_http2_dep *)0x0);" do (compound_statement "{\n        ppCVar1 = &pCVar4->data;\n        pCVar4 = pCVar4->next;\n        ((*ppCVar1)->set).stream_depends_on = child;\n      }" { (expression_statement "ppCVar1 = &pCVar4->data;" (assignment_expression "ppCVar1 = &pCVar4->data" identifier = (pointer_expression "&pCVar4->data" & (field_expression "pCVar4->data" identifier -> field_identifier))) ;) (expression_statement "pCVar4 = pCVar4->next;" (assignment_expression "pCVar4 = pCVar4->next" identifier = (field_expression "pCVar4->next" identifier -> field_identifier)) ;) (expression_statement "((*ppCVar1)->set).stream_depends_on = child;" (assignment_expression "((*ppCVar1)->set).stream_depends_on = child" (field_expression "((*ppCVar1)->set).stream_depends_on" (parenthesized_expression "((*ppCVar1)->set)" ( (field_expression "(*ppCVar1)->set" (parenthesized_expression "(*ppCVar1)" ( (pointer_expression "*ppCVar1" * identifier) )) -> field_identifier) )) . field_identifier) = identifier) ;) }) while (parenthesized_expression "(pCVar4 != (Curl_http2_dep *)0x0)" ( (binary_expression "pCVar4 != (Curl_http2_dep *)0x0" identifier != (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pCVar4 = (child->set).stream_dependents;" (assignment_expression "pCVar4 = (child->set).stream_dependents" identifier = (field_expression "(child->set).stream_dependents" (parenthesized_expression "(child->set)" ( (field_expression "child->set" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pCVar4 == (Curl_http2_dep *)0x0) {\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }\n      else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }" if (parenthesized_expression "(pCVar4 == (Curl_http2_dep *)0x0)" ( (binary_expression "pCVar4 == (Curl_http2_dep *)0x0" identifier == (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (child->set).stream_dependents = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }" { (expression_statement "(child->set).stream_dependents = pCVar3;" (assignment_expression "(child->set).stream_dependents = pCVar3" (field_expression "(child->set).stream_dependents" (parenthesized_expression "(child->set)" ( (field_expression "child->set" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(parent->set).stream_dependents = (Curl_http2_dep *)0x0;" (assignment_expression "(parent->set).stream_dependents = (Curl_http2_dep *)0x0" (field_expression "(parent->set).stream_dependents" (parenthesized_expression "(parent->set)" ( (field_expression "parent->set" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }" else (compound_statement "{\n        do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);\n        pCVar5->next = pCVar3;\n        (parent->set).stream_dependents = (Curl_http2_dep *)0x0;\n      }" { (do_statement "do {\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        } while (pCVar4 != (Curl_http2_dep *)0x0);" do (compound_statement "{\n          pCVar5 = pCVar4;\n          pCVar4 = pCVar5->next;\n        }" { (expression_statement "pCVar5 = pCVar4;" (assignment_expression "pCVar5 = pCVar4" identifier = identifier) ;) (expression_statement "pCVar4 = pCVar5->next;" (assignment_expression "pCVar4 = pCVar5->next" identifier = (field_expression "pCVar5->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pCVar4 != (Curl_http2_dep *)0x0)" ( (binary_expression "pCVar4 != (Curl_http2_dep *)0x0" identifier != (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pCVar5->next = pCVar3;" (assignment_expression "pCVar5->next = pCVar3" (field_expression "pCVar5->next" identifier -> field_identifier) = identifier) ;) (expression_statement "(parent->set).stream_dependents = (Curl_http2_dep *)0x0;" (assignment_expression "(parent->set).stream_dependents = (Curl_http2_dep *)0x0" (field_expression "(parent->set).stream_dependents" (parenthesized_expression "(parent->set)" ( (field_expression "parent->set" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(Curl_http2_dep *)0x0" ( (type_descriptor "Curl_http2_dep *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) })) (expression_statement "(parent->set).stream_dependents = pCVar2;" (assignment_expression "(parent->set).stream_dependents = pCVar2" (field_expression "(parent->set).stream_dependents" (parenthesized_expression "(parent->set)" ( (field_expression "parent->set" identifier -> field_identifier) )) . field_identifier) = identifier) ;) })) (labeled_statement "LAB_0006b504:\n  (child->set).stream_depends_on = parent;" statement_identifier : (expression_statement "(child->set).stream_depends_on = parent;" (assignment_expression "(child->set).stream_depends_on = parent" (field_expression "(child->set).stream_depends_on" (parenthesized_expression "(child->set)" ( (field_expression "child->set" identifier -> field_identifier) )) . field_identifier) = identifier) ;)) (expression_statement "(child->set).stream_depends_e = exclusive;" (assignment_expression "(child->set).stream_depends_e = exclusive" (field_expression "(child->set).stream_depends_e" (parenthesized_expression "(child->set)" ( (field_expression "child->set" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return CURLE_OK;" return identifier ;) })))
(translation_unit "undefined4 FUN_0006b470(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0006b470(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}" type_identifier (function_declarator "FUN_0006b470(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }" { (expression_statement "iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);" (assignment_expression "iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8)" identifier = (call_expression "(**(code **)PTR_PTR_calloc_000a6140)(1,8)" (parenthesized_expression "(**(code **)PTR_PTR_calloc_000a6140)" ( (pointer_expression "**(code **)PTR_PTR_calloc_000a6140" * (pointer_expression "*(code **)PTR_PTR_calloc_000a6140" * (cast_expression "(code **)PTR_PTR_calloc_000a6140" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(1,8)" ( number_literal , number_literal )))) ;) (if_statement "if (iVar2 == 0) {\n      return 0x1b;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0x1b;\n    }" { (return_statement "return 0x1b;" return number_literal ;) })) (expression_statement "piVar3 = *(int **)(param_1 + 0xb0c);" (assignment_expression "piVar3 = *(int **)(param_1 + 0xb0c)" identifier = (pointer_expression "*(int **)(param_1 + 0xb0c)" * (cast_expression "(int **)(param_1 + 0xb0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar2 + 4) = param_2;" (assignment_expression "*(int *)(iVar2 + 4) = param_2" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }" { (expression_statement "piVar4 = piVar3;" (assignment_expression "piVar4 = piVar3" identifier = identifier) ;) (if_statement "if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }" { (do_statement "do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);" do (compound_statement "{\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        }" { (expression_statement "piVar4 = piVar3;" (assignment_expression "piVar4 = piVar3" identifier = identifier) ;) (expression_statement "piVar3 = (int *)*piVar4;" (assignment_expression "piVar3 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "*(undefined1 *)(piVar4[1] + 0xb00) = 0;" (assignment_expression "*(undefined1 *)(piVar4[1] + 0xb00) = 0" (pointer_expression "*(undefined1 *)(piVar4[1] + 0xb00)" * (cast_expression "(undefined1 *)(piVar4[1] + 0xb00)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4[1] + 0xb00)" ( (binary_expression "piVar4[1] + 0xb00" (subscript_expression "piVar4[1]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) }) while (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" * identifier) = identifier) ;) (goto_statement "goto LAB_0006b504;" goto statement_identifier ;) })) (do_statement "do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);" do (compound_statement "{\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      }" { (expression_statement "piVar1 = piVar4 + 1;" (assignment_expression "piVar1 = piVar4 + 1" identifier = (binary_expression "piVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "*(int *)(*piVar1 + 0xafc) = param_2;" (assignment_expression "*(int *)(*piVar1 + 0xafc) = param_2" (pointer_expression "*(int *)(*piVar1 + 0xafc)" * (cast_expression "(int *)(*piVar1 + 0xafc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0xafc)" ( (binary_expression "*piVar1 + 0xafc" (pointer_expression "*piVar1" * identifier) + number_literal) )))) = identifier) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar5 = *(undefined4 **)(param_2 + 0xb0c);" (assignment_expression "puVar5 = *(undefined4 **)(param_2 + 0xb0c)" identifier = (pointer_expression "*(undefined4 **)(param_2 + 0xb0c)" * (cast_expression "(undefined4 **)(param_2 + 0xb0c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xb0c)" ( (binary_expression "param_2 + 0xb0c" identifier + number_literal) ))))) ;) (if_statement "if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" if (parenthesized_expression "(*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0)" ( (binary_expression "*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_2 + 0xb0c)" * (cast_expression "(undefined4 **)(param_2 + 0xb0c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xb0c)" ( (binary_expression "param_2 + 0xb0c" identifier + number_literal) )))) == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" { (expression_statement "*(int **)(param_2 + 0xb0c) = piVar3;" (assignment_expression "*(int **)(param_2 + 0xb0c) = piVar3" (pointer_expression "*(int **)(param_2 + 0xb0c)" * (cast_expression "(int **)(param_2 + 0xb0c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0xb0c)" ( (binary_expression "param_2 + 0xb0c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xb0c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xb0c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xb0c)" * (cast_expression "(undefined4 *)(param_1 + 0xb0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" else (compound_statement "{\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" { (do_statement "do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);" do (compound_statement "{\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (expression_statement "puVar5 = (undefined4 *)*puVar6;" (assignment_expression "puVar5 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*puVar6 = piVar3;" (assignment_expression "*puVar6 = piVar3" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0xb0c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xb0c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xb0c)" * (cast_expression "(undefined4 *)(param_1 + 0xb0c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) )))) = number_literal) ;) }))) })) (expression_statement "*(int *)(param_1 + 0xb0c) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xb0c) = iVar2" (pointer_expression "*(int *)(param_1 + 0xb0c)" * (cast_expression "(int *)(param_1 + 0xb0c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb0c)" ( (binary_expression "param_1 + 0xb0c" identifier + number_literal) )))) = identifier) ;) })) (labeled_statement "LAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;" statement_identifier : (expression_statement "*(int *)(param_2 + 0xafc) = param_1;" (assignment_expression "*(int *)(param_2 + 0xafc) = param_1" (pointer_expression "*(int *)(param_2 + 0xafc)" * (cast_expression "(int *)(param_2 + 0xafc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xafc)" ( (binary_expression "param_2 + 0xafc" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(char *)(param_2 + 0xb00) = (char)param_3;" (assignment_expression "*(char *)(param_2 + 0xb00) = (char)param_3" (pointer_expression "*(char *)(param_2 + 0xb00)" * (cast_expression "(char *)(param_2 + 0xb00)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xb00)" ( (binary_expression "param_2 + 0xb00" identifier + number_literal) )))) = (cast_expression "(char)param_3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0006b470(int param_1,int param_2,int param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0006b470(int param_1,int param_2,int param_3)" (identifier "FUN_0006b470") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }\nLAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;\n  *(char *)(param_2 + 0xb00) = (char)param_3;\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (if_statement "if (param_1 != 0) {\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);\n    if (iVar2 == 0) {\n      return 0x1b;\n    }\n    piVar3 = *(int **)(param_1 + 0xb0c);\n    *(int *)(iVar2 + 4) = param_2;\n    if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }\n    *(int *)(param_1 + 0xb0c) = iVar2;\n  }" ({ "{") (expression_statement "iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);" (assignment_expression "iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8)" (identifier "iVar2") (= "=") (call_expression "(**(code **)PTR_PTR_calloc_000a6140)(1,8)" (parenthesized_expression "(**(code **)PTR_PTR_calloc_000a6140)" (( "(") (pointer_expression "**(code **)PTR_PTR_calloc_000a6140" (* "*") (pointer_expression "*(code **)PTR_PTR_calloc_000a6140" (* "*") (cast_expression "(code **)PTR_PTR_calloc_000a6140" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_PTR_calloc_000a6140")))) () ")")) (argument_list "(1,8)" (( "(") (number_literal "1") (, ",") (number_literal "8") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      return 0x1b;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0x1b;\n    }" ({ "{") (return_statement "return 0x1b;" (return "return") (number_literal "0x1b") (; ";")) (} "}"))) (expression_statement "piVar3 = *(int **)(param_1 + 0xb0c);" (assignment_expression "piVar3 = *(int **)(param_1 + 0xb0c)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_1 + 0xb0c)" (* "*") (cast_expression "(int **)(param_1 + 0xb0c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xb0c)" (( "(") (binary_expression "param_1 + 0xb0c" (identifier "param_1") (+ "+") (number_literal "0xb0c")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar2 + 4) = param_2;" (assignment_expression "*(int *)(iVar2 + 4) = param_2" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (piVar3 != (int *)0x0) {\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }" (if "if") (parenthesized_expression "(piVar3 != (int *)0x0)" (( "(") (binary_expression "piVar3 != (int *)0x0" (identifier "piVar3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      piVar4 = piVar3;\n      if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }\n      do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);\n      puVar5 = *(undefined4 **)(param_2 + 0xb0c);\n      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n    }" ({ "{") (expression_statement "piVar4 = piVar3;" (assignment_expression "piVar4 = piVar3" (identifier "piVar4") (= "=") (identifier "piVar3")) (; ";")) (if_statement "if (param_3 == 0) {\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);\n        *piVar4 = iVar2;\n        goto LAB_0006b504;\n      }" ({ "{") (do_statement "do {\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        } while (piVar3 != (int *)0x0);" (do "do") (compound_statement "{\n          piVar4 = piVar3;\n          piVar3 = (int *)*piVar4;\n          *(undefined1 *)(piVar4[1] + 0xb00) = 0;\n        }" ({ "{") (expression_statement "piVar4 = piVar3;" (assignment_expression "piVar4 = piVar3" (identifier "piVar4") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "piVar3 = (int *)*piVar4;" (assignment_expression "piVar3 = (int *)*piVar4" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (expression_statement "*(undefined1 *)(piVar4[1] + 0xb00) = 0;" (assignment_expression "*(undefined1 *)(piVar4[1] + 0xb00) = 0" (pointer_expression "*(undefined1 *)(piVar4[1] + 0xb00)" (* "*") (cast_expression "(undefined1 *)(piVar4[1] + 0xb00)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4[1] + 0xb00)" (( "(") (binary_expression "piVar4[1] + 0xb00" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0xb00")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar3 != (int *)0x0)" (( "(") (binary_expression "piVar3 != (int *)0x0" (identifier "piVar3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar2")) (; ";")) (goto_statement "goto LAB_0006b504;" (goto "goto") (statement_identifier "LAB_0006b504") (; ";")) (} "}"))) (do_statement "do {\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      } while (piVar4 != (int *)0x0);" (do "do") (compound_statement "{\n        piVar1 = piVar4 + 1;\n        piVar4 = (int *)*piVar4;\n        *(int *)(*piVar1 + 0xafc) = param_2;\n      }" ({ "{") (expression_statement "piVar1 = piVar4 + 1;" (assignment_expression "piVar1 = piVar4 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar4 + 1" (identifier "piVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" (identifier "piVar4") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (expression_statement "*(int *)(*piVar1 + 0xafc) = param_2;" (assignment_expression "*(int *)(*piVar1 + 0xafc) = param_2" (pointer_expression "*(int *)(*piVar1 + 0xafc)" (* "*") (cast_expression "(int *)(*piVar1 + 0xafc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0xafc)" (( "(") (binary_expression "*piVar1 + 0xafc" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xafc")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(param_2 + 0xb0c);" (assignment_expression "puVar5 = *(undefined4 **)(param_2 + 0xb0c)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(param_2 + 0xb0c)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0xb0c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0xb0c)" (( "(") (binary_expression "param_2 + 0xb0c" (identifier "param_2") (+ "+") (number_literal "0xb0c")) () ")"))))) (; ";")) (if_statement "if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }\n      else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" (if "if") (parenthesized_expression "(*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0)" (( "(") (binary_expression "*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0" (pointer_expression "*(undefined4 **)(param_2 + 0xb0c)" (* "*") (cast_expression "(undefined4 **)(param_2 + 0xb0c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0xb0c)" (( "(") (binary_expression "param_2 + 0xb0c" (identifier "param_2") (+ "+") (number_literal "0xb0c")) () ")")))) (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *(int **)(param_2 + 0xb0c) = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" ({ "{") (expression_statement "*(int **)(param_2 + 0xb0c) = piVar3;" (assignment_expression "*(int **)(param_2 + 0xb0c) = piVar3" (pointer_expression "*(int **)(param_2 + 0xb0c)" (* "*") (cast_expression "(int **)(param_2 + 0xb0c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0xb0c)" (( "(") (binary_expression "param_2 + 0xb0c" (identifier "param_2") (+ "+") (number_literal "0xb0c")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xb0c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xb0c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xb0c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xb0c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0c)" (( "(") (binary_expression "param_1 + 0xb0c" (identifier "param_1") (+ "+") (number_literal "0xb0c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" (else "else") (compound_statement "{\n        do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);\n        *puVar6 = piVar3;\n        *(undefined4 *)(param_1 + 0xb0c) = 0;\n      }" ({ "{") (do_statement "do {\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        } while (puVar5 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n          puVar6 = puVar5;\n          puVar5 = (undefined4 *)*puVar6;\n        }" ({ "{") (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar5 = (undefined4 *)*puVar6;" (assignment_expression "puVar5 = (undefined4 *)*puVar6" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)*puVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "*puVar6 = piVar3;" (assignment_expression "*puVar6 = piVar3" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xb0c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xb0c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xb0c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xb0c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0c)" (( "(") (binary_expression "param_1 + 0xb0c" (identifier "param_1") (+ "+") (number_literal "0xb0c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (expression_statement "*(int *)(param_1 + 0xb0c) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xb0c) = iVar2" (pointer_expression "*(int *)(param_1 + 0xb0c)" (* "*") (cast_expression "(int *)(param_1 + 0xb0c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb0c)" (( "(") (binary_expression "param_1 + 0xb0c" (identifier "param_1") (+ "+") (number_literal "0xb0c")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (labeled_statement "LAB_0006b504:\n  *(int *)(param_2 + 0xafc) = param_1;" (statement_identifier "LAB_0006b504") (: ":") (expression_statement "*(int *)(param_2 + 0xafc) = param_1;" (assignment_expression "*(int *)(param_2 + 0xafc) = param_1" (pointer_expression "*(int *)(param_2 + 0xafc)" (* "*") (cast_expression "(int *)(param_2 + 0xafc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xafc)" (( "(") (binary_expression "param_2 + 0xafc" (identifier "param_2") (+ "+") (number_literal "0xafc")) () ")")))) (= "=") (identifier "param_1")) (; ";"))) (expression_statement "*(char *)(param_2 + 0xb00) = (char)param_3;" (assignment_expression "*(char *)(param_2 + 0xb00) = (char)param_3" (pointer_expression "*(char *)(param_2 + 0xb00)" (* "*") (cast_expression "(char *)(param_2 + 0xb00)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xb00)" (( "(") (binary_expression "param_2 + 0xb00" (identifier "param_2") (+ "+") (number_literal "0xb00")) () ")")))) (= "=") (cast_expression "(char)param_3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_3"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) 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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (goto_statement label: (statement_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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (assignment_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: (identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_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: (identifier)))) (expression_statement (assignment_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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement (number_literal)))))

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

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  int *piVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  
  if (param_1 != 0) {
    iVar2 = (**(code **)PTR_PTR_calloc_000a6140)(1,8);
    if (iVar2 == 0) {
      return 0x1b;
    }
    piVar3 = *(int **)(param_1 + 0xb0c);
    *(int *)(iVar2 + 4) = param_2;
    if (piVar3 != (int *)0x0) {
      piVar4 = piVar3;
      if (param_3 == 0) {
        do {
          piVar4 = piVar3;
          piVar3 = (int *)*piVar4;
          *(undefined1 *)(piVar4[1] + 0xb00) = 0;
        } while (piVar3 != (int *)0x0);
        *piVar4 = iVar2;
        goto LAB_0006b504;
      }
      do {
        piVar1 = piVar4 + 1;
        piVar4 = (int *)*piVar4;
        *(int *)(*piVar1 + 0xafc) = param_2;
      } while (piVar4 != (int *)0x0);
      puVar5 = *(undefined4 **)(param_2 + 0xb0c);
      if (*(undefined4 **)(param_2 + 0xb0c) == (undefined4 *)0x0) {
        *(int **)(param_2 + 0xb0c) = piVar3;
        *(undefined4 *)(param_1 + 0xb0c) = 0;
      }
      else {
        do {
          puVar6 = puVar5;
          puVar5 = (undefined4 *)*puVar6;
        } while (puVar5 != (undefined4 *)0x0);
        *puVar6 = piVar3;
        *(undefined4 *)(param_1 + 0xb0c) = 0;
      }
    }
    *(int *)(param_1 + 0xb0c) = iVar2;
  }
LAB_0006b504:
  *(int *)(param_2 + 0xafc) = param_1;
  *(char *)(param_2 + 0xb00) = (char)param_3;
  return 0;
}

