	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipher_test_enc
_cipher_test_enc:                       ## @cipher_test_enc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -112(%rbp)                ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r12
	leaq	L_.str(%rip), %rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_EVP_CIPHER_CTX_FLAG_WRAP_ALLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_set_flags
	movl	%r13d, -100(%rbp)               ## 4-byte Spill
	testl	%r13d, %r13d
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.2:
	movq	%r12, %rax
	leaq	8(%r12), %rcx
	leaq	16(%r12), %rdx
	leaq	24(%r12), %rsi
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
	xorl	%r12d, %r12d
	jmp	LBB0_59
LBB0_4:
	movq	%r12, %rdx
	leaq	16(%r12), %rax
	leaq	24(%r12), %rcx
	leaq	8(%r12), %rsi
LBB0_5:
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	(%rsi), %rbx
	movq	(%rcx), %rsi
	movq	(%rdx), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	(%rax), %r13
	leaq	(%rsi,%r14), %rax
	cmpq	$-1, %r15
	je	LBB0_8
## %bb.6:
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	%eax, %ecx
	andl	$15, %ecx
	subq	%rcx, %r15
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	%rsi, %rax
	addq	%r15, %rax
	addq	$16, %rax
	leaq	(%rax,%rcx,2), %rdi
	movq	%rsi, %rbx
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	addq	$16, %r15
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	%r14, %rax
	addq	%rbx, %rax
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,2), %rdi
	addq	%r15, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%rbx, %rdx
	jmp	LBB0_10
LBB0_8:
	movq	%rsi, %r15
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,2), %rdi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	addq	%r14, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %rdx
LBB0_10:
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	callq	_memcpy
	movq	%r12, %r15
	movq	104(%r12), %rsi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %r9d
	callq	_EVP_CipherInit_ex
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	cmpq	$0, 96(%r15)
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_18
## %bb.12:
	cmpq	$0, 32(%r15)
	je	LBB0_17
## %bb.13:
	movq	_EVP_CTRL_AEAD_SET_IVLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%r15), %edx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	jne	LBB0_18
## %bb.14:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_57
LBB0_15:
	xorl	%edi, %edi
	xorl	%r12d, %r12d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_59
LBB0_16:
	leaq	L_.str.1(%rip), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_58
LBB0_17:
	movslq	40(%r15), %r14
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_CIPHER_CTX_iv_length
	cmpq	%r14, %rax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_25
LBB0_18:
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.19:
	testl	%ebx, %ebx
	jne	LBB0_22
## %bb.20:
	movq	_EVP_CIPH_OCB_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_22
## %bb.21:
	cmpq	$0, 88(%r15)
	je	LBB0_26
LBB0_22:
	leaq	L_.str.3(%rip), %rcx
	movq	%rcx, (%r13)
LBB0_23:
	movq	_EVP_CIPH_GCM_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.24:
	xorl	%ecx, %ecx
	jmp	LBB0_27
LBB0_25:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_52
LBB0_26:
	leaq	L_.str.4(%rip), %rcx
	movq	%rcx, (%r13)
	movq	48(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_23
LBB0_27:
	movq	_EVP_CTRL_AEAD_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r15), %edx
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_53
LBB0_28:
	movq	128(%r15), %rdx
	testq	%rdx, %rdx
	jle	LBB0_30
## %bb.29:
	movq	_EVP_CTRL_SET_RC5_ROUNDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_54
LBB0_30:
	movl	120(%r15), %esi
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_set_key_length
	testl	%eax, %eax
	je	LBB0_51
## %bb.31:
	movq	64(%r15), %rdx
	testq	%rdx, %rdx
	jle	LBB0_33
## %bb.32:
	movq	_EVP_CTRL_SET_RC2_KEY_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_56
LBB0_33:
	movq	96(%r15), %r8
	movq	112(%r15), %rcx
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$-1, %r9d
	callq	_EVP_CipherInit_ex
	testl	%eax, %eax
	je	LBB0_55
## %bb.34:
	cmpq	$0, 96(%r15)
	je	LBB0_37
## %bb.35:
	movq	104(%r15), %rdi
	callq	_EVP_CIPHER_flags
	movq	_EVP_CIPH_CUSTOM_IV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_37
