	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qce_ablkcipher_async_req_handle
_qce_ablkcipher_async_req_handle:       ## @qce_ablkcipher_async_req_handle
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ablkcipher_request_cast
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ablkcipher_request_ctx
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_crypto_ablkcipher_reqtfm
	movq	%rax, %r12
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_to_cipher_tmpl
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	24(%r14), %eax
	movl	%eax, 44(%r15)
	movq	%r12, %rdi
	callq	_crypto_ablkcipher_ivsize
	movl	%eax, 40(%r15)
	movl	16(%r14), %esi
	movl	%esi, 36(%r15)
	movq	(%r14), %rbx
	movq	8(%r14), %r12
	cmpq	%r12, %rbx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	(%rax), %eax
	cmovel	%r13d, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	cmovnel	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_sg_nents_for_len
	movq	%r15, %rdx
	movl	%eax, (%r15)
	movl	%eax, %ecx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	cmpq	%r12, %rbx
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rdi
	movl	16(%r14), %esi
	movq	%rdx, %rbx
	callq	_sg_nents_for_len
	movq	%rbx, %rdx
	movl	(%rbx), %ecx
LBB0_2:
	movl	%eax, 4(%rdx)
	testl	%ecx, %ecx
	js	LBB0_3
## %bb.4:
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	incl	%eax
	movl	%eax, 4(%rdx)
	movq	_CRYPTO_TFM_REQ_MAY_SLEEP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	20(%r14), %ecx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.8:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rbx
	callq	_dev_err
	movl	(%rbx), %r12d
	jmp	LBB0_30
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rdx, %rbx
	callq	_dev_err
	xorl	%r12d, %r12d
	subl	4(%rbx), %r12d
	jmp	LBB0_30
