	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gtp_rx
_gtp_rx:                                ## @gtp_rx
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_gtp_check_ms
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	16(%r14), %r12d
	movl	8(%rbx), %edi
	callq	_sock_net
	movl	%eax, %r13d
	movq	(%rbx), %rdi
	callq	_dev_net
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_net_eq
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_iptunnel_pull_header
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_dbg
	movq	%r14, %rdi
	callq	_skb_reset_network_header
	movq	(%rbx), %rax
	movq	%rax, 8(%r14)
	movl	(%rax), %edi
	callq	_this_cpu_ptr
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_u64_stats_update_begin
	incl	8(%rbx)
	movl	(%r14), %eax
	addl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
	movq	%r14, %rdi
	callq	_netif_rx
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movl	$1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No PDP ctx for this MS\n"

L_.str.1:                               ## @.str.1
	.asciz	"forwarding packet from GGSN to uplink\n"

	.no_dead_strip	_gtp_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gtp_rx
_gtp_rx:                                ; @gtp_rx
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x20
	bl	_gtp_check_ms
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w22, [x19, #16]
	ldr	w0, [x20, #8]
	bl	_sock_net
	mov	x23, x0
	ldr	x0, [x20]
	bl	_dev_net
	mov	x1, x0
	mov	x0, x23
	bl	_net_eq
	cmp	w0, #0
	cset	w3, eq
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_iptunnel_pull_header
	cbz	x0, LBB0_4
; %bb.2:
	mov	w0, #-1
	b	LBB0_5
LBB0_3:
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
	mov	x0, x19
	bl	_skb_reset_network_header
	ldr	x8, [x20]
	str	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_this_cpu_ptr
	mov	x20, x0
	bl	_u64_stats_update_begin
	ldur	d0, [x20, #4]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x19]
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
	mov	x0, x20
	bl	_u64_stats_update_end
	mov	x0, x19
	bl	_netif_rx
	mov	w0, #0
LBB0_5:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No PDP ctx for this MS\n"

l_.str.1:                               ; @.str.1
	.asciz	"forwarding packet from GGSN to uplink\n"

	.no_dead_strip	_gtp_rx
.subsections_via_symbols
