
int sqlite3IsReadOnly(Parse *pParse,Table *pTab,int viewOk)

{
  int iVar1;
  sqlite3 *psVar2;
  char *pcVar3;
  
  if (pTab->nModuleArg == 0) {
    if ((pTab->tabFlags & 0x401) == 0) {
LAB_0009d1b8:
      iVar1 = 0;
      if (viewOk == 0) {
        if (pTab->pSelect == (Select *)0x0) {
          iVar1 = 0;
        }
        else {
          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,
                          pTab->zName);
          iVar1 = 1;
        }
      }
      return iVar1;
    }
    psVar2 = pParse->db;
    if ((pTab->tabFlags & 1) == 0) {
      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||
         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;
      pcVar3 = pTab->zName;
      goto LAB_0009d204;
    }
    if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;
  }
  else {
    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);
    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;
  }
  pcVar3 = pTab->zName;
LAB_0009d204:
  sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3);
  return 1;
}



undefined4 FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)

{
  undefined4 uVar1;
  int iVar2;
  
  if (param_2[0xe] == 0) {
    if ((param_2[9] & 0x401) == 0) {
LAB_0009d1b8:
      uVar1 = 0;
      if (param_3 == 0) {
        if (param_2[3] == 0) {
          uVar1 = 0;
        }
        else {
          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);
          uVar1 = 1;
        }
      }
      return uVar1;
    }
    iVar2 = *param_1;
    if ((param_2[9] & 1) == 0) {
      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||
         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;
      uVar1 = *param_2;
      goto LAB_0009d204;
    }
    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))
    goto LAB_0009d1b8;
  }
  else {
    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);
    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;
  }
  uVar1 = *param_2;
LAB_0009d204:
  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);
  return 1;
}


