
ExprList * exprListAppendList(Parse *pParse,ExprList *pList,ExprList *pAppend)

{
  Expr *p;
  sqlite3 *db;
  int iVar1;
  int iVar2;
  int iVar3;
  ExprList_item *pEVar4;
  
  if (pAppend != (ExprList *)0x0) {
    iVar2 = 0;
    if (pList != (ExprList *)0x0) {
      iVar2 = pList->nExpr;
    }
    if (0 < pAppend->nExpr) {
      pEVar4 = pAppend->a;
      iVar3 = 0;
      do {
        p = pEVar4->pExpr;
        db = pParse->db;
        if (p != (Expr *)0x0) {
          p = exprDup(db,p,0,(u8 **)0x0);
          db = pParse->db;
        }
        pList = sqlite3ExprListAppend((Parse *)db,pList,p);
        iVar1 = iVar2 + iVar3;
        iVar3 = iVar3 + 1;
        if (pList != (ExprList *)0x0) {
          pList->a[iVar1].sortOrder = pEVar4->sortOrder;
        }
        pEVar4 = pEVar4 + 1;
      } while (iVar3 < pAppend->nExpr);
    }
    return pList;
  }
  return pList;
}



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

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  
  if (param_3 != (int *)0x0) {
    iVar3 = 0;
    if (param_2 != (int *)0x0) {
      iVar3 = *param_2;
    }
    if (0 < *param_3) {
      piVar5 = param_3 + 1;
      iVar4 = 0;
      do {
        iVar1 = *piVar5;
        uVar2 = *param_1;
        if (iVar1 != 0) {
          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);
          uVar2 = *param_1;
        }
        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);
        iVar1 = iVar3 + iVar4;
        iVar4 = iVar4 + 1;
        if (param_2 != (int *)0x0) {
          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);
        }
        piVar5 = piVar5 + 5;
      } while (iVar4 < *param_3);
    }
    return param_2;
  }
  return param_2;
}


