	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esp6_input
_esp6_input:                            ## @esp6_input
	.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
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r13
	movl	(%rsi), %r15d
	movq	%r13, %rdi
	callq	_crypto_aead_ivsize
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_crypto_aead_ivsize
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %esi
	movq	%r14, %rdi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	subl	%ebx, %r15d
	addl	$-8, %r15d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_data
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	1(%rax), %esi
	movq	%r13, %rdi
	callq	_esp_alloc_tmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_ESP_SKB_CB
	movq	%r12, (%rax)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_esp_tmp_iv
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_esp_tmp_req
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_esp_req_sg
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %r12
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	8(%r14), %rbx
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_sg_init_table
	movq	%r13, %rdi
	callq	_crypto_aead_ivsize
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %ecx
	callq	_skb_to_sgvec
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	callq	_sg_init_one
	movq	_esp_input_done@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_aead_request_set_callback
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_aead_request_set_crypt
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_aead_request_set_assoc
	movq	%rbx, %rdi
	callq	_crypto_aead_decrypt
	movl	%eax, %ebx
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_esp_input_done2
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_7:
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_esp_input_done,4,2             ## @esp_input_done
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_esp6_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esp6_input
_esp6_input:                            ; @esp6_input
	.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
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x21, [x8]
	ldr	w22, [x1]
	mov	x0, x21
	bl	_crypto_aead_ivsize
	mov	x20, x0
	mov	x0, x21
	bl	_crypto_aead_ivsize
	add	w1, w0, #8
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_6
; %bb.1:
	sub	w8, w22, w20
	sub	w20, w8, #8
	cmp	w20, #0
	b.le	LBB0_6
; %bb.2:
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #0
	bl	_skb_cow_data
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x23, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	add	w1, w0, #1
	mov	x0, x21
	bl	_esp_alloc_tmp
	cbz	x0, LBB0_8
; %bb.4:
	mov	x22, x0
	mov	x0, x19
	bl	_ESP_SKB_CB
	str	x22, [x0]
	mov	x0, x21
	mov	x1, x22
	bl	_esp_tmp_iv
	mov	x1, x0
	mov	x0, x21
	bl	_esp_tmp_req
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_esp_req_sg
	mov	x24, x0
	add	x25, x0, #4
Lloh3:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x26, [x19, #8]
	ldr	x27, [x26]
	mov	x0, x25
	mov	x1, x23
	bl	_sg_init_table
	mov	x0, x21
	bl	_crypto_aead_ivsize
	add	w2, w0, #8
	mov	x0, x19
	mov	x1, x25
	mov	x3, x20
	bl	_skb_to_sgvec
	mov	x0, x24
	mov	x1, x26
	mov	w2, #8
	bl	_sg_init_one
Lloh6:
	adrp	x8, _esp_input_done@GOTPAGE
Lloh7:
	ldr	x8, [x8, _esp_input_done@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #0
	mov	x3, x19
	bl	_aead_request_set_callback
	mov	x0, x22
	mov	x1, x25
	mov	x2, x25
	mov	x3, x20
	mov	x4, x27
	bl	_aead_request_set_crypt
	mov	x0, x22
	mov	x1, x24
	mov	w2, #8
	bl	_aead_request_set_assoc
	mov	x0, x22
	bl	_crypto_aead_decrypt
	mov	x1, x0
Lloh9:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_esp_input_done2
	mov	x1, x0
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w1, w8
LBB0_7:
	mov	x0, x1
	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
LBB0_8:
	neg	w1, w24
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_esp_input_done,4,2             ; @esp_input_done
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_esp6_input
.subsections_via_symbols
