
void bufchain_fetch(bufchain *ch,void *data,int len)

{
  int iVar1;
  int iVar2;
  bufchain_granule *pbVar3;
  
  pbVar3 = ch->head;
  if (ch->buffersize < len) {
    (*(code *)PTR___assert_fail_000b0ac0)
              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,
               PTR_s_Present_000b0188 + -0x1a84);
    return;
  }
  if (0 < len) {
    do {
      if (pbVar3 == (bufchain_granule *)0x0) {
        (*(code *)PTR___assert_fail_000b0ac0)
                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,
                   PTR_s_Present_000b0188 + -0x1a84);
        return;
      }
      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;
      if (len < iVar1) {
        iVar1 = len;
      }
      len = len - iVar1;
      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);
      data = (void *)(iVar2 + iVar1);
      pbVar3 = pbVar3->next;
    } while (0 < len);
  }
  return;
}



void bufchain_fetch(int *param_1,int param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_1;
  if (param_1[2] < param_3) {
    (*(code *)PTR___assert_fail_000b0ac0)
              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,
               PTR_s_Present_000b0188 + -0x1a84);
    return;
  }
  if (0 < param_3) {
    do {
      if (piVar2 == (int *)0x0) {
        (*(code *)PTR___assert_fail_000b0ac0)
                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,
                   PTR_s_Present_000b0188 + -0x1a84);
        return;
      }
      iVar1 = piVar2[2] - piVar2[1];
      if (param_3 < iVar1) {
        iVar1 = param_3;
      }
      param_3 = param_3 - iVar1;
      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);
      param_2 = param_2 + iVar1;
      piVar2 = (int *)*piVar2;
    } while (0 < param_3);
  }
  return;
}