LBB0_7:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %edx
	leaq	24(%r15), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sg_alloc_table
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.10:
	addq	$32, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
	movq	_QCE_RESULT_BUF_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_sg_init_one
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_qce_sgtable_add
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	jmp	LBB0_29
LBB0_12:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_qce_sgtable_add
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	callq	_PTR_ERR
LBB0_15:
	movl	%eax, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_14:
	callq	_sg_mark_end
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rsi
	movq	%rsi, 8(%rcx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	4(%rcx), %edx
	movl	%r13d, %ecx
	callq	_dma_map_sg
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -96(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_17
## %bb.20:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rcx
	movq	%rcx, 16(%rdi)
	movq	%rcx, %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_dma_map_sg
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movq	(%r14), %rsi
	movq	%rsi, 16(%rbx)
	movq	8(%rbx), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, %rdi
LBB0_21:
	leaq	4(%rax), %r15
	movl	(%rdi), %edx
	movl	4(%rdi), %r8d
	movq	_qce_ablkcipher_done@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	callq	_qce_dma_prep_sgs
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.22:
	movq	%r15, %rdi
	callq	_qce_dma_issue_pending
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movl	16(%r14), %edx
	xorl	%r12d, %r12d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	_qce_start
	testl	%eax, %eax
	je	LBB0_30
## %bb.23:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_qce_dma_terminate_all
	movl	%ebx, %r12d
LBB0_24:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -96(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_26
## %bb.25:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_26:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movq	(%r14), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_dma_unmap_sg
	jmp	LBB0_27
LBB0_18:
	movl	%eax, %r12d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_27:
	movq	%rbx, %rax
LBB0_28:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r15), %edi
	movq	8(%rax), %rsi
	movl	4(%rax), %edx
	movl	%r13d, %ecx
	callq	_dma_unmap_sg
LBB0_29:
	movq	%rbx, %rdi
	callq	_sg_free_table
LBB0_30:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid numbers of src SG.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid numbers of dst SG.\n"

	.comm	_CRYPTO_TFM_REQ_MAY_SLEEP,4,2   ## @CRYPTO_TFM_REQ_MAY_SLEEP
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_QCE_RESULT_BUF_SZ,4,2          ## @QCE_RESULT_BUF_SZ
	.comm	_qce_ablkcipher_done,4,2        ## @qce_ablkcipher_done
	.no_dead_strip	_qce_ablkcipher_async_req_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qce_ablkcipher_async_req_handle
_qce_ablkcipher_async_req_handle:       ; @qce_ablkcipher_async_req_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x0
	bl	_ablkcipher_request_cast
	mov	x20, x0
	bl	_ablkcipher_request_ctx
	mov	x19, x0
	mov	x0, x20
	bl	_crypto_ablkcipher_reqtfm
	mov	x22, x0
	ldr	w0, [x21]
	bl	_to_cipher_tmpl
	mov	x25, x0
	ldr	x26, [x0, #8]
	ldr	w8, [x20, #24]
	str	w8, [x19, #44]
	mov	x0, x22
	bl	_crypto_ablkcipher_ivsize
	ldr	w1, [x20, #16]
	stp	w1, w0, [x19, #36]
	ldp	x24, x22, [x20]
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
Lloh6:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w28, [x8]
	mov	x0, x24
	bl	_sg_nents_for_len
	str	w0, [x19]
	mov	x8, x0
	cmp	x24, x22
	csel	w23, w27, w23, eq
	csel	w27, w27, w28, eq
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	ldr	w1, [x20, #16]
	bl	_sg_nents_for_len
	ldr	w8, [x19]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_2:
	str	w0, [x19, #4]
	tbnz	w8, #31, LBB0_7
; %bb.3:
	tbnz	w0, #31, LBB0_8
; %bb.4:
	str	w23, [sp, #28]                  ; 4-byte Folded Spill
	add	w1, w0, #1
	str	w1, [x19, #4]
	ldr	w8, [x20, #20]
Lloh9:
	adrp	x9, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _GFP_KERNEL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _GFP_KERNEL@GOTPAGEOFF]
Lloh14:
	adrp	x11, _GFP_ATOMIC@GOTPAGE
Lloh15:
	ldr	x11, [x11, _GFP_ATOMIC@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x11, x10, eq
	ldr	w2, [x8]
	add	x23, x19, #24
	mov	x0, x23
	bl	_sg_alloc_table
	mov	x28, x0
	cbnz	w0, LBB0_26
; %bb.5:
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	add	x0, x19, #32
	mov	x28, x26
	ldr	w1, [x26, #4]!
Lloh16:
	adrp	x8, _QCE_RESULT_BUF_SZ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QCE_RESULT_BUF_SZ@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_sg_init_one
	ldr	x1, [x20, #8]
	mov	x0, x23
	bl	_qce_sgtable_add
	mov	x27, x0
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x27
	bl	_PTR_ERR
	mov	x28, x0
	mov	x0, x23
	b	LBB0_25
LBB0_7:
	ldr	w0, [x26]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w28, [x19]
	b	LBB0_26
LBB0_8:
	ldr	w0, [x26]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	w8, [x19, #4]
	neg	w28, w8
	b	LBB0_26
LBB0_9:
	str	x28, [sp]                       ; 8-byte Folded Spill
	mov	x27, x23
	mov	x0, x23
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_qce_sgtable_add
	mov	x28, x0
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x28
	bl	_PTR_ERR
	mov	x28, x0
	b	LBB0_24
LBB0_11:
	mov	x0, x28
	bl	_sg_mark_end
	ldr	x1, [x19, #24]
	str	x1, [x19, #8]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_dma_map_sg
	tbnz	w0, #31, LBB0_14
; %bb.12:
	cmp	x24, x22
	b.ne	LBB0_15
; %bb.13:
	ldr	x3, [x19, #8]
	str	x3, [x19, #16]
	mov	x1, x3
	b	LBB0_17
LBB0_14:
	mov	x28, x0
	b	LBB0_24
LBB0_15:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldr	x1, [x20]
	ldr	w2, [x19]
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	bl	_dma_map_sg
	tbnz	w0, #31, LBB0_22
; %bb.16:
	ldr	x1, [x20]
	str	x1, [x19, #16]
	ldr	x3, [x19, #8]
LBB0_17:
	ldp	w2, w4, [x19]
Lloh23:
	adrp	x8, _qce_ablkcipher_done@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qce_ablkcipher_done@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
	mov	x0, x26
	mov	x6, x21
	bl	_qce_dma_prep_sgs
	mov	x28, x0
	ldr	x23, [sp]                       ; 8-byte Folded Reload
	cbnz	w0, LBB0_20
; %bb.18:
	mov	x0, x26
	bl	_qce_dma_issue_pending
	ldr	w1, [x25]
	ldr	w2, [x20, #16]
	mov	x0, x21
	mov	w3, #0
	bl	_qce_start
	mov	x28, x0
	cbz	w0, LBB0_26
; %bb.19:
	mov	x0, x26
	bl	_qce_dma_terminate_all
LBB0_20:
	cmp	x24, x22
	b.eq	LBB0_23
; %bb.21:
	ldr	w0, [x23]
	ldr	x1, [x20]
	ldr	w2, [x19]
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	bl	_dma_unmap_sg
	b	LBB0_23
LBB0_22:
	mov	x28, x0
	ldr	x23, [sp]                       ; 8-byte Folded Reload
LBB0_23:
	ldr	w0, [x23]
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #4]
	ldr	w3, [sp, #12]                   ; 4-byte Folded Reload
	bl	_dma_unmap_sg
LBB0_24:
	mov	x0, x27
LBB0_25:
	bl	_sg_free_table
LBB0_26:
	mov	x0, x28
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid numbers of src SG.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid numbers of dst SG.\n"

	.comm	_CRYPTO_TFM_REQ_MAY_SLEEP,4,2   ; @CRYPTO_TFM_REQ_MAY_SLEEP
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_QCE_RESULT_BUF_SZ,4,2          ; @QCE_RESULT_BUF_SZ
	.comm	_qce_ablkcipher_done,4,2        ; @qce_ablkcipher_done
	.no_dead_strip	_qce_ablkcipher_async_req_handle
.subsections_via_symbols
