
int yarrow_add_entropy(uchar *in,ulong inlen,prng_state *prng)

{
  undefined1 *puVar1;
  int iVar2;
  long lVar3;
  long in_FS_OFFSET;
  hash_state md;
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  if (prng == (prng_state *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);
  }
  if (in == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);
  }
  if (inlen == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);
  }
  iVar2 = hash_is_valid((prng->field_0).yarrow.hash);
  if (iVar2 == 0) {
    iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +
                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);
    if (iVar2 == 0) {
      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);
      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;
      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))
                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));
      if (iVar2 == 0) {
        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +
                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);
        if (iVar2 == 0) {
          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +
                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);
        }
      }
    }
  }
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



void yarrow_add_entropy(long param_1,long param_2,long param_3)

{
  int iVar1;
  long lVar2;
  long in_FS_OFFSET;
  undefined1 auStack_1d8 [424];
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);
  }
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);
  }
  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));
  if (iVar1 == 0) {
    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))
                      (auStack_1d8);
    if (iVar1 == 0) {
      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;
      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))
                        (auStack_1d8,param_3 + 8,
                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));
      if (iVar1 == 0) {
        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +
                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)
        ;
        if (iVar1 == 0) {
          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))
                    (auStack_1d8,param_3 + 8);
        }
      }
    }
  }
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x1b8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x1a8],RAX
XOR EAX,EAX
TEST RDX,RDX
JZ 0x0018b7dc
MOV RBP,RDI
MOV R12,RSI
MOV RBX,RDX
TEST RDI,RDI
JZ 0x0018b7f4
TEST RSI,RSI
JZ 0x0018b80c
MOV EDI,dword ptr [RDX + 0x4]
CALL 0x00113bc0
TEST EAX,EAX
JNZ 0x0018b7bb
MOV RDI,RSP
MOVSXD RAX,dword ptr [RBX + 0x4]
LEA RDX,[RAX + RAX*0x2]
LEA R13,[RAX + RDX*0x4]
SHL R13,0x4
ADD R13,qword ptr [0x001dfeb0]
CALL qword ptr [R13 + 0xa8]
TEST EAX,EAX
JNZ 0x0018b7bb
LEA R13,[RBX + 0x8]
MOV R8,qword ptr [0x001dfeb0]
MOVSXD RSI,dword ptr [RBX + 0x4]
LEA R9,[RSI + RSI*0x2]
SHL R9,0x2
LEA RCX,[R9 + RSI*0x1]
SHL RCX,0x4
MOV RDI,RSP
MOV RDX,qword ptr [R8 + RCX*0x1 + 0x10]
MOV RSI,R13
CALL qword ptr [R8 + RCX*0x1 + 0xb0]
TEST EAX,EAX
JNZ 0x0018b7bb
MOV RDI,RSP
MOVSXD R10,dword ptr [RBX + 0x4]
LEA R11,[R10 + R10*0x2]
LEA RAX,[R10 + R11*0x4]
SHL RAX,0x4
ADD RAX,qword ptr [0x001dfeb0]
MOV RDX,R12
MOV RSI,RBP
CALL qword ptr [RAX + 0xb0]
TEST EAX,EAX
JNZ 0x0018b7bb
MOV RDI,RSP
MOVSXD RBP,dword ptr [RBX + 0x4]
LEA R12,[RBP + RBP*0x2]
LEA RBX,[RBP + R12*0x4]
SHL RBX,0x4
ADD RBX,qword ptr [0x001dfeb0]
MOV RSI,R13
CALL qword ptr [RBX + 0xb8]
MOV RCX,qword ptr [RSP + 0x1a8]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x0018b824
ADD RSP,0x1b8
POP RBX
POP RBP
POP R12
POP R13
RET
MOV EDX,0x8b
LEA RSI,[0x1ca2ad]
LEA RDI,[0x1c2a0d]
CALL 0x00114260
MOV EDX,0x8c
LEA RSI,[0x1ca2ad]
LEA RDI,[0x1ab710]
CALL 0x00114260
MOV EDX,0x8d
LEA RSI,[0x1ca2ad]
LEA RDI,[0x1ca1c4]
CALL 0x00114260
CALL 0x00113870
(translation_unit "void yarrow_add_entropy(long param_1,long param_2,long param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "void yarrow_add_entropy(long param_1,long param_2,long param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "yarrow_add_entropy(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_1d8 [424];" type_identifier (array_declarator "auStack_1d8 [424]" identifier [ number_literal ]) ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" { comment (expression_statement "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);" (call_expression "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b)" identifier (argument_list "("prng != NULL","src/prngs/yarrow.c",0x8b)" ( (string_literal ""prng != NULL"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);" (call_expression "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c)" identifier (argument_list "("in != NULL","src/prngs/yarrow.c",0x8c)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" { comment (expression_statement "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);" (call_expression "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d)" identifier (argument_list "("inlen > 0","src/prngs/yarrow.c",0x8d)" ( (string_literal ""inlen > 0"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));" (assignment_expression "iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4))" identifier = (call_expression "hash_is_valid(*(undefined4 *)(param_3 + 4))" identifier (argument_list "(*(undefined4 *)(param_3 + 4))" ( (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8" (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0" identifier + (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) + number_literal) ))))) )) (argument_list "(auStack_1d8)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }" { (expression_statement "lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;" (assignment_expression "lVar2 = (long)*(int *)(param_3 + 4) * 0xd0" identifier = (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) ;) (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2" identifier + identifier) + number_literal) ))))) )) (argument_list "(auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" ( identifier , (binary_expression "param_3 + 8" identifier + number_literal) , (pointer_expression "*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" * (cast_expression "(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2" identifier + identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }" { (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0" identifier + (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) + number_literal) ))))) )) (argument_list "(auStack_1d8,param_1,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }" { (expression_statement "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);" (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8" (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0" identifier + (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) + number_literal) ))))) )) (argument_list "(auStack_1d8,param_3 + 8)" ( identifier , (binary_expression "param_3 + 8" identifier + number_literal) ))) ;) })) })) })) })) (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int yarrow_add_entropy(uchar *in,ulong inlen,prng_state *prng)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  long lVar3;\n  long in_FS_OFFSET;\n  hash_state md;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (prng == (prng_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (inlen == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar2 = hash_is_valid((prng->field_0).yarrow.hash);\n  if (iVar2 == 0) {\n    iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);\n    if (iVar2 == 0) {\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int yarrow_add_entropy(uchar *in,ulong inlen,prng_state *prng)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  long lVar3;\n  long in_FS_OFFSET;\n  hash_state md;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (prng == (prng_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (inlen == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar2 = hash_is_valid((prng->field_0).yarrow.hash);\n  if (iVar2 == 0) {\n    iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);\n    if (iVar2 == 0) {\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "yarrow_add_entropy(uchar *in,ulong inlen,prng_state *prng)" identifier (parameter_list "(uchar *in,ulong inlen,prng_state *prng)" ( (parameter_declaration "uchar *in" type_identifier (pointer_declarator "*in" * identifier)) , (parameter_declaration "ulong inlen" type_identifier identifier) , (parameter_declaration "prng_state *prng" type_identifier (pointer_declarator "*prng" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  long lVar3;\n  long in_FS_OFFSET;\n  hash_state md;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (prng == (prng_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (inlen == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar2 = hash_is_valid((prng->field_0).yarrow.hash);\n  if (iVar2 == 0) {\n    iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);\n    if (iVar2 == 0) {\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "hash_state md;" type_identifier identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (prng == (prng_state *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" if (parenthesized_expression "(prng == (prng_state *)0x0)" ( (binary_expression "prng == (prng_state *)0x0" identifier == (cast_expression "(prng_state *)0x0" ( (type_descriptor "prng_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" { comment (expression_statement "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);" (call_expression "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b)" identifier (argument_list "("prng != NULL","src/prngs/yarrow.c",0x8b)" ( (string_literal ""prng != NULL"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (in == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" if (parenthesized_expression "(in == (uchar *)0x0)" ( (binary_expression "in == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" { comment (expression_statement "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);" (call_expression "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c)" identifier (argument_list "("in != NULL","src/prngs/yarrow.c",0x8c)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (inlen == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" if (parenthesized_expression "(inlen == 0)" ( (binary_expression "inlen == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" { comment (expression_statement "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);" (call_expression "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d)" identifier (argument_list "("inlen > 0","src/prngs/yarrow.c",0x8d)" ( (string_literal ""inlen > 0"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar2 = hash_is_valid((prng->field_0).yarrow.hash);" (assignment_expression "iVar2 = hash_is_valid((prng->field_0).yarrow.hash)" identifier = (call_expression "hash_is_valid((prng->field_0).yarrow.hash)" identifier (argument_list "((prng->field_0).yarrow.hash)" ( (field_expression "(prng->field_0).yarrow.hash" (field_expression "(prng->field_0).yarrow" (parenthesized_expression "(prng->field_0)" ( (field_expression "prng->field_0" identifier -> field_identifier) )) . field_identifier) . field_identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);\n    if (iVar2 == 0) {\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);\n    if (iVar2 == 0) {\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }\n  }" { (expression_statement "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);" (assignment_expression "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))(&md)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0 + 0xa8" (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                        (long)(prng->field_0).yarrow.hash * 0xd0" identifier + (binary_expression "(long)(prng->field_0).yarrow.hash * 0xd0" (cast_expression "(long)(prng->field_0).yarrow.hash" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(prng->field_0).yarrow.hash" (field_expression "(prng->field_0).yarrow" (parenthesized_expression "(prng->field_0)" ( (field_expression "prng->field_0" identifier -> field_identifier) )) . field_identifier) . field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(&md)" ( (pointer_expression "&md" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar1 = (undefined1 *)((long)&prng->field_0 + 8);\n      lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;\n      iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));\n      if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }\n    }" { (expression_statement "puVar1 = (undefined1 *)((long)&prng->field_0 + 8);" (assignment_expression "puVar1 = (undefined1 *)((long)&prng->field_0 + 8)" identifier = (cast_expression "(undefined1 *)((long)&prng->field_0 + 8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&prng->field_0 + 8)" ( (binary_expression "(long)&prng->field_0 + 8" (cast_expression "(long)&prng->field_0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&prng->field_0" & (field_expression "prng->field_0" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0;" (assignment_expression "lVar3 = (long)(prng->field_0).yarrow.hash * 0xd0" identifier = (binary_expression "(long)(prng->field_0).yarrow.hash * 0xd0" (cast_expression "(long)(prng->field_0).yarrow.hash" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(prng->field_0).yarrow.hash" (field_expression "(prng->field_0).yarrow" (parenthesized_expression "(prng->field_0)" ( (field_expression "prng->field_0" identifier -> field_identifier) )) . field_identifier) . field_identifier)) * number_literal)) ;) (expression_statement "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10));" (assignment_expression "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10))" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))\n                        (&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10))" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar3 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar3" identifier + identifier) + number_literal) ))))) )) (argument_list "(&md,puVar1,*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10))" ( (pointer_expression "&md" & identifier) , identifier , (pointer_expression "*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10)" * (cast_expression "(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar3 + 0x10" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar3" identifier + identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);\n        if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }\n      }" { (expression_statement "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen);" (assignment_expression "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,in,inlen)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)(prng->field_0).yarrow.hash * 0xd0" identifier + (binary_expression "(long)(prng->field_0).yarrow.hash * 0xd0" (cast_expression "(long)(prng->field_0).yarrow.hash" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(prng->field_0).yarrow.hash" (field_expression "(prng->field_0).yarrow" (parenthesized_expression "(prng->field_0)" ( (field_expression "prng->field_0" identifier -> field_identifier) )) . field_identifier) . field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(&md,in,inlen)" ( (pointer_expression "&md" & identifier) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);\n        }" { (expression_statement "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);" (assignment_expression "iVar2 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0 + 0xb8" (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                              (long)(prng->field_0).yarrow.hash * 0xd0" identifier + (binary_expression "(long)(prng->field_0).yarrow.hash * 0xd0" (cast_expression "(long)(prng->field_0).yarrow.hash" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(prng->field_0).yarrow.hash" (field_expression "(prng->field_0).yarrow" (parenthesized_expression "(prng->field_0)" ( (field_expression "prng->field_0" identifier -> field_identifier) )) . field_identifier) . field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(&md,puVar1)" ( (pointer_expression "&md" & identifier) , identifier )))) ;) })) })) })) })) (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar2;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void yarrow_add_entropy(long param_1,long param_2,long param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "void yarrow_add_entropy(long param_1,long param_2,long param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "yarrow_add_entropy(long param_1,long param_2,long param_3)" identifier (parameter_list "(long param_1,long param_2,long param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 auStack_1d8 [424];" type_identifier (array_declarator "auStack_1d8 [424]" identifier [ number_literal ]) ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" { (expression_statement "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);" (call_expression "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b)" identifier (argument_list "("prng != NULL","src/prngs/yarrow.c",0x8b)" ( (string_literal ""prng != NULL"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" { (expression_statement "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);" (call_expression "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c)" identifier (argument_list "("in != NULL","src/prngs/yarrow.c",0x8c)" ( (string_literal ""in != NULL"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" { (expression_statement "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);" (call_expression "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d)" identifier (argument_list "("inlen > 0","src/prngs/yarrow.c",0x8d)" ( (string_literal ""inlen > 0"" " string_content ") , (string_literal ""src/prngs/yarrow.c"" " string_content ") , number_literal ))) ;) })) (expression_statement "iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));" (assignment_expression "iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4))" identifier = (call_expression "hash_is_valid(*(undefined4 *)(param_3 + 4))" identifier (argument_list "(*(undefined4 *)(param_3 + 4))" ( (pointer_expression "*(undefined4 *)(param_3 + 4)" * (cast_expression "(undefined4 *)(param_3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }" { (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8" (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0" identifier + (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) + number_literal) ))))) )) (argument_list "(auStack_1d8)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }" { (expression_statement "lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;" (assignment_expression "lVar2 = (long)*(int *)(param_3 + 4) * 0xd0" identifier = (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) ;) (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2" identifier + identifier) + number_literal) ))))) )) (argument_list "(auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" ( identifier , (binary_expression "param_3 + 8" identifier + number_literal) , (pointer_expression "*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" * (cast_expression "(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2" identifier + identifier) + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }" { (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)" identifier = (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0" identifier + (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) + number_literal) ))))) )) (argument_list "(auStack_1d8,param_1,param_2)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }" { (expression_statement "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);" (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))" ( (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" * (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" * (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" ( (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8" (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0" identifier + (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(int *)(param_3 + 4)" * (cast_expression "(int *)(param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 4)" ( (binary_expression "param_3 + 4" identifier + number_literal) ))))) * number_literal)) + number_literal) ))))) )) (argument_list "(auStack_1d8,param_3 + 8)" ( identifier , (binary_expression "param_3 + 8" identifier + number_literal) ))) ;) })) })) })) })) (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) })) })) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void yarrow_add_entropy(long param_1,long param_2,long param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "void") (function_declarator "yarrow_add_entropy(long param_1,long param_2,long param_3)" (identifier "yarrow_add_entropy") (parameter_list "(long param_1,long param_2,long param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  undefined1 auStack_1d8 [424];\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }\n  if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }\n  if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }\n  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));\n  if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "undefined1 auStack_1d8 [424];" (type_identifier "undefined1") (array_declarator "auStack_1d8 [424]" (identifier "auStack_1d8") ([ "[") (number_literal "424") (] "]")) (; ";")) (declaration "long local_30;" (sized_type_specifier "long" (long "long")) (identifier "local_30") (; ";")) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_30") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_3 == 0) {\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);\n  }" ({ "{") (expression_statement "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);" (call_expression "crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b)" (identifier "crypt_argchk") (argument_list "("prng != NULL","src/prngs/yarrow.c",0x8b)" (( "(") (string_literal ""prng != NULL"" (" """) (string_content "prng != NULL") (" """)) (, ",") (string_literal ""src/prngs/yarrow.c"" (" """) (string_content "src/prngs/yarrow.c") (" """)) (, ",") (number_literal "0x8b") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);\n  }" ({ "{") (expression_statement "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);" (call_expression "crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c)" (identifier "crypt_argchk") (argument_list "("in != NULL","src/prngs/yarrow.c",0x8c)" (( "(") (string_literal ""in != NULL"" (" """) (string_content "in != NULL") (" """)) (, ",") (string_literal ""src/prngs/yarrow.c"" (" """) (string_content "src/prngs/yarrow.c") (" """)) (, ",") (number_literal "0x8c") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);\n  }" ({ "{") (expression_statement "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);" (call_expression "crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d)" (identifier "crypt_argchk") (argument_list "("inlen > 0","src/prngs/yarrow.c",0x8d)" (( "(") (string_literal ""inlen > 0"" (" """) (string_content "inlen > 0") (" """)) (, ",") (string_literal ""src/prngs/yarrow.c"" (" """) (string_content "src/prngs/yarrow.c") (" """)) (, ",") (number_literal "0x8d") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));" (assignment_expression "iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4))" (identifier "iVar1") (= "=") (call_expression "hash_is_valid(*(undefined4 *)(param_3 + 4))" (identifier "hash_is_valid") (argument_list "(*(undefined4 *)(param_3 + 4))" (( "(") (pointer_expression "*(undefined4 *)(param_3 + 4)" (* "*") (cast_expression "(undefined4 *)(param_3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);\n    if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8);" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))\n                      (auStack_1d8)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))" (( "(") (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" (* "*") (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" (* "*") (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8)" (( "(") (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8" (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0" (identifier "PTR_hash_descriptor_001dfeb0") (+ "+") (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (* "*") (number_literal "0xd0"))) (+ "+") (number_literal "0xa8")) () ")"))))) () ")")) (argument_list "(auStack_1d8)" (( "(") (identifier "auStack_1d8") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;\n      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));\n      if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }\n    }" ({ "{") (expression_statement "lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;" (assignment_expression "lVar2 = (long)*(int *)(param_3 + 4) * 0xd0" (identifier "lVar2") (= "=") (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (* "*") (number_literal "0xd0"))) (; ";")) (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" (identifier "iVar1") (= "=") (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))\n                        (auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))" (( "(") (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" (* "*") (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" (* "*") (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0)" (( "(") (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2" (identifier "PTR_hash_descriptor_001dfeb0") (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0xb0")) () ")"))))) () ")")) (argument_list "(auStack_1d8,param_3 + 8,\n                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10))" (( "(") (identifier "auStack_1d8") (, ",") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) (, ",") (pointer_expression "*(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" (* "*") (cast_expression "(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10)" (( "(") (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10" (binary_expression "PTR_hash_descriptor_001dfeb0 + lVar2" (identifier "PTR_hash_descriptor_001dfeb0") (+ "+") (identifier "lVar2")) (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;\n        if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }\n      }" ({ "{") (expression_statement "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)\n        ;" (assignment_expression "iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))" (( "(") (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" (* "*") (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" (* "*") (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0)" (( "(") (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0" (binary_expression "PTR_hash_descriptor_001dfeb0 +\n                            (long)*(int *)(param_3 + 4) * 0xd0" (identifier "PTR_hash_descriptor_001dfeb0") (+ "+") (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (* "*") (number_literal "0xd0"))) (+ "+") (number_literal "0xb0")) () ")"))))) () ")")) (argument_list "(auStack_1d8,param_1,param_2)" (( "(") (identifier "auStack_1d8") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);\n        }" ({ "{") (expression_statement "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8);" (call_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))\n                    (auStack_1d8,param_3 + 8)" (parenthesized_expression "(**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))" (( "(") (pointer_expression "**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" (* "*") (pointer_expression "*(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" (* "*") (cast_expression "(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8)" (( "(") (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8" (binary_expression "PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0" (identifier "PTR_hash_descriptor_001dfeb0") (+ "+") (binary_expression "(long)*(int *)(param_3 + 4) * 0xd0" (cast_expression "(long)*(int *)(param_3 + 4)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*(int *)(param_3 + 4)" (* "*") (cast_expression "(int *)(param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 4)" (( "(") (binary_expression "param_3 + 4" (identifier "param_3") (+ "+") (number_literal "4")) () ")"))))) (* "*") (number_literal "0xd0"))) (+ "+") (number_literal "0xb8")) () ")"))))) () ")")) (argument_list "(auStack_1d8,param_3 + 8)" (( "(") (identifier "auStack_1d8") (, ",") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_30") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_4,type_2 var_5,type_3 *var_2)

{
  type_4 *puVar1;
  int var_7;
  long var_9;
  long var_1;
  type_5 md;
  long var_10;
  
  var_10 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("prng != NULL","src/prngs/yarrow.c",0x8b);
  }
  if (var_4 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("in != NULL","src/prngs/yarrow.c",0x8c);
  }
  if (var_5 == 0) {
                    /* WARNING: Subroutine does not return */
    var_3("inlen > 0","src/prngs/yarrow.c",0x8d);
  }
  var_7 = var_6((var_2->field_0).yarrow.hash);
  if (var_7 == 0) {
    var_7 = (**(type_6 **)(var_8 +
                        (long)(var_2->field_0).yarrow.hash * 0xd0 + 0xa8))(&md);
    if (var_7 == 0) {
      puVar1 = (type_4 *)((long)&var_2->field_0 + 8);
      var_9 = (long)(var_2->field_0).yarrow.hash * 0xd0;
      var_7 = (**(type_6 **)(var_8 + var_9 + 0xb0))
                        (&md,puVar1,*(type_7 *)(var_8 + var_9 + 0x10));
      if (var_7 == 0) {
        var_7 = (**(type_6 **)(var_8 +
                            (long)(var_2->field_0).yarrow.hash * 0xd0 + 0xb0))(&md,var_4,var_5);
        if (var_7 == 0) {
          var_7 = (**(type_6 **)(var_8 +
                              (long)(var_2->field_0).yarrow.hash * 0xd0 + 0xb8))(&md,puVar1);
        }
      }
    }
  }
  if (var_10 == *(long *)(var_1 + 0x28)) {
    return var_7;
  }
                    /* WARNING: Subroutine does not return */
  var_11();
}


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

void MASKED(long param_1,long param_2,long param_3)

{
  int iVar1;
  long lVar2;
  long in_FS_OFFSET;
  undefined1 auStack_1d8 [424];
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_3 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("prng != NULL","src/prngs/yarrow.c",0x8b);
  }
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("in != NULL","src/prngs/yarrow.c",0x8c);
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("inlen > 0","src/prngs/yarrow.c",0x8d);
  }
  iVar1 = hash_is_valid(*(undefined4 *)(param_3 + 4));
  if (iVar1 == 0) {
    iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xa8))
                      (auStack_1d8);
    if (iVar1 == 0) {
      lVar2 = (long)*(int *)(param_3 + 4) * 0xd0;
      iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0xb0))
                        (auStack_1d8,param_3 + 8,
                         *(undefined8 *)(PTR_hash_descriptor_001dfeb0 + lVar2 + 0x10));
      if (iVar1 == 0) {
        iVar1 = (**(code **)(PTR_hash_descriptor_001dfeb0 +
                            (long)*(int *)(param_3 + 4) * 0xd0 + 0xb0))(auStack_1d8,param_1,param_2)
        ;
        if (iVar1 == 0) {
          (**(code **)(PTR_hash_descriptor_001dfeb0 + (long)*(int *)(param_3 + 4) * 0xd0 + 0xb8))
                    (auStack_1d8,param_3 + 8);
        }
      }
    }
  }
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

