	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipip_rcv
_ipip_rcv:                              ## @ipip_rcv
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ip_hdr
	movq	%rax, %r15
	movq	_ipip_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	movq	(%rbx), %rdi
	callq	_dev_net
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movl	%eax, %edi
	callq	_ipip_tunnel_lookup
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r12
	movq	_XFRM_POLICY_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_xfrm4_policy_check
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_secpath_reset
	movl	24(%rbx), %eax
	movl	%eax, 28(%rbx)
	movq	%rbx, %rdi
	callq	_skb_reset_network_header
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 20(%rbx)
	movq	_PACKET_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	(%r12), %rax
	incl	4(%rax)
	movl	8(%rbx), %ecx
	addl	%ecx, (%rax)
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_skb_dst_drop
	movq	%rbx, %rdi
	callq	_nf_reset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ipip_ecn_decapsulate
	movq	%rbx, %rdi
	callq	_netif_rx
	movq	_ipip_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	jmp	LBB0_5
LBB0_4:
	movq	_ipip_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movl	$-1, %r14d
	jmp	LBB0_5
LBB0_2:
	movq	_ipip_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipip_lock,4,2                  ## @ipip_lock
	.comm	_XFRM_POLICY_IN,4,2             ## @XFRM_POLICY_IN
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_PACKET_HOST,4,2                ## @PACKET_HOST
	.no_dead_strip	_ipip_rcv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipip_rcv
_ipip_rcv:                              ; @ipip_rcv
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_ip_hdr
	mov	x20, x0
Lloh0:
	adrp	x0, _ipip_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ipip_lock@GOTPAGEOFF]
	bl	_read_lock
	ldr	x0, [x19]
	bl	_dev_net
	ldp	w2, w1, [x20]
	bl	_ipip_tunnel_lookup
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh2:
	adrp	x8, _XFRM_POLICY_IN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XFRM_POLICY_IN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, #0
	mov	x2, x19
	bl	_xfrm4_policy_check
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_secpath_reset
	ldr	w8, [x19, #24]
	str	w8, [x19, #28]
	mov	x0, x19
	bl	_skb_reset_network_header
Lloh5:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_htons
Lloh8:
	adrp	x8, _PACKET_HOST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PACKET_HOST@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #16]
	ldr	x8, [x21]
	add	x9, x19, #8
	ldr	d0, [x8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x9]
	add.2s	v0, v0, v1
	str	d0, [x8]
	str	x8, [x19]
	mov	x0, x19
	bl	_skb_dst_drop
	mov	x0, x19
	bl	_nf_reset
	mov	x0, x20
	mov	x1, x19
	bl	_ipip_ecn_decapsulate
	mov	x0, x19
	bl	_netif_rx
Lloh11:
	adrp	x0, _ipip_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _ipip_lock@GOTPAGEOFF]
	bl	_read_unlock
	b	LBB0_5
LBB0_3:
Lloh13:
	adrp	x0, _ipip_lock@GOTPAGE
Lloh14:
	ldr	x0, [x0, _ipip_lock@GOTPAGEOFF]
	bl	_read_unlock
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
Lloh15:
	adrp	x0, _ipip_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _ipip_lock@GOTPAGEOFF]
	bl	_read_unlock
	mov	x0, x19
	bl	_kfree_skb
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ipip_lock,4,2                  ; @ipip_lock
	.comm	_XFRM_POLICY_IN,4,2             ; @XFRM_POLICY_IN
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_PACKET_HOST,4,2                ; @PACKET_HOST
	.no_dead_strip	_ipip_rcv
.subsections_via_symbols