lui gp,0x10
addiu gp,gp,-0x582c
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s2,a0,zero
or s1,a1,zero
lw v0,0x38(a1)
bne v0,zero,0x0009d1d4
_or s0,a2,zero
lw v0,0x24(a1)
andi v1,v0,0x401
beq v1,zero,0x0009d1b8
_andi v0,v0,0x1
bne v0,zero,0x0009d22c
_lw v1,0x0(a0)
lw v0,0x24(v1)
ext v0,v0,0x1c,0x1
beq v0,zero,0x0009d1b8
_nop
lw v0,0x168(v1)
beq v0,zero,0x0009d25c
_nop
bne s0,zero,0x0009d294
_or v0,zero,zero
lw v0,0xc(s1)
bne v0,zero,0x0009d270
_lw a1,-0x7fc4(gp)
b 0x0009d294
_or v0,s0,zero
lw a0,0x0(a0)
lw t9,-0x7d64(gp)
addiu t9,t9,-0x55f4
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x4(v0)
lw v0,0x0(v0)
lw v0,0x34(v0)
bne v0,zero,0x0009d1b8
_nop
lw a2,0x0(s1)
lw a1,-0x7fc4(gp)
addiu a1,a1,-0x59ec
or a0,s2,zero
lw t9,-0x7d60(gp)
addiu t9,t9,-0x6844
bal 0x000997bc
_nop
lw gp,0x10(sp)
b 0x0009d294
_li v0,0x1
lw v0,0x24(v1)
lui v1,0x1000
addiu v1,v1,0x1
and v0,v0,v1
li v1,0x1
beq v0,v1,0x0009d1b8
_nop
lbu v0,0x12(a0)
beq v0,zero,0x0009d200
_nop
b 0x0009d1b8
_nop
lw v0,0xb4(v1)
bne v0,zero,0x0009d1b8
_nop
b 0x0009d204
_lw a2,0x0(s1)
lw a2,0x0(s1)
addiu a1,a1,-0x59cc
or a0,s2,zero
lw t9,-0x7d60(gp)
addiu t9,t9,-0x6844
bal 0x000997bc
_nop
lw gp,0x10(sp)
li v0,0x1
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "undefined4 FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}" type_identifier (function_declarator "FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" if (parenthesized_expression "(param_2[0xe] == 0)" ( (binary_expression "param_2[0xe] == 0" (subscript_expression "param_2[0xe]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }" { (if_statement "if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }" if (parenthesized_expression "((param_2[9] & 0x401) == 0)" ( (binary_expression "(param_2[9] & 0x401) == 0" (parenthesized_expression "(param_2[9] & 0x401)" ( (binary_expression "param_2[9] & 0x401" (subscript_expression "param_2[9]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }" { (labeled_statement "LAB_0009d1b8:\n      uVar1 = 0;" statement_identifier : (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;)) (if_statement "if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }" { (if_statement "if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" if (parenthesized_expression "(param_2[3] == 0)" ( (binary_expression "param_2[3] == 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          uVar1 = 0;\n        }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" else (compound_statement "{\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" { (expression_statement "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);" (call_expression "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2)" identifier (argument_list "(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2)" ( identifier , (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc" identifier + number_literal) , (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) })) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }" if (parenthesized_expression "((param_2[9] & 1) == 0)" ( (binary_expression "(param_2[9] & 1) == 0" (parenthesized_expression "(param_2[9] & 1)" ( (binary_expression "param_2[9] & 1" (subscript_expression "param_2[9]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }" { (if_statement "if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;" if (parenthesized_expression "(((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0))" ( (binary_expression "((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)" (parenthesized_expression "((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0))" ( (binary_expression "(-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)" (parenthesized_expression "(-1 < *(int *)(iVar2 + 0x24) << 3)" ( (binary_expression "-1 < *(int *)(iVar2 + 0x24) << 3" number_literal < (binary_expression "*(int *)(iVar2 + 0x24) << 3" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) << number_literal)) )) || (parenthesized_expression "(*(int *)(iVar2 + 0x168) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x168) != 0" (pointer_expression "*(int *)(iVar2 + 0x168)" * (cast_expression "(int *)(iVar2 + 0x168)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x168)" ( (binary_expression "iVar2 + 0x168" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(*(int *)(iVar2 + 0xb4) != 0)" ( (binary_expression "*(int *)(iVar2 + 0xb4) != 0" (pointer_expression "*(int *)(iVar2 + 0xb4)" * (cast_expression "(int *)(iVar2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (goto_statement "goto LAB_0009d204;" goto statement_identifier ;) })) (if_statement "if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;" if (parenthesized_expression "(((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))" ( (binary_expression "((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0')" (parenthesized_expression "((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1)" ( (binary_expression "(*(uint *)(iVar2 + 0x24) & 0x10000001) == 1" (parenthesized_expression "(*(uint *)(iVar2 + 0x24) & 0x10000001)" ( (binary_expression "*(uint *)(iVar2 + 0x24) & 0x10000001" (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)((int)param_1 + 0x12) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x12) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x12)" * (cast_expression "(char *)((int)param_1 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x12)" ( (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" else (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x55f4)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x55f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x55f4)" ( (binary_expression "PTR_LAB_0018fbbc + -0x55f4" identifier + number_literal) )))) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;" if (parenthesized_expression "(*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0)" ( (binary_expression "*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0" (pointer_expression "*(int *)(**(int **)(iVar2 + 4) + 0x34)" * (cast_expression "(int *)(**(int **)(iVar2 + 4) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(iVar2 + 4) + 0x34)" ( (binary_expression "**(int **)(iVar2 + 4) + 0x34" (pointer_expression "**(int **)(iVar2 + 4)" * (pointer_expression "*(int **)(iVar2 + 4)" * (cast_expression "(int **)(iVar2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) }))) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (labeled_statement "LAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);" statement_identifier : (expression_statement "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);" (call_expression "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1)" identifier (argument_list "(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1)" ( identifier , (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec" identifier + number_literal) , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int sqlite3IsReadOnly(Parse *pParse,Table *pTab,int viewOk)\n\n{\n  int iVar1;\n  sqlite3 *psVar2;\n  char *pcVar3;\n  \n  if (pTab->nModuleArg == 0) {\n    if ((pTab->tabFlags & 0x401) == 0) {\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }\n    psVar2 = pParse->db;\n    if ((pTab->tabFlags & 1) == 0) {\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }\n    if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);\n    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  pcVar3 = pTab->zName;\nLAB_0009d204:\n  sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3);\n  return 1;\n}\n\n" (function_definition "int sqlite3IsReadOnly(Parse *pParse,Table *pTab,int viewOk)\n\n{\n  int iVar1;\n  sqlite3 *psVar2;\n  char *pcVar3;\n  \n  if (pTab->nModuleArg == 0) {\n    if ((pTab->tabFlags & 0x401) == 0) {\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }\n    psVar2 = pParse->db;\n    if ((pTab->tabFlags & 1) == 0) {\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }\n    if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);\n    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  pcVar3 = pTab->zName;\nLAB_0009d204:\n  sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3);\n  return 1;\n}" primitive_type (function_declarator "sqlite3IsReadOnly(Parse *pParse,Table *pTab,int viewOk)" identifier (parameter_list "(Parse *pParse,Table *pTab,int viewOk)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Table *pTab" type_identifier (pointer_declarator "*pTab" * identifier)) , (parameter_declaration "int viewOk" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  sqlite3 *psVar2;\n  char *pcVar3;\n  \n  if (pTab->nModuleArg == 0) {\n    if ((pTab->tabFlags & 0x401) == 0) {\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }\n    psVar2 = pParse->db;\n    if ((pTab->tabFlags & 1) == 0) {\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }\n    if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);\n    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  pcVar3 = pTab->zName;\nLAB_0009d204:\n  sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3);\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "sqlite3 *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if (pTab->nModuleArg == 0) {\n    if ((pTab->tabFlags & 0x401) == 0) {\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }\n    psVar2 = pParse->db;\n    if ((pTab->tabFlags & 1) == 0) {\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }\n    if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;\n  }\n  else {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);\n    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" if (parenthesized_expression "(pTab->nModuleArg == 0)" ( (binary_expression "pTab->nModuleArg == 0" (field_expression "pTab->nModuleArg" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    if ((pTab->tabFlags & 0x401) == 0) {\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }\n    psVar2 = pParse->db;\n    if ((pTab->tabFlags & 1) == 0) {\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }\n    if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;\n  }" { (if_statement "if ((pTab->tabFlags & 0x401) == 0) {\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }" if (parenthesized_expression "((pTab->tabFlags & 0x401) == 0)" ( (binary_expression "(pTab->tabFlags & 0x401) == 0" (parenthesized_expression "(pTab->tabFlags & 0x401)" ( (binary_expression "pTab->tabFlags & 0x401" (field_expression "pTab->tabFlags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0009d1b8:\n      iVar1 = 0;\n      if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }\n      return iVar1;\n    }" { (labeled_statement "LAB_0009d1b8:\n      iVar1 = 0;" statement_identifier : (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;)) (if_statement "if (viewOk == 0) {\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }" if (parenthesized_expression "(viewOk == 0)" ( (binary_expression "viewOk == 0" identifier == number_literal) )) (compound_statement "{\n        if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }\n      }" { (if_statement "if (pTab->pSelect == (Select *)0x0) {\n          iVar1 = 0;\n        }\n        else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }" if (parenthesized_expression "(pTab->pSelect == (Select *)0x0)" ( (binary_expression "pTab->pSelect == (Select *)0x0" (field_expression "pTab->pSelect" identifier -> field_identifier) == (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar1 = 0;\n        }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }" else (compound_statement "{\n          sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);\n          iVar1 = 1;\n        }" { (expression_statement "sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName);" (call_expression "sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName)" identifier (argument_list "(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,\n                          pTab->zName)" ( identifier , (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc" identifier + number_literal) , (field_expression "pTab->zName" identifier -> field_identifier) ))) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) }))) })) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "psVar2 = pParse->db;" (assignment_expression "psVar2 = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if ((pTab->tabFlags & 1) == 0) {\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }" if (parenthesized_expression "((pTab->tabFlags & 1) == 0)" ( (binary_expression "(pTab->tabFlags & 1) == 0" (parenthesized_expression "(pTab->tabFlags & 1)" ( (binary_expression "pTab->tabFlags & 1" (field_expression "pTab->tabFlags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;\n      pcVar3 = pTab->zName;\n      goto LAB_0009d204;\n    }" { (if_statement "if (((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)) goto LAB_0009d1b8;" if (parenthesized_expression "(((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0))" ( (binary_expression "((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)) ||\n         (psVar2->nVdbeExec != 0)" (parenthesized_expression "((-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0))" ( (binary_expression "(-1 < (int)psVar2->flags << 3) || (psVar2->pVtabCtx != (VtabCtx *)0x0)" (parenthesized_expression "(-1 < (int)psVar2->flags << 3)" ( (binary_expression "-1 < (int)psVar2->flags << 3" number_literal < (binary_expression "(int)psVar2->flags << 3" (cast_expression "(int)psVar2->flags" ( (type_descriptor "int" primitive_type) ) (field_expression "psVar2->flags" identifier -> field_identifier)) << number_literal)) )) || (parenthesized_expression "(psVar2->pVtabCtx != (VtabCtx *)0x0)" ( (binary_expression "psVar2->pVtabCtx != (VtabCtx *)0x0" (field_expression "psVar2->pVtabCtx" identifier -> field_identifier) != (cast_expression "(VtabCtx *)0x0" ( (type_descriptor "VtabCtx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(psVar2->nVdbeExec != 0)" ( (binary_expression "psVar2->nVdbeExec != 0" (field_expression "psVar2->nVdbeExec" identifier -> field_identifier) != number_literal) ))) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) (expression_statement "pcVar3 = pTab->zName;" (assignment_expression "pcVar3 = pTab->zName" identifier = (field_expression "pTab->zName" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0009d204;" goto statement_identifier ;) })) (if_statement "if (((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')) goto LAB_0009d1b8;" if (parenthesized_expression "(((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0'))" ( (binary_expression "((psVar2->flags & 0x10000001) == 1) || (pParse->nested != '\0')" (parenthesized_expression "((psVar2->flags & 0x10000001) == 1)" ( (binary_expression "(psVar2->flags & 0x10000001) == 1" (parenthesized_expression "(psVar2->flags & 0x10000001)" ( (binary_expression "psVar2->flags & 0x10000001" (field_expression "psVar2->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "(pParse->nested != '\0')" ( (binary_expression "pParse->nested != '\0'" (field_expression "pParse->nested" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);\n    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);\n    if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))(pParse->db)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x55f4)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x55f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x55f4)" ( (binary_expression "PTR_LAB_0018fbbc + -0x55f4" identifier + number_literal) )))) )) (argument_list "(pParse->db)" ( (field_expression "pParse->db" identifier -> field_identifier) )))) ;) (if_statement "if (*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0) goto LAB_0009d1b8;" if (parenthesized_expression "(*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0)" ( (binary_expression "*(int *)(**(int **)(iVar1 + 4) + 0x34) != 0" (pointer_expression "*(int *)(**(int **)(iVar1 + 4) + 0x34)" * (cast_expression "(int *)(**(int **)(iVar1 + 4) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(iVar1 + 4) + 0x34)" ( (binary_expression "**(int **)(iVar1 + 4) + 0x34" (pointer_expression "**(int **)(iVar1 + 4)" * (pointer_expression "*(int **)(iVar1 + 4)" * (cast_expression "(int **)(iVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) }))) (expression_statement "pcVar3 = pTab->zName;" (assignment_expression "pcVar3 = pTab->zName" identifier = (field_expression "pTab->zName" identifier -> field_identifier)) ;) (labeled_statement "LAB_0009d204:\n  sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3);" statement_identifier : (expression_statement "sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3);" (call_expression "sqlite3ErrorMsg(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3)" identifier (argument_list "(pParse,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,pcVar3)" ( identifier , (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec" identifier + number_literal) , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}" type_identifier (function_declarator "FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 *param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" if (parenthesized_expression "(param_2[0xe] == 0)" ( (binary_expression "param_2[0xe] == 0" (subscript_expression "param_2[0xe]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }" { (if_statement "if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }" if (parenthesized_expression "((param_2[9] & 0x401) == 0)" ( (binary_expression "(param_2[9] & 0x401) == 0" (parenthesized_expression "(param_2[9] & 0x401)" ( (binary_expression "param_2[9] & 0x401" (subscript_expression "param_2[9]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }" { (labeled_statement "LAB_0009d1b8:\n      uVar1 = 0;" statement_identifier : (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;)) (if_statement "if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }" { (if_statement "if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" if (parenthesized_expression "(param_2[3] == 0)" ( (binary_expression "param_2[3] == 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          uVar1 = 0;\n        }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" else (compound_statement "{\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" { (expression_statement "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);" (call_expression "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2)" identifier (argument_list "(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2)" ( identifier , (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc" identifier + number_literal) , (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) }))) })) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }" if (parenthesized_expression "((param_2[9] & 1) == 0)" ( (binary_expression "(param_2[9] & 1) == 0" (parenthesized_expression "(param_2[9] & 1)" ( (binary_expression "param_2[9] & 1" (subscript_expression "param_2[9]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }" { (if_statement "if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;" if (parenthesized_expression "(((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0))" ( (binary_expression "((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)" (parenthesized_expression "((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0))" ( (binary_expression "(-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)" (parenthesized_expression "(-1 < *(int *)(iVar2 + 0x24) << 3)" ( (binary_expression "-1 < *(int *)(iVar2 + 0x24) << 3" number_literal < (binary_expression "*(int *)(iVar2 + 0x24) << 3" (pointer_expression "*(int *)(iVar2 + 0x24)" * (cast_expression "(int *)(iVar2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) << number_literal)) )) || (parenthesized_expression "(*(int *)(iVar2 + 0x168) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x168) != 0" (pointer_expression "*(int *)(iVar2 + 0x168)" * (cast_expression "(int *)(iVar2 + 0x168)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x168)" ( (binary_expression "iVar2 + 0x168" identifier + number_literal) )))) != number_literal) ))) )) || (parenthesized_expression "(*(int *)(iVar2 + 0xb4) != 0)" ( (binary_expression "*(int *)(iVar2 + 0xb4) != 0" (pointer_expression "*(int *)(iVar2 + 0xb4)" * (cast_expression "(int *)(iVar2 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb4)" ( (binary_expression "iVar2 + 0xb4" identifier + number_literal) )))) != number_literal) ))) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (goto_statement "goto LAB_0009d204;" goto statement_identifier ;) })) (if_statement "if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;" if (parenthesized_expression "(((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))" ( (binary_expression "((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0')" (parenthesized_expression "((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1)" ( (binary_expression "(*(uint *)(iVar2 + 0x24) & 0x10000001) == 1" (parenthesized_expression "(*(uint *)(iVar2 + 0x24) & 0x10000001)" ( (binary_expression "*(uint *)(iVar2 + 0x24) & 0x10000001" (pointer_expression "*(uint *)(iVar2 + 0x24)" * (cast_expression "(uint *)(iVar2 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)((int)param_1 + 0x12) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x12) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x12)" * (cast_expression "(char *)((int)param_1 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x12)" ( (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" else (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" { (expression_statement "iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x55f4)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x55f4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + -0x55f4)" ( (binary_expression "PTR_LAB_0018fbbc + -0x55f4" identifier + number_literal) )))) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;" if (parenthesized_expression "(*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0)" ( (binary_expression "*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0" (pointer_expression "*(int *)(**(int **)(iVar2 + 4) + 0x34)" * (cast_expression "(int *)(**(int **)(iVar2 + 4) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(**(int **)(iVar2 + 4) + 0x34)" ( (binary_expression "**(int **)(iVar2 + 4) + 0x34" (pointer_expression "**(int **)(iVar2 + 4)" * (pointer_expression "*(int **)(iVar2 + 4)" * (cast_expression "(int **)(iVar2 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0009d1b8;" goto statement_identifier ;)) }))) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (labeled_statement "LAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);" statement_identifier : (expression_statement "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);" (call_expression "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1)" identifier (argument_list "(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1)" ( identifier , (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec" identifier + number_literal) , identifier ))) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (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) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;)) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0009d14c(int *param_1,undefined4 *param_2,int param_3)" (identifier "FUN_0009d14c") (parameter_list "(int *param_1,undefined4 *param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  \n  if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }\n  uVar1 = *param_2;\nLAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);\n  return 1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_2[0xe] == 0) {\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }\n  else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" (if "if") (parenthesized_expression "(param_2[0xe] == 0)" (( "(") (binary_expression "param_2[0xe] == 0" (subscript_expression "param_2[0xe]" (identifier "param_2") ([ "[") (number_literal "0xe") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }\n    iVar2 = *param_1;\n    if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }\n    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;\n  }" ({ "{") (if_statement "if ((param_2[9] & 0x401) == 0) {\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }" (if "if") (parenthesized_expression "((param_2[9] & 0x401) == 0)" (( "(") (binary_expression "(param_2[9] & 0x401) == 0" (parenthesized_expression "(param_2[9] & 0x401)" (( "(") (binary_expression "param_2[9] & 0x401" (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]")) (& "&") (number_literal "0x401")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0009d1b8:\n      uVar1 = 0;\n      if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }\n      return uVar1;\n    }" ({ "{") (labeled_statement "LAB_0009d1b8:\n      uVar1 = 0;" (statement_identifier "LAB_0009d1b8") (: ":") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (param_3 == 0) {\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }\n      }" ({ "{") (if_statement "if (param_2[3] == 0) {\n          uVar1 = 0;\n        }\n        else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" (if "if") (parenthesized_expression "(param_2[3] == 0)" (( "(") (binary_expression "param_2[3] == 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar1 = 0;\n        }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" (else "else") (compound_statement "{\n          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);\n          uVar1 = 1;\n        }" ({ "{") (expression_statement "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);" (call_expression "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2)" (identifier "FUN_000997bc") (argument_list "(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc" (identifier "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c") (+ "+") (number_literal "-0x59cc")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((param_2[9] & 1) == 0) {\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }" (if "if") (parenthesized_expression "((param_2[9] & 1) == 0)" (( "(") (binary_expression "(param_2[9] & 1) == 0" (parenthesized_expression "(param_2[9] & 1)" (( "(") (binary_expression "param_2[9] & 1" (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;\n      uVar1 = *param_2;\n      goto LAB_0009d204;\n    }" ({ "{") (if_statement "if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;" (if "if") (parenthesized_expression "(((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0))" (( "(") (binary_expression "((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||\n         (*(int *)(iVar2 + 0xb4) != 0)" (parenthesized_expression "((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0))" (( "(") (binary_expression "(-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)" (parenthesized_expression "(-1 < *(int *)(iVar2 + 0x24) << 3)" (( "(") (binary_expression "-1 < *(int *)(iVar2 + 0x24) << 3" (number_literal "-1") (< "<") (binary_expression "*(int *)(iVar2 + 0x24) << 3" (pointer_expression "*(int *)(iVar2 + 0x24)" (* "*") (cast_expression "(int *)(iVar2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (<< "<<") (number_literal "3"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar2 + 0x168) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x168) != 0" (pointer_expression "*(int *)(iVar2 + 0x168)" (* "*") (cast_expression "(int *)(iVar2 + 0x168)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x168)" (( "(") (binary_expression "iVar2 + 0x168" (identifier "iVar2") (+ "+") (number_literal "0x168")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar2 + 0xb4) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0xb4) != 0" (pointer_expression "*(int *)(iVar2 + 0xb4)" (* "*") (cast_expression "(int *)(iVar2 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xb4)" (( "(") (binary_expression "iVar2 + 0xb4" (identifier "iVar2") (+ "+") (number_literal "0xb4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0009d1b8;" (goto "goto") (statement_identifier "LAB_0009d1b8") (; ";"))) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" (identifier "uVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (goto_statement "goto LAB_0009d204;" (goto "goto") (statement_identifier "LAB_0009d204") (; ";")) (} "}"))) (if_statement "if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))\n    goto LAB_0009d1b8;" (if "if") (parenthesized_expression "(((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))" (( "(") (binary_expression "((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0')" (parenthesized_expression "((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1)" (( "(") (binary_expression "(*(uint *)(iVar2 + 0x24) & 0x10000001) == 1" (parenthesized_expression "(*(uint *)(iVar2 + 0x24) & 0x10000001)" (( "(") (binary_expression "*(uint *)(iVar2 + 0x24) & 0x10000001" (pointer_expression "*(uint *)(iVar2 + 0x24)" (* "*") (cast_expression "(uint *)(iVar2 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x10000001")) () ")")) (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(*(char *)((int)param_1 + 0x12) != '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x12) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x12)" (* "*") (cast_expression "(char *)((int)param_1 + 0x12)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x12)" (( "(") (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x12")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0009d1b8;" (goto "goto") (statement_identifier "LAB_0009d1b8") (; ";"))) (} "}")) (else_clause "else {\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" (else "else") (compound_statement "{\n    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);\n    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);" (assignment_expression "iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + -0x55f4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fbbc + -0x55f4)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fbbc + -0x55f4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fbbc + -0x55f4)" (( "(") (binary_expression "PTR_LAB_0018fbbc + -0x55f4" (identifier "PTR_LAB_0018fbbc") (+ "+") (number_literal "-0x55f4")) () ")")))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;" (if "if") (parenthesized_expression "(*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0)" (( "(") (binary_expression "*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0" (pointer_expression "*(int *)(**(int **)(iVar2 + 4) + 0x34)" (* "*") (cast_expression "(int *)(**(int **)(iVar2 + 4) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(**(int **)(iVar2 + 4) + 0x34)" (( "(") (binary_expression "**(int **)(iVar2 + 4) + 0x34" (pointer_expression "**(int **)(iVar2 + 4)" (* "*") (pointer_expression "*(int **)(iVar2 + 4)" (* "*") (cast_expression "(int **)(iVar2 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")"))))) (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0009d1b8;" (goto "goto") (statement_identifier "LAB_0009d1b8") (; ";"))) (} "}")))) (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" (identifier "uVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (labeled_statement "LAB_0009d204:\n  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);" (statement_identifier "LAB_0009d204") (: ":") (expression_statement "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);" (call_expression "FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1)" (identifier "FUN_000997bc") (argument_list "(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec" (identifier "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c") (+ "+") (number_literal "-0x59ec")) (, ",") (identifier "uVar1") () ")"))) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (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)))) 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: (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: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (pointer_expression argument: (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: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (return_statement (number_literal)))))

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

{
  undefined4 uVar1;
  int iVar2;
  
  if (param_2[0xe] == 0) {
    if ((param_2[9] & 0x401) == 0) {
LAB_0009d1b8:
      uVar1 = 0;
      if (param_3 == 0) {
        if (param_2[3] == 0) {
          uVar1 = 0;
        }
        else {
          FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59cc,*param_2);
          uVar1 = 1;
        }
      }
      return uVar1;
    }
    iVar2 = *param_1;
    if ((param_2[9] & 1) == 0) {
      if (((-1 < *(int *)(iVar2 + 0x24) << 3) || (*(int *)(iVar2 + 0x168) != 0)) ||
         (*(int *)(iVar2 + 0xb4) != 0)) goto LAB_0009d1b8;
      uVar1 = *param_2;
      goto LAB_0009d204;
    }
    if (((*(uint *)(iVar2 + 0x24) & 0x10000001) == 1) || (*(char *)((int)param_1 + 0x12) != '\0'))
    goto LAB_0009d1b8;
  }
  else {
    iVar2 = (*(code *)(PTR_LAB_0018fbbc + -0x55f4))(*param_1);
    if (*(int *)(**(int **)(iVar2 + 4) + 0x34) != 0) goto LAB_0009d1b8;
  }
  uVar1 = *param_2;
LAB_0009d204:
  FUN_000997bc(param_1,PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c + -0x59ec,uVar1);
  return 1;
}