## %bb.36:
	movq	96(%r15), %rbx
	movslq	40(%r15), %r14
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_CIPHER_CTX_iv
	movslq	40(%r15), %rcx
	movq	%rbx, %rdi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_78
LBB0_37:
	movq	32(%r15), %rax
	movq	_EVP_CIPH_CCM_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.38:
	xorl	%r12d, %r12d
	leaq	-84(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	-136(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_77
LBB0_39:
	movq	72(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_65
## %bb.40:
	leaq	L_.str.11(%rip), %rcx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, (%rdx)
	movq	(%rax), %rcx
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_61
## %bb.41:
	testq	%rcx, %rcx
	je	LBB0_65
## %bb.42:
	xorl	%ebx, %ebx
	leaq	-88(%rbp), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	72(%r15), %rax
	movq	8(%rax,%rbx,2), %rcx
	addq	$4, %rbx
	testq	%rcx, %rcx
	je	LBB0_65
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%r15), %rax
	cmpl	$0, (%rax,%rbx)
	jle	LBB0_43
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	xorl	%r12d, %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	$1, %r8d
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_82
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=1
	incq	%r14
	movq	80(%r15), %rax
	movl	(%rax,%rbx), %r8d
	cmpl	$3, %r8d
	jl	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	72(%r15), %rax
	movq	(%rax,%rbx,2), %rcx
	addq	%r14, %rcx
	addl	$-2, %r8d
	xorl	%r12d, %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r13, %rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_82
## %bb.48:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	80(%r15), %rax
	movslq	(%rax,%rbx), %r8
	addq	%r8, %r14
	addq	$-2, %r14
LBB0_49:                                ##   in Loop: Header=BB0_44 Depth=1
	cmpl	$2, %r8d
	jl	LBB0_43
## %bb.50:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	72(%r15), %rax
	movq	(%rax,%rbx,2), %rcx
	addq	%r14, %rcx
	xorl	%r12d, %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	$1, %r8d
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	jne	LBB0_43
	jmp	LBB0_82
LBB0_51:
	leaq	L_.str.6(%rip), %rax
LBB0_52:
	movq	%rax, (%r13)
LBB0_53:
	xorl	%r12d, %r12d
	jmp	LBB0_58
LBB0_54:
	leaq	L_.str.5(%rip), %rax
	jmp	LBB0_57
LBB0_55:
	leaq	L_.str.8(%rip), %rax
	jmp	LBB0_57
LBB0_56:
	leaq	L_.str.7(%rip), %rax
LBB0_57:
	movq	%rax, (%r13)
LBB0_58:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_59:
	callq	_OPENSSL_free
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_101
## %bb.60:
	movl	%r12d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_61:
	testq	%rcx, %rcx
	je	LBB0_65
## %bb.62:
	xorl	%r12d, %r12d
	leaq	-88(%rbp), %r14
	xorl	%ebx, %ebx
LBB0_63:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%r15), %rax
	movl	(%rax,%rbx), %r8d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_82
## %bb.64:                              ##   in Loop: Header=BB0_63 Depth=1
	movq	72(%r15), %rax
	movq	8(%rax,%rbx,2), %rcx
	addq	$4, %rbx
	testq	%rcx, %rcx
	jne	LBB0_63
LBB0_65:
	cmpl	$0, -100(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_69
## %bb.66:
	movq	32(%r15), %rax
	movq	_EVP_CIPH_OCB_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_68
## %bb.67:
	cmpq	$0, 88(%r15)
	je	LBB0_69
LBB0_68:
	movq	_EVP_CTRL_AEAD_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r15), %edx
	movq	48(%r15), %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_80
LBB0_69:
	xorl	%r14d, %r14d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EVP_CIPHER_CTX_set_padding
	leaq	L_.str.12(%rip), %rax
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, (%r13)
	movl	$0, -84(%rbp)
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_75
## %bb.70:
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_87
## %bb.71:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx), %rsi
	leaq	-88(%rbp), %rdx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rcx
	movl	$1, %r8d
	callq	_EVP_CipherUpdate
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_58
## %bb.72:
	movslq	-88(%rbp), %rax
	movslq	-84(%rbp), %r14
	addq	%rax, %r14
	movl	%r14d, -84(%rbp)
	incq	%rbx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	-1(%rax), %rdx
	cmpq	$2, %rdx
	jb	LBB0_83
## %bb.73:
	addq	-112(%rbp), %r14                ## 8-byte Folded Reload
	addq	$-2, %rax
	leaq	-88(%rbp), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movq	%rax, %r12
	movl	%r12d, %r8d
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_97
## %bb.74:
	movl	-84(%rbp), %r14d
	addl	-88(%rbp), %r14d
	movl	%r14d, -84(%rbp)
	addq	%r12, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_84
LBB0_75:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx), %rsi
	leaq	-84(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	-128(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_79
## %bb.76:
	movl	-84(%rbp), %r14d
	jmp	LBB0_86
LBB0_77:
	leaq	L_.str.10(%rip), %rax
	movq	%rax, (%r13)
	jmp	LBB0_82
LBB0_78:
	leaq	L_.str.9(%rip), %rax
	movq	%rax, (%r13)
	jmp	LBB0_81
LBB0_79:
	movq	%rbx, %r14
	jmp	LBB0_53
LBB0_80:
	leaq	L_.str.4(%rip), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_81:
	xorl	%r12d, %r12d
LBB0_82:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_59
LBB0_83:
	testq	%rdx, %rdx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_87
LBB0_84:
	movslq	%r14d, %rax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	addq	%rax, %rsi
	leaq	-88(%rbp), %rdx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rcx
	movl	$1, %r8d
	callq	_EVP_CipherUpdate
	testl	%eax, %eax
	je	LBB0_58
## %bb.85:
	movl	-84(%rbp), %r14d
	addl	-88(%rbp), %r14d
	movl	%r14d, -84(%rbp)
LBB0_86:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_87:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	addq	%rax, %rbx
	movslq	%r14d, %rsi
	addq	%rbx, %rsi
	leaq	-140(%rbp), %rdx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_EVP_CipherFinal_ex
	testl	%eax, %eax
	je	LBB0_96
## %bb.88:
	movl	-140(%rbp), %r9d
	addl	-84(%rbp), %r9d
	leaq	L_.str.14(%rip), %rsi
	movq	%r13, %rdi
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	%rbx, %r8
	callq	_memory_err_compare
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_58
## %bb.89:
	cmpl	$0, -100(%rbp)                  ## 4-byte Folded Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_95
## %bb.90:
	cmpq	$0, 32(%r15)
	je	LBB0_95
## %bb.91:
	movl	56(%r15), %edi
	movl	$16, %esi
	callq	_TEST_size_t_le
	testl	%eax, %eax
	je	LBB0_98
## %bb.92:
	movq	_EVP_CTRL_AEAD_GET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	56(%r15), %edx
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_99
## %bb.93:
	movq	48(%r15), %rdx
	movl	56(%r15), %eax
	movslq	%eax, %rcx
	leaq	L_.str.17(%rip), %rsi
	leaq	-64(%rbp), %r8
	movq	%r13, %rdi
	movl	%ecx, %r9d
	callq	_memory_err_compare
	testl	%eax, %eax
	je	LBB0_58
## %bb.94:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_95:
	movq	$0, (%r13)
	movl	$1, %r12d
	jmp	LBB0_59
LBB0_96:
	leaq	L_.str.13(%rip), %rax
	jmp	LBB0_52
LBB0_97:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_59
LBB0_98:
	leaq	L_.str.15(%rip), %rax
	jmp	LBB0_57
LBB0_99:
	leaq	L_.str.16(%rip), %rax
	jmp	LBB0_57
LBB0_101:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEST_FAILURE"

	.comm	_EVP_CIPHER_CTX_FLAG_WRAP_ALLOW,4,2 ## @EVP_CIPHER_CTX_FLAG_WRAP_ALLOW
	.comm	_EVP_MAX_BLOCK_LENGTH,4,2       ## @EVP_MAX_BLOCK_LENGTH
L_.str.1:                               ## @.str.1
	.asciz	"CIPHERINIT_ERROR"

	.comm	_EVP_CTRL_AEAD_SET_IVLEN,4,2    ## @EVP_CTRL_AEAD_SET_IVLEN
L_.str.2:                               ## @.str.2
	.asciz	"INVALID_IV_LENGTH"

	.comm	_EVP_CIPH_OCB_MODE,8,3          ## @EVP_CIPH_OCB_MODE
L_.str.3:                               ## @.str.3
	.asciz	"TAG_LENGTH_SET_ERROR"

L_.str.4:                               ## @.str.4
	.asciz	"TAG_SET_ERROR"

	.comm	_EVP_CIPH_GCM_MODE,8,3          ## @EVP_CIPH_GCM_MODE
	.comm	_EVP_CTRL_AEAD_SET_TAG,4,2      ## @EVP_CTRL_AEAD_SET_TAG
	.comm	_EVP_CTRL_SET_RC5_ROUNDS,4,2    ## @EVP_CTRL_SET_RC5_ROUNDS
L_.str.5:                               ## @.str.5
	.asciz	"INVALID_ROUNDS"

L_.str.6:                               ## @.str.6
	.asciz	"INVALID_KEY_LENGTH"

	.comm	_EVP_CTRL_SET_RC2_KEY_BITS,4,2  ## @EVP_CTRL_SET_RC2_KEY_BITS
L_.str.7:                               ## @.str.7
	.asciz	"INVALID KEY BITS"

L_.str.8:                               ## @.str.8
	.asciz	"KEY_SET_ERROR"

	.comm	_EVP_CIPH_CUSTOM_IV,4,2         ## @EVP_CIPH_CUSTOM_IV
L_.str.9:                               ## @.str.9
	.asciz	"INVALID_IV"

	.comm	_EVP_CIPH_CCM_MODE,8,3          ## @EVP_CIPH_CCM_MODE
L_.str.10:                              ## @.str.10
	.asciz	"CCM_PLAINTEXT_LENGTH_SET_ERROR"

L_.str.11:                              ## @.str.11
	.asciz	"AAD_SET_ERROR"

L_.str.12:                              ## @.str.12
	.asciz	"CIPHERUPDATE_ERROR"

L_.str.13:                              ## @.str.13
	.asciz	"CIPHERFINAL_ERROR"

L_.str.14:                              ## @.str.14
	.asciz	"VALUE_MISMATCH"

L_.str.15:                              ## @.str.15
	.asciz	"TAG_LENGTH_INTERNAL_ERROR"

	.comm	_EVP_CTRL_AEAD_GET_TAG,4,2      ## @EVP_CTRL_AEAD_GET_TAG
L_.str.16:                              ## @.str.16
	.asciz	"TAG_RETRIEVE_ERROR"

L_.str.17:                              ## @.str.17
	.asciz	"TAG_VALUE_MISMATCH"

	.no_dead_strip	_cipher_test_enc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipher_test_enc
_cipher_test_enc:                       ; @cipher_test_enc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x24, [x0, #8]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x0]
	bl	_EVP_CIPHER_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _EVP_CIPHER_CTX_FLAG_WRAP_ALLOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVP_CIPHER_CTX_FLAG_WRAP_ALLOW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_set_flags
	add	x8, x24, #16
	add	x9, x24, #24
	add	x10, x24, #8
	str	w22, [sp, #24]                  ; 4-byte Folded Spill
	cmp	w22, #0
	csel	x11, x8, x24, eq
	csel	x8, x24, x8, eq
	csel	x12, x9, x10, eq
	csel	x9, x10, x9, eq
	ldr	x9, [x9]
	ldr	x26, [x12]
	ldr	x8, [x8]
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	ldr	x25, [x11]
	add	x8, x26, x23
Lloh8:
	adrp	x28, _EVP_MAX_BLOCK_LENGTH@GOTPAGE
Lloh9:
	ldr	x28, [x28, _EVP_MAX_BLOCK_LENGTH@GOTPAGEOFF]
	cmn	x20, #1
	b.eq	LBB0_8
; %bb.2:
	mov	x22, x23
	mov	x23, x27
	and	x9, x8, #0xf
	sub	x9, x20, x9
	add	x27, x9, #16
	ldrsw	x9, [x28]
	add	x8, x8, x26
	add	x8, x8, x27
	add	x0, x8, x9, lsl #1
	bl	_OPENSSL_malloc
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.3:
	add	x8, x20, x22
	add	x8, x8, x26
	ldrsw	x9, [x28]
	add	x8, x8, x9, lsl #1
	add	x0, x8, x27
	mov	x27, x23
	b	LBB0_10
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	w22, #0
LBB0_6:
	mov	x0, x20
	bl	_OPENSSL_free
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_free
	ldr	x8, [sp, #56]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_89
; %bb.7:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	ldrsw	x9, [x28]
	add	x0, x8, x9, lsl #1
	bl	_OPENSSL_malloc
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.9:
	mov	x22, x23
	add	x0, x20, x23
LBB0_10:
	str	x0, [sp]                        ; 8-byte Folded Spill
	mov	x1, x25
	mov	x2, x26
	bl	_memcpy
	ldr	x1, [x24, #104]
	mov	x0, x19
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	ldr	w28, [sp, #24]                  ; 4-byte Folded Reload
	mov	x5, x28
	bl	_EVP_CipherInit_ex
	cbz	w0, LBB0_21
; %bb.11:
	ldr	x8, [x24, #96]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_22
; %bb.13:
Lloh13:
	adrp	x8, _EVP_CTRL_AEAD_SET_IVLEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EVP_CTRL_AEAD_SET_IVLEN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x24, #40]
	mov	x0, x19
	mov	x3, #0
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_23
LBB0_14:
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_26
; %bb.15:
	cbnz	w28, LBB0_18
; %bb.16:
Lloh16:
	adrp	x9, _EVP_CIPH_OCB_MODE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EVP_CIPH_OCB_MODE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.17:
	ldr	x9, [x24, #88]
	cbz	x9, LBB0_24
LBB0_18:
Lloh19:
	adrp	x9, l_.str.3@PAGE
Lloh20:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x9, [x21]
LBB0_19:
Lloh21:
	adrp	x9, _EVP_CIPH_GCM_MODE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EVP_CIPH_GCM_MODE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_26
; %bb.20:
	mov	x3, #0
	b	LBB0_25
LBB0_21:
	mov	w22, #0
Lloh24:
	adrp	x8, l_.str.1@PAGE
Lloh25:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_22:
	ldrsw	x25, [x24, #40]
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_iv_length
	cmp	x0, x25
	b.eq	LBB0_14
LBB0_23:
	mov	w22, #0
Lloh26:
	adrp	x8, l_.str.2@PAGE
Lloh27:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_24:
Lloh28:
	adrp	x9, l_.str.4@PAGE
Lloh29:
	add	x9, x9, l_.str.4@PAGEOFF
	str	x9, [x21]
	ldr	x3, [x24, #48]
	cbz	x3, LBB0_19
LBB0_25:
Lloh30:
	adrp	x8, _EVP_CTRL_AEAD_SET_TAG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EVP_CTRL_AEAD_SET_TAG@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x24, #56]
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_5
LBB0_26:
	ldr	x2, [x24, #128]
	cmp	x2, #1
	b.lt	LBB0_28
; %bb.27:
Lloh33:
	adrp	x8, _EVP_CTRL_SET_RC5_ROUNDS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EVP_CTRL_SET_RC5_ROUNDS@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, #0
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_42
LBB0_28:
	ldr	w1, [x24, #120]
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_set_key_length
	cbz	w0, LBB0_41
; %bb.29:
	ldr	x2, [x24, #64]
	cmp	x2, #1
	b.lt	LBB0_31
; %bb.30:
Lloh36:
	adrp	x8, _EVP_CTRL_SET_RC2_KEY_BITS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EVP_CTRL_SET_RC2_KEY_BITS@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, #0
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_53
LBB0_31:
	ldr	x3, [x24, #112]
	ldr	x4, [x24, #96]
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	w5, #-1
	bl	_EVP_CipherInit_ex
	cbz	w0, LBB0_52
; %bb.32:
	ldr	x8, [x24, #96]
	cbz	x8, LBB0_35
; %bb.33:
	ldr	x0, [x24, #104]
	bl	_EVP_CIPHER_flags
Lloh39:
	adrp	x8, _EVP_CIPH_CUSTOM_IV@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EVP_CIPH_CUSTOM_IV@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_35
; %bb.34:
	ldr	x25, [x24, #96]
	ldrsw	x23, [x24, #40]
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_iv
	mov	x2, x0
	ldrsw	x3, [x24, #40]
	mov	x0, x25
	mov	x1, x23
	bl	_TEST_mem_eq
	cbz	w0, LBB0_72
LBB0_35:
	ldr	x8, [x24, #32]
Lloh42:
	adrp	x9, _EVP_CIPH_CCM_MODE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _EVP_CIPH_CCM_MODE@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.36:
	add	x2, sp, #36
	mov	x0, x19
	mov	x1, #0
	mov	x3, #0
	ldr	x4, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_70
LBB0_37:
	ldr	x8, [x24, #72]
	ldr	x9, [x8]
	cbz	x9, LBB0_58
; %bb.38:
Lloh45:
	adrp	x9, l_.str.11@PAGE
Lloh46:
	add	x9, x9, l_.str.11@PAGEOFF
	str	x9, [x21]
	ldr	x3, [x8]
	cbz	w27, LBB0_54
; %bb.39:
	cbz	x3, LBB0_58
; %bb.40:
	mov	x25, #0
	mov	x28, #0
	mov	x23, #0
	b	LBB0_45
LBB0_41:
	mov	w22, #0
Lloh47:
	adrp	x8, l_.str.6@PAGE
Lloh48:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_42:
	mov	w22, #0
Lloh49:
	adrp	x8, l_.str.5@PAGE
Lloh50:
	add	x8, x8, l_.str.5@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_43:                                ;   in Loop: Header=BB0_45 Depth=1
	mov	x23, x9
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [x24, #72]
	add	x8, x8, x25
	ldr	x3, [x8, #8]
	add	x28, x28, #4
	add	x25, x25, #8
	cbz	x3, LBB0_58
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #80]
	ldr	w8, [x8, x28]
	cmp	w8, #1
	b.lt	LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	add	x2, sp, #32
	mov	x0, x19
	mov	x1, #0
	mov	w4, #1
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=1
	mov	x9, x23
	add	x9, x23, #1
	ldr	x8, [x24, #80]
	ldr	w8, [x8, x28]
	subs	w4, w8, #2
	b.le	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [x24, #72]
	ldr	x8, [x8, x25]
	add	x3, x8, x9
	add	x2, sp, #32
	mov	x23, x9
	mov	x0, x19
	mov	x1, #0
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.49:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [x24, #80]
	ldrsw	x8, [x8, x28]
	add	x9, x8, x23
	sub	x9, x9, #2
LBB0_50:                                ;   in Loop: Header=BB0_45 Depth=1
	cmp	w8, #2
	b.lt	LBB0_43
; %bb.51:                               ;   in Loop: Header=BB0_45 Depth=1
	ldr	x8, [x24, #72]
	ldr	x8, [x8, x25]
	mov	x23, x9
	add	x3, x8, x9
	add	x2, sp, #32
	mov	x0, x19
	mov	x1, #0
	mov	w4, #1
	bl	_EVP_CipherUpdate
	cbnz	w0, LBB0_44
	b	LBB0_5
LBB0_52:
	mov	w22, #0
Lloh51:
	adrp	x8, l_.str.8@PAGE
Lloh52:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_53:
	mov	w22, #0
Lloh53:
	adrp	x8, l_.str.7@PAGE
Lloh54:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_54:
	cbz	x3, LBB0_58
; %bb.55:
	mov	x25, #0
	mov	w28, #8
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #80]
	ldr	w4, [x8, x25]
	add	x2, sp, #32
	mov	x0, x19
	mov	x1, #0
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=1
	ldr	x8, [x24, #72]
	ldr	x3, [x8, x28]
	add	x25, x25, #4
	add	x28, x28, #8
	cbnz	x3, LBB0_56
LBB0_58:
	ldr	w28, [sp, #24]                  ; 4-byte Folded Reload
	cbnz	w28, LBB0_62
; %bb.59:
	ldr	x8, [x24, #32]
Lloh55:
	adrp	x9, _EVP_CIPH_OCB_MODE@GOTPAGE
Lloh56:
	ldr	x9, [x9, _EVP_CIPH_OCB_MODE@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_61
; %bb.60:
	ldr	x8, [x24, #88]
	cbz	x8, LBB0_62
LBB0_61:
Lloh58:
	adrp	x8, _EVP_CTRL_AEAD_SET_TAG@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EVP_CTRL_AEAD_SET_TAG@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	ldr	w2, [x24, #56]
	ldr	x3, [x24, #48]
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_73
LBB0_62:
	mov	x0, x19
	mov	w1, #0
	bl	_EVP_CIPHER_CTX_set_padding
Lloh61:
	adrp	x8, l_.str.12@PAGE
Lloh62:
	add	x8, x8, l_.str.12@PAGEOFF
	str	x8, [x21]
	str	wzr, [sp, #36]
	cbz	w27, LBB0_68
; %bb.63:
	ldr	x23, [sp]                       ; 8-byte Folded Reload
	cbz	x26, LBB0_71
; %bb.64:
	add	x27, x20, x22
	add	x2, sp, #32
	mov	x0, x19
	mov	x1, x27
	mov	x3, x23
	mov	w4, #1
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.65:
	ldpsw	x8, x9, [sp, #32]
	add	x8, x9, x8
	str	w8, [sp, #36]
	add	x25, x23, #1
	sub	x9, x26, #1
	cmp	x9, #2
	b.lo	LBB0_74
; %bb.66:
	add	x1, x27, x8
	sub	x26, x26, #2
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x25
	mov	x4, x26
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.67:
	ldp	w8, w9, [sp, #32]
	add	w8, w9, w8
	str	w8, [sp, #36]
	add	x25, x25, x26
	b	LBB0_75
LBB0_68:
	add	x1, x20, x22
	add	x2, sp, #36
	mov	x0, x19
	ldr	x3, [sp]                        ; 8-byte Folded Reload
	mov	x4, x26
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.69:
	ldr	w8, [sp, #36]
	b	LBB0_77
LBB0_70:
	mov	w22, #0
Lloh63:
	adrp	x8, l_.str.10@PAGE
Lloh64:
	add	x8, x8, l_.str.10@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_71:
	mov	w8, #0
	b	LBB0_77
LBB0_72:
	mov	w22, #0
Lloh65:
	adrp	x8, l_.str.9@PAGE
Lloh66:
	add	x8, x8, l_.str.9@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_73:
	mov	w22, #0
Lloh67:
	adrp	x8, l_.str.4@PAGE
Lloh68:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_74:
	cbz	x9, LBB0_77
LBB0_75:
	add	x1, x27, w8, sxtw
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x25
	mov	w4, #1
	bl	_EVP_CipherUpdate
	cbz	w0, LBB0_5
; %bb.76:
	ldp	w8, w9, [sp, #32]
	add	w8, w9, w8
	str	w8, [sp, #36]
LBB0_77:
	add	x23, x20, x22
	add	x1, x23, w8, sxtw
	add	x2, sp, #28
	mov	x0, x19
	bl	_EVP_CipherFinal_ex
	cbz	w0, LBB0_85
; %bb.78:
	ldr	w8, [sp, #36]
	ldr	w9, [sp, #28]
	add	w5, w9, w8
Lloh69:
	adrp	x1, l_.str.14@PAGE
Lloh70:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	ldp	x2, x3, [sp, #8]                ; 16-byte Folded Reload
	mov	x4, x23
	bl	_memory_err_compare
	cbz	w0, LBB0_5
; %bb.79:
	cbz	w28, LBB0_84
; %bb.80:
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_84
; %bb.81:
	ldr	w0, [x24, #56]
	mov	w1, #16
	bl	_TEST_size_t_le
	cbz	w0, LBB0_86
; %bb.82:
Lloh71:
	adrp	x8, _EVP_CTRL_AEAD_GET_TAG@GOTPAGE
Lloh72:
	ldr	x8, [x8, _EVP_CTRL_AEAD_GET_TAG@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
	ldr	w2, [x24, #56]
	add	x3, sp, #40
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_87
; %bb.83:
	ldr	x2, [x24, #48]
	ldr	w5, [x24, #56]
	sxtw	x3, w5
Lloh74:
	adrp	x1, l_.str.17@PAGE
Lloh75:
	add	x1, x1, l_.str.17@PAGEOFF
	add	x4, sp, #40
	mov	x0, x21
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_memory_err_compare
	cbz	w0, LBB0_5
LBB0_84:
	str	xzr, [x21]
	mov	w22, #1
	b	LBB0_6
LBB0_85:
	mov	w22, #0
Lloh76:
	adrp	x8, l_.str.13@PAGE
Lloh77:
	add	x8, x8, l_.str.13@PAGEOFF
	str	x8, [x21]
	b	LBB0_6
LBB0_86:
Lloh78:
	adrp	x8, l_.str.15@PAGE
Lloh79:
	add	x8, x8, l_.str.15@PAGEOFF
	b	LBB0_88
LBB0_87:
Lloh80:
	adrp	x8, l_.str.16@PAGE
Lloh81:
	add	x8, x8, l_.str.16@PAGEOFF
LBB0_88:
	str	x8, [x21]
	b	LBB0_5
LBB0_89:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEST_FAILURE"

	.comm	_EVP_CIPHER_CTX_FLAG_WRAP_ALLOW,4,2 ; @EVP_CIPHER_CTX_FLAG_WRAP_ALLOW
	.comm	_EVP_MAX_BLOCK_LENGTH,4,2       ; @EVP_MAX_BLOCK_LENGTH
l_.str.1:                               ; @.str.1
	.asciz	"CIPHERINIT_ERROR"

	.comm	_EVP_CTRL_AEAD_SET_IVLEN,4,2    ; @EVP_CTRL_AEAD_SET_IVLEN
l_.str.2:                               ; @.str.2
	.asciz	"INVALID_IV_LENGTH"

	.comm	_EVP_CIPH_OCB_MODE,8,3          ; @EVP_CIPH_OCB_MODE
l_.str.3:                               ; @.str.3
	.asciz	"TAG_LENGTH_SET_ERROR"

l_.str.4:                               ; @.str.4
	.asciz	"TAG_SET_ERROR"

	.comm	_EVP_CIPH_GCM_MODE,8,3          ; @EVP_CIPH_GCM_MODE
	.comm	_EVP_CTRL_AEAD_SET_TAG,4,2      ; @EVP_CTRL_AEAD_SET_TAG
	.comm	_EVP_CTRL_SET_RC5_ROUNDS,4,2    ; @EVP_CTRL_SET_RC5_ROUNDS
l_.str.5:                               ; @.str.5
	.asciz	"INVALID_ROUNDS"

l_.str.6:                               ; @.str.6
	.asciz	"INVALID_KEY_LENGTH"

	.comm	_EVP_CTRL_SET_RC2_KEY_BITS,4,2  ; @EVP_CTRL_SET_RC2_KEY_BITS
l_.str.7:                               ; @.str.7
	.asciz	"INVALID KEY BITS"

l_.str.8:                               ; @.str.8
	.asciz	"KEY_SET_ERROR"

	.comm	_EVP_CIPH_CUSTOM_IV,4,2         ; @EVP_CIPH_CUSTOM_IV
l_.str.9:                               ; @.str.9
	.asciz	"INVALID_IV"

	.comm	_EVP_CIPH_CCM_MODE,8,3          ; @EVP_CIPH_CCM_MODE
l_.str.10:                              ; @.str.10
	.asciz	"CCM_PLAINTEXT_LENGTH_SET_ERROR"

l_.str.11:                              ; @.str.11
	.asciz	"AAD_SET_ERROR"

l_.str.12:                              ; @.str.12
	.asciz	"CIPHERUPDATE_ERROR"

l_.str.13:                              ; @.str.13
	.asciz	"CIPHERFINAL_ERROR"

l_.str.14:                              ; @.str.14
	.asciz	"VALUE_MISMATCH"

l_.str.15:                              ; @.str.15
	.asciz	"TAG_LENGTH_INTERNAL_ERROR"

	.comm	_EVP_CTRL_AEAD_GET_TAG,4,2      ; @EVP_CTRL_AEAD_GET_TAG
l_.str.16:                              ; @.str.16
	.asciz	"TAG_RETRIEVE_ERROR"

l_.str.17:                              ; @.str.17
	.asciz	"TAG_VALUE_MISMATCH"

	.no_dead_strip	_cipher_test_enc
.subsections_via_symbols
