	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bench_run_aead
_bench_run_aead:                        ## @bench_run_aead
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -248(%rbp)                 ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edx, -188(%rbp)                ## 4-byte Spill
	movq	%rsi, -240(%rbp)                ## 8-byte Spill
	movq	%rdi, -232(%rbp)                ## 8-byte Spill
	movq	48(%rbp), %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PTLS_MAX_SECRET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	$0, -200(%rbp)
	movq	$0, -184(%rbp)
	movb	$0, -176(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, -256(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_OPENSSL_VERSION_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	sarl	$28, %edx
	movl	%eax, %ecx
	shrl	$20, %ecx
	movzbl	%cl, %ecx
	movl	%eax, %esi
	shrl	$12, %esi
	movzbl	%sil, %r8d
	shrl	$4, %eax
	addb	$96, %al
	movsbl	%al, %r9d
	leaq	L_.str.1(%rip), %rsi
	leaq	-176(%rbp), %rdi
	callq	_sprintf
LBB0_2:
	addq	%r14, (%r12)
	leal	(,%rbx,4), %edx
	movq	%r13, %rdi
	movl	$122, %esi
	callq	_memset
	movq	16(%rbp), %r15
	movq	%r15, %rdi
	movq	24(%rbp), %rbx
	movq	%rbx, %rsi
	movl	$1, %edx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_ptls_aead_new
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_ptls_aead_new
	movq	%rax, %r15
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	movq	40(%rbp), %r13
	movq	32(%rbp), %r12
	subq	$8, %rsp
	leaq	-200(%rbp), %r8
	leaq	-184(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	pushq	48(%rbp)
	callq	_bench_run_one
	addq	$16, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_BENCH_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	-200(%rbp), %rbx
	movl	-184(%rbp), %eax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_bench_mbps
	movsd	%xmm0, -208(%rbp)               ## 8-byte Spill
	movq	-184(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_bench_mbps
	movaps	%xmm0, %xmm1
	subq	$8, %rsp
	leaq	-176(%rbp), %rax
	leaq	L_.str.2(%rip), %rdi
	movq	-232(%rbp), %rsi                ## 8-byte Reload
	movq	-240(%rbp), %rdx                ## 8-byte Reload
	movl	$64, %ecx
	movq	-224(%rbp), %r8                 ## 8-byte Reload
	movl	-188(%rbp), %r9d                ## 4-byte Reload
	movsd	-208(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	pushq	-216(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	pushq	%r13
	pushq	%r12
	pushq	-248(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	pushq	-256(%rbp)                      ## 8-byte Folded Reload
	callq	_printf
	addq	$64, %rsp
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movq	_PTLS_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_ptls_aead_free
LBB0_9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_ptls_aead_free
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PTLS_MAX_SECRET_SIZE,4,2       ## @PTLS_MAX_SECRET_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"openssl"

	.comm	_OPENSSL_VERSION_NUMBER,4,2     ## @OPENSSL_VERSION_NUMBER
L_.str.1:                               ## @.str.1
	.asciz	"%d.%d.%d%c"

	.comm	_PTLS_ERROR_NO_MEMORY,4,2       ## @PTLS_ERROR_NO_MEMORY
L_.str.2:                               ## @.str.2
	.asciz	"%s, %s, %d, %s, %d, %s, %s, %s, %d, %d, %d, %d, %.2f, %.2f\n"

	.comm	_BENCH_MODE,8,3                 ## @BENCH_MODE
	.no_dead_strip	_bench_run_aead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bench_run_aead
_bench_run_aead:                        ; @bench_run_aead
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #176
	mov	x26, x7
	mov	x27, x6
	mov	x23, x5
	mov	x19, x4
	mov	x25, x3
	sub	x8, x29, #4
	stur	w2, [x8, #-256]                 ; 4-byte Folded Spill
	mov	x21, x1
	mov	x22, x0
	ldr	x24, [x29, #32]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
Lloh3:
	adrp	x8, _PTLS_MAX_SECRET_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTLS_MAX_SECRET_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	lsl	x8, x20, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x28, x9, x8
	mov	sp, x28
	stp	xzr, xzr, [x29, #-256]
	sturb	wzr, [x29, #-240]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x4
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x8, _OPENSSL_VERSION_NUMBER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OPENSSL_VERSION_NUMBER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	asr	w2, w8, #28
	ubfx	w3, w8, #20, #8
	ubfx	w4, w8, #12, #8
	lsr	w8, w8, #4
	add	w8, w8, #96
	sxtb	w5, w8
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #240
	bl	_sprintf
LBB0_2:
	ldr	x8, [x24]
	add	x8, x8, x25
	str	x8, [x24]
	lsl	w2, w20, #2
	mov	x0, x28
	mov	w1, #122
	bl	_memset
	mov	x0, x27
	mov	x1, x26
	mov	w2, #1
	mov	x3, x28
	mov	x4, #0
	bl	_ptls_aead_new
	mov	x25, x0
	mov	x0, x27
	mov	x1, x26
	mov	w2, #0
	mov	x3, x28
	mov	x4, #0
	bl	_ptls_aead_new
	mov	x26, x0
	cmp	x25, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _PTLS_ERROR_NO_MEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PTLS_ERROR_NO_MEMORY@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
	b	LBB0_6
LBB0_4:
	ldp	x27, x28, [x29, #16]
	sub	x4, x29, #248
	sub	x5, x29, #256
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
	mov	x3, x28
	mov	x6, x24
	bl	_bench_run_one
	mov	x24, x0
	cbnz	w0, LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _BENCH_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BENCH_MODE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	sub	x9, x29, #16
	stur	x8, [x9, #-256]                 ; 8-byte Folded Spill
	ldp	x20, x24, [x29, #-256]
	mov	x0, x24
	mov	x1, x28
	mov	x2, x27
	bl	_bench_mbps
	fmov	d8, d0
	ldur	x0, [x29, #-256]
	mov	x1, x28
	mov	x2, x27
	bl	_bench_mbps
	fmov	d1, d0
	sub	sp, sp, #32
	stp	w24, w20, [sp, #16]
	stp	w27, w28, [sp, #8]
	str	x23, [sp]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	sub	x7, x29, #240
	fmov	d0, d8
	mov	x1, x22
	mov	x2, x21
	mov	w3, #64
	sub	x8, x29, #16
	ldur	x4, [x8, #-256]                 ; 8-byte Folded Reload
	sub	x8, x29, #4
	ldur	w5, [x8, #-256]                 ; 4-byte Folded Reload
	mov	x6, x19
	bl	_printf
	add	sp, sp, #32
	mov	w24, #0
LBB0_6:
	cbz	x25, LBB0_8
; %bb.7:
	mov	x0, x25
	bl	_ptls_aead_free
LBB0_8:
	cbz	x26, LBB0_10
; %bb.9:
	mov	x0, x26
	bl	_ptls_aead_free
LBB0_10:
	ldur	x8, [x29, #-112]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x24
	sub	sp, x29, #96
	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
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PTLS_MAX_SECRET_SIZE,4,2       ; @PTLS_MAX_SECRET_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"openssl"

	.comm	_OPENSSL_VERSION_NUMBER,4,2     ; @OPENSSL_VERSION_NUMBER
l_.str.1:                               ; @.str.1
	.asciz	"%d.%d.%d%c"

	.comm	_PTLS_ERROR_NO_MEMORY,4,2       ; @PTLS_ERROR_NO_MEMORY
l_.str.2:                               ; @.str.2
	.asciz	"%s, %s, %d, %s, %d, %s, %s, %s, %d, %d, %d, %d, %.2f, %.2f\n"

	.comm	_BENCH_MODE,8,3                 ; @BENCH_MODE
	.no_dead_strip	_bench_run_aead
.subsections_via_symbols
