
int ofb_setiv(uchar *IV,ulong len,symmetric_OFB *ofb)

{
  int iVar1;
  
  if (IV == (uchar *)0x0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);
  }
  if (ofb != (symmetric_OFB *)0x0) {
    iVar1 = cipher_is_valid(ofb->cipher);
    if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {
      ofb->padlen = 0;
      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))
                        (IV,ofb->IV,&ofb->key);
    }
    return iVar1;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);
}



undefined8 ofb_setiv(long param_1,long param_2,int *param_3)

{
  undefined8 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);
  }
  if (param_3 != (int *)0x0) {
    uVar1 = cipher_is_valid(*param_3);
    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {
      param_3[2] = 0;
      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))
                        (param_1,param_3 + 3,param_3 + 0x24);
    }
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);
}


PUSH R12
PUSH RBP
PUSH RBX
TEST RDI,RDI
JZ 0x0016e65c
MOV RBP,RDI
MOV R12,RSI
MOV RBX,RDX
TEST RDX,RDX
JZ 0x0016e674
MOV EDI,dword ptr [RDX]
CALL 0x00113d90
TEST EAX,EAX
JNZ 0x0016e657
MOVSXD RDX,dword ptr [RBX + 0x4]
MOV EAX,0x10
CMP RDX,R12
JNZ 0x0016e657
MOV dword ptr [RBX + 0x8],0x0
LEA RDX,[RBX + 0x90]
LEA RSI,[RBX + 0xc]
MOVSXD RAX,dword ptr [RBX]
LEA R12,[RAX + RAX*0x2]
SHL R12,0x6
ADD R12,qword ptr [0x001dfee8]
MOV RDI,RBP
CALL qword ptr [R12 + 0x28]
POP RBX
POP RBP
POP R12
RET
MOV EDX,0x1d
LEA RSI,[0x1c3b97]
LEA RDI,[0x1af847]
CALL 0x00114260
MOV EDX,0x1e
LEA RSI,[0x1c3b97]
LEA RDI,[0x1c3b3c]
CALL 0x00114260
(translation_unit "undefined8 ofb_setiv(long param_1,long param_2,int *param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}\n\n" (function_definition "undefined8 ofb_setiv(long param_1,long param_2,int *param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" type_identifier (function_declarator "ofb_setiv(long param_1,long param_2,int *param_3)" identifier (parameter_list "(long param_1,long param_2,int *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 "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\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("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }" { comment (expression_statement "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);" (call_expression "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" identifier (argument_list "("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" ( (string_literal ""IV != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_setiv.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }" { (expression_statement "uVar1 = cipher_is_valid(*param_3);" (assignment_expression "uVar1 = cipher_is_valid(*param_3)" identifier = (call_expression "cipher_is_valid(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }" if (parenthesized_expression "(((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2))" ( (binary_expression "((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)" (parenthesized_expression "((int)uVar1 == 0)" ( (binary_expression "(int)uVar1 == 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) && (parenthesized_expression "(uVar1 = 0x10, param_3[1] == param_2)" ( (comma_expression "uVar1 = 0x10, param_3[1] == param_2" (assignment_expression "uVar1 = 0x10" identifier = number_literal) , (binary_expression "param_3[1] == param_2" (subscript_expression "param_3[1]" identifier [ number_literal ]) == identifier)) ))) )) (compound_statement "{\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }" { (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);" (assignment_expression "uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0" identifier + (binary_expression "(long)*param_3 * 0xc0" (cast_expression "(long)*param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_3" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(param_1,param_3 + 3,param_3 + 0x24)" ( identifier , (binary_expression "param_3 + 3" identifier + number_literal) , (binary_expression "param_3 + 0x24" identifier + number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" identifier (argument_list "("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" ( (string_literal ""ofb != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_setiv.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int ofb_setiv(uchar *IV,ulong len,symmetric_OFB *ofb)\n\n{\n  int iVar1;\n  \n  if (IV == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (ofb != (symmetric_OFB *)0x0) {\n    iVar1 = cipher_is_valid(ofb->cipher);\n    if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}\n\n" (function_definition "int ofb_setiv(uchar *IV,ulong len,symmetric_OFB *ofb)\n\n{\n  int iVar1;\n  \n  if (IV == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (ofb != (symmetric_OFB *)0x0) {\n    iVar1 = cipher_is_valid(ofb->cipher);\n    if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" primitive_type (function_declarator "ofb_setiv(uchar *IV,ulong len,symmetric_OFB *ofb)" identifier (parameter_list "(uchar *IV,ulong len,symmetric_OFB *ofb)" ( (parameter_declaration "uchar *IV" type_identifier (pointer_declarator "*IV" * identifier)) , (parameter_declaration "ulong len" type_identifier identifier) , (parameter_declaration "symmetric_OFB *ofb" type_identifier (pointer_declarator "*ofb" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (IV == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (ofb != (symmetric_OFB *)0x0) {\n    iVar1 = cipher_is_valid(ofb->cipher);\n    if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }\n    return iVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (IV == (uchar *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }" if (parenthesized_expression "(IV == (uchar *)0x0)" ( (binary_expression "IV == (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("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }" { comment (expression_statement "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);" (call_expression "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" identifier (argument_list "("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" ( (string_literal ""IV != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_setiv.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (ofb != (symmetric_OFB *)0x0) {\n    iVar1 = cipher_is_valid(ofb->cipher);\n    if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }\n    return iVar1;\n  }" if (parenthesized_expression "(ofb != (symmetric_OFB *)0x0)" ( (binary_expression "ofb != (symmetric_OFB *)0x0" identifier != (cast_expression "(symmetric_OFB *)0x0" ( (type_descriptor "symmetric_OFB *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = cipher_is_valid(ofb->cipher);\n    if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }\n    return iVar1;\n  }" { (expression_statement "iVar1 = cipher_is_valid(ofb->cipher);" (assignment_expression "iVar1 = cipher_is_valid(ofb->cipher)" identifier = (call_expression "cipher_is_valid(ofb->cipher)" identifier (argument_list "(ofb->cipher)" ( (field_expression "ofb->cipher" identifier -> field_identifier) )))) ;) (if_statement "if ((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)) {\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }" if (parenthesized_expression "((iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len))" ( (binary_expression "(iVar1 == 0) && (iVar1 = 0x10, (long)ofb->blocklen == len)" (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = 0x10, (long)ofb->blocklen == len)" ( (comma_expression "iVar1 = 0x10, (long)ofb->blocklen == len" (assignment_expression "iVar1 = 0x10" identifier = number_literal) , (binary_expression "(long)ofb->blocklen == len" (cast_expression "(long)ofb->blocklen" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->blocklen" identifier -> field_identifier)) == identifier)) ))) )) (compound_statement "{\n      ofb->padlen = 0;\n      iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);\n    }" { (expression_statement "ofb->padlen = 0;" (assignment_expression "ofb->padlen = 0" (field_expression "ofb->padlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key);" (assignment_expression "iVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))\n                        (IV,ofb->IV,&ofb->key)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)ofb->cipher * 0xc0" identifier + (binary_expression "(long)ofb->cipher * 0xc0" (cast_expression "(long)ofb->cipher" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "ofb->cipher" identifier -> field_identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(IV,ofb->IV,&ofb->key)" ( identifier , (field_expression "ofb->IV" identifier -> field_identifier) , (pointer_expression "&ofb->key" & (field_expression "ofb->key" identifier -> field_identifier)) )))) ;) })) (return_statement "return iVar1;" return identifier ;) })) comment (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" identifier (argument_list "("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" ( (string_literal ""ofb != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_setiv.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "undefined8 ofb_setiv(long param_1,long param_2,int *param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    \n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}\n\n" (function_definition "undefined8 ofb_setiv(long param_1,long param_2,int *param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    \n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" type_identifier (function_declarator "ofb_setiv(long param_1,long param_2,int *param_3)" identifier (parameter_list "(long param_1,long param_2,int *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 "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    \n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }" { (expression_statement "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);" (call_expression "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" identifier (argument_list "("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" ( (string_literal ""IV != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_setiv.c"" " string_content ") , number_literal ))) ;) })) (if_statement "if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }" { (expression_statement "uVar1 = cipher_is_valid(*param_3);" (assignment_expression "uVar1 = cipher_is_valid(*param_3)" identifier = (call_expression "cipher_is_valid(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }" if (parenthesized_expression "(((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2))" ( (binary_expression "((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)" (parenthesized_expression "((int)uVar1 == 0)" ( (binary_expression "(int)uVar1 == 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) && (parenthesized_expression "(uVar1 = 0x10, param_3[1] == param_2)" ( (comma_expression "uVar1 = 0x10, param_3[1] == param_2" (assignment_expression "uVar1 = 0x10" identifier = number_literal) , (binary_expression "param_3[1] == param_2" (subscript_expression "param_3[1]" identifier [ number_literal ]) == identifier)) ))) )) (compound_statement "{\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }" { (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);" (assignment_expression "uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24)" identifier = (call_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))" ( (pointer_expression "**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" * (pointer_expression "*(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" * (cast_expression "(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" ( (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0" identifier + (binary_expression "(long)*param_3 * 0xc0" (cast_expression "(long)*param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_3" * identifier)) * number_literal)) + number_literal) ))))) )) (argument_list "(param_1,param_3 + 3,param_3 + 0x24)" ( identifier , (binary_expression "param_3 + 3" identifier + number_literal) , (binary_expression "param_3 + 0x24" identifier + number_literal) )))) ;) })) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" identifier (argument_list "("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" ( (string_literal ""ofb != NULL"" " string_content ") , (string_literal ""src/modes/ofb/ofb_setiv.c"" " string_content ") , number_literal ))) ;) })))
(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 TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) == IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_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 + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) * LIT)) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) ;) })) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "undefined8 ofb_setiv(long param_1,long param_2,int *param_3)\n\n{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    \n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" (type_identifier "undefined8") (function_declarator "ofb_setiv(long param_1,long param_2,int *param_3)" (identifier "ofb_setiv") (parameter_list "(long param_1,long param_2,int *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 "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  \n  if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }\n  if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }\n                    \n  crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\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("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);\n  }" ({ "{") (expression_statement "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);" (call_expression "crypt_argchk("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" (identifier "crypt_argchk") (argument_list "("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d)" (( "(") (string_literal ""IV != NULL"" (" """) (string_content "IV != NULL") (" """)) (, ",") (string_literal ""src/modes/ofb/ofb_setiv.c"" (" """) (string_content "src/modes/ofb/ofb_setiv.c") (" """)) (, ",") (number_literal "0x1d") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_3 != (int *)0x0) {\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar1 = cipher_is_valid(*param_3);\n    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = cipher_is_valid(*param_3);" (assignment_expression "uVar1 = cipher_is_valid(*param_3)" (identifier "uVar1") (= "=") (call_expression "cipher_is_valid(*param_3)" (identifier "cipher_is_valid") (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")))) (; ";")) (if_statement "if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }" (if "if") (parenthesized_expression "(((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2))" (( "(") (binary_expression "((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)" (parenthesized_expression "((int)uVar1 == 0)" (( "(") (binary_expression "(int)uVar1 == 0" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar1 = 0x10, param_3[1] == param_2)" (( "(") (comma_expression "uVar1 = 0x10, param_3[1] == param_2" (assignment_expression "uVar1 = 0x10" (identifier "uVar1") (= "=") (number_literal "0x10")) (, ",") (binary_expression "param_3[1] == param_2" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (== "==") (identifier "param_2"))) () ")"))) () ")")) (compound_statement "{\n      param_3[2] = 0;\n      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);\n    }" ({ "{") (expression_statement "param_3[2] = 0;" (assignment_expression "param_3[2] = 0" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24);" (assignment_expression "uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))\n                        (param_1,param_3 + 3,param_3 + 0x24)" (parenthesized_expression "(**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))" (( "(") (pointer_expression "**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" (* "*") (pointer_expression "*(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" (* "*") (cast_expression "(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28)" (( "(") (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28" (binary_expression "PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0" (identifier "PTR_cipher_descriptor_001dfee8") (+ "+") (binary_expression "(long)*param_3 * 0xc0" (cast_expression "(long)*param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (* "*") (number_literal "0xc0"))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_1,param_3 + 3,param_3 + 0x24)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_3 + 3" (identifier "param_3") (+ "+") (number_literal "3")) (, ",") (binary_expression "param_3 + 0x24" (identifier "param_3") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);" (call_expression "crypt_argchk("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" (identifier "crypt_argchk") (argument_list "("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e)" (( "(") (string_literal ""ofb != NULL"" (" """) (string_content "ofb != NULL") (" """)) (, ",") (string_literal ""src/modes/ofb/ofb_setiv.c"" (" """) (string_content "src/modes/ofb/ofb_setiv.c") (" """)) (, ",") (number_literal "0x1e") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_1,type_2 var_6,type_3 *var_3)

{
  int var_5;
  
  if (var_1 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("IV != NULL","src/modes/ofb/ofb_setiv.c",0x1d);
  }
  if (var_3 != (type_3 *)0x0) {
    var_5 = var_4(var_3->cipher);
    if ((var_5 == 0) && (var_5 = 0x10, (long)var_3->blocklen == var_6)) {
      var_3->padlen = 0;
      var_5 = (**(type_4 **)(var_7 + (long)var_3->cipher * 0xc0 + 0x28))
                        (var_1,var_3->var_1,&var_3->key);
    }
    return var_5;
  }
                    /* WARNING: Subroutine does not return */
  var_2("ofb != NULL","src/modes/ofb/ofb_setiv.c",0x1e);
}


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

undefined8 MASKED(long param_1,long param_2,int *param_3)

{
  undefined8 uVar1;
  
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    crypt_argchk("IV != NULL","src/modes/ofb/MASKED.c",0x1d);
  }
  if (param_3 != (int *)0x0) {
    uVar1 = cipher_is_valid(*param_3);
    if (((int)uVar1 == 0) && (uVar1 = 0x10, param_3[1] == param_2)) {
      param_3[2] = 0;
      uVar1 = (**(code **)(PTR_cipher_descriptor_001dfee8 + (long)*param_3 * 0xc0 + 0x28))
                        (param_1,param_3 + 3,param_3 + 0x24);
    }
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("ofb != NULL","src/modes/ofb/MASKED.c",0x1e);
}