lui gp,0x9
addiu gp,gp,0x7ecc
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x8(a0)
slt v0,v0,a2
sw gp,0x10(sp)
sw s2,0x20(sp)
sw ra,0x24(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
bne v0,zero,0x00020350
_lw s2,0x0(a0)
blez a2,0x00020318
_or s1,a2,zero
bne s2,zero,0x000202d8
_or v1,a1,zero
b 0x00020330
_lw a3,-0x7fc8(gp)
beq s2,zero,0x00020330
_lw a3,-0x7fc8(gp)
lw v0,0x4(s2)
or a0,v1,zero
lw s0,0x8(s2)
lw t9,-0x74b0(gp)
or a1,v0,zero
subu v0,s0,v0
slt s0,s1,v0
movn v0,s1,s0
subu s1,s1,v0
or a2,v0,zero
jalr t9
_or s0,v0,zero
lw gp,0x10(sp)
addu v1,v0,s0
bgtz s1,0x000202d0
_lw s2,0x0(s2)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
li a2,0x2e7
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7690(gp)
addiu a3,a3,-0x1a84
addiu a1,a1,-0x1a00
jalr t9
_addiu a0,a0,-0x19cc
lw a3,-0x7fc8(gp)
li a2,0x2e3
lw a1,-0x7fc8(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x7690(gp)
addiu a3,a3,-0x1a84
addiu a1,a1,-0x1a00
jalr t9
_addiu a0,a0,-0x19f8
(translation_unit "void bufchain_fetch(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}\n\n" (function_definition "void bufchain_fetch(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}" primitive_type (function_declarator "bufchain_fetch(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" if (parenthesized_expression "(param_1[2] < param_3)" ( (binary_expression "param_1[2] < param_3" (subscript_expression "param_1[2]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" ( (binary_expression "PTR_s_Present_000b0188 + -0x19f8" identifier + number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x1a00" identifier + number_literal) , number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }" { (do_statement "do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);" do (compound_statement "{\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    }" { (if_statement "if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" ( (binary_expression "PTR_s_Present_000b0188 + -0x19cc" identifier + number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x1a00" identifier + number_literal) , number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = piVar2[2] - piVar2[1];" (assignment_expression "iVar1 = piVar2[2] - piVar2[1]" identifier = (binary_expression "piVar2[2] - piVar2[1]" (subscript_expression "piVar2[2]" identifier [ number_literal ]) - (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (if_statement "if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }" if (parenthesized_expression "(param_3 < iVar1)" ( (binary_expression "param_3 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar1 = param_3;\n      }" { (expression_statement "iVar1 = param_3;" (assignment_expression "iVar1 = param_3" identifier = identifier) ;) })) (expression_statement "param_3 = param_3 - iVar1;" (assignment_expression "param_3 = param_3 - iVar1" identifier = (binary_expression "param_3 - iVar1" identifier - identifier)) ;) (expression_statement "param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);" (assignment_expression "param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1)" identifier = (call_expression "(*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000b0ca0)" ( (pointer_expression "*(code *)PTR_memcpy_000b0ca0" * (cast_expression "(code *)PTR_memcpy_000b0ca0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,piVar2[1],iVar1)" ( identifier , (subscript_expression "piVar2[1]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "param_2 = param_2 + iVar1;" (assignment_expression "param_2 = param_2 + iVar1" identifier = (binary_expression "param_2 + iVar1" identifier + identifier)) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) while (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void bufchain_fetch(bufchain *ch,void *data,int len)\n\n{\n  int iVar1;\n  int iVar2;\n  bufchain_granule *pbVar3;\n  \n  pbVar3 = ch->head;\n  if (ch->buffersize < len) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < len) {\n    do {\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    } while (0 < len);\n  }\n  return;\n}\n\n" (function_definition "void bufchain_fetch(bufchain *ch,void *data,int len)\n\n{\n  int iVar1;\n  int iVar2;\n  bufchain_granule *pbVar3;\n  \n  pbVar3 = ch->head;\n  if (ch->buffersize < len) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < len) {\n    do {\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    } while (0 < len);\n  }\n  return;\n}" primitive_type (function_declarator "bufchain_fetch(bufchain *ch,void *data,int len)" identifier (parameter_list "(bufchain *ch,void *data,int len)" ( (parameter_declaration "bufchain *ch" type_identifier (pointer_declarator "*ch" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  bufchain_granule *pbVar3;\n  \n  pbVar3 = ch->head;\n  if (ch->buffersize < len) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < len) {\n    do {\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    } while (0 < len);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bufchain_granule *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (expression_statement "pbVar3 = ch->head;" (assignment_expression "pbVar3 = ch->head" identifier = (field_expression "ch->head" identifier -> field_identifier)) ;) (if_statement "if (ch->buffersize < len) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" if (parenthesized_expression "(ch->buffersize < len)" ( (binary_expression "ch->buffersize < len" (field_expression "ch->buffersize" identifier -> field_identifier) < identifier) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" ( (binary_expression "PTR_s_Present_000b0188 + -0x19f8" identifier + number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x1a00" identifier + number_literal) , number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (0 < len) {\n    do {\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    } while (0 < len);\n  }" if (parenthesized_expression "(0 < len)" ( (binary_expression "0 < len" number_literal < identifier) )) (compound_statement "{\n    do {\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    } while (0 < len);\n  }" { (do_statement "do {\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    } while (0 < len);" do (compound_statement "{\n      if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;\n      if (len < iVar1) {\n        iVar1 = len;\n      }\n      len = len - iVar1;\n      iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);\n      data = (void *)(iVar2 + iVar1);\n      pbVar3 = pbVar3->next;\n    }" { (if_statement "if (pbVar3 == (bufchain_granule *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" if (parenthesized_expression "(pbVar3 == (bufchain_granule *)0x0)" ( (binary_expression "pbVar3 == (bufchain_granule *)0x0" identifier == (cast_expression "(bufchain_granule *)0x0" ( (type_descriptor "bufchain_granule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" ( (binary_expression "PTR_s_Present_000b0188 + -0x19cc" identifier + number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x1a00" identifier + number_literal) , number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos;" (assignment_expression "iVar1 = (int)pbVar3->bufend - (int)pbVar3->bufpos" identifier = (binary_expression "(int)pbVar3->bufend - (int)pbVar3->bufpos" (cast_expression "(int)pbVar3->bufend" ( (type_descriptor "int" primitive_type) ) (field_expression "pbVar3->bufend" identifier -> field_identifier)) - (cast_expression "(int)pbVar3->bufpos" ( (type_descriptor "int" primitive_type) ) (field_expression "pbVar3->bufpos" identifier -> field_identifier)))) ;) (if_statement "if (len < iVar1) {\n        iVar1 = len;\n      }" if (parenthesized_expression "(len < iVar1)" ( (binary_expression "len < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar1 = len;\n      }" { (expression_statement "iVar1 = len;" (assignment_expression "iVar1 = len" identifier = identifier) ;) })) (expression_statement "len = len - iVar1;" (assignment_expression "len = len - iVar1" identifier = (binary_expression "len - iVar1" identifier - identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1);" (assignment_expression "iVar2 = (*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1)" identifier = (call_expression "(*(code *)PTR_memcpy_000b0ca0)(data,pbVar3->bufpos,iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000b0ca0)" ( (pointer_expression "*(code *)PTR_memcpy_000b0ca0" * (cast_expression "(code *)PTR_memcpy_000b0ca0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(data,pbVar3->bufpos,iVar1)" ( identifier , (field_expression "pbVar3->bufpos" identifier -> field_identifier) , identifier )))) ;) (expression_statement "data = (void *)(iVar2 + iVar1);" (assignment_expression "data = (void *)(iVar2 + iVar1)" identifier = (cast_expression "(void *)(iVar2 + iVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar1)" ( (binary_expression "iVar2 + iVar1" identifier + identifier) )))) ;) (expression_statement "pbVar3 = pbVar3->next;" (assignment_expression "pbVar3 = pbVar3->next" identifier = (field_expression "pbVar3->next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(0 < len)" ( (binary_expression "0 < len" number_literal < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void bufchain_fetch(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}\n\n" (function_definition "void bufchain_fetch(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}" primitive_type (function_declarator "bufchain_fetch(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" if (parenthesized_expression "(param_1[2] < param_3)" ( (binary_expression "param_1[2] < param_3" (subscript_expression "param_1[2]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" { (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" ( (binary_expression "PTR_s_Present_000b0188 + -0x19f8" identifier + number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x1a00" identifier + number_literal) , number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }" { (do_statement "do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);" do (compound_statement "{\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    }" { (if_statement "if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" { (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" ( (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" * (cast_expression "(code *)PTR___assert_fail_000b0ac0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" ( (binary_expression "PTR_s_Present_000b0188 + -0x19cc" identifier + number_literal) , (binary_expression "PTR_s_Present_000b0188 + -0x1a00" identifier + number_literal) , number_literal , (binary_expression "PTR_s_Present_000b0188 + -0x1a84" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = piVar2[2] - piVar2[1];" (assignment_expression "iVar1 = piVar2[2] - piVar2[1]" identifier = (binary_expression "piVar2[2] - piVar2[1]" (subscript_expression "piVar2[2]" identifier [ number_literal ]) - (subscript_expression "piVar2[1]" identifier [ number_literal ]))) ;) (if_statement "if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }" if (parenthesized_expression "(param_3 < iVar1)" ( (binary_expression "param_3 < iVar1" identifier < identifier) )) (compound_statement "{\n        iVar1 = param_3;\n      }" { (expression_statement "iVar1 = param_3;" (assignment_expression "iVar1 = param_3" identifier = identifier) ;) })) (expression_statement "param_3 = param_3 - iVar1;" (assignment_expression "param_3 = param_3 - iVar1" identifier = (binary_expression "param_3 - iVar1" identifier - identifier)) ;) (expression_statement "param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);" (assignment_expression "param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1)" identifier = (call_expression "(*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000b0ca0)" ( (pointer_expression "*(code *)PTR_memcpy_000b0ca0" * (cast_expression "(code *)PTR_memcpy_000b0ca0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,piVar2[1],iVar1)" ( identifier , (subscript_expression "piVar2[1]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "param_2 = param_2 + iVar1;" (assignment_expression "param_2 = param_2 + iVar1" identifier = (binary_expression "param_2 + iVar1" identifier + identifier)) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) while (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void bufchain_fetch(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "bufchain_fetch(int *param_1,int param_2,int param_3)" (identifier "bufchain_fetch") (parameter_list "(int *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }\n  if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (param_1[2] < param_3) {\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1[2] < param_3)" (( "(") (binary_expression "param_1[2] < param_3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    (*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);\n    return;\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" (* "*") (cast_expression "(code *)PTR___assert_fail_000b0ac0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000b0ac0"))) () ")")) (argument_list "(PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,\n               PTR_s_Present_000b0188 + -0x1a84)" (( "(") (binary_expression "PTR_s_Present_000b0188 + -0x19f8" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x19f8")) (, ",") (binary_expression "PTR_s_Present_000b0188 + -0x1a00" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x1a00")) (, ",") (number_literal "0x2e3") (, ",") (binary_expression "PTR_s_Present_000b0188 + -0x1a84" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x1a84")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (0 < param_3) {\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);\n  }" ({ "{") (do_statement "do {\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    } while (0 < param_3);" (do "do") (compound_statement "{\n      if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }\n      iVar1 = piVar2[2] - piVar2[1];\n      if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }\n      param_3 = param_3 - iVar1;\n      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);\n      param_2 = param_2 + iVar1;\n      piVar2 = (int *)*piVar2;\n    }" ({ "{") (if_statement "if (piVar2 == (int *)0x0) {\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        (*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);\n        return;\n      }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84);" (call_expression "(*(code *)PTR___assert_fail_000b0ac0)\n                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" (parenthesized_expression "(*(code *)PTR___assert_fail_000b0ac0)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_000b0ac0" (* "*") (cast_expression "(code *)PTR___assert_fail_000b0ac0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_000b0ac0"))) () ")")) (argument_list "(PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,\n                   PTR_s_Present_000b0188 + -0x1a84)" (( "(") (binary_expression "PTR_s_Present_000b0188 + -0x19cc" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x19cc")) (, ",") (binary_expression "PTR_s_Present_000b0188 + -0x1a00" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x1a00")) (, ",") (number_literal "0x2e7") (, ",") (binary_expression "PTR_s_Present_000b0188 + -0x1a84" (identifier "PTR_s_Present_000b0188") (+ "+") (number_literal "-0x1a84")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = piVar2[2] - piVar2[1];" (assignment_expression "iVar1 = piVar2[2] - piVar2[1]" (identifier "iVar1") (= "=") (binary_expression "piVar2[2] - piVar2[1]" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (- "-") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (param_3 < iVar1) {\n        iVar1 = param_3;\n      }" (if "if") (parenthesized_expression "(param_3 < iVar1)" (( "(") (binary_expression "param_3 < iVar1" (identifier "param_3") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n        iVar1 = param_3;\n      }" ({ "{") (expression_statement "iVar1 = param_3;" (assignment_expression "iVar1 = param_3" (identifier "iVar1") (= "=") (identifier "param_3")) (; ";")) (} "}"))) (expression_statement "param_3 = param_3 - iVar1;" (assignment_expression "param_3 = param_3 - iVar1" (identifier "param_3") (= "=") (binary_expression "param_3 - iVar1" (identifier "param_3") (- "-") (identifier "iVar1"))) (; ";")) (expression_statement "param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);" (assignment_expression "param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1)" (identifier "param_2") (= "=") (call_expression "(*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1)" (parenthesized_expression "(*(code *)PTR_memcpy_000b0ca0)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000b0ca0" (* "*") (cast_expression "(code *)PTR_memcpy_000b0ca0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000b0ca0"))) () ")")) (argument_list "(param_2,piVar2[1],iVar1)" (( "(") (identifier "param_2") (, ",") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "param_2 = param_2 + iVar1;" (assignment_expression "param_2 = param_2 + iVar1" (identifier "param_2") (= "=") (binary_expression "param_2 + iVar1" (identifier "param_2") (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ch,void *data,int var_1)

{
  int var_4;
  int var_5;
  type_2 *var_3;
  
  var_3 = ch->head;
  if (ch->buffersize < var_1) {
    (*(type_3 *)PTR___assert_fail_000b0ac0)
              (var_2 + -0x19f8,var_2 + -0x1a00,0x2e3,
               var_2 + -0x1a84);
    return;
  }
  if (0 < var_1) {
    do {
      if (var_3 == (type_2 *)0x0) {
        (*(type_3 *)PTR___assert_fail_000b0ac0)
                  (var_2 + -0x19cc,var_2 + -0x1a00,0x2e7,
                   var_2 + -0x1a84);
        return;
      }
      var_4 = (int)var_3->bufend - (int)var_3->bufpos;
      if (var_1 < var_4) {
        var_4 = var_1;
      }
      var_1 = var_1 - var_4;
      var_5 = (*(type_3 *)PTR_memcpy_000b0ca0)(data,var_3->bufpos,var_4);
      data = (void *)(var_5 + var_4);
      var_3 = var_3->next;
    } while (0 < var_1);
  }
  return;
}


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

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

{
  int iVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_1;
  if (param_1[2] < param_3) {
    (*(code *)PTR___assert_fail_000b0ac0)
              (PTR_s_Present_000b0188 + -0x19f8,PTR_s_Present_000b0188 + -0x1a00,0x2e3,
               PTR_s_Present_000b0188 + -0x1a84);
    return;
  }
  if (0 < param_3) {
    do {
      if (piVar2 == (int *)0x0) {
        (*(code *)PTR___assert_fail_000b0ac0)
                  (PTR_s_Present_000b0188 + -0x19cc,PTR_s_Present_000b0188 + -0x1a00,0x2e7,
                   PTR_s_Present_000b0188 + -0x1a84);
        return;
      }
      iVar1 = piVar2[2] - piVar2[1];
      if (param_3 < iVar1) {
        iVar1 = param_3;
      }
      param_3 = param_3 - iVar1;
      param_2 = (*(code *)PTR_memcpy_000b0ca0)(param_2,piVar2[1],iVar1);
      param_2 = param_2 + iVar1;
      piVar2 = (int *)*piVar2;
    } while (0 < param_3);
  }
  return;
}

