	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_tunnel_rcv                  ## -- Begin function ip_tunnel_rcv
	.p2align	4, 0x90
_ip_tunnel_rcv:                         ## @ip_tunnel_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movq	%rsi, %rdi
	callq	_ip_hdr
	movq	%rax, %r15
	movl	(%r12), %eax
	movq	_TUNNEL_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	24(%rbx), %ecx
	testl	%eax, %edx
	je	LBB0_1
## %bb.7:
	testl	%edx, %ecx
	je	LBB0_8
LBB0_2:
	movq	_TUNNEL_SEQ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	je	LBB0_11
## %bb.3:
	testl	%eax, %edx
	je	LBB0_6
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.5:
	movl	4(%r12), %edi
	callq	_ntohl
	cmpq	16(%rbx), %rax
	jge	LBB0_10
LBB0_6:
	movq	8(%rbx), %rax
	incl	20(%rax)
	jmp	LBB0_9
LBB0_1:
	testl	%edx, %ecx
	je	LBB0_2
LBB0_8:
	movq	8(%rbx), %rax
	incl	24(%rax)
LBB0_9:
	incl	16(%rax)
	movq	%r14, %rdi
	callq	_kfree_skb
	jmp	LBB0_15
LBB0_10:
	movl	4(%r12), %edi
	callq	_ntohl
	incq	%rax
	movq	%rax, 16(%rbx)
LBB0_11:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ipgre_ecn_decapsulate
	incl	12(%r13)
	movl	16(%r14), %eax
	addl	%eax, 8(%r13)
	movq	8(%rbx), %rsi
	movq	(%rsi), %rax
	movq	_ARPHRD_ETHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_eth_type_trans
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	callq	_eth_hdr
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_skb_postpull_rcsum
	jmp	LBB0_14
LBB0_13:
	movq	%rsi, (%r14)
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gro_cells_receive
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNNEL_CSUM,4,2                ## @TUNNEL_CSUM
	.comm	_TUNNEL_SEQ,4,2                 ## @TUNNEL_SEQ
	.comm	_ARPHRD_ETHER,8,3               ## @ARPHRD_ETHER
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_PACKET_BROADCAST,4,2           ## @PACKET_BROADCAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_tunnel_rcv                  ; -- Begin function ip_tunnel_rcv
	.p2align	2
_ip_tunnel_rcv:                         ; @ip_tunnel_rcv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	mov	x0, x1
	bl	_ip_hdr
	mov	x21, x0
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _TUNNEL_CSUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUNNEL_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x9]
	ldr	w9, [x20, #24]
	and	w10, w9, w11
	tst	w11, w8
	b.eq	LBB0_7
; %bb.1:
	cbz	w10, LBB0_8
LBB0_2:
Lloh3:
	adrp	x10, _TUNNEL_SEQ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TUNNEL_SEQ@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_11
; %bb.3:
	tst	w10, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_10
; %bb.5:
	ldr	w0, [x22, #4]
	bl	_ntohl
	ldr	x8, [x20, #16]
	cmp	x0, x8
	b.ge	LBB0_10
LBB0_6:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #20]
	add	w9, w9, #1
	str	w9, [x8, #20]
	b	LBB0_9
LBB0_7:
	cbz	w10, LBB0_2
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #24]
	add	w9, w9, #1
	str	w9, [x8, #24]
LBB0_9:
	ldr	w9, [x8, #16]
	add	w9, w9, #1
	str	w9, [x8, #16]
	mov	x0, x19
	bl	_kfree_skb
	b	LBB0_15
LBB0_10:
	ldr	w0, [x22, #4]
	bl	_ntohl
	add	x8, x0, #1
	str	x8, [x20, #16]
LBB0_11:
	mov	x0, x21
	mov	x1, x19
	bl	_ipgre_ecn_decapsulate
	add	x8, x19, #16
	ldr	d0, [x23, #8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x23, #8]
	ldr	x1, [x20, #8]
	ldr	x8, [x1]
Lloh6:
	adrp	x9, _ARPHRD_ETHER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARPHRD_ETHER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_eth_type_trans
	str	w0, [x19, #8]
	mov	x0, x19
	bl	_eth_hdr
	mov	x1, x0
Lloh9:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_skb_postpull_rcsum
	b	LBB0_14
LBB0_13:
	str	x1, [x19]
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_gro_cells_receive
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNNEL_CSUM,4,2                ; @TUNNEL_CSUM
	.comm	_TUNNEL_SEQ,4,2                 ; @TUNNEL_SEQ
	.comm	_ARPHRD_ETHER,8,3               ; @ARPHRD_ETHER
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_PACKET_BROADCAST,4,2           ; @PACKET_BROADCAST
.subsections_via_symbols
