	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_nonsnoop
_common_nonsnoop:                       ## @common_nonsnoop
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_crypto_ablkcipher_reqtfm
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_crypto_ablkcipher_ctx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rbx
	movl	(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_crypto_ablkcipher_ivsize
	movl	%eax, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rdi
	callq	_has_ftr_sec1
	movl	%eax, %r13d
	movq	32(%r12), %rdi
	addq	$4, %rdi
	movl	28(%r12), %esi
	movl	%r14d, -72(%rbp)                ## 4-byte Spill
	movl	%r14d, %edx
	movq	%r15, %r14
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_to_talitos_ptr
	movq	32(%r12), %rdi
	addq	$8, %rdi
	movl	(%rbx), %edx
	movl	12(%rbx), %esi
	movl	%r13d, %ecx
	callq	_to_talitos_ptr
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rbx
	testq	%rbx, %rbx
	movl	$1, %edx
	cmovnel	%ebx, %edx
	movq	8(%r15), %rsi
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.1:
	cmpl	$2, %edx
	jl	LBB0_3
## %bb.2:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	24(%r15), %eax
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	callq	_sg_copy_to_buffer
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_3:
	cmpq	16(%r14), %rsi
	jne	LBB0_4
## %bb.5:
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
LBB0_6:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_dma_map_sg
	movl	%eax, %ebx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_7:
	movq	8(%r14), %rsi
	movq	32(%r15), %r8
	addq	$12, %r8
	movq	%r13, %rdi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movl	%ebx, %r9d
	pushq	$0
	pushq	$0
	callq	_talitos_sg_map
	addq	$16, %rsp
	movl	%eax, %r12d
	movq	8(%r14), %rax
	movq	16(%r14), %rsi
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	cmpq	%rsi, %rax
	je	LBB0_12
## %bb.8:
	movq	16(%r15), %rcx
	testq	%rcx, %rcx
	movl	$1, %r12d
	cmovnel	%ecx, %r12d
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.9:
	cmpl	$1, %r12d
	je	LBB0_11
## %bb.10:
	movq	%rsi, %rax
	movl	%ecx, %r12d
	jmp	LBB0_12
LBB0_11:
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_dma_map_sg
	movq	16(%r14), %rax
LBB0_12:
	leaq	32(%r15), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rbx
	movq	32(%r15), %r8
	addq	$16, %r8
	incq	%rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%r12d, %r9d
	pushq	%rbx
	pushq	$0
	callq	_talitos_sg_map
	addq	$16, %rsp
	movl	%eax, %r12d
	movq	32(%r15), %rsi
	addq	$20, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_map_single_talitos_ptr
	cmpl	$1, %r12d
	jg	LBB0_14
## %bb.13:
	cmpl	$2, -64(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_15
LBB0_14:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_dma_sync_single_for_device
LBB0_15:
	movl	4(%rbx), %esi
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_talitos_submit
	movl	%eax, %ebx
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_common_nonsnoop_unmap
	movq	%r15, %rdi
	callq	_kfree
LBB0_17:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_common_nonsnoop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_nonsnoop
_common_nonsnoop:                       ; @common_nonsnoop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.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
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_crypto_ablkcipher_reqtfm
	mov	x22, x0
	bl	_crypto_ablkcipher_ctx
	mov	x23, x0
	ldr	x21, [x0, #16]
	ldr	w26, [x20]
	mov	x0, x22
	bl	_crypto_ablkcipher_ivsize
	mov	x25, x0
	mov	x0, x21
	bl	_dev_get_drvdata
	bl	_has_ftr_sec1
	mov	x27, x0
	mov	x24, x19
	ldr	x8, [x24, #32]!
	add	x0, x8, #4
	ldur	w1, [x24, #-4]
	mov	x2, x25
	mov	x3, x27
	bl	_to_talitos_ptr
	ldr	x8, [x24]
	add	x0, x8, #8
	ldr	w1, [x23, #12]
	ldr	w2, [x23]
	mov	x3, x27
	bl	_to_talitos_ptr
	ldur	x28, [x24, #-24]
	cmp	x28, #0
	csinc	w8, w28, wzr, ne
	ldr	x1, [x20, #8]
	cmp	w27, #0
	ccmp	w8, #2, #8, ne
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	ldr	x10, [x20, #16]
Lloh2:
	adrp	x11, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x11, [x11, _DMA_TO_DEVICE@GOTPAGEOFF]
	cmp	x1, x10
	csel	x9, x9, x11, eq
	ldr	w3, [x9]
	mov	x0, x21
	mov	x2, x8
	bl	_dma_map_sg
	mov	x28, x0
	b	LBB0_3
LBB0_2:
	ldr	w2, [x19, #24]
	mov	x0, x1
	mov	x1, x8
	mov	x3, x26
	bl	_sg_copy_to_buffer
LBB0_3:
	ldr	x1, [x20, #8]
	ldr	x8, [x19, #32]
	add	x4, x8, #12
	mov	x0, x21
	mov	x2, x26
	mov	x3, x19
	mov	x5, x28
	mov	w6, #0
	mov	x7, #0
	bl	_talitos_sg_map
	mov	x28, x0
	ldp	x8, x1, [x20, #8]
Lloh4:
	adrp	x9, _DMA_FROM_DEVICE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DMA_FROM_DEVICE@GOTPAGEOFF]
	cmp	x8, x1
	b.ne	LBB0_5
; %bb.4:
	mov	x27, x9
	mov	x1, x8
	mov	x5, x28
	b	LBB0_9
LBB0_5:
	ldr	x5, [x19, #16]
	cmp	x5, #0
	csinc	w22, w5, wzr, ne
	cbz	w27, LBB0_8
; %bb.6:
	cmp	w22, #1
	b.eq	LBB0_8
; %bb.7:
	mov	x27, x9
	b	LBB0_9
LBB0_8:
	mov	x27, x9
	ldr	w3, [x9]
	mov	x0, x21
	mov	x2, x22
	bl	_dma_map_sg
	ldr	x1, [x20, #16]
	mov	x5, x22
LBB0_9:
	ldr	x8, [x19, #32]
	add	x4, x8, #16
	ldr	x8, [x19, #8]
	add	x7, x8, #1
	mov	x0, x21
	mov	x2, x26
	mov	x3, x19
                                        ; kill: def $w5 killed $w5 killed $x5
	mov	w6, #0
	bl	_talitos_sg_map
	mov	x22, x0
	ldr	x8, [x19, #32]
	add	x1, x8, #20
	ldr	w3, [x23, #8]
	ldr	w4, [x27]
	mov	x0, x21
	mov	x2, x25
	bl	_map_single_talitos_ptr
	cmp	w22, #1
	ccmp	w28, #2, #0, le
	b.lt	LBB0_11
; %bb.10:
	ldp	w2, w1, [x19]
Lloh6:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_dma_sync_single_for_device
LBB0_11:
	ldr	w1, [x23, #4]
	mov	x0, x21
	mov	x2, x24
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	mov	x4, x20
	bl	_talitos_submit
	mov	x22, x0
Lloh9:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_common_nonsnoop_unmap
	mov	x0, x19
	bl	_kfree
LBB0_13:
	mov	x0, x22
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_common_nonsnoop
.subsections_via_symbols
