
void pager_unlock(Pager *pPager)

{
  uint uVar1;
  int iVar2;
  
  sqlite3BitvecDestroy(pPager->pInJournal);
  pPager->pInJournal = (Bitvec *)0x0;
  releaseAllSavepoints(pPager);
  if (pPager->pWal != (Wal *)0x0) {
    sqlite3WalEndReadTransaction(pPager->pWal);
    pPager->eState = '\0';
    goto LAB_0011b3a0;
  }
  if (pPager->exclusiveMode != '\0') goto LAB_0011b3a0;
  if (pPager->fd->pMethods == (sqlite3_io_methods *)0x0) {
LAB_0011b410:
    sqlite3OsClose(pPager->jfd);
  }
  else {
    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);
    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;
  }
  iVar2 = pagerUnlockDb(pPager,0);
  if ((iVar2 != 0) && (pPager->eState == '\x06')) {
    pPager->eLock = '\x05';
  }
  pPager->eState = '\0';
LAB_0011b3a0:
  if (pPager->errCode != 0) {
    if (pPager->tempFile == '\0') {
      pager_reset(pPager);
      pPager->changeCountDone = '\0';
      pPager->eState = '\0';
    }
    else {
      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;
    }
    if (pPager->bUseFetch != '\0') {
      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);
    }
    pPager->errCode = 0;
    setGetterMethod(pPager);
  }
  pPager->journalOff = 0;
  pPager->journalHdr = 0;
  pPager->setSuper = '\0';
  return;
}



void FUN_0011b36e(long param_1)

{
  int iVar1;
  ulong uVar2;
  
  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));
  *(undefined8 *)(param_1 + 0x40) = 0;
  FUN_0011b2ec(param_1);
  if (*(long *)(param_1 + 0x120) != 0) {
    FUN_0010eb71();
    *(undefined1 *)(param_1 + 0x14) = 0;
    goto LAB_0011b3a0;
  }
  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;
  if (**(long **)(param_1 + 0x48) == 0) {
LAB_0011b410:
    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));
  }
  else {
    uVar2 = FUN_0010ca79();
    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;
  }
  iVar1 = FUN_0010e54d(param_1,0);
  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {
    *(undefined1 *)(param_1 + 0x15) = 5;
  }
  *(undefined1 *)(param_1 + 0x14) = 0;
LAB_0011b3a0:
  if (*(int *)(param_1 + 0x2c) != 0) {
    if (*(char *)(param_1 + 0x10) == '\0') {
      FUN_0011449f(param_1);
      *(undefined1 *)(param_1 + 0x16) = 0;
      *(undefined1 *)(param_1 + 0x14) = 0;
    }
    else {
      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;
    }
    if (*(char *)(param_1 + 0x1a) != '\0') {
      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);
    }
    *(undefined4 *)(param_1 + 0x2c) = 0;
    FUN_0010e514(param_1);
  }
  *(undefined8 *)(param_1 + 0x60) = 0;
  *(undefined8 *)(param_1 + 0x68) = 0;
  *(undefined1 *)(param_1 + 0x17) = 0;
  return;
}


PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x40]
CALL 0x0011ad6e
MOV qword ptr [RBX + 0x40],0x0
MOV RDI,RBX
CALL 0x0011b2ec
MOV RDI,qword ptr [RBX + 0x120]
TEST RDI,RDI
JZ 0x0011b3eb
CALL 0x0010eb71
MOV byte ptr [RBX + 0x14],0x0
CMP dword ptr [RBX + 0x2c],0x0
JZ 0x0011b3d5
CMP byte ptr [RBX + 0x10],0x0
JZ 0x0011b43f
MOV RAX,qword ptr [RBX + 0x50]
CMP qword ptr [RAX],0x0
SETZ byte ptr [RBX + 0x14]
CMP byte ptr [RBX + 0x1a],0x0
JNZ 0x0011b454
MOV dword ptr [RBX + 0x2c],0x0
MOV RDI,RBX
CALL 0x0010e514
MOV qword ptr [RBX + 0x60],0x0
MOV qword ptr [RBX + 0x68],0x0
MOV byte ptr [RBX + 0x17],0x0
POP RBX
RET
CMP byte ptr [RBX + 0x8],0x0
JNZ 0x0011b3a0
MOV RDI,qword ptr [RBX + 0x48]
CMP qword ptr [RDI],0x0
JZ 0x0011b410
CALL 0x0010ca79
TEST AH,0x8
JZ 0x0011b410
MOVZX EAX,byte ptr [RBX + 0x9]
AND EAX,0x5
CMP AL,0x1
JZ 0x0011b419
MOV RDI,qword ptr [RBX + 0x50]
CALL 0x0010c9dd
MOV ESI,0x0
MOV RDI,RBX
CALL 0x0010e54d
TEST EAX,EAX
JZ 0x0011b430
CMP byte ptr [RBX + 0x14],0x6
JZ 0x0011b439
MOV byte ptr [RBX + 0x14],0x0
JMP 0x0011b3a0
MOV byte ptr [RBX + 0x15],0x5
JMP 0x0011b430
MOV RDI,RBX
CALL 0x0011449f
MOV byte ptr [RBX + 0x16],0x0
MOV byte ptr [RBX + 0x14],0x0
JMP 0x0011b3bc
MOV RDI,qword ptr [RBX + 0x48]
MOV EDX,0x0
MOV ESI,0x0
CALL 0x0010ca97
JMP 0x0011b3c6
(translation_unit "void FUN_0011b36e(long param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0011b36e(long param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0011b36e(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));" (call_expression "FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x40))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x40)" * (cast_expression "(undefined8 *)(param_1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x40)" * (cast_expression "(undefined8 *)(param_1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0011b2ec(param_1);" (call_expression "FUN_0011b2ec(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x120) != 0)" ( (binary_expression "*(long *)(param_1 + 0x120) != 0" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }" { (expression_statement "FUN_0010eb71();" (call_expression "FUN_0010eb71()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0011b3a0;" goto statement_identifier ;) })) (if_statement "if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;" if (parenthesized_expression "(*(char *)(param_1 + 8) != '\0')" ( (binary_expression "*(char *)(param_1 + 8) != '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b3a0;" goto statement_identifier ;)) (if_statement "if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" if (parenthesized_expression "(**(long **)(param_1 + 0x48) == 0)" ( (binary_expression "**(long **)(param_1 + 0x48) == 0" (pointer_expression "**(long **)(param_1 + 0x48)" * (pointer_expression "*(long **)(param_1 + 0x48)" * (cast_expression "(long **)(param_1 + 0x48)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }" { (labeled_statement "LAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));" statement_identifier : (expression_statement "FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));" (call_expression "FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x50))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x50)" * (cast_expression "(undefined8 *)(param_1 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) ))) ;)) }) (else_clause "else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" else (compound_statement "{\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" { (expression_statement "uVar2 = FUN_0010ca79();" (assignment_expression "uVar2 = FUN_0010ca79()" identifier = (call_expression "FUN_0010ca79()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;" if (parenthesized_expression "(((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1))" ( (binary_expression "((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)" (parenthesized_expression "((uVar2 & 0x800) == 0)" ( (binary_expression "(uVar2 & 0x800) == 0" (parenthesized_expression "(uVar2 & 0x800)" ( (binary_expression "uVar2 & 0x800" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(param_1 + 9) & 5) != 1)" ( (binary_expression "(*(byte *)(param_1 + 9) & 5) != 1" (parenthesized_expression "(*(byte *)(param_1 + 9) & 5)" ( (binary_expression "*(byte *)(param_1 + 9) & 5" (pointer_expression "*(byte *)(param_1 + 9)" * (cast_expression "(byte *)(param_1 + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 9)" ( (binary_expression "param_1 + 9" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_0011b410;" goto statement_identifier ;)) }))) (expression_statement "iVar1 = FUN_0010e54d(param_1,0);" (assignment_expression "iVar1 = FUN_0010e54d(param_1,0)" identifier = (call_expression "FUN_0010e54d(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06'))" ( (binary_expression "(iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0x14) == '\x06')" ( (binary_expression "*(char *)(param_1 + 0x14) == '\x06'" (pointer_expression "*(char *)(param_1 + 0x14)" * (cast_expression "(char *)(param_1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == (char_literal "'\x06'" ' escape_sequence ')) ))) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x15) = 5;" (assignment_expression "*(undefined1 *)(param_1 + 0x15) = 5" (pointer_expression "*(undefined1 *)(param_1 + 0x15)" * (cast_expression "(undefined1 *)(param_1 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" statement_identifier : (if_statement "if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" { (if_statement "if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x10) == '\0'" (pointer_expression "*(char *)(param_1 + 0x10)" * (cast_expression "(char *)(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }" { (expression_statement "FUN_0011449f(param_1);" (call_expression "FUN_0011449f(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x16) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x16) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x16)" * (cast_expression "(undefined1 *)(param_1 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" else (compound_statement "{\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" { (expression_statement "*(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;" (assignment_expression "*(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0" (pointer_expression "*(bool *)(param_1 + 0x14)" * (cast_expression "(bool *)(param_1 + 0x14)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "**(long **)(param_1 + 0x50) == 0" (pointer_expression "**(long **)(param_1 + 0x50)" * (pointer_expression "*(long **)(param_1 + 0x50)" * (cast_expression "(long **)(param_1 + 0x50)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) == number_literal)) ;) }))) (if_statement "if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x1a) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x1a) != '\0'" (pointer_expression "*(char *)(param_1 + 0x1a)" * (cast_expression "(char *)(param_1 + 0x1a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a)" ( (binary_expression "param_1 + 0x1a" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }" { (expression_statement "FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);" (call_expression "FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x48),0,0)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) , number_literal , number_literal ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0010e514(param_1);" (call_expression "FUN_0010e514(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) }))) (expression_statement "*(undefined8 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x68) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x68) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x68)" * (cast_expression "(undefined8 *)(param_1 + 0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x17)" * (cast_expression "(undefined1 *)(param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17)" ( (binary_expression "param_1 + 0x17" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void pager_unlock(Pager *pPager)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  sqlite3BitvecDestroy(pPager->pInJournal);\n  pPager->pInJournal = (Bitvec *)0x0;\n  releaseAllSavepoints(pPager);\n  if (pPager->pWal != (Wal *)0x0) {\n    sqlite3WalEndReadTransaction(pPager->pWal);\n    pPager->eState = '\0';\n    goto LAB_0011b3a0;\n  }\n  if (pPager->exclusiveMode != '\0') goto LAB_0011b3a0;\n  if (pPager->fd->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b410:\n    sqlite3OsClose(pPager->jfd);\n  }\n  else {\n    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);\n    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar2 = pagerUnlockDb(pPager,0);\n  if ((iVar2 != 0) && (pPager->eState == '\x06')) {\n    pPager->eLock = '\x05';\n  }\n  pPager->eState = '\0';\nLAB_0011b3a0:\n  if (pPager->errCode != 0) {\n    if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }\n    if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }\n    pPager->errCode = 0;\n    setGetterMethod(pPager);\n  }\n  pPager->journalOff = 0;\n  pPager->journalHdr = 0;\n  pPager->setSuper = '\0';\n  return;\n}\n\n" (function_definition "void pager_unlock(Pager *pPager)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  sqlite3BitvecDestroy(pPager->pInJournal);\n  pPager->pInJournal = (Bitvec *)0x0;\n  releaseAllSavepoints(pPager);\n  if (pPager->pWal != (Wal *)0x0) {\n    sqlite3WalEndReadTransaction(pPager->pWal);\n    pPager->eState = '\0';\n    goto LAB_0011b3a0;\n  }\n  if (pPager->exclusiveMode != '\0') goto LAB_0011b3a0;\n  if (pPager->fd->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b410:\n    sqlite3OsClose(pPager->jfd);\n  }\n  else {\n    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);\n    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar2 = pagerUnlockDb(pPager,0);\n  if ((iVar2 != 0) && (pPager->eState == '\x06')) {\n    pPager->eLock = '\x05';\n  }\n  pPager->eState = '\0';\nLAB_0011b3a0:\n  if (pPager->errCode != 0) {\n    if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }\n    if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }\n    pPager->errCode = 0;\n    setGetterMethod(pPager);\n  }\n  pPager->journalOff = 0;\n  pPager->journalHdr = 0;\n  pPager->setSuper = '\0';\n  return;\n}" primitive_type (function_declarator "pager_unlock(Pager *pPager)" identifier (parameter_list "(Pager *pPager)" ( (parameter_declaration "Pager *pPager" type_identifier (pointer_declarator "*pPager" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  sqlite3BitvecDestroy(pPager->pInJournal);\n  pPager->pInJournal = (Bitvec *)0x0;\n  releaseAllSavepoints(pPager);\n  if (pPager->pWal != (Wal *)0x0) {\n    sqlite3WalEndReadTransaction(pPager->pWal);\n    pPager->eState = '\0';\n    goto LAB_0011b3a0;\n  }\n  if (pPager->exclusiveMode != '\0') goto LAB_0011b3a0;\n  if (pPager->fd->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b410:\n    sqlite3OsClose(pPager->jfd);\n  }\n  else {\n    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);\n    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar2 = pagerUnlockDb(pPager,0);\n  if ((iVar2 != 0) && (pPager->eState == '\x06')) {\n    pPager->eLock = '\x05';\n  }\n  pPager->eState = '\0';\nLAB_0011b3a0:\n  if (pPager->errCode != 0) {\n    if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }\n    if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }\n    pPager->errCode = 0;\n    setGetterMethod(pPager);\n  }\n  pPager->journalOff = 0;\n  pPager->journalHdr = 0;\n  pPager->setSuper = '\0';\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "sqlite3BitvecDestroy(pPager->pInJournal);" (call_expression "sqlite3BitvecDestroy(pPager->pInJournal)" identifier (argument_list "(pPager->pInJournal)" ( (field_expression "pPager->pInJournal" identifier -> field_identifier) ))) ;) (expression_statement "pPager->pInJournal = (Bitvec *)0x0;" (assignment_expression "pPager->pInJournal = (Bitvec *)0x0" (field_expression "pPager->pInJournal" identifier -> field_identifier) = (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "releaseAllSavepoints(pPager);" (call_expression "releaseAllSavepoints(pPager)" identifier (argument_list "(pPager)" ( identifier ))) ;) (if_statement "if (pPager->pWal != (Wal *)0x0) {\n    sqlite3WalEndReadTransaction(pPager->pWal);\n    pPager->eState = '\0';\n    goto LAB_0011b3a0;\n  }" if (parenthesized_expression "(pPager->pWal != (Wal *)0x0)" ( (binary_expression "pPager->pWal != (Wal *)0x0" (field_expression "pPager->pWal" identifier -> field_identifier) != (cast_expression "(Wal *)0x0" ( (type_descriptor "Wal *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3WalEndReadTransaction(pPager->pWal);\n    pPager->eState = '\0';\n    goto LAB_0011b3a0;\n  }" { (expression_statement "sqlite3WalEndReadTransaction(pPager->pWal);" (call_expression "sqlite3WalEndReadTransaction(pPager->pWal)" identifier (argument_list "(pPager->pWal)" ( (field_expression "pPager->pWal" identifier -> field_identifier) ))) ;) (expression_statement "pPager->eState = '\0';" (assignment_expression "pPager->eState = '\0'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0011b3a0;" goto statement_identifier ;) })) (if_statement "if (pPager->exclusiveMode != '\0') goto LAB_0011b3a0;" if (parenthesized_expression "(pPager->exclusiveMode != '\0')" ( (binary_expression "pPager->exclusiveMode != '\0'" (field_expression "pPager->exclusiveMode" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b3a0;" goto statement_identifier ;)) (if_statement "if (pPager->fd->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b410:\n    sqlite3OsClose(pPager->jfd);\n  }\n  else {\n    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);\n    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;\n  }" if (parenthesized_expression "(pPager->fd->pMethods == (sqlite3_io_methods *)0x0)" ( (binary_expression "pPager->fd->pMethods == (sqlite3_io_methods *)0x0" (field_expression "pPager->fd->pMethods" (field_expression "pPager->fd" identifier -> field_identifier) -> field_identifier) == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0011b410:\n    sqlite3OsClose(pPager->jfd);\n  }" { (labeled_statement "LAB_0011b410:\n    sqlite3OsClose(pPager->jfd);" statement_identifier : (expression_statement "sqlite3OsClose(pPager->jfd);" (call_expression "sqlite3OsClose(pPager->jfd)" identifier (argument_list "(pPager->jfd)" ( (field_expression "pPager->jfd" identifier -> field_identifier) ))) ;)) }) (else_clause "else {\n    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);\n    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;\n  }" else (compound_statement "{\n    uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);\n    if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;\n  }" { (expression_statement "uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd);" (assignment_expression "uVar1 = sqlite3OsDeviceCharacteristics(pPager->fd)" identifier = (call_expression "sqlite3OsDeviceCharacteristics(pPager->fd)" identifier (argument_list "(pPager->fd)" ( (field_expression "pPager->fd" identifier -> field_identifier) )))) ;) (if_statement "if (((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;" if (parenthesized_expression "(((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1))" ( (binary_expression "((uVar1 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)" (parenthesized_expression "((uVar1 & 0x800) == 0)" ( (binary_expression "(uVar1 & 0x800) == 0" (parenthesized_expression "(uVar1 & 0x800)" ( (binary_expression "uVar1 & 0x800" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((pPager->journalMode & 5) != 1)" ( (binary_expression "(pPager->journalMode & 5) != 1" (parenthesized_expression "(pPager->journalMode & 5)" ( (binary_expression "pPager->journalMode & 5" (field_expression "pPager->journalMode" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_0011b410;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = pagerUnlockDb(pPager,0);" (assignment_expression "iVar2 = pagerUnlockDb(pPager,0)" identifier = (call_expression "pagerUnlockDb(pPager,0)" identifier (argument_list "(pPager,0)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar2 != 0) && (pPager->eState == '\x06')) {\n    pPager->eLock = '\x05';\n  }" if (parenthesized_expression "((iVar2 != 0) && (pPager->eState == '\x06'))" ( (binary_expression "(iVar2 != 0) && (pPager->eState == '\x06')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(pPager->eState == '\x06')" ( (binary_expression "pPager->eState == '\x06'" (field_expression "pPager->eState" identifier -> field_identifier) == (char_literal "'\x06'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pPager->eLock = '\x05';\n  }" { (expression_statement "pPager->eLock = '\x05';" (assignment_expression "pPager->eLock = '\x05'" (field_expression "pPager->eLock" identifier -> field_identifier) = (char_literal "'\x05'" ' escape_sequence ')) ;) })) (expression_statement "pPager->eState = '\0';" (assignment_expression "pPager->eState = '\0'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (labeled_statement "LAB_0011b3a0:\n  if (pPager->errCode != 0) {\n    if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }\n    if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }\n    pPager->errCode = 0;\n    setGetterMethod(pPager);\n  }" statement_identifier : (if_statement "if (pPager->errCode != 0) {\n    if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }\n    if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }\n    pPager->errCode = 0;\n    setGetterMethod(pPager);\n  }" if (parenthesized_expression "(pPager->errCode != 0)" ( (binary_expression "pPager->errCode != 0" (field_expression "pPager->errCode" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }\n    if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }\n    pPager->errCode = 0;\n    setGetterMethod(pPager);\n  }" { (if_statement "if (pPager->tempFile == '\0') {\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }\n    else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }" if (parenthesized_expression "(pPager->tempFile == '\0')" ( (binary_expression "pPager->tempFile == '\0'" (field_expression "pPager->tempFile" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      pager_reset(pPager);\n      pPager->changeCountDone = '\0';\n      pPager->eState = '\0';\n    }" { (expression_statement "pager_reset(pPager);" (call_expression "pager_reset(pPager)" identifier (argument_list "(pPager)" ( identifier ))) ;) (expression_statement "pPager->changeCountDone = '\0';" (assignment_expression "pPager->changeCountDone = '\0'" (field_expression "pPager->changeCountDone" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pPager->eState = '\0';" (assignment_expression "pPager->eState = '\0'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }) (else_clause "else {\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }" else (compound_statement "{\n      pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;\n    }" { (expression_statement "pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0;" (assignment_expression "pPager->eState = pPager->jfd->pMethods == (sqlite3_io_methods *)0x0" (field_expression "pPager->eState" identifier -> field_identifier) = (binary_expression "pPager->jfd->pMethods == (sqlite3_io_methods *)0x0" (field_expression "pPager->jfd->pMethods" (field_expression "pPager->jfd" identifier -> field_identifier) -> field_identifier) == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) }))) (if_statement "if (pPager->bUseFetch != '\0') {\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }" if (parenthesized_expression "(pPager->bUseFetch != '\0')" ( (binary_expression "pPager->bUseFetch != '\0'" (field_expression "pPager->bUseFetch" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);\n    }" { (expression_statement "sqlite3OsUnfetch(pPager->fd,0,(void *)0x0);" (call_expression "sqlite3OsUnfetch(pPager->fd,0,(void *)0x0)" identifier (argument_list "(pPager->fd,0,(void *)0x0)" ( (field_expression "pPager->fd" identifier -> field_identifier) , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) (expression_statement "pPager->errCode = 0;" (assignment_expression "pPager->errCode = 0" (field_expression "pPager->errCode" identifier -> field_identifier) = number_literal) ;) (expression_statement "setGetterMethod(pPager);" (call_expression "setGetterMethod(pPager)" identifier (argument_list "(pPager)" ( identifier ))) ;) }))) (expression_statement "pPager->journalOff = 0;" (assignment_expression "pPager->journalOff = 0" (field_expression "pPager->journalOff" identifier -> field_identifier) = number_literal) ;) (expression_statement "pPager->journalHdr = 0;" (assignment_expression "pPager->journalHdr = 0" (field_expression "pPager->journalHdr" identifier -> field_identifier) = number_literal) ;) (expression_statement "pPager->setSuper = '\0';" (assignment_expression "pPager->setSuper = '\0'" (field_expression "pPager->setSuper" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0011b36e(long param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0011b36e(long param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0011b36e(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));" (call_expression "FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x40))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x40)" * (cast_expression "(undefined8 *)(param_1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x40)" * (cast_expression "(undefined8 *)(param_1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0011b2ec(param_1);" (call_expression "FUN_0011b2ec(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x120) != 0)" ( (binary_expression "*(long *)(param_1 + 0x120) != 0" (pointer_expression "*(long *)(param_1 + 0x120)" * (cast_expression "(long *)(param_1 + 0x120)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }" { (expression_statement "FUN_0010eb71();" (call_expression "FUN_0010eb71()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0011b3a0;" goto statement_identifier ;) })) (if_statement "if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;" if (parenthesized_expression "(*(char *)(param_1 + 8) != '\0')" ( (binary_expression "*(char *)(param_1 + 8) != '\0'" (pointer_expression "*(char *)(param_1 + 8)" * (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b3a0;" goto statement_identifier ;)) (if_statement "if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" if (parenthesized_expression "(**(long **)(param_1 + 0x48) == 0)" ( (binary_expression "**(long **)(param_1 + 0x48) == 0" (pointer_expression "**(long **)(param_1 + 0x48)" * (pointer_expression "*(long **)(param_1 + 0x48)" * (cast_expression "(long **)(param_1 + 0x48)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) == number_literal) )) (compound_statement "{\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }" { (labeled_statement "LAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));" statement_identifier : (expression_statement "FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));" (call_expression "FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50))" identifier (argument_list "(*(undefined8 *)(param_1 + 0x50))" ( (pointer_expression "*(undefined8 *)(param_1 + 0x50)" * (cast_expression "(undefined8 *)(param_1 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) ))) ;)) }) (else_clause "else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" else (compound_statement "{\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" { (expression_statement "uVar2 = FUN_0010ca79();" (assignment_expression "uVar2 = FUN_0010ca79()" identifier = (call_expression "FUN_0010ca79()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;" if (parenthesized_expression "(((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1))" ( (binary_expression "((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)" (parenthesized_expression "((uVar2 & 0x800) == 0)" ( (binary_expression "(uVar2 & 0x800) == 0" (parenthesized_expression "(uVar2 & 0x800)" ( (binary_expression "uVar2 & 0x800" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(byte *)(param_1 + 9) & 5) != 1)" ( (binary_expression "(*(byte *)(param_1 + 9) & 5) != 1" (parenthesized_expression "(*(byte *)(param_1 + 9) & 5)" ( (binary_expression "*(byte *)(param_1 + 9) & 5" (pointer_expression "*(byte *)(param_1 + 9)" * (cast_expression "(byte *)(param_1 + 9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 9)" ( (binary_expression "param_1 + 9" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (goto_statement "goto LAB_0011b410;" goto statement_identifier ;)) }))) (expression_statement "iVar1 = FUN_0010e54d(param_1,0);" (assignment_expression "iVar1 = FUN_0010e54d(param_1,0)" identifier = (call_expression "FUN_0010e54d(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }" if (parenthesized_expression "((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06'))" ( (binary_expression "(iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(param_1 + 0x14) == '\x06')" ( (binary_expression "*(char *)(param_1 + 0x14) == '\x06'" (pointer_expression "*(char *)(param_1 + 0x14)" * (cast_expression "(char *)(param_1 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == (char_literal "'\x06'" ' escape_sequence ')) ))) )) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }" { (expression_statement "*(undefined1 *)(param_1 + 0x15) = 5;" (assignment_expression "*(undefined1 *)(param_1 + 0x15) = 5" (pointer_expression "*(undefined1 *)(param_1 + 0x15)" * (cast_expression "(undefined1 *)(param_1 + 0x15)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" statement_identifier : (if_statement "if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" { (if_statement "if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x10) == '\0'" (pointer_expression "*(char *)(param_1 + 0x10)" * (cast_expression "(char *)(param_1 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }" { (expression_statement "FUN_0011449f(param_1);" (call_expression "FUN_0011449f(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x16) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x16) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x16)" * (cast_expression "(undefined1 *)(param_1 + 0x16)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" else (compound_statement "{\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" { (expression_statement "*(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;" (assignment_expression "*(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0" (pointer_expression "*(bool *)(param_1 + 0x14)" * (cast_expression "(bool *)(param_1 + 0x14)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "**(long **)(param_1 + 0x50) == 0" (pointer_expression "**(long **)(param_1 + 0x50)" * (pointer_expression "*(long **)(param_1 + 0x50)" * (cast_expression "(long **)(param_1 + 0x50)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) == number_literal)) ;) }))) (if_statement "if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x1a) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x1a) != '\0'" (pointer_expression "*(char *)(param_1 + 0x1a)" * (cast_expression "(char *)(param_1 + 0x1a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1a)" ( (binary_expression "param_1 + 0x1a" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }" { (expression_statement "FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);" (call_expression "FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x48),0,0)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x48)" * (cast_expression "(undefined8 *)(param_1 + 0x48)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) , number_literal , number_literal ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0010e514(param_1);" (call_expression "FUN_0010e514(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) }))) (expression_statement "*(undefined8 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" * (cast_expression "(undefined8 *)(param_1 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x68) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x68) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x68)" * (cast_expression "(undefined8 *)(param_1 + 0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x17)" * (cast_expression "(undefined1 *)(param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17)" ( (binary_expression "param_1 + 0x17" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (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) )))) = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( 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) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) == LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( 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) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0011b36e(long param_1)\n\n{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011b36e(long param_1)" (identifier "FUN_0011b36e") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  ulong uVar2;\n  \n  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));\n  *(undefined8 *)(param_1 + 0x40) = 0;\n  FUN_0011b2ec(param_1);\n  if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }\n  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;\n  if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }\n  iVar1 = FUN_0010e54d(param_1,0);\n  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }\n  *(undefined1 *)(param_1 + 0x14) = 0;\nLAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }\n  *(undefined8 *)(param_1 + 0x60) = 0;\n  *(undefined8 *)(param_1 + 0x68) = 0;\n  *(undefined1 *)(param_1 + 0x17) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (expression_statement "FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));" (call_expression "FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40))" (identifier "FUN_0011ad6e") (argument_list "(*(undefined8 *)(param_1 + 0x40))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0011b2ec(param_1);" (call_expression "FUN_0011b2ec(param_1)" (identifier "FUN_0011b2ec") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (*(long *)(param_1 + 0x120) != 0) {\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x120) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x120) != 0" (pointer_expression "*(long *)(param_1 + 0x120)" (* "*") (cast_expression "(long *)(param_1 + 0x120)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0010eb71();\n    *(undefined1 *)(param_1 + 0x14) = 0;\n    goto LAB_0011b3a0;\n  }" ({ "{") (expression_statement "FUN_0010eb71();" (call_expression "FUN_0010eb71()" (identifier "FUN_0010eb71") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0011b3a0;" (goto "goto") (statement_identifier "LAB_0011b3a0") (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 8) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 8) != '\0'" (pointer_expression "*(char *)(param_1 + 8)" (* "*") (cast_expression "(char *)(param_1 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0011b3a0;" (goto "goto") (statement_identifier "LAB_0011b3a0") (; ";"))) (if_statement "if (**(long **)(param_1 + 0x48) == 0) {\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }\n  else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" (if "if") (parenthesized_expression "(**(long **)(param_1 + 0x48) == 0)" (( "(") (binary_expression "**(long **)(param_1 + 0x48) == 0" (pointer_expression "**(long **)(param_1 + 0x48)" (* "*") (pointer_expression "*(long **)(param_1 + 0x48)" (* "*") (cast_expression "(long **)(param_1 + 0x48)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));\n  }" ({ "{") (labeled_statement "LAB_0011b410:\n    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));" (statement_identifier "LAB_0011b410") (: ":") (expression_statement "FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));" (call_expression "FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50))" (identifier "FUN_0010c9dd") (argument_list "(*(undefined8 *)(param_1 + 0x50))" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x50)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x50)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) () ")"))) (; ";"))) (} "}")) (else_clause "else {\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" (else "else") (compound_statement "{\n    uVar2 = FUN_0010ca79();\n    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;\n  }" ({ "{") (expression_statement "uVar2 = FUN_0010ca79();" (assignment_expression "uVar2 = FUN_0010ca79()" (identifier "uVar2") (= "=") (call_expression "FUN_0010ca79()" (identifier "FUN_0010ca79") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;" (if "if") (parenthesized_expression "(((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1))" (( "(") (binary_expression "((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)" (parenthesized_expression "((uVar2 & 0x800) == 0)" (( "(") (binary_expression "(uVar2 & 0x800) == 0" (parenthesized_expression "(uVar2 & 0x800)" (( "(") (binary_expression "uVar2 & 0x800" (identifier "uVar2") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(param_1 + 9) & 5) != 1)" (( "(") (binary_expression "(*(byte *)(param_1 + 9) & 5) != 1" (parenthesized_expression "(*(byte *)(param_1 + 9) & 5)" (( "(") (binary_expression "*(byte *)(param_1 + 9) & 5" (pointer_expression "*(byte *)(param_1 + 9)" (* "*") (cast_expression "(byte *)(param_1 + 9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 9)" (( "(") (binary_expression "param_1 + 9" (identifier "param_1") (+ "+") (number_literal "9")) () ")")))) (& "&") (number_literal "5")) () ")")) (!= "!=") (number_literal "1")) () ")"))) () ")")) (goto_statement "goto LAB_0011b410;" (goto "goto") (statement_identifier "LAB_0011b410") (; ";"))) (} "}")))) (expression_statement "iVar1 = FUN_0010e54d(param_1,0);" (assignment_expression "iVar1 = FUN_0010e54d(param_1,0)" (identifier "iVar1") (= "=") (call_expression "FUN_0010e54d(param_1,0)" (identifier "FUN_0010e54d") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06'))" (( "(") (binary_expression "(iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + 0x14) == '\x06')" (( "(") (binary_expression "*(char *)(param_1 + 0x14) == '\x06'" (pointer_expression "*(char *)(param_1 + 0x14)" (* "*") (cast_expression "(char *)(param_1 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (char_literal "'\x06'" (' "'") (escape_sequence "\x06") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    *(undefined1 *)(param_1 + 0x15) = 5;\n  }" ({ "{") (expression_statement "*(undefined1 *)(param_1 + 0x15) = 5;" (assignment_expression "*(undefined1 *)(param_1 + 0x15) = 5" (pointer_expression "*(undefined1 *)(param_1 + 0x15)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x15)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x15)" (( "(") (binary_expression "param_1 + 0x15" (identifier "param_1") (+ "+") (number_literal "0x15")) () ")")))) (= "=") (number_literal "5")) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0011b3a0:\n  if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" (statement_identifier "LAB_0011b3a0") (: ":") (if_statement "if (*(int *)(param_1 + 0x2c) != 0) {\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }\n    if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }\n    *(undefined4 *)(param_1 + 0x2c) = 0;\n    FUN_0010e514(param_1);\n  }" ({ "{") (if_statement "if (*(char *)(param_1 + 0x10) == '\0') {\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }\n    else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x10) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x10) == '\0'" (pointer_expression "*(char *)(param_1 + 0x10)" (* "*") (cast_expression "(char *)(param_1 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_0011449f(param_1);\n      *(undefined1 *)(param_1 + 0x16) = 0;\n      *(undefined1 *)(param_1 + 0x14) = 0;\n    }" ({ "{") (expression_statement "FUN_0011449f(param_1);" (call_expression "FUN_0011449f(param_1)" (identifier "FUN_0011449f") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x16) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x16) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x16)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x16)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x16)" (( "(") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" (else "else") (compound_statement "{\n      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;\n    }" ({ "{") (expression_statement "*(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;" (assignment_expression "*(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0" (pointer_expression "*(bool *)(param_1 + 0x14)" (* "*") (cast_expression "(bool *)(param_1 + 0x14)" (( "(") (type_descriptor "bool *" (primitive_type "bool") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "**(long **)(param_1 + 0x50) == 0" (pointer_expression "**(long **)(param_1 + 0x50)" (* "*") (pointer_expression "*(long **)(param_1 + 0x50)" (* "*") (cast_expression "(long **)(param_1 + 0x50)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) (== "==") (number_literal "0"))) (; ";")) (} "}")))) (if_statement "if (*(char *)(param_1 + 0x1a) != '\0') {\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x1a) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x1a) != '\0'" (pointer_expression "*(char *)(param_1 + 0x1a)" (* "*") (cast_expression "(char *)(param_1 + 0x1a)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1a)" (( "(") (binary_expression "param_1 + 0x1a" (identifier "param_1") (+ "+") (number_literal "0x1a")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);\n    }" ({ "{") (expression_statement "FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);" (call_expression "FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0)" (identifier "FUN_0010ca97") (argument_list "(*(undefined8 *)(param_1 + 0x48),0,0)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0010e514(param_1);" (call_expression "FUN_0010e514(param_1)" (identifier "FUN_0010e514") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (expression_statement "*(undefined8 *)(param_1 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x60) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x60)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x68) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x68) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x17)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x17)" (( "(") (binary_expression "param_1 + 0x17" (identifier "param_1") (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pPager)

{
  type_2 var_6;
  int var_8;
  
  var_1(pPager->pInJournal);
  pPager->pInJournal = (type_3 *)0x0;
  var_2(pPager);
  if (pPager->pWal != (type_4 *)0x0) {
    var_3(pPager->pWal);
    pPager->eState = '\0';
    goto LAB_0011b3a0;
  }
  if (pPager->exclusiveMode != '\0') goto LAB_0011b3a0;
  if (pPager->fd->pMethods == (type_5 *)0x0) {
LAB_0011b410:
    var_4(pPager->jfd);
  }
  else {
    var_6 = var_5(pPager->fd);
    if (((var_6 & 0x800) == 0) || ((pPager->journalMode & 5) != 1)) goto LAB_0011b410;
  }
  var_8 = var_7(pPager,0);
  if ((var_8 != 0) && (pPager->eState == '\x06')) {
    pPager->eLock = '\x05';
  }
  pPager->eState = '\0';
LAB_0011b3a0:
  if (pPager->errCode != 0) {
    if (pPager->tempFile == '\0') {
      var_9(pPager);
      pPager->changeCountDone = '\0';
      pPager->eState = '\0';
    }
    else {
      pPager->eState = pPager->jfd->pMethods == (type_5 *)0x0;
    }
    if (pPager->bUseFetch != '\0') {
      var_10(pPager->fd,0,(void *)0x0);
    }
    pPager->errCode = 0;
    var_11(pPager);
  }
  pPager->journalOff = 0;
  pPager->journalHdr = 0;
  pPager->setSuper = '\0';
  return;
}


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

void MASKED(long param_1)

{
  int iVar1;
  ulong uVar2;
  
  FUN_0011ad6e(*(undefined8 *)(param_1 + 0x40));
  *(undefined8 *)(param_1 + 0x40) = 0;
  FUN_0011b2ec(param_1);
  if (*(long *)(param_1 + 0x120) != 0) {
    FUN_0010eb71();
    *(undefined1 *)(param_1 + 0x14) = 0;
    goto LAB_0011b3a0;
  }
  if (*(char *)(param_1 + 8) != '\0') goto LAB_0011b3a0;
  if (**(long **)(param_1 + 0x48) == 0) {
LAB_0011b410:
    FUN_0010c9dd(*(undefined8 *)(param_1 + 0x50));
  }
  else {
    uVar2 = FUN_0010ca79();
    if (((uVar2 & 0x800) == 0) || ((*(byte *)(param_1 + 9) & 5) != 1)) goto LAB_0011b410;
  }
  iVar1 = FUN_0010e54d(param_1,0);
  if ((iVar1 != 0) && (*(char *)(param_1 + 0x14) == '\x06')) {
    *(undefined1 *)(param_1 + 0x15) = 5;
  }
  *(undefined1 *)(param_1 + 0x14) = 0;
LAB_0011b3a0:
  if (*(int *)(param_1 + 0x2c) != 0) {
    if (*(char *)(param_1 + 0x10) == '\0') {
      FUN_0011449f(param_1);
      *(undefined1 *)(param_1 + 0x16) = 0;
      *(undefined1 *)(param_1 + 0x14) = 0;
    }
    else {
      *(bool *)(param_1 + 0x14) = **(long **)(param_1 + 0x50) == 0;
    }
    if (*(char *)(param_1 + 0x1a) != '\0') {
      FUN_0010ca97(*(undefined8 *)(param_1 + 0x48),0,0);
    }
    *(undefined4 *)(param_1 + 0x2c) = 0;
    FUN_0010e514(param_1);
  }
  *(undefined8 *)(param_1 + 0x60) = 0;
  *(undefined8 *)(param_1 + 0x68) = 0;
  *(undefined1 *)(param_1 + 0x17) = 0;
  return;
}

