	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spacc_ablk_submit
_spacc_ablk_submit:                     ## @spacc_ablk_submit
	.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, %r13
	movq	24(%rdi), %rax
	movq	(%rax), %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %rbx
	movq	24(%r13), %rdi
	callq	_ablkcipher_request_cast
	movq	%rax, %r12
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_to_spacc_alg
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %rdi
	movq	8(%rbx), %r15
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	4(%r12), %ecx
	movl	(%r14), %r8d
	movl	$0, (%rsp)
	xorl	%r14d, %r14d
	xorl	%r9d, %r9d
	callq	_spacc_load_ctx
	movl	%eax, (%r13)
	movl	4(%r13), %edi
	movq	_SPA_SRC_PTR_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movl	8(%r13), %edi
	movq	_SPA_DST_PTR_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movq	_SPA_OFFSET_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	(%r12), %edi
	movq	_SPA_PROC_LEN_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	callq	_writel
	movq	_SPA_ICV_OFFSET_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_SPA_AUX_INFO_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_SPA_AAD_LEN_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	(%r13), %ebx
	movq	_SPA_CTRL_CTX_IDX@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	orl	(%rax), %ebx
	cmpq	$0, 16(%r13)
	jne	LBB0_1
## %bb.2:
	movq	_SPA_CTRL_KEY_EXP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_SPA_CTRL_ENCRYPT_IDX@GOTPCREL(%rip), %rax
LBB0_3:
	movb	(%rax), %al
	btsl	%eax, %ebx
	leaq	8(%r15), %rdi
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_PACKET_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mod_timer
	movq	_SPA_CTRL_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPA_SRC_PTR_REG_OFFSET,8,3     ## @SPA_SRC_PTR_REG_OFFSET
	.comm	_SPA_DST_PTR_REG_OFFSET,8,3     ## @SPA_DST_PTR_REG_OFFSET
	.comm	_SPA_OFFSET_REG_OFFSET,8,3      ## @SPA_OFFSET_REG_OFFSET
	.comm	_SPA_PROC_LEN_REG_OFFSET,8,3    ## @SPA_PROC_LEN_REG_OFFSET
	.comm	_SPA_ICV_OFFSET_REG_OFFSET,8,3  ## @SPA_ICV_OFFSET_REG_OFFSET
	.comm	_SPA_AUX_INFO_REG_OFFSET,8,3    ## @SPA_AUX_INFO_REG_OFFSET
	.comm	_SPA_AAD_LEN_REG_OFFSET,8,3     ## @SPA_AAD_LEN_REG_OFFSET
	.comm	_SPA_CTRL_CTX_IDX,4,2           ## @SPA_CTRL_CTX_IDX
	.comm	_SPA_CTRL_ENCRYPT_IDX,4,2       ## @SPA_CTRL_ENCRYPT_IDX
	.comm	_SPA_CTRL_KEY_EXP,4,2           ## @SPA_CTRL_KEY_EXP
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_PACKET_TIMEOUT,8,3             ## @PACKET_TIMEOUT
	.comm	_SPA_CTRL_REG_OFFSET,8,3        ## @SPA_CTRL_REG_OFFSET
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_spacc_ablk_submit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spacc_ablk_submit
_spacc_ablk_submit:                     ; @spacc_ablk_submit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x0, [x8]
	bl	_crypto_tfm_ctx
	mov	x21, x0
	ldr	x0, [x19, #24]
	bl	_ablkcipher_request_cast
	mov	x22, x0
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x23, [x8]
	mov	x0, x23
	bl	_to_spacc_alg
	mov	x20, x0
	mov	x0, x21
	ldr	x24, [x0, #8]!
	ldp	w2, w1, [x21]
	ldr	w3, [x22, #4]
	ldr	w4, [x23]
	mov	x5, #0
	mov	w6, #0
	bl	_spacc_load_ctx
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _SPA_SRC_PTR_REG_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPA_SRC_PTR_REG_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #8]
	ldr	x8, [x24]
Lloh3:
	adrp	x9, _SPA_DST_PTR_REG_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPA_DST_PTR_REG_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x24]
Lloh6:
	adrp	x9, _SPA_OFFSET_REG_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPA_OFFSET_REG_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w0, [x22]
	ldr	x8, [x24]
Lloh9:
	adrp	x9, _SPA_PROC_LEN_REG_OFFSET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SPA_PROC_LEN_REG_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x24]
Lloh12:
	adrp	x9, _SPA_ICV_OFFSET_REG_OFFSET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SPA_ICV_OFFSET_REG_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x24]
Lloh15:
	adrp	x9, _SPA_AUX_INFO_REG_OFFSET@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SPA_AUX_INFO_REG_OFFSET@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x24]
Lloh18:
	adrp	x9, _SPA_AAD_LEN_REG_OFFSET@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SPA_AAD_LEN_REG_OFFSET@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w8, [x20]
	ldr	w9, [x19]
Lloh21:
	adrp	x10, _SPA_CTRL_CTX_IDX@GOTPAGE
Lloh22:
	ldr	x10, [x10, _SPA_CTRL_CTX_IDX@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
	ldr	x9, [x19, #16]
Lloh24:
	adrp	x10, _SPA_CTRL_ENCRYPT_IDX@GOTPAGE
Lloh25:
	ldr	x10, [x10, _SPA_CTRL_ENCRYPT_IDX@GOTPAGEOFF]
Lloh26:
	adrp	x11, _SPA_CTRL_KEY_EXP@GOTPAGE
Lloh27:
	ldr	x11, [x11, _SPA_CTRL_KEY_EXP@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w19, w8, w9
Lloh28:
	adrp	x8, _jiffies@GOTPAGE
Lloh29:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x24, #8
Lloh30:
	ldr	x8, [x8]
Lloh31:
	adrp	x9, _PACKET_TIMEOUT@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PACKET_TIMEOUT@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	ldr	x8, [x24]
Lloh34:
	adrp	x9, _SPA_CTRL_REG_OFFSET@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SPA_CTRL_REG_OFFSET@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_writel
Lloh37:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPA_SRC_PTR_REG_OFFSET,8,3     ; @SPA_SRC_PTR_REG_OFFSET
	.comm	_SPA_DST_PTR_REG_OFFSET,8,3     ; @SPA_DST_PTR_REG_OFFSET
	.comm	_SPA_OFFSET_REG_OFFSET,8,3      ; @SPA_OFFSET_REG_OFFSET
	.comm	_SPA_PROC_LEN_REG_OFFSET,8,3    ; @SPA_PROC_LEN_REG_OFFSET
	.comm	_SPA_ICV_OFFSET_REG_OFFSET,8,3  ; @SPA_ICV_OFFSET_REG_OFFSET
	.comm	_SPA_AUX_INFO_REG_OFFSET,8,3    ; @SPA_AUX_INFO_REG_OFFSET
	.comm	_SPA_AAD_LEN_REG_OFFSET,8,3     ; @SPA_AAD_LEN_REG_OFFSET
	.comm	_SPA_CTRL_CTX_IDX,4,2           ; @SPA_CTRL_CTX_IDX
	.comm	_SPA_CTRL_ENCRYPT_IDX,4,2       ; @SPA_CTRL_ENCRYPT_IDX
	.comm	_SPA_CTRL_KEY_EXP,4,2           ; @SPA_CTRL_KEY_EXP
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_PACKET_TIMEOUT,8,3             ; @PACKET_TIMEOUT
	.comm	_SPA_CTRL_REG_OFFSET,8,3        ; @SPA_CTRL_REG_OFFSET
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_spacc_ablk_submit
.subsections_via_symbols
