	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esp_input_done2
_esp_input_done2:                       ## @esp_input_done2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_xfrm_input_state
	movq	%rax, %r12
	movq	24(%rax), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_crypto_aead_authsize
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_crypto_aead_ivsize
	movl	%eax, %r15d
	movl	(%r13), %ebx
	movq	%r13, %rdi
	callq	_ESP_SKB_CB
	movl	(%rax), %edi
	callq	_kfree
	movl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	addl	$4, %r15d
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	subl	%r15d, %ebx
	movl	(%r13), %esi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	subl	%r15d, %esi
	addl	$-2, %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	$2, %ecx
	callq	_skb_copy_bits
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_BUG
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	-56(%rbp), %r14d
	leal	(%r14,%r15), %eax
	addl	$2, %eax
	cmpl	%ebx, %eax
	jge	LBB0_4
## %bb.5:
	movq	%r12, %rbx
	addl	%r15d, %r14d
	movq	%r13, %rdi
	callq	_ip_hdr
	movslq	(%rax), %r12
	shlq	$2, %r12
	movq	16(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_11
## %bb.6:
	movq	%r13, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_skb_network_header
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rax,%r12), %rdx
	cmpq	8(%rbx), %rcx
	jne	LBB0_8
## %bb.7:
	cmpq	(%r15), %rdx
	je	LBB0_9
LBB0_8:
	movq	%rcx, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_km_new_mapping
LBB0_9:
	movq	(%rbx), %rax
	movq	_XFRM_MODE_TRANSPORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
LBB0_11:
	movl	(%r13), %esi
	subl	%r14d, %esi
	addl	$-2, %esi
	movq	%r13, %rdi
	callq	_pskb_trim
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	___skb_pull
	negl	%r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_set_transport_header
	movl	-52(%rbp), %r14d
	movq	_IPPROTO_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_13
## %bb.12:
	xorl	%r14d, %r14d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_13
LBB0_4:
	xorl	%r14d, %r14d
	subl	(%rcx), %r14d
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XFRM_MODE_TRANSPORT,8,3        ## @XFRM_MODE_TRANSPORT
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_IPPROTO_NONE,4,2               ## @IPPROTO_NONE
	.no_dead_strip	_esp_input_done2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esp_input_done2
_esp_input_done2:                       ; @esp_input_done2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_xfrm_input_state
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x23, [x8]
	mov	x0, x23
	bl	_crypto_aead_authsize
	mov	x22, x0
	mov	x0, x23
	bl	_crypto_aead_ivsize
	mov	x23, x0
	ldr	w24, [x19]
	mov	x0, x19
	bl	_ESP_SKB_CB
	ldr	w0, [x0]
	bl	_kfree
	mov	x0, x21
	bl	_unlikely
	cbnz	x0, LBB0_12
; %bb.1:
	add	w21, w23, #4
	sub	w24, w24, w21
	ldr	w8, [x19]
	sub	w8, w8, w22
	sub	w1, w8, #2
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #2
	bl	_skb_copy_bits
	cbz	x0, LBB0_3
; %bb.2:
	bl	_BUG
LBB0_3:
Lloh3:
	adrp	x23, _EINVAL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
	ldr	w8, [sp, #16]
	add	w25, w8, w22
	add	w8, w25, #2
	cmp	w8, w24
	b.ge	LBB0_11
; %bb.4:
	mov	x0, x19
	bl	_ip_hdr
	ldrsw	x8, [x0]
	lsl	x24, x8, #2
	ldr	x26, [x20, #16]
	cbz	x26, LBB0_10
; %bb.5:
	mov	x22, x0
	mov	x0, x19
	bl	_skb_network_header
	ldr	x8, [x22, #8]
	ldr	x9, [x20, #8]
	ldr	x2, [x0, x24]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x9, [x26]
	cmp	x2, x9
	b.eq	LBB0_8
LBB0_7:
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_km_new_mapping
LBB0_8:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _XFRM_MODE_TRANSPORT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XFRM_MODE_TRANSPORT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
Lloh8:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_10:
	ldr	w8, [x19]
	sub	w8, w8, w25
	sub	w1, w8, #2
	mov	x0, x19
	bl	_pskb_trim
	mov	x0, x19
	mov	x1, x21
	bl	___skb_pull
	neg	w1, w24
	mov	x0, x19
	bl	_skb_set_transport_header
	ldr	w21, [sp, #20]
Lloh11:
	adrp	x8, _IPPROTO_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IPPROTO_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_12
LBB0_11:
	ldr	w8, [x23]
	neg	w21, w8
LBB0_12:
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x21
	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
	add	sp, sp, #112
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XFRM_MODE_TRANSPORT,8,3        ; @XFRM_MODE_TRANSPORT
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_IPPROTO_NONE,4,2               ; @IPPROTO_NONE
	.no_dead_strip	_esp_input_done2
.subsections_via_symbols
