
dev_ino * get_root_dev_ino(dev_ino *root_d_i)

{
  long lVar1;
  int iVar2;
  long in_FS_OFFSET;
  stat statbuf;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  iVar2 = __lxstat(1,"/",(stat *)&statbuf);
  if (iVar2 == 0) {
    root_d_i->st_ino = statbuf.st_ino;
    root_d_i->st_dev = statbuf.st_dev;
  }
  else {
    root_d_i = (dev_ino *)0x0;
  }
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return root_d_i;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



__ino_t * FUN_00110c66(__ino_t *param_1)

{
  int iVar1;
  long in_FS_OFFSET;
  stat local_a8;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  iVar1 = __lxstat(1,"/",&local_a8);
  if (iVar1 == 0) {
    *param_1 = local_a8.st_ino;
    param_1[1] = local_a8.st_dev;
  }
  else {
    param_1 = (__ino_t *)0x0;
  }
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH RBX
SUB RSP,0xa0
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x98],RAX
XOR EAX,EAX
MOV RDX,RSP
LEA RSI,[0x11bbe6]
MOV EDI,0x1
CALL 0x001032a0
TEST EAX,EAX
JNZ 0x00110ccb
MOV RAX,qword ptr [RSP + 0x8]
MOV qword ptr [RBX],RAX
MOV RAX,qword ptr [RSP]
MOV qword ptr [RBX + 0x8],RAX
MOV RAX,RBX
MOV RCX,qword ptr [RSP + 0x98]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x00110cd2
ADD RSP,0xa0
POP RBX
RET
MOV EAX,0x0
JMP 0x00110caf
CALL 0x001032c0
(translation_unit "__ino_t * FUN_00110c66(__ino_t *param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "__ino_t * FUN_00110c66(__ino_t *param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (pointer_declarator "* FUN_00110c66(__ino_t *param_1)" * (function_declarator "FUN_00110c66(__ino_t *param_1)" identifier (parameter_list "(__ino_t *param_1)" ( (parameter_declaration "__ino_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "stat local_a8;" type_identifier identifier ;) (declaration "long local_10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = __lxstat(1,"/",&local_a8);" (assignment_expression "iVar1 = __lxstat(1,"/",&local_a8)" identifier = (call_expression "__lxstat(1,"/",&local_a8)" identifier (argument_list "(1,"/",&local_a8)" ( number_literal , (string_literal ""/"" " string_content ") , (pointer_expression "&local_a8" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }" { (expression_statement "*param_1 = local_a8.st_ino;" (assignment_expression "*param_1 = local_a8.st_ino" (pointer_expression "*param_1" * identifier) = (field_expression "local_a8.st_ino" identifier . field_identifier)) ;) (expression_statement "param_1[1] = local_a8.st_dev;" (assignment_expression "param_1[1] = local_a8.st_dev" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (field_expression "local_a8.st_dev" identifier . field_identifier)) ;) }) (else_clause "else {\n    param_1 = (__ino_t *)0x0;\n  }" else (compound_statement "{\n    param_1 = (__ino_t *)0x0;\n  }" { (expression_statement "param_1 = (__ino_t *)0x0;" (assignment_expression "param_1 = (__ino_t *)0x0" identifier = (cast_expression "(__ino_t *)0x0" ( (type_descriptor "__ino_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }" if (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "dev_ino * get_root_dev_ino(dev_ino *root_d_i)\n\n{\n  long lVar1;\n  int iVar2;\n  long in_FS_OFFSET;\n  stat statbuf;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar2 = __lxstat(1,"/",(stat *)&statbuf);\n  if (iVar2 == 0) {\n    root_d_i->st_ino = statbuf.st_ino;\n    root_d_i->st_dev = statbuf.st_dev;\n  }\n  else {\n    root_d_i = (dev_ino *)0x0;\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return root_d_i;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "dev_ino * get_root_dev_ino(dev_ino *root_d_i)\n\n{\n  long lVar1;\n  int iVar2;\n  long in_FS_OFFSET;\n  stat statbuf;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar2 = __lxstat(1,"/",(stat *)&statbuf);\n  if (iVar2 == 0) {\n    root_d_i->st_ino = statbuf.st_ino;\n    root_d_i->st_dev = statbuf.st_dev;\n  }\n  else {\n    root_d_i = (dev_ino *)0x0;\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return root_d_i;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" type_identifier (pointer_declarator "* get_root_dev_ino(dev_ino *root_d_i)" * (function_declarator "get_root_dev_ino(dev_ino *root_d_i)" identifier (parameter_list "(dev_ino *root_d_i)" ( (parameter_declaration "dev_ino *root_d_i" type_identifier (pointer_declarator "*root_d_i" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long in_FS_OFFSET;\n  stat statbuf;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar2 = __lxstat(1,"/",(stat *)&statbuf);\n  if (iVar2 == 0) {\n    root_d_i->st_ino = statbuf.st_ino;\n    root_d_i->st_dev = statbuf.st_dev;\n  }\n  else {\n    root_d_i = (dev_ino *)0x0;\n  }\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return root_d_i;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "stat statbuf;" type_identifier identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = __lxstat(1,"/",(stat *)&statbuf);" (assignment_expression "iVar2 = __lxstat(1,"/",(stat *)&statbuf)" identifier = (call_expression "__lxstat(1,"/",(stat *)&statbuf)" identifier (argument_list "(1,"/",(stat *)&statbuf)" ( number_literal , (string_literal ""/"" " string_content ") , (cast_expression "(stat *)&statbuf" ( (type_descriptor "stat *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&statbuf" & identifier)) )))) ;) (if_statement "if (iVar2 == 0) {\n    root_d_i->st_ino = statbuf.st_ino;\n    root_d_i->st_dev = statbuf.st_dev;\n  }\n  else {\n    root_d_i = (dev_ino *)0x0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    root_d_i->st_ino = statbuf.st_ino;\n    root_d_i->st_dev = statbuf.st_dev;\n  }" { (expression_statement "root_d_i->st_ino = statbuf.st_ino;" (assignment_expression "root_d_i->st_ino = statbuf.st_ino" (field_expression "root_d_i->st_ino" identifier -> field_identifier) = (field_expression "statbuf.st_ino" identifier . field_identifier)) ;) (expression_statement "root_d_i->st_dev = statbuf.st_dev;" (assignment_expression "root_d_i->st_dev = statbuf.st_dev" (field_expression "root_d_i->st_dev" identifier -> field_identifier) = (field_expression "statbuf.st_dev" identifier . field_identifier)) ;) }) (else_clause "else {\n    root_d_i = (dev_ino *)0x0;\n  }" else (compound_statement "{\n    root_d_i = (dev_ino *)0x0;\n  }" { (expression_statement "root_d_i = (dev_ino *)0x0;" (assignment_expression "root_d_i = (dev_ino *)0x0" identifier = (cast_expression "(dev_ino *)0x0" ( (type_descriptor "dev_ino *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return root_d_i;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return root_d_i;\n  }" { (return_statement "return root_d_i;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "__ino_t * FUN_00110c66(__ino_t *param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "__ino_t * FUN_00110c66(__ino_t *param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    \n  __stack_chk_fail();\n}" type_identifier (pointer_declarator "* FUN_00110c66(__ino_t *param_1)" * (function_declarator "FUN_00110c66(__ino_t *param_1)" identifier (parameter_list "(__ino_t *param_1)" ( (parameter_declaration "__ino_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "stat local_a8;" type_identifier identifier ;) (declaration "long local_10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = __lxstat(1,"/",&local_a8);" (assignment_expression "iVar1 = __lxstat(1,"/",&local_a8)" identifier = (call_expression "__lxstat(1,"/",&local_a8)" identifier (argument_list "(1,"/",&local_a8)" ( number_literal , (string_literal ""/"" " string_content ") , (pointer_expression "&local_a8" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }" { (expression_statement "*param_1 = local_a8.st_ino;" (assignment_expression "*param_1 = local_a8.st_ino" (pointer_expression "*param_1" * identifier) = (field_expression "local_a8.st_ino" identifier . field_identifier)) ;) (expression_statement "param_1[1] = local_a8.st_dev;" (assignment_expression "param_1[1] = local_a8.st_dev" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (field_expression "local_a8.st_dev" identifier . field_identifier)) ;) }) (else_clause "else {\n    param_1 = (__ino_t *)0x0;\n  }" else (compound_statement "{\n    param_1 = (__ino_t *)0x0;\n  }" { (expression_statement "param_1 = (__ino_t *)0x0;" (assignment_expression "param_1 = (__ino_t *)0x0" identifier = (cast_expression "(__ino_t *)0x0" ( (type_descriptor "__ino_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }" if (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (field_expression IDENT . field_identifier)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "__ino_t * FUN_00110c66(__ino_t *param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    \n  __stack_chk_fail();\n}" (type_identifier "__ino_t") (pointer_declarator "* FUN_00110c66(__ino_t *param_1)" (* "*") (function_declarator "FUN_00110c66(__ino_t *param_1)" (identifier "FUN_00110c66") (parameter_list "(__ino_t *param_1)" (( "(") (parameter_declaration "__ino_t *param_1" (type_identifier "__ino_t") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  int iVar1;\n  long in_FS_OFFSET;\n  stat local_a8;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  iVar1 = __lxstat(1,"/",&local_a8);\n  if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "stat local_a8;" (type_identifier "stat") (identifier "local_a8") (; ";")) (declaration "long local_10;" (sized_type_specifier "long" (long "long")) (identifier "local_10") (; ";")) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_10") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar1 = __lxstat(1,"/",&local_a8);" (assignment_expression "iVar1 = __lxstat(1,"/",&local_a8)" (identifier "iVar1") (= "=") (call_expression "__lxstat(1,"/",&local_a8)" (identifier "__lxstat") (argument_list "(1,"/",&local_a8)" (( "(") (number_literal "1") (, ",") (string_literal ""/"" (" """) (string_content "/") (" """)) (, ",") (pointer_expression "&local_a8" (& "&") (identifier "local_a8")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }\n  else {\n    param_1 = (__ino_t *)0x0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = local_a8.st_ino;\n    param_1[1] = local_a8.st_dev;\n  }" ({ "{") (expression_statement "*param_1 = local_a8.st_ino;" (assignment_expression "*param_1 = local_a8.st_ino" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (field_expression "local_a8.st_ino" (identifier "local_a8") (. ".") (field_identifier "st_ino"))) (; ";")) (expression_statement "param_1[1] = local_a8.st_dev;" (assignment_expression "param_1[1] = local_a8.st_dev" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (field_expression "local_a8.st_dev" (identifier "local_a8") (. ".") (field_identifier "st_dev"))) (; ";")) (} "}")) (else_clause "else {\n    param_1 = (__ino_t *)0x0;\n  }" (else "else") (compound_statement "{\n    param_1 = (__ino_t *)0x0;\n  }" ({ "{") (expression_statement "param_1 = (__ino_t *)0x0;" (assignment_expression "param_1 = (__ino_t *)0x0" (identifier "param_1") (= "=") (cast_expression "(__ino_t *)0x0" (( "(") (type_descriptor "__ino_t *" (type_identifier "__ino_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_10") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

type_1 * function_1(type_1 *root_d_i)

{
  long var_4;
  int var_3;
  long var_1;
  type_2 statbuf;
  
  var_4 = *(long *)(var_1 + 0x28);
  var_3 = var_2(1,"/",(type_2 *)&statbuf);
  if (var_3 == 0) {
    root_d_i->st_ino = statbuf.st_ino;
    root_d_i->st_dev = statbuf.st_dev;
  }
  else {
    root_d_i = (type_1 *)0x0;
  }
  if (var_4 == *(long *)(var_1 + 0x28)) {
    return root_d_i;
  }
                    /* WARNING: Subroutine does not return */
  var_5();
}


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

__ino_t * MASKED(__ino_t *param_1)

{
  int iVar1;
  long in_FS_OFFSET;
  stat local_a8;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  iVar1 = __lxstat(1,"/",&local_a8);
  if (iVar1 == 0) {
    *param_1 = local_a8.st_ino;
    param_1[1] = local_a8.st_dev;
  }
  else {
    param_1 = (__ino_t *)0x0;
  }
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