lui gp,0x11
addiu gp,gp,0x5030
addu gp,gp,t9
addiu sp,sp,-0x40
sw gp,0x10(sp)
sw ra,0x3c(sp)
sw s7,0x38(sp)
sw s6,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
beq a2,zero,0x00083a04
_sw s0,0x1c(sp)
beq a1,zero,0x00083938
_or s3,zero,zero
lw s3,0x0(a1)
lw v0,0x0(a2)
blez v0,0x000839d4
_or s5,a1,zero
lw s2,-0x7d60(gp)
addiu s7,a2,0x4
lw s4,-0x7d68(gp)
or s6,zero,zero
or s0,a0,zero
addiu s2,s2,0x3420
addiu s4,s4,0x14d8
or s1,a2,zero
lw v0,0x0(s7)
or a3,zero,zero
or a2,zero,zero
lw a0,0x0(s0)
beq v0,zero,0x0008398c
_or a1,v0,zero
or t9,s4,zero
bal 0x000714d8
_nop
lw a0,0x0(s0)
or a1,s5,zero
or t9,s2,zero
bal 0x00083420
_or a2,v0,zero
addu a0,s3,s6
addiu s6,s6,0x1
sll v1,a0,0x2
or s5,v0,zero
beq v0,zero,0x000839c4
_addu v1,v1,a0
sll v1,v1,0x2
lbu v0,0xc(s7)
addu v1,s5,v1
sb v0,0x10(v1)
lw v0,0x0(s1)
slt v0,s6,v0
bne v0,zero,0x00083964
_addiu s7,s7,0x14
lw ra,0x3c(sp)
or v0,s5,zero
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
lw ra,0x3c(sp)
or s5,a1,zero
or v0,s5,zero
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
(translation_unit "int * FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}\n\n" (function_definition "int * FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}" primitive_type (pointer_declarator "* FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)" * (function_declarator "FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (if_statement "if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar3 = *param_2;\n    }" { (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (if_statement "if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }" if (parenthesized_expression "(0 < *param_3)" ( (binary_expression "0 < *param_3" number_literal < (pointer_expression "*param_3" * identifier)) )) (compound_statement "{\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }" { (expression_statement "piVar5 = param_3 + 1;" (assignment_expression "piVar5 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);" do (compound_statement "{\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      }" { (expression_statement "iVar1 = *piVar5;" (assignment_expression "iVar1 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }" { (expression_statement "iVar1 = FUN_000714d8(uVar2,iVar1,0,0);" (assignment_expression "iVar1 = FUN_000714d8(uVar2,iVar1,0,0)" identifier = (call_expression "FUN_000714d8(uVar2,iVar1,0,0)" identifier (argument_list "(uVar2,iVar1,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);" (assignment_expression "param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1)" identifier = (cast_expression "(int *)FUN_00083420(uVar2,param_2,iVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00083420(uVar2,param_2,iVar1)" identifier (argument_list "(uVar2,param_2,iVar1)" ( identifier , identifier , identifier ))))) ;) (expression_statement "iVar1 = iVar3 + iVar4;" (assignment_expression "iVar1 = iVar3 + iVar4" identifier = (binary_expression "iVar3 + iVar4" identifier + identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }" { (expression_statement "*(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);" (assignment_expression "*(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3)" (pointer_expression "*(undefined1 *)(param_2 + iVar1 * 5 + 4)" * (cast_expression "(undefined1 *)(param_2 + iVar1 * 5 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 5 + 4)" ( (binary_expression "param_2 + iVar1 * 5 + 4" (binary_expression "param_2 + iVar1 * 5" identifier + (binary_expression "iVar1 * 5" identifier * number_literal)) + number_literal) )))) = (pointer_expression "*(undefined1 *)(piVar5 + 3)" * (cast_expression "(undefined1 *)(piVar5 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 3)" ( (binary_expression "piVar5 + 3" identifier + number_literal) ))))) ;) })) (expression_statement "piVar5 = piVar5 + 5;" (assignment_expression "piVar5 = piVar5 + 5" identifier = (binary_expression "piVar5 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *param_3)" ( (binary_expression "iVar4 < *param_3" identifier < (pointer_expression "*param_3" * identifier)) )) ;) })) (return_statement "return param_2;" return identifier ;) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "ExprList * exprListAppendList(Parse *pParse,ExprList *pList,ExprList *pAppend)\n\n{\n  Expr *p;\n  sqlite3 *db;\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  ExprList_item *pEVar4;\n  \n  if (pAppend != (ExprList *)0x0) {\n    iVar2 = 0;\n    if (pList != (ExprList *)0x0) {\n      iVar2 = pList->nExpr;\n    }\n    if (0 < pAppend->nExpr) {\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }\n    return pList;\n  }\n  return pList;\n}\n\n" (function_definition "ExprList * exprListAppendList(Parse *pParse,ExprList *pList,ExprList *pAppend)\n\n{\n  Expr *p;\n  sqlite3 *db;\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  ExprList_item *pEVar4;\n  \n  if (pAppend != (ExprList *)0x0) {\n    iVar2 = 0;\n    if (pList != (ExprList *)0x0) {\n      iVar2 = pList->nExpr;\n    }\n    if (0 < pAppend->nExpr) {\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }\n    return pList;\n  }\n  return pList;\n}" type_identifier (pointer_declarator "* exprListAppendList(Parse *pParse,ExprList *pList,ExprList *pAppend)" * (function_declarator "exprListAppendList(Parse *pParse,ExprList *pList,ExprList *pAppend)" identifier (parameter_list "(Parse *pParse,ExprList *pList,ExprList *pAppend)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "ExprList *pList" type_identifier (pointer_declarator "*pList" * identifier)) , (parameter_declaration "ExprList *pAppend" type_identifier (pointer_declarator "*pAppend" * identifier)) )))) (compound_statement "{\n  Expr *p;\n  sqlite3 *db;\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  ExprList_item *pEVar4;\n  \n  if (pAppend != (ExprList *)0x0) {\n    iVar2 = 0;\n    if (pList != (ExprList *)0x0) {\n      iVar2 = pList->nExpr;\n    }\n    if (0 < pAppend->nExpr) {\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }\n    return pList;\n  }\n  return pList;\n}" { (declaration "Expr *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ExprList_item *pEVar4;" type_identifier (pointer_declarator "*pEVar4" * identifier) ;) (if_statement "if (pAppend != (ExprList *)0x0) {\n    iVar2 = 0;\n    if (pList != (ExprList *)0x0) {\n      iVar2 = pList->nExpr;\n    }\n    if (0 < pAppend->nExpr) {\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }\n    return pList;\n  }" if (parenthesized_expression "(pAppend != (ExprList *)0x0)" ( (binary_expression "pAppend != (ExprList *)0x0" identifier != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0;\n    if (pList != (ExprList *)0x0) {\n      iVar2 = pList->nExpr;\n    }\n    if (0 < pAppend->nExpr) {\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }\n    return pList;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (pList != (ExprList *)0x0) {\n      iVar2 = pList->nExpr;\n    }" if (parenthesized_expression "(pList != (ExprList *)0x0)" ( (binary_expression "pList != (ExprList *)0x0" identifier != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = pList->nExpr;\n    }" { (expression_statement "iVar2 = pList->nExpr;" (assignment_expression "iVar2 = pList->nExpr" identifier = (field_expression "pList->nExpr" identifier -> field_identifier)) ;) })) (if_statement "if (0 < pAppend->nExpr) {\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }" if (parenthesized_expression "(0 < pAppend->nExpr)" ( (binary_expression "0 < pAppend->nExpr" number_literal < (field_expression "pAppend->nExpr" identifier -> field_identifier)) )) (compound_statement "{\n      pEVar4 = pAppend->a;\n      iVar3 = 0;\n      do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);\n    }" { (expression_statement "pEVar4 = pAppend->a;" (assignment_expression "pEVar4 = pAppend->a" identifier = (field_expression "pAppend->a" identifier -> field_identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      } while (iVar3 < pAppend->nExpr);" do (compound_statement "{\n        p = pEVar4->pExpr;\n        db = pParse->db;\n        if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }\n        pList = sqlite3ExprListAppend((Parse *)db,pList,p);\n        iVar1 = iVar2 + iVar3;\n        iVar3 = iVar3 + 1;\n        if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }\n        pEVar4 = pEVar4 + 1;\n      }" { (expression_statement "p = pEVar4->pExpr;" (assignment_expression "p = pEVar4->pExpr" identifier = (field_expression "pEVar4->pExpr" identifier -> field_identifier)) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (p != (Expr *)0x0) {\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }" if (parenthesized_expression "(p != (Expr *)0x0)" ( (binary_expression "p != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          p = exprDup(db,p,0,(u8 **)0x0);\n          db = pParse->db;\n        }" { (expression_statement "p = exprDup(db,p,0,(u8 **)0x0);" (assignment_expression "p = exprDup(db,p,0,(u8 **)0x0)" identifier = (call_expression "exprDup(db,p,0,(u8 **)0x0)" identifier (argument_list "(db,p,0,(u8 **)0x0)" ( identifier , identifier , number_literal , (cast_expression "(u8 **)0x0" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) })) (expression_statement "pList = sqlite3ExprListAppend((Parse *)db,pList,p);" (assignment_expression "pList = sqlite3ExprListAppend((Parse *)db,pList,p)" identifier = (call_expression "sqlite3ExprListAppend((Parse *)db,pList,p)" identifier (argument_list "((Parse *)db,pList,p)" ( (cast_expression "(Parse *)db" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (expression_statement "iVar1 = iVar2 + iVar3;" (assignment_expression "iVar1 = iVar2 + iVar3" identifier = (binary_expression "iVar2 + iVar3" identifier + identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pList != (ExprList *)0x0) {\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }" if (parenthesized_expression "(pList != (ExprList *)0x0)" ( (binary_expression "pList != (ExprList *)0x0" identifier != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pList->a[iVar1].sortOrder = pEVar4->sortOrder;\n        }" { (expression_statement "pList->a[iVar1].sortOrder = pEVar4->sortOrder;" (assignment_expression "pList->a[iVar1].sortOrder = pEVar4->sortOrder" (field_expression "pList->a[iVar1].sortOrder" (subscript_expression "pList->a[iVar1]" (field_expression "pList->a" identifier -> field_identifier) [ identifier ]) . field_identifier) = (field_expression "pEVar4->sortOrder" identifier -> field_identifier)) ;) })) (expression_statement "pEVar4 = pEVar4 + 1;" (assignment_expression "pEVar4 = pEVar4 + 1" identifier = (binary_expression "pEVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < pAppend->nExpr)" ( (binary_expression "iVar3 < pAppend->nExpr" identifier < (field_expression "pAppend->nExpr" identifier -> field_identifier)) )) ;) })) (return_statement "return pList;" return identifier ;) })) (return_statement "return pList;" return identifier ;) })))
(translation_unit "int * FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}\n\n" (function_definition "int * FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}" primitive_type (pointer_declarator "* FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)" * (function_declarator "FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (if_statement "if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar3 = *param_2;\n    }" { (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (if_statement "if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }" if (parenthesized_expression "(0 < *param_3)" ( (binary_expression "0 < *param_3" number_literal < (pointer_expression "*param_3" * identifier)) )) (compound_statement "{\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }" { (expression_statement "piVar5 = param_3 + 1;" (assignment_expression "piVar5 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);" do (compound_statement "{\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      }" { (expression_statement "iVar1 = *piVar5;" (assignment_expression "iVar1 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }" { (expression_statement "iVar1 = FUN_000714d8(uVar2,iVar1,0,0);" (assignment_expression "iVar1 = FUN_000714d8(uVar2,iVar1,0,0)" identifier = (call_expression "FUN_000714d8(uVar2,iVar1,0,0)" identifier (argument_list "(uVar2,iVar1,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);" (assignment_expression "param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1)" identifier = (cast_expression "(int *)FUN_00083420(uVar2,param_2,iVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00083420(uVar2,param_2,iVar1)" identifier (argument_list "(uVar2,param_2,iVar1)" ( identifier , identifier , identifier ))))) ;) (expression_statement "iVar1 = iVar3 + iVar4;" (assignment_expression "iVar1 = iVar3 + iVar4" identifier = (binary_expression "iVar3 + iVar4" identifier + identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }" { (expression_statement "*(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);" (assignment_expression "*(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3)" (pointer_expression "*(undefined1 *)(param_2 + iVar1 * 5 + 4)" * (cast_expression "(undefined1 *)(param_2 + iVar1 * 5 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar1 * 5 + 4)" ( (binary_expression "param_2 + iVar1 * 5 + 4" (binary_expression "param_2 + iVar1 * 5" identifier + (binary_expression "iVar1 * 5" identifier * number_literal)) + number_literal) )))) = (pointer_expression "*(undefined1 *)(piVar5 + 3)" * (cast_expression "(undefined1 *)(piVar5 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 3)" ( (binary_expression "piVar5 + 3" identifier + number_literal) ))))) ;) })) (expression_statement "piVar5 = piVar5 + 5;" (assignment_expression "piVar5 = piVar5 + 5" identifier = (binary_expression "piVar5 + 5" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < *param_3)" ( (binary_expression "iVar4 < *param_3" identifier < (pointer_expression "*param_3" * identifier)) )) ;) })) (return_statement "return param_2;" return identifier ;) })) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}" (primitive_type "int") (pointer_declarator "* FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)" (* "*") (function_declarator "FUN_000838f0(undefined4 *param_1,int *param_2,int *param_3)" (identifier "FUN_000838f0") (parameter_list "(undefined4 *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  \n  if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }\n  return param_2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (if_statement "if (param_3 != (int *)0x0) {\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar3 = 0;\n    if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }\n    if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }\n    return param_2;\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n      iVar3 = *param_2;\n    }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar3 = *param_2;\n    }" ({ "{") (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" (identifier "iVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}"))) (if_statement "if (0 < *param_3) {\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }" (if "if") (parenthesized_expression "(0 < *param_3)" (( "(") (binary_expression "0 < *param_3" (number_literal "0") (< "<") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (compound_statement "{\n      piVar5 = param_3 + 1;\n      iVar4 = 0;\n      do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);\n    }" ({ "{") (expression_statement "piVar5 = param_3 + 1;" (assignment_expression "piVar5 = param_3 + 1" (identifier "piVar5") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      } while (iVar4 < *param_3);" (do "do") (compound_statement "{\n        iVar1 = *piVar5;\n        uVar2 = *param_1;\n        if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }\n        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);\n        iVar1 = iVar3 + iVar4;\n        iVar4 = iVar4 + 1;\n        if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }\n        piVar5 = piVar5 + 5;\n      }" ({ "{") (expression_statement "iVar1 = *piVar5;" (assignment_expression "iVar1 = *piVar5" (identifier "iVar1") (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar1 != 0) {\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);\n          uVar2 = *param_1;\n        }" ({ "{") (expression_statement "iVar1 = FUN_000714d8(uVar2,iVar1,0,0);" (assignment_expression "iVar1 = FUN_000714d8(uVar2,iVar1,0,0)" (identifier "iVar1") (= "=") (call_expression "FUN_000714d8(uVar2,iVar1,0,0)" (identifier "FUN_000714d8") (argument_list "(uVar2,iVar1,0,0)" (( "(") (identifier "uVar2") (, ",") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);" (assignment_expression "param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1)" (identifier "param_2") (= "=") (cast_expression "(int *)FUN_00083420(uVar2,param_2,iVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00083420(uVar2,param_2,iVar1)" (identifier "FUN_00083420") (argument_list "(uVar2,param_2,iVar1)" (( "(") (identifier "uVar2") (, ",") (identifier "param_2") (, ",") (identifier "iVar1") () ")"))))) (; ";")) (expression_statement "iVar1 = iVar3 + iVar4;" (assignment_expression "iVar1 = iVar3 + iVar4" (identifier "iVar1") (= "=") (binary_expression "iVar3 + iVar4" (identifier "iVar3") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);\n        }" ({ "{") (expression_statement "*(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);" (assignment_expression "*(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3)" (pointer_expression "*(undefined1 *)(param_2 + iVar1 * 5 + 4)" (* "*") (cast_expression "(undefined1 *)(param_2 + iVar1 * 5 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar1 * 5 + 4)" (( "(") (binary_expression "param_2 + iVar1 * 5 + 4" (binary_expression "param_2 + iVar1 * 5" (identifier "param_2") (+ "+") (binary_expression "iVar1 * 5" (identifier "iVar1") (* "*") (number_literal "5"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(piVar5 + 3)" (* "*") (cast_expression "(undefined1 *)(piVar5 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 3)" (( "(") (binary_expression "piVar5 + 3" (identifier "piVar5") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (} "}"))) (expression_statement "piVar5 = piVar5 + 5;" (assignment_expression "piVar5 = piVar5 + 5" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 5" (identifier "piVar5") (+ "+") (number_literal "5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < *param_3)" (( "(") (binary_expression "iVar4 < *param_3" (identifier "iVar4") (< "<") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (; ";")) (} "}"))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (return_statement (identifier)))) (return_statement (identifier)))))

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

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  
  if (param_3 != (int *)0x0) {
    iVar3 = 0;
    if (param_2 != (int *)0x0) {
      iVar3 = *param_2;
    }
    if (0 < *param_3) {
      piVar5 = param_3 + 1;
      iVar4 = 0;
      do {
        iVar1 = *piVar5;
        uVar2 = *param_1;
        if (iVar1 != 0) {
          iVar1 = FUN_000714d8(uVar2,iVar1,0,0);
          uVar2 = *param_1;
        }
        param_2 = (int *)FUN_00083420(uVar2,param_2,iVar1);
        iVar1 = iVar3 + iVar4;
        iVar4 = iVar4 + 1;
        if (param_2 != (int *)0x0) {
          *(undefined1 *)(param_2 + iVar1 * 5 + 4) = *(undefined1 *)(piVar5 + 3);
        }
        piVar5 = piVar5 + 5;
      } while (iVar4 < *param_3);
    }
    return param_2;
  }
  return param_2;
}

