	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_hmac_test
_run_hmac_test:                         ## @run_hmac_test
	.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
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r12, %rdi
	movl	$60, %esi
	movl	%r13d, %edx
	callq	_memset
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movl	$60, %esi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	callq	_memset
	xorl	%eax, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*8(%rcx)
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_EVP_MD_size
	movslq	%eax, %rbx
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_EVP_MD_size
	cltq
	xorl	%edi, %edi
	cmpq	%r13, %rax
	setbe	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_alloc_buffer
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_alloc_buffer
	movq	%rax, %r15
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -152(%rbp)
	subq	$8, %rsp
	leaq	-152(%rbp), %rax
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %r8
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %r9
	pushq	%rax
	callq	_HMAC
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ERR_get_error
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ERR_error_string
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r8d
	callq	_errx
LBB0_2:
	subq	$8, %rsp
	leaq	-52(%rbp), %rax
	movq	%r13, %rdi
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	movq	%r12, %r8
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r9
	pushq	%rax
	callq	_ocf_hmac
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_MD_size
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_memcmp
	testq	%rax, %rax
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rax, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hexdump
	movl	-52(%rbp), %edi
	callq	_crfind
	leaq	L_.str.4(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r13, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_hexdump
	jmp	LBB0_7
LBB0_5:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	-52(%rbp), %edi
	callq	_crfind
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_7:
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-144(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenSSL %s (%zu) HMAC failed: %s"

L_.str.1:                               ## @.str.1
	.asciz	"%s (%zu) mismatch in trailer:\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s (%zu) mismatch:\n"

L_.str.4:                               ## @.str.4
	.asciz	"test (cryptodev device %s):\n"

	.comm	_verbose,8,3                    ## @verbose
L_.str.5:                               ## @.str.5
	.asciz	"%s (%zu) matched (cryptodev device %s)\n"

L_str:                                  ## @str
	.asciz	"control:"

	.no_dead_strip	_run_hmac_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_hmac_test
_run_hmac_test:                         ; @run_hmac_test
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x19, x1
	mov	x23, x0
	mov	x8, sp
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
	ldr	w21, [x8]
	mov	x9, x21
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x21, #15
	and	x10, x10, #0x1fffffff0
	sub	x24, x9, x10
	mov	sp, x24
	ldr	w20, [x8]
	mov	x9, x20
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	mov	x0, x24
	mov	w1, #60
	mov	x2, x21
	bl	_memset
	mov	x0, x22
	mov	w1, #60
	mov	x2, x20
	bl	_memset
	ldr	x8, [x23, #8]
	blr	x8
	mov	x27, x0
	bl	_EVP_MD_size
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x28, w0
	mov	x0, x27
	bl	_EVP_MD_size
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x21
	cset	w0, ls
	bl	_assert
	mov	x0, x28
	bl	_alloc_buffer
	mov	x25, x0
	mov	x0, x19
	bl	_alloc_buffer
	mov	x26, x0
	stur	x21, [x29, #-96]
	sub	x6, x29, #96
	mov	x0, x27
	mov	x1, x25
	mov	x2, x28
	mov	x3, x26
	mov	x4, x19
	mov	x5, x24
	bl	_HMAC
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x23]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	bl	_ERR_get_error
	mov	x1, #0
	bl	_ERR_error_string
	mov	x4, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	mov	x3, x19
	bl	_errx
LBB0_2:
	sub	x6, x29, #100
	mov	x0, x23
	mov	x1, x26
	mov	x2, x19
	mov	x3, x25
	mov	x4, x28
	mov	x5, x22
	bl	_ocf_hmac
	cbz	w0, LBB0_7
; %bb.3:
	mov	x0, x24
	mov	x1, x22
	mov	x2, x21
	bl	_memcmp
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x27
	bl	_EVP_MD_size
	mov	x2, x0
	mov	x0, x24
	mov	x1, x22
	bl	_memcmp
	ldr	x8, [x23]
Lloh11:
	adrp	x9, l_.str.2@PAGE
Lloh12:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh13:
	adrp	x10, l_.str.1@PAGE
Lloh14:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x0, x10, x9, eq
	stp	x8, x19, [sp, #-16]!
	bl	_printf
	add	sp, sp, #16
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x24
	mov	x1, x21
	mov	x2, #0
	mov	w3, #0
	bl	_hexdump
	ldur	w0, [x29, #-100]
	bl	_crfind
	str	x0, [sp, #-16]!
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	mov	w3, #0
	bl	_hexdump
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x8, _verbose@GOTPAGE
Lloh20:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x20, [x23]
	ldur	w0, [x29, #-100]
	bl	_crfind
	sub	sp, sp, #32
	stp	x19, x0, [sp, #8]
	str	x20, [sp]
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	add	sp, sp, #32
LBB0_7:
	mov	x0, x26
	bl	_free
	mov	x0, x25
	bl	_free
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenSSL %s (%zu) HMAC failed: %s"

l_.str.1:                               ; @.str.1
	.asciz	"%s (%zu) mismatch in trailer:\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s (%zu) mismatch:\n"

l_.str.4:                               ; @.str.4
	.asciz	"test (cryptodev device %s):\n"

	.comm	_verbose,8,3                    ; @verbose
l_.str.5:                               ; @.str.5
	.asciz	"%s (%zu) matched (cryptodev device %s)\n"

l_str:                                  ; @str
	.asciz	"control:"

	.no_dead_strip	_run_hmac_test
.subsections_via_symbols
