
void rowSetTreeToList(RowSetEntry *pIn,RowSetEntry **ppFirst,RowSetEntry **ppLast)

{
  RowSetEntry *pIn_00;
  long in_FS_OFFSET;
  RowSetEntry *p;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (pIn->pLeft == (RowSetEntry *)0x0) {
    *ppFirst = pIn;
    pIn_00 = pIn->pRight;
  }
  else {
    rowSetTreeToList(pIn->pLeft,ppFirst,&p);
    p->pRight = pIn;
    pIn_00 = pIn->pRight;
  }
  if (pIn_00 == (RowSetEntry *)0x0) {
    *ppLast = pIn;
  }
  else {
    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);
  }
  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return;
}



void FUN_001109c0(long param_1,long *param_2,long *param_3)

{
  long lVar1;
  long in_FS_OFFSET;
  long local_28;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (*(long *)(param_1 + 0x10) == 0) {
    *param_2 = param_1;
    lVar1 = *(long *)(param_1 + 8);
  }
  else {
    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);
    *(long *)(local_28 + 8) = param_1;
    lVar1 = *(long *)(param_1 + 8);
  }
  if (lVar1 == 0) {
    *param_3 = param_1;
  }
  else {
    FUN_001109c0(lVar1,param_1 + 8,param_3);
  }
  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return;
}


