	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipsec_esp
_ipsec_esp:                             ## @ipsec_esp
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movl	%edx, -96(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_crypto_aead_reqtfm
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_crypto_aead_authsize
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_crypto_aead_ctx
	movq	%rax, %r15
	movq	24(%rax), %r12
	movl	(%r14), %ecx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	xorl	%eax, %eax
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	cmovel	%r13d, %eax
	subl	%eax, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_crypto_aead_ivsize
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rdi
	callq	_has_ftr_sec1
	movq	_DESC_HDR_TYPE_IPSEC_ESP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	andl	48(%r14), %esi
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movl	%eax, %ebx
	movq	56(%r14), %rdi
	setne	%cl
	sete	%dl
	leaq	8(%rdi,%rdx,4), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	8(%rdi,%rcx,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	(%r14), %eax
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	subl	%r13d, %eax
	addl	4(%r14), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	(%r15), %esi
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movl	4(%r15), %edx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_to_talitos_ptr
	movq	40(%r14), %rax
	testq	%rax, %rax
	movl	$1, %edx
	cmovnel	%eax, %edx
	movq	8(%r15), %rsi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$2, %edx
	jl	LBB0_3
## %bb.2:
	movl	32(%r14), %ebx
	movl	16(%r15), %ecx
	addl	-104(%rbp), %ecx                ## 4-byte Folded Reload
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%ebx, %edx
	movq	%rax, %rbx
	callq	_sg_copy_to_buffer
	movq	%rbx, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_3:
	cmpq	24(%r15), %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), %rbx                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_dma_map_sg
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	leaq	48(%r14), %r13
	movq	8(%r15), %rsi
	movl	16(%r15), %edx
	movq	56(%r14), %r8
	addq	$4, %r8
	movq	%rbx, %rdi
	movq	%r14, %rcx
	movq	%r14, %rbx
	movq	%rax, %r14
	movq	%rax, %r9
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	$0
	pushq	$0
	callq	_talitos_sg_map
	addq	$16, %rsp
	movl	%eax, %r12d
	cmpl	$2, %eax
	movl	$0, %r15d
	cmovgel	%eax, %r15d
	movl	8(%rbx), %esi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_to_talitos_ptr
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %esi
	movl	8(%rax), %edx
	addl	(%rax), %esi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_to_talitos_ptr
	movl	$0, %eax
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movq	_DESC_HDR_MODE1_MDEU_CICV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	cmovnel	-48(%rbp), %eax                 ## 4-byte Folded Reload
LBB0_9:
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	cmpl	$2, %r12d
	setge	-112(%rbp)                      ## 1-byte Folded Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rsi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	56(%r13), %r8
	addq	$16, %r8
	movl	16(%r12), %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r13, %rcx
	movl	%r14d, %r9d
	pushq	$0
	pushq	%rax
	pushq	%r15
	pushq	%rbx
	callq	_talitos_sg_map_ext
	addq	$32, %rsp
	cmpl	$2, %eax
	setge	-41(%rbp)                       ## 1-byte Folded Spill
	movl	$0, %r11d
	cmovgel	%eax, %r11d
	addl	%r15d, %r11d
	movq	8(%r12), %rsi
	movq	24(%r12), %rax
	cmpq	%rax, %rsi
	movl	-96(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_15
## %bb.10:
	movq	24(%r13), %rcx
	testq	%rcx, %rcx
	movl	$1, %r14d
	cmovnel	%ecx, %r14d
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.11:
	cmpl	$1, %r14d
	je	LBB0_13
## %bb.12:
	movq	%rax, %rsi
	movl	%ecx, %r14d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_13:
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	%r14d, %edx
	movq	%r11, %rbx
	callq	_dma_map_sg
	movq	%rbx, %r11
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	24(%r12), %rsi
LBB0_14:
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_15:
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	setne	%al
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %ebx
	cmovel	%edx, %ebx
	testl	%r15d, %r15d
	sete	%cl
	cmovel	%r15d, %ebx
	movq	56(%r13), %r8
	addq	$20, %r8
	movl	16(%r12), %r10d
	movl	%edx, %r12d
	andb	%al, %cl
	movzbl	%cl, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r13, %rcx
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r11
	pushq	%r10
	movq	%r11, %rbx
	callq	_talitos_sg_map_ext
	addq	$32, %rsp
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	testl	%r15d, %r15d
	jne	LBB0_18
## %bb.16:
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.17:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rcx
	cltq
	leaq	(%rcx,%rax,4), %r13
	leaq	(%rcx,%rax,4), %rdi
	addq	$-4, %rdi
	xorl	%esi, %esi
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_to_talitos_ptr_ext_set
	movq	_DESC_PTR_LNKTBL_RET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_to_talitos_ptr_ext_set
	movq	%r13, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_to_talitos_ptr
	movq	56(%r14), %rdi
	addq	$20, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_to_talitos_ptr_ext_or
	jmp	LBB0_20
LBB0_18:
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.22:
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	orb	-112(%rbp), %cl                 ## 1-byte Folded Reload
	movzbl	%cl, %ebx
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.23:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_19:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	56(%r14), %rdi
	addq	$24, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_to_talitos_ptr
LBB0_20:
	movl	$1, %ebx
	testl	%r12d, %r12d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_26
LBB0_21:
	movq	56(%r14), %rsi
	addq	$24, %rsi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_map_single_talitos_ptr
	testl	%ebx, %ebx
	je	LBB0_27
LBB0_26:
	movl	(%r14), %esi
	movl	4(%r14), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_dma_sync_single_for_device
LBB0_27:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	12(%rax), %esi
	movq	%r13, %rdi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	%r12, %r8
	callq	_talitos_submit
	movl	%eax, %ebx
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_29
## %bb.28:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_ipsec_esp_unmap
	movq	%r14, %rdi
	callq	_kfree
LBB0_29:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	24(%r12), %rsi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	56(%r14), %r8
	addq	$24, %r8
	movq	-104(%rbp), %r10                ## 8-byte Reload
	addl	16(%r12), %r10d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movq	-136(%rbp), %r9                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%rax
	pushq	%r10
	callq	_talitos_sg_map
	addq	$16, %rsp
	testl	%ebx, %ebx
	jne	LBB0_26
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_HDR_TYPE_IPSEC_ESP,4,2    ## @DESC_HDR_TYPE_IPSEC_ESP
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_DESC_HDR_MODE1_MDEU_CICV,4,2   ## @DESC_HDR_MODE1_MDEU_CICV
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_DESC_PTR_LNKTBL_RET,4,2        ## @DESC_PTR_LNKTBL_RET
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_ipsec_esp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipsec_esp
_ipsec_esp:                             ; @ipsec_esp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x3, [sp, #24]                   ; 8-byte Folded Spill
	mov	x25, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_crypto_aead_reqtfm
	mov	x20, x0
	bl	_crypto_aead_authsize
	mov	x27, x0
	mov	x0, x20
	bl	_crypto_aead_ctx
	mov	x24, x0
	ldr	x23, [x0, #24]
	ldr	w22, [x21]
	mov	x0, x20
	bl	_crypto_aead_ivsize
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
	mov	x0, x23
	bl	_dev_get_drvdata
	bl	_has_ftr_sec1
	mov	x28, x0
	mov	x9, x19
	ldr	w8, [x9, #48]!
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	str	w25, [sp, #48]                  ; 4-byte Folded Spill
	cmp	w25, #0
	csel	w9, wzr, w27, ne
	sub	w22, w22, w9
Lloh0:
	adrp	x9, _DESC_HDR_TYPE_IPSEC_ESP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DESC_HDR_TYPE_IPSEC_ESP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w8, w9, w8
	str	w8, [sp, #76]                   ; 4-byte Folded Spill
	ldr	x0, [x19, #56]
	mov	w8, #12
	mov	w9, #8
	csel	x10, x9, x8, ne
	add	x10, x0, x10
	csel	x8, x8, x9, ne
	add	x8, x0, x8
	stp	x10, x8, [sp, #32]              ; 16-byte Folded Spill
	ldp	w20, w8, [x19]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldp	w1, w2, [x24]
	mov	x3, x28
	bl	_to_talitos_ptr
	ldr	x26, [x19, #40]
	cmp	x26, #0
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	csinc	w8, w26, wzr, ne
	ldr	x1, [x21, #8]
	str	w28, [sp, #72]                  ; 4-byte Folded Spill
	cmp	w28, #0
	ccmp	w8, #2, #8, ne
Lloh3:
	adrp	x11, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x11, [x11, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	str	w22, [sp, #68]                  ; 4-byte Folded Spill
	b.ge	LBB0_2
; %bb.1:
	ldr	x9, [x21, #24]
Lloh5:
	adrp	x10, _DMA_TO_DEVICE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DMA_TO_DEVICE@GOTPAGEOFF]
	cmp	x1, x9
	csel	x9, x11, x10, eq
	ldr	w3, [x9]
	mov	x0, x23
	mov	x2, x8
	bl	_dma_map_sg
	mov	x26, x0
	b	LBB0_3
LBB0_2:
	ldr	w2, [x19, #32]
	ldr	w9, [x21, #16]
	add	w3, w9, w22
	mov	x0, x1
	mov	x1, x8
	bl	_sg_copy_to_buffer
LBB0_3:
	sub	w28, w20, w27
	ldr	x1, [x21, #8]
	ldr	w2, [x21, #16]
	ldr	x8, [x19, #56]
	add	x4, x8, #4
	mov	x0, x23
	mov	x3, x19
	mov	x5, x26
	mov	w6, #0
	mov	w7, #0
	bl	_talitos_sg_map
	mov	x20, x0
	cmp	w0, #1
	csel	w22, w0, wzr, gt
	ldr	w1, [x19, #8]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	ldr	w25, [sp, #72]                  ; 4-byte Folded Reload
	mov	x3, x25
	bl	_to_talitos_ptr
	ldp	w8, w9, [x24]
	add	w1, w9, w8
	ldr	w2, [x24, #8]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x3, x25
	bl	_to_talitos_ptr
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_5
; %bb.4:
	mov	x25, x24
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _DESC_HDR_MODE1_MDEU_CICV@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DESC_HDR_MODE1_MDEU_CICV@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	mov	x24, x27
	csel	w8, wzr, w27, eq
	b	LBB0_6
LBB0_5:
	mov	x25, x24
	mov	x24, x27
LBB0_6:
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	add	w9, w28, w9
	str	w9, [sp, #40]                   ; 4-byte Folded Spill
	cmp	w20, #1
	cset	w9, gt
	str	w9, [sp, #32]                   ; 4-byte Folded Spill
	ldr	x1, [x21, #8]
	ldr	x9, [x19, #56]
	add	x4, x9, #16
	ldr	w6, [x21, #16]
	stp	w8, wzr, [sp]
	mov	x0, x23
	ldr	w2, [sp, #68]                   ; 4-byte Folded Reload
	mov	x3, x19
	mov	x5, x26
	mov	x7, x22
	bl	_talitos_sg_map_ext
	cmp	w0, #1
	csel	w8, w0, wzr, gt
	cset	w9, gt
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	add	w20, w8, w22
	ldr	x1, [x21, #8]
	ldr	x8, [x21, #24]
	cmp	x1, x8
	mov	x27, x24
	mov	x24, x25
	ldr	w25, [sp, #76]                  ; 4-byte Folded Reload
	b.eq	LBB0_11
; %bb.7:
	ldr	x26, [x19, #24]
	cmp	x26, #0
	csinc	w22, w26, wzr, ne
	ldr	w9, [sp, #72]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_10
; %bb.8:
	cmp	w22, #1
	b.eq	LBB0_10
; %bb.9:
	mov	x1, x8
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x9, _DMA_FROM_DEVICE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x9]
	mov	x0, x23
	mov	x1, x8
	mov	x2, x22
	bl	_dma_map_sg
	ldr	x1, [x21, #24]
	mov	x26, x22
LBB0_11:
	cmp	w25, #0
	cset	w8, ne
	ldr	w22, [sp, #48]                  ; 4-byte Folded Reload
	cmp	w22, #0
	cset	w9, eq
	cset	w10, ne
	tst	w10, w8
	csel	w10, w27, wzr, ne
	ldr	x11, [x19, #56]
	add	x4, x11, #20
	ldr	w6, [x21, #16]
	and	w8, w8, w9
	stp	w10, w8, [sp]
	mov	x0, x23
	ldr	w2, [sp, #68]                   ; 4-byte Folded Reload
	mov	x3, x19
	mov	x5, x26
	mov	x7, x20
	bl	_talitos_sg_map_ext
	add	w7, w0, w20
	cbnz	w22, LBB0_14
; %bb.12:
	cbz	w25, LBB0_14
; %bb.13:
	ldr	x8, [x19, #16]
	add	x20, x8, w7, sxtw #2
	sub	x0, x20, #4
	mov	w1, #0
	ldr	w25, [sp, #72]                  ; 4-byte Folded Reload
	mov	x2, x25
	bl	_to_talitos_ptr_ext_set
Lloh13:
	adrp	x8, _DESC_PTR_LNKTBL_RET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DESC_PTR_LNKTBL_RET@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x25
	bl	_to_talitos_ptr_ext_set
	mov	x0, x20
	ldr	w1, [sp, #40]                   ; 4-byte Folded Reload
	mov	x2, x27
	mov	x3, x25
	bl	_to_talitos_ptr
	ldr	x8, [x19, #56]
	add	x0, x8, #20
	mov	x1, x27
	mov	x2, x25
	bl	_to_talitos_ptr_ext_or
	b	LBB0_18
LBB0_14:
	cbz	w22, LBB0_17
; %bb.15:
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	orr	w20, w9, w8
	cbz	w25, LBB0_25
; %bb.16:
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_20
LBB0_17:
	ldr	x8, [x19, #56]
	add	x0, x8, #24
	ldr	w1, [sp, #40]                   ; 4-byte Folded Reload
	mov	x2, x27
	ldr	w3, [sp, #72]                   ; 4-byte Folded Reload
	bl	_to_talitos_ptr
LBB0_18:
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_21
; %bb.19:
	mov	w20, #1
LBB0_20:
	ldr	x8, [x19, #56]
	add	x1, x8, #24
	ldr	w3, [x24, #16]
Lloh16:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x0, x23
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	bl	_map_single_talitos_ptr
	cbz	w20, LBB0_22
LBB0_21:
	ldp	w1, w2, [x19]
Lloh19:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x23
	bl	_dma_sync_single_for_device
LBB0_22:
	ldr	w1, [x24, #12]
	mov	x0, x23
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x21
	bl	_talitos_submit
	mov	x20, x0
Lloh22:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_ipsec_esp_unmap
	mov	x0, x19
	bl	_kfree
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_25:
	ldr	x1, [x21, #24]
	ldr	x8, [x19, #56]
	add	x4, x8, #24
	ldr	w8, [x21, #16]
	ldr	w9, [sp, #68]                   ; 4-byte Folded Reload
	add	w6, w8, w9
	mov	x0, x23
	mov	x2, x27
	mov	x3, x19
	mov	x5, x26
	bl	_talitos_sg_map
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	cbnz	w20, LBB0_21
	b	LBB0_22
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_HDR_TYPE_IPSEC_ESP,4,2    ; @DESC_HDR_TYPE_IPSEC_ESP
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_DESC_HDR_MODE1_MDEU_CICV,4,2   ; @DESC_HDR_MODE1_MDEU_CICV
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_DESC_PTR_LNKTBL_RET,4,2        ; @DESC_PTR_LNKTBL_RET
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_ipsec_esp
.subsections_via_symbols
