	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esp_output
_esp_output:                            ## @esp_output
	.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	%rsi, %r12
	movl	(%rsi), %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r14
	movq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_crypto_aead_authsize
	movl	%eax, %r13d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_crypto_aead_blocksize
	movl	%eax, %edi
	movl	$4, %esi
	callq	_ALIGN
	addl	$2, %r15d
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ALIGN
	movl	%eax, %r15d
	movl	(%r14), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	%r15d, %edi
	callq	_ALIGN
	movl	%eax, %r15d
LBB0_2:
	addl	%r15d, %r13d
	movl	%r13d, %esi
	subl	(%r12), %esi
	leaq	-88(%rbp), %rdx
	movq	%r12, %rdi
	callq	_skb_cow_data
	movl	%eax, %r14d
	testl	%eax, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	js	LBB0_16
## %bb.3:
	movl	%r14d, %esi
	incl	%esi
	movq	%rbx, %rdi
	callq	_esp_alloc_tmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%rbx, %rdi
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_esp_tmp_iv
	movq	%rbx, %rdi
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_esp_tmp_givreq
	movq	%rbx, %rdi
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_esp_givreq_sg
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdi
	callq	_skb_tail_pointer
	movq	%rax, %rbx
	movslq	(%r12), %rdx
	movslq	%r15d, %rcx
	movq	%rcx, %rax
	subq	%rdx, %rax
	cmpl	$3, %eax
	jl	LBB0_17
## %bb.5:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdx), %rsi
	movl	%esi, (%rbx,%rdx,4)
	movslq	(%r12), %rdx
	movq	%rcx, %rax
	subq	%rdx, %rax
	addq	$-2, %rax
	movq	%rsi, %rdx
	cmpq	%rax, %rsi
	jl	LBB0_6
	jmp	LBB0_7
LBB0_17:
	addq	$-2, %rax
LBB0_7:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	$4, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, (%rbx,%rax,4)
	movq	%r12, %rdi
	callq	_skb_mac_header
	movl	(%rax), %eax
	movl	(%r12), %ecx
	notl	%ecx
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	addl	%r15d, %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%rbx,%rcx,4)
	movq	-88(%rbp), %rsi
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	subl	(%r12), %r13d
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_pskb_put
	movq	%r12, %rdi
	callq	_skb_network_offset
	negl	%eax
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_skb_push
	movq	%r12, %rdi
	callq	_ip_esp_hdr
	movq	%rax, %r15
	movq	_IPPROTO_ESP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_skb_mac_header
	movl	%ebx, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r13
	testq	%r13, %r13
	je	LBB0_12
## %bb.8:
	leaq	4(%rax), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movups	8(%r13), %xmm0
	movaps	%xmm0, -144(%rbp)               ## 16-byte Spill
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movaps	-144(%rbp), %xmm0               ## 16-byte Reload
	movups	%xmm0, 16(%r15)
	movslq	(%r12), %rbx
	movq	%r12, %rdi
	callq	_skb_transport_offset
	subq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_htons
	movl	%eax, 8(%r15)
	movq	$0, (%r15)
	cmpl	$128, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.10:
	movq	$0, 32(%r15)
	addq	$40, %r15
	jmp	LBB0_11
LBB0_9:
	addq	$32, %r15
LBB0_11:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_skb_mac_header
	movl	%ebx, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_12:
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	%r12, %rdi
	callq	_XFRM_SKB_CB
	movl	(%rax), %edi
	callq	_htonl
	movl	%eax, 8(%r15)
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_sg_init_table
	movq	(%r15), %rbx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_crypto_aead_ivsize
	addq	%rax, %rbx
	subq	8(%r12), %rbx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_skb_to_sgvec
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_sg_init_one
	movq	_esp_output_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rcx
	callq	_aead_givcrypt_set_callback
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	callq	_aead_givcrypt_set_crypt
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_aead_givcrypt_set_assoc
	movq	(%r15), %r14
	movq	%r12, %rdi
	callq	_XFRM_SKB_CB
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_aead_givcrypt_set_giv
	movq	%r12, %rdi
	callq	_ESP_SKB_CB
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	%r15, (%rax)
	movq	%rbx, %rdi
	callq	_crypto_aead_givencrypt
	movl	%eax, %r14d
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_16
## %bb.13:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_15
## %bb.14:
	movq	_NET_XMIT_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_15:
	movq	%r15, %rdi
	callq	_kfree
LBB0_16:
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IPPROTO_ESP,4,2                ## @IPPROTO_ESP
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_esp_output_done,4,2            ## @esp_output_done
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_NET_XMIT_DROP,4,2              ## @NET_XMIT_DROP
	.no_dead_strip	_esp_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esp_output