PUSH RBP
MOV RBP,RDX
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
MOV RDI,qword ptr [RDI + 0x10]
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x8],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x00110a28
MOV RDX,RSP
CALL 0x001109c0
MOV RAX,qword ptr [RSP]
MOV qword ptr [RAX + 0x8],RBX
MOV RDI,qword ptr [RBX + 0x8]
TEST RDI,RDI
JZ 0x00110a34
LEA RSI,[RBX + 0x8]
MOV RDX,RBP
CALL 0x001109c0
MOV RAX,qword ptr [RSP + 0x8]
XOR RAX,qword ptr FS:[0x28]
JNZ 0x00110a3a
ADD RSP,0x18
POP RBX
POP RBP
RET
MOV qword ptr [RSI],RBX
MOV RDI,qword ptr [RBX + 0x8]
TEST RDI,RDI
JNZ 0x001109fe
MOV qword ptr [RBP],RBX
JMP 0x00110a0a
CALL 0x0010a140
(translation_unit "void FUN_001109c0(long param_1,long *param_2,long *param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}\n\n" (function_definition "void FUN_001109c0(long param_1,long *param_2,long *param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001109c0(long param_1,long *param_2,long *param_3)" identifier (parameter_list "(long param_1,long *param_2,long *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_28;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" { (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" else (compound_statement "{\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" { (expression_statement "FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);" (call_expression "FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28)" identifier (argument_list "(*(long *)(param_1 + 0x10),param_2,&local_28)" ( (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "*(long *)(local_28 + 8) = param_1;" (assignment_expression "*(long *)(local_28 + 8) = param_1" (pointer_expression "*(long *)(local_28 + 8)" * (cast_expression "(long *)(local_28 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 8)" ( (binary_expression "local_28 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_3 = param_1;\n  }" { (expression_statement "*param_3 = param_1;" (assignment_expression "*param_3 = param_1" (pointer_expression "*param_3" * identifier) = identifier) ;) }) (else_clause "else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" else (compound_statement "{\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" { (expression_statement "FUN_001109c0(lVar1,param_1 + 8,param_3);" (call_expression "FUN_001109c0(lVar1,param_1 + 8,param_3)" identifier (argument_list "(lVar1,param_1 + 8,param_3)" ( identifier , (binary_expression "param_1 + 8" identifier + number_literal) , identifier ))) ;) }))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void rowSetTreeToList(RowSetEntry *pIn,RowSetEntry **ppFirst,RowSetEntry **ppLast)\n\n{\n  RowSetEntry *pIn_00;\n  long in_FS_OFFSET;\n  RowSetEntry *p;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (pIn->pLeft == (RowSetEntry *)0x0) {\n    *ppFirst = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  else {\n    rowSetTreeToList(pIn->pLeft,ppFirst,&p);\n    p->pRight = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  if (pIn_00 == (RowSetEntry *)0x0) {\n    *ppLast = pIn;\n  }\n  else {\n    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}\n\n" (function_definition "void rowSetTreeToList(RowSetEntry *pIn,RowSetEntry **ppFirst,RowSetEntry **ppLast)\n\n{\n  RowSetEntry *pIn_00;\n  long in_FS_OFFSET;\n  RowSetEntry *p;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (pIn->pLeft == (RowSetEntry *)0x0) {\n    *ppFirst = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  else {\n    rowSetTreeToList(pIn->pLeft,ppFirst,&p);\n    p->pRight = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  if (pIn_00 == (RowSetEntry *)0x0) {\n    *ppLast = pIn;\n  }\n  else {\n    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}" primitive_type (function_declarator "rowSetTreeToList(RowSetEntry *pIn,RowSetEntry **ppFirst,RowSetEntry **ppLast)" identifier (parameter_list "(RowSetEntry *pIn,RowSetEntry **ppFirst,RowSetEntry **ppLast)" ( (parameter_declaration "RowSetEntry *pIn" type_identifier (pointer_declarator "*pIn" * identifier)) , (parameter_declaration "RowSetEntry **ppFirst" type_identifier (pointer_declarator "**ppFirst" * (pointer_declarator "*ppFirst" * identifier))) , (parameter_declaration "RowSetEntry **ppLast" type_identifier (pointer_declarator "**ppLast" * (pointer_declarator "*ppLast" * identifier))) ))) (compound_statement "{\n  RowSetEntry *pIn_00;\n  long in_FS_OFFSET;\n  RowSetEntry *p;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (pIn->pLeft == (RowSetEntry *)0x0) {\n    *ppFirst = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  else {\n    rowSetTreeToList(pIn->pLeft,ppFirst,&p);\n    p->pRight = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  if (pIn_00 == (RowSetEntry *)0x0) {\n    *ppLast = pIn;\n  }\n  else {\n    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return;\n}" { (declaration "RowSetEntry *pIn_00;" type_identifier (pointer_declarator "*pIn_00" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "RowSetEntry *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (pIn->pLeft == (RowSetEntry *)0x0) {\n    *ppFirst = pIn;\n    pIn_00 = pIn->pRight;\n  }\n  else {\n    rowSetTreeToList(pIn->pLeft,ppFirst,&p);\n    p->pRight = pIn;\n    pIn_00 = pIn->pRight;\n  }" if (parenthesized_expression "(pIn->pLeft == (RowSetEntry *)0x0)" ( (binary_expression "pIn->pLeft == (RowSetEntry *)0x0" (field_expression "pIn->pLeft" identifier -> field_identifier) == (cast_expression "(RowSetEntry *)0x0" ( (type_descriptor "RowSetEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *ppFirst = pIn;\n    pIn_00 = pIn->pRight;\n  }" { (expression_statement "*ppFirst = pIn;" (assignment_expression "*ppFirst = pIn" (pointer_expression "*ppFirst" * identifier) = identifier) ;) (expression_statement "pIn_00 = pIn->pRight;" (assignment_expression "pIn_00 = pIn->pRight" identifier = (field_expression "pIn->pRight" identifier -> field_identifier)) ;) }) (else_clause "else {\n    rowSetTreeToList(pIn->pLeft,ppFirst,&p);\n    p->pRight = pIn;\n    pIn_00 = pIn->pRight;\n  }" else (compound_statement "{\n    rowSetTreeToList(pIn->pLeft,ppFirst,&p);\n    p->pRight = pIn;\n    pIn_00 = pIn->pRight;\n  }" { (expression_statement "rowSetTreeToList(pIn->pLeft,ppFirst,&p);" (call_expression "rowSetTreeToList(pIn->pLeft,ppFirst,&p)" identifier (argument_list "(pIn->pLeft,ppFirst,&p)" ( (field_expression "pIn->pLeft" identifier -> field_identifier) , identifier , (pointer_expression "&p" & identifier) ))) ;) (expression_statement "p->pRight = pIn;" (assignment_expression "p->pRight = pIn" (field_expression "p->pRight" identifier -> field_identifier) = identifier) ;) (expression_statement "pIn_00 = pIn->pRight;" (assignment_expression "pIn_00 = pIn->pRight" identifier = (field_expression "pIn->pRight" identifier -> field_identifier)) ;) }))) (if_statement "if (pIn_00 == (RowSetEntry *)0x0) {\n    *ppLast = pIn;\n  }\n  else {\n    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);\n  }" if (parenthesized_expression "(pIn_00 == (RowSetEntry *)0x0)" ( (binary_expression "pIn_00 == (RowSetEntry *)0x0" identifier == (cast_expression "(RowSetEntry *)0x0" ( (type_descriptor "RowSetEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *ppLast = pIn;\n  }" { (expression_statement "*ppLast = pIn;" (assignment_expression "*ppLast = pIn" (pointer_expression "*ppLast" * identifier) = identifier) ;) }) (else_clause "else {\n    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);\n  }" else (compound_statement "{\n    rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);\n  }" { (expression_statement "rowSetTreeToList(pIn_00,&pIn->pRight,ppLast);" (call_expression "rowSetTreeToList(pIn_00,&pIn->pRight,ppLast)" identifier (argument_list "(pIn_00,&pIn->pRight,ppLast)" ( identifier , (pointer_expression "&pIn->pRight" & (field_expression "pIn->pRight" identifier -> field_identifier)) , identifier ))) ;) }))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001109c0(long param_1,long *param_2,long *param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}\n\n" (function_definition "void FUN_001109c0(long param_1,long *param_2,long *param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001109c0(long param_1,long *param_2,long *param_3)" identifier (parameter_list "(long param_1,long *param_2,long *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_28;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_20;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" ( (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" { (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" else (compound_statement "{\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" { (expression_statement "FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);" (call_expression "FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28)" identifier (argument_list "(*(long *)(param_1 + 0x10),param_2,&local_28)" ( (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "*(long *)(local_28 + 8) = param_1;" (assignment_expression "*(long *)(local_28 + 8) = param_1" (pointer_expression "*(long *)(local_28 + 8)" * (cast_expression "(long *)(local_28 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 8)" ( (binary_expression "local_28 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_3 = param_1;\n  }" { (expression_statement "*param_3 = param_1;" (assignment_expression "*param_3 = param_1" (pointer_expression "*param_3" * identifier) = identifier) ;) }) (else_clause "else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" else (compound_statement "{\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" { (expression_statement "FUN_001109c0(lVar1,param_1 + 8,param_3);" (call_expression "FUN_001109c0(lVar1,param_1 + 8,param_3)" identifier (argument_list "(lVar1,param_1 + 8,param_3)" ( identifier , (binary_expression "param_1 + 8" identifier + number_literal) , identifier ))) ;) }))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001109c0(long param_1,long *param_2,long *param_3)\n\n{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001109c0(long param_1,long *param_2,long *param_3)" (identifier "FUN_001109c0") (parameter_list "(long param_1,long *param_2,long *param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long in_FS_OFFSET;\n  long local_28;\n  long local_20;\n  \n  local_20 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }\n  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "long local_28;" (sized_type_specifier "long" (long "long")) (identifier "local_28") (; ";")) (declaration "long local_20;" (sized_type_specifier "long" (long "long")) (identifier "local_20") (; ";")) (expression_statement "local_20 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_20 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(long *)(param_1 + 0x10) == 0) {\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }\n  else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) == 0" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_2 = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" ({ "{") (expression_statement "*param_2 = param_1;" (assignment_expression "*param_2 = param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" (else "else") (compound_statement "{\n    FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);\n    *(long *)(local_28 + 8) = param_1;\n    lVar1 = *(long *)(param_1 + 8);\n  }" ({ "{") (expression_statement "FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28);" (call_expression "FUN_001109c0(*(long *)(param_1 + 0x10),param_2,&local_28)" (identifier "FUN_001109c0") (argument_list "(*(long *)(param_1 + 0x10),param_2,&local_28)" (( "(") (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "param_2") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (expression_statement "*(long *)(local_28 + 8) = param_1;" (assignment_expression "*(long *)(local_28 + 8) = param_1" (pointer_expression "*(long *)(local_28 + 8)" (* "*") (cast_expression "(long *)(local_28 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 8)" (( "(") (binary_expression "local_28 + 8" (identifier "local_28") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "lVar1 = *(long *)(param_1 + 8);" (assignment_expression "lVar1 = *(long *)(param_1 + 8)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (lVar1 == 0) {\n    *param_3 = param_1;\n  }\n  else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_3 = param_1;\n  }" ({ "{") (expression_statement "*param_3 = param_1;" (assignment_expression "*param_3 = param_1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "param_1")) (; ";")) (} "}")) (else_clause "else {\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" (else "else") (compound_statement "{\n    FUN_001109c0(lVar1,param_1 + 8,param_3);\n  }" ({ "{") (expression_statement "FUN_001109c0(lVar1,param_1 + 8,param_3);" (call_expression "FUN_001109c0(lVar1,param_1 + 8,param_3)" (identifier "FUN_001109c0") (argument_list "(lVar1,param_1 + 8,param_3)" (( "(") (identifier "lVar1") (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (if_statement "if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(local_20 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_20 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_20") (!= "!=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pIn,type_1 **ppFirst,type_1 **ppLast)

{
  type_1 *var_2;
  long var_1;
  type_1 *p;
  long var_3;
  
  var_3 = *(long *)(var_1 + 0x28);
  if (pIn->pLeft == (type_1 *)0x0) {
    *ppFirst = pIn;
    var_2 = pIn->pRight;
  }
  else {
    function_1(pIn->pLeft,ppFirst,&p);
    p->pRight = pIn;
    var_2 = pIn->pRight;
  }
  if (var_2 == (type_1 *)0x0) {
    *ppLast = pIn;
  }
  else {
    function_1(var_2,&pIn->pRight,ppLast);
  }
  if (var_3 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_4();
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

void MASKED(long param_1,long *param_2,long *param_3)

{
  long lVar1;
  long in_FS_OFFSET;
  long local_28;
  long local_20;
  
  local_20 = *(long *)(in_FS_OFFSET + 0x28);
  if (*(long *)(param_1 + 0x10) == 0) {
    *param_2 = param_1;
    lVar1 = *(long *)(param_1 + 8);
  }
  else {
    MASKED(*(long *)(param_1 + 0x10),param_2,&local_28);
    *(long *)(local_28 + 8) = param_1;
    lVar1 = *(long *)(param_1 + 8);
  }
  if (lVar1 == 0) {
    *param_3 = param_1;
  }
  else {
    MASKED(lVar1,param_1 + 8,param_3);
  }
  if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return;
}

