	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipher_test_run
_cipher_test_run:                       ## @cipher_test_run
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	cmpl	$0, 24(%r12)
	je	LBB0_1
## %bb.3:
	cmpl	$0, 20(%r12)
	je	LBB0_4
LBB0_7:
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.8:
	cmpl	$0, 16(%r12)
	je	LBB0_9
LBB0_10:
	leaq	L_.str.7(%rip), %r13
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	leaq	_cipher_test_run.aux_err(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	leaq	L_.str.4(%rip), %r15
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	leaq	L_.str.6(%rip), %r14
	cmoveq	%r13, %r14
	movq	$-1, %r13
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_cipher_test_enc
	cmpl	$1, %eax
	jne	LBB0_17
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%r13
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$-1, %r13
	je	LBB0_32
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	$2, %r13
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	testq	%r13, %r13
	leaq	L_.str.4(%rip), %r8
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r8
	leaq	_cipher_test_run.aux_err(%rip), %rdi
	movl	$64, %esi
	leaq	L_.str.8(%rip), %rdx
	movq	%r15, %rcx
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_BIO_snprintf
	cmpl	$0, 8(%r12)
	jne	LBB0_16
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=2
	leaq	_cipher_test_run.aux_err(%rip), %rdi
	movl	$64, %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_BIO_snprintf
	cmpl	$0, 8(%r12)
	je	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_cipher_test_enc
	cmpl	$1, %eax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$1, 8(%r12)
	jne	LBB0_19
	jmp	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdx
	cmpq	$1, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%eax, %eax
	jne	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %rax
	movq	_EVP_CIPH_CCM_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %r13
	je	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	12(%r12), %edi
	callq	_EVP_CIPHER_mode
	movq	_EVP_CIPH_SIV_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	12(%r12), %edi
	callq	_EVP_CIPHER_mode
	movq	_EVP_CIPH_XTS_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	12(%r12), %edi
	callq	_EVP_CIPHER_mode
	movq	_EVP_CIPH_WRAP_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%edx, %edx
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %r13
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$2, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_11
LBB0_30:
	movq	$0, 8(%r14)
	movl	$1, %eax
	jmp	LBB0_31
LBB0_17:
	notl	%eax
	shrl	$31, %eax
	jmp	LBB0_31
LBB0_1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movl	12(%r12), %edi
	callq	_EVP_CIPHER_iv_length
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	12(%r12), %edi
	callq	_EVP_CIPHER_mode
	movq	_EVP_CIPH_WRAP_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	leaq	L_.str.2(%rip), %rax
LBB0_2:
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_31:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NO_KEY"

	.comm	_EVP_CIPH_WRAP_MODE,8,3         ## @EVP_CIPH_WRAP_MODE
L_.str.1:                               ## @.str.1
	.asciz	"NO_IV"

L_.str.2:                               ## @.str.2
	.asciz	"NO_TAG"

.zerofill __DATA,__bss,_cipher_test_run.aux_err,64,4 ## @cipher_test_run.aux_err
L_.str.3:                               ## @.str.3
	.asciz	"%s in-place, %sfragmented"

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

L_.str.5:                               ## @.str.5
	.asciz	"aligned"

L_.str.6:                               ## @.str.6
	.space	1

L_.str.7:                               ## @.str.7
	.asciz	"not "

L_.str.8:                               ## @.str.8
	.asciz	"%s output and %s input, %sfragmented"

	.comm	_EVP_CIPH_CCM_MODE,8,3          ## @EVP_CIPH_CCM_MODE
	.comm	_EVP_CIPH_SIV_MODE,8,3          ## @EVP_CIPH_SIV_MODE
	.comm	_EVP_CIPH_XTS_MODE,8,3          ## @EVP_CIPH_XTS_MODE
	.no_dead_strip	_cipher_test_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipher_test_run
_cipher_test_run:                       ; @cipher_test_run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	ldr	x28, [x0, #16]
	ldr	w8, [x28, #24]
	cbz	w8, LBB0_25
; %bb.1:
	ldr	w8, [x28, #20]
	cbz	w8, LBB0_26
LBB0_2:
	ldr	x8, [x28]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x28, #16]
	cbz	w8, LBB0_29
LBB0_4:
	mov	x23, #0
	mov	w24, #0
Lloh0:
	adrp	x20, _cipher_test_run.aux_err@PAGE
Lloh1:
	add	x20, x20, _cipher_test_run.aux_err@PAGEOFF
Lloh2:
	adrp	x21, l_.str.4@PAGE
Lloh3:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh4:
	adrp	x22, l_.str.5@PAGE
Lloh5:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh6:
	adrp	x26, l_.str.6@PAGE
Lloh7:
	add	x26, x26, l_.str.6@PAGEOFF
Lloh8:
	adrp	x27, l_.str.7@PAGE
Lloh9:
	add	x27, x27, l_.str.7@PAGEOFF
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	str	x20, [x19, #8]
	cmp	x23, #0
	csel	x25, x22, x21, eq
	cmp	w24, #0
	csel	x26, x27, x26, eq
	mov	x27, #-1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x19
	mov	w1, #0
	mov	x2, x23
	mov	x3, x27
	mov	x4, x24
	bl	_cipher_test_enc
	cmp	w0, #1
	b.ne	LBB0_24
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x27, x27, #1
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmn	x27, #1
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	x27, #2
	b.eq	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	cmp	x27, #0
	csel	x4, x22, x21, eq
	str	x26, [sp]
	mov	x0, x20
	mov	w1, #64
Lloh10:
	adrp	x2, l_.str.8@PAGE
Lloh11:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x3, x25
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x20
	mov	w1, #64
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x25
	mov	x4, x26
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=2
	bl	_BIO_snprintf
	ldr	w8, [x28, #8]
	cbz	w8, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x19
	mov	w1, #1
	mov	x2, x23
	mov	x3, x27
	mov	x4, x24
	bl	_cipher_test_enc
	cmp	w0, #1
	b.ne	LBB0_24
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x28, #8]
	cmp	w8, #1
	b.ne	LBB0_6
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x23, #1
	b.ne	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w24, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
Lloh14:
	adrp	x9, _EVP_CIPH_CCM_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EVP_CIPH_CCM_MODE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh17:
	adrp	x26, l_.str.6@PAGE
Lloh18:
	add	x26, x26, l_.str.6@PAGEOFF
Lloh19:
	adrp	x27, l_.str.7@PAGE
Lloh20:
	add	x27, x27, l_.str.7@PAGEOFF
	b.eq	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28, #12]
	bl	_EVP_CIPHER_mode
Lloh21:
	adrp	x8, _EVP_CIPH_SIV_MODE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EVP_CIPH_SIV_MODE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28, #12]
	bl	_EVP_CIPHER_mode
Lloh24:
	adrp	x8, _EVP_CIPH_XTS_MODE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVP_CIPH_XTS_MODE@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28, #12]
	bl	_EVP_CIPHER_mode
Lloh27:
	adrp	x8, _EVP_CIPH_WRAP_MODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EVP_CIPH_WRAP_MODE@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, #0
	mov	w24, #1
	cmp	x23, #2
	b.lo	LBB0_5
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
Lloh30:
	adrp	x26, l_.str.6@PAGE
Lloh31:
	add	x26, x26, l_.str.6@PAGEOFF
Lloh32:
	adrp	x27, l_.str.7@PAGE
Lloh33:
	add	x27, x27, l_.str.7@PAGEOFF
	cmp	x23, #2
	b.lo	LBB0_5
LBB0_23:
	str	xzr, [x19, #8]
	mov	w0, #1
	b	LBB0_31
LBB0_24:
	mvn	w8, w0
	lsr	w0, w8, #31
	b	LBB0_31
LBB0_25:
	mov	w0, #0
Lloh34:
	adrp	x8, l_.str@PAGE
Lloh35:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_30
LBB0_26:
	ldr	w0, [x28, #12]
	bl	_EVP_CIPHER_iv_length
	cbz	x0, LBB0_2
; %bb.27:
	ldr	w0, [x28, #12]
	bl	_EVP_CIPHER_mode
Lloh36:
	adrp	x8, _EVP_CIPH_WRAP_MODE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EVP_CIPH_WRAP_MODE@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.28:
	mov	w0, #0
Lloh39:
	adrp	x8, l_.str.1@PAGE
Lloh40:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_29:
	mov	w0, #0
Lloh41:
	adrp	x8, l_.str.2@PAGE
Lloh42:
	add	x8, x8, l_.str.2@PAGEOFF
LBB0_30:
	str	x8, [x19]
LBB0_31:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NO_KEY"

	.comm	_EVP_CIPH_WRAP_MODE,8,3         ; @EVP_CIPH_WRAP_MODE
l_.str.1:                               ; @.str.1
	.asciz	"NO_IV"

l_.str.2:                               ; @.str.2
	.asciz	"NO_TAG"

.zerofill __DATA,__bss,_cipher_test_run.aux_err,64,0 ; @cipher_test_run.aux_err
l_.str.3:                               ; @.str.3
	.asciz	"%s in-place, %sfragmented"

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

l_.str.5:                               ; @.str.5
	.asciz	"aligned"

l_.str.6:                               ; @.str.6
	.space	1

l_.str.7:                               ; @.str.7
	.asciz	"not "

l_.str.8:                               ; @.str.8
	.asciz	"%s output and %s input, %sfragmented"

	.comm	_EVP_CIPH_CCM_MODE,8,3          ; @EVP_CIPH_CCM_MODE
	.comm	_EVP_CIPH_SIV_MODE,8,3          ; @EVP_CIPH_SIV_MODE
	.comm	_EVP_CIPH_XTS_MODE,8,3          ; @EVP_CIPH_XTS_MODE
	.no_dead_strip	_cipher_test_run
.subsections_via_symbols
