	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_rfc7539_poly1305_vectors
_test_rfc7539_poly1305_vectors:         ## @test_rfc7539_poly1305_vectors
	.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	$2120, %rsp                     ## imm = 0x848
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_POLY1305_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -2112(%rbp)               ## 8-byte Spill
	leaq	(,%rax,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -2144(%rbp)               ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -2128(%rbp)               ## 8-byte Spill
	movq	_POLY1305_KEY_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -2136(%rbp)               ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ATF_REQUIRE_KERNEL_MODULE
	leaq	L_.str(%rip), %rdi
	callq	_ATF_REQUIRE_KERNEL_MODULE
	xorl	%eax, %eax
	callq	_get_handle_fd
	movl	%eax, %r14d
	movq	_rfc7539_kats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_nitems
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	-2104(%rbp), %rax               ## 8-byte Reload
	shll	$2, %eax
	movq	%rax, -2104(%rbp)               ## 8-byte Spill
	movq	-2112(%rbp), %rax               ## 8-byte Reload
	shll	$2, %eax
	movq	%rax, -2112(%rbp)               ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movl	%r13d, -2116(%rbp)              ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %r15d
	movq	_rfc7539_kats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -2152(%rbp)               ## 8-byte Spill
	leaq	(%rax,%r12), %rdi
	movq	-2136(%rbp), %r13               ## 8-byte Reload
	movq	%r13, %rsi
	leaq	-2096(%rbp), %rdx
	movq	-2128(%rbp), %rcx               ## 8-byte Reload
	callq	_parse_vector
	movq	_CRYPTO_POLY1305@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movq	%r13, %rcx
	movq	-2104(%rbp), %r8                ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_create_session
	movl	%eax, -2120(%rbp)               ## 4-byte Spill
	movq	-2152(%rbp), %r13               ## 8-byte Reload
	movl	4(%r13,%r12), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	leaq	-2096(%rbp), %rdx
	movq	-2144(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %r8
	callq	_do_cryptop
	movq	%r15, %rdi
	movq	_rfc7539_kats@GOTPCREL(%rip), %r15
	movq	-2128(%rbp), %rsi               ## 8-byte Reload
	movq	-2112(%rbp), %rdx               ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcmp
	movl	(%r13,%r12), %ecx
	movl	%eax, %edi
	xorl	%esi, %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_ATF_CHECK_EQ_MSG
	movl	%r14d, %edi
	movl	-2120(%rbp), %esi               ## 4-byte Reload
	movl	-2116(%rbp), %r13d              ## 4-byte Reload
	callq	_destroy_session
	incq	%rbx
	movq	(%r15), %rdi
	callq	_nitems
	addq	$8, %r12
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_POLY1305_HASH_LEN,4,2          ## @POLY1305_HASH_LEN
	.comm	_POLY1305_KEY_LEN,4,2           ## @POLY1305_KEY_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cryptodev"

	.comm	_rfc7539_kats,8,3               ## @rfc7539_kats
	.comm	_CRYPTO_POLY1305,4,2            ## @CRYPTO_POLY1305
L_.str.1:                               ## @.str.1
	.asciz	"KAT %s failed:"

	.no_dead_strip	_test_rfc7539_poly1305_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_rfc7539_poly1305_vectors
_test_rfc7539_poly1305_vectors:         ; @test_rfc7539_poly1305_vectors
	.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, #2080
	mov	x19, sp
	str	w0, [x19, #12]                  ; 4-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, #-96]
Lloh3:
	adrp	x8, _POLY1305_HASH_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POLY1305_HASH_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	lsl	x8, x26, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
Lloh10:
	adrp	x8, _POLY1305_KEY_LEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _POLY1305_KEY_LEN@GOTPAGEOFF]
Lloh12:
	ldr	w27, [x8]
	lsl	x8, x27, #2
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	mov	x0, x1
	bl	_ATF_REQUIRE_KERNEL_MODULE
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ATF_REQUIRE_KERNEL_MODULE
	bl	_get_handle_fd
	mov	x24, x0
Lloh17:
	adrp	x28, _rfc7539_kats@GOTPAGE
Lloh18:
	ldr	x28, [x28, _rfc7539_kats@GOTPAGEOFF]
	ldr	x0, [x28]
	bl	_nitems
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x25, #0
	lsl	w9, w27, #2
	lsl	w8, w26, #2
	stp	w8, w9, [x19, #4]               ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	mov	x26, x28
	add	x28, x8, x20
	add	x2, x19, #16
	mov	x0, x28
	mov	x1, x23
	mov	x3, x22
	bl	_parse_vector
Lloh19:
	adrp	x8, _CRYPTO_POLY1305@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CRYPTO_POLY1305@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x24
	ldp	w4, w2, [x19, #8]               ; 8-byte Folded Reload
	mov	x3, x23
	bl	_create_session
	mov	x27, x0
	ldr	w3, [x28, #4]
	add	x2, x19, #16
	mov	x0, x24
	mov	x1, x27
	mov	x4, x21
	bl	_do_cryptop
	mov	x0, x21
	mov	x1, x22
	ldr	w2, [x19, #4]                   ; 4-byte Folded Reload
	bl	_memcmp
	ldr	w3, [x28]
	mov	x28, x26
	mov	w1, #0
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_ATF_CHECK_EQ_MSG
	mov	x0, x24
	mov	x1, x27
	bl	_destroy_session
	add	x25, x25, #1
	ldr	x0, [x26]
	bl	_nitems
	add	x20, x20, #8
	cmp	x25, x0
	b.lo	LBB0_2
LBB0_3:
	ldur	x8, [x29, #-96]
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_5
; %bb.4:
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_POLY1305_HASH_LEN,4,2          ; @POLY1305_HASH_LEN
	.comm	_POLY1305_KEY_LEN,4,2           ; @POLY1305_KEY_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cryptodev"

	.comm	_rfc7539_kats,8,3               ; @rfc7539_kats
	.comm	_CRYPTO_POLY1305,4,2            ; @CRYPTO_POLY1305
l_.str.1:                               ; @.str.1
	.asciz	"KAT %s failed:"

	.no_dead_strip	_test_rfc7539_poly1305_vectors
.subsections_via_symbols