_esp_output:                            ; @esp_output
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x1
	mov	x24, x0
	ldr	w21, [x1]
	ldr	x23, [x0, #16]
	ldr	x22, [x23, #8]
	mov	x0, x22
	bl	_crypto_aead_authsize
	mov	x20, x0
	mov	x0, x22
	bl	_crypto_aead_blocksize
	mov	w1, #4
	bl	_ALIGN
	mov	x1, x0
	add	w0, w21, #2
	bl	_ALIGN
	mov	x21, x0
	ldr	w1, [x23]
	cbz	w1, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_ALIGN
	mov	x21, x0
LBB0_2:
	ldr	w8, [x19]
	add	w20, w21, w20
	sub	w1, w20, w8
	add	x2, sp, #56
	mov	x0, x19
	bl	_skb_cow_data
	mov	x25, x0
	tbnz	w0, #31, LBB0_16
; %bb.3:
	add	w1, w25, #1
	mov	x0, x22
	bl	_esp_alloc_tmp
	cbz	x0, LBB0_16
; %bb.4:
	mov	x23, x0
	mov	x0, x22
	mov	x1, x23
	bl	_esp_tmp_iv
	mov	x27, x0
	mov	x0, x22
	mov	x1, x27
	bl	_esp_tmp_givreq
	mov	x26, x0
	mov	x0, x22
	mov	x1, x26
	bl	_esp_givreq_sg
	add	x8, x0, #4
	stp	x8, x0, [sp, #32]               ; 16-byte Folded Spill
	ldr	x0, [sp, #56]
	bl	_skb_tail_pointer
	mov	x28, x0
	ldrsw	x8, [x19]
	sxtw	x9, w21
	sub	x8, x9, x8
	cmp	w8, #3
	str	x27, [sp, #48]                  ; 8-byte Folded Spill
	b.lt	LBB0_7
; %bb.5:
	mov	x10, #0
	mov	x8, x21
	sxtw	x9, w8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x10, #1
	str	w11, [x28, x10, lsl #2]
	ldrsw	x8, [x19]
	sub	x8, x9, x8
	sub	x8, x8, #2
	mov	x10, x11
	cmp	x11, x8
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
	sub	x8, x8, #2
LBB0_8:
	str	w8, [x28, x8, lsl #2]
	mov	x0, x19
	bl	_skb_mac_header
	ldr	w8, [x0]
	ldr	w9, [x19]
	mvn	w9, w9
	add	w9, w21, w9
	str	w8, [x28, w9, sxtw #2]
	ldr	x1, [sp, #56]
	ldr	w8, [x19]
	str	w20, [sp, #28]                  ; 4-byte Folded Spill
	sub	w2, w20, w8
	mov	x0, x19
	bl	_pskb_put
	mov	x0, x19
	bl	_skb_network_offset
	neg	w1, w0
	mov	x0, x19
	bl	_skb_push
	mov	x0, x19
	bl	_ip_esp_hdr
	mov	x28, x0
Lloh0:
	adrp	x8, _IPPROTO_ESP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_ESP@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_skb_mac_header
	str	w20, [x0]
	ldr	x27, [x24, #8]
	cbz	x27, LBB0_11
; %bb.9:
	stp	x26, x23, [sp, #8]              ; 16-byte Folded Spill
	add	x20, x24, #4
	mov	x0, x20
	bl	_spin_lock_bh
	ldp	x26, x23, [x27, #8]
	ldr	w27, [x27]
	mov	x0, x20
	bl	_spin_unlock_bh
	stp	x26, x23, [x28, #16]
	ldrsw	x20, [x19]
	mov	x0, x19
	bl	_skb_transport_offset
	sub	x0, x20, x0
	bl	_htons
	str	w0, [x28, #8]
	str	xzr, [x28]
	cmp	w27, #128
	b.ne	LBB0_12
; %bb.10:
	str	xzr, [x28, #32]
	add	x28, x28, #40
	b	LBB0_13
LBB0_11:
	ldr	w27, [sp, #28]                  ; 4-byte Folded Reload
	b	LBB0_14
LBB0_12:
	add	x28, x28, #32
LBB0_13:
	ldp	x26, x23, [sp, #8]              ; 16-byte Folded Reload
	ldr	w27, [sp, #28]                  ; 4-byte Folded Reload
Lloh3:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_skb_mac_header
	str	w20, [x0]
LBB0_14:
	ldr	w8, [x24]
	str	w8, [x28, #12]
	mov	x0, x19
	bl	_XFRM_SKB_CB
	ldr	w0, [x0]
	bl	_htonl
	str	w0, [x28, #8]
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x24
	mov	x1, x25
	bl	_sg_init_table
	ldr	x20, [x28]
	mov	x0, x22
	bl	_crypto_aead_ivsize
	ldr	x8, [x19, #8]
	add	x9, x0, x20
	sub	x2, x9, x8
	mov	x0, x19
	mov	x1, x24
	mov	x3, x27
	bl	_skb_to_sgvec
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x28
	mov	w2, #16
	bl	_sg_init_one
Lloh6:
	adrp	x8, _esp_output_done@GOTPAGE
Lloh7:
	ldr	x8, [x8, _esp_output_done@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x26
	mov	w1, #0
	mov	x3, x19
	bl	_aead_givcrypt_set_callback
	mov	x0, x26
	mov	x1, x24
	mov	x2, x24
	mov	x3, x21
	ldr	x4, [sp, #48]                   ; 8-byte Folded Reload
	bl	_aead_givcrypt_set_crypt
	mov	x0, x26
	mov	x1, x20
	mov	w2, #16
	bl	_aead_givcrypt_set_assoc
	ldr	x20, [x28]
	mov	x0, x19
	bl	_XFRM_SKB_CB
	ldr	w2, [x0]
	mov	x0, x26
	mov	x1, x20
	bl	_aead_givcrypt_set_giv
	mov	x0, x19
	bl	_ESP_SKB_CB
	str	x23, [x0]
	mov	x0, x26
	bl	_crypto_aead_givencrypt
	mov	x25, x0
Lloh9:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_16
; %bb.15:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _NET_XMIT_DROP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NET_XMIT_DROP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmn	w25, w8
	csel	w25, w9, w25, eq
	mov	x0, x23
	bl	_kfree
LBB0_16:
	mov	x0, x25
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IPPROTO_ESP,4,2                ; @IPPROTO_ESP
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_esp_output_done,4,2            ; @esp_output_done
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_NET_XMIT_DROP,4,2              ; @NET_XMIT_DROP
	.no_dead_strip	_esp_output
.subsections_via_symbols
