	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gtp_dev_xmit
_gtp_dev_xmit:                          ## @gtp_dev_xmit
	.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	$56, %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, %rbx
	movl	(%rdi), %edi
	callq	_ntohs
	movl	%eax, %r15d
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_skb_cow_head
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	incl	(%r14)
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_6:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_skb_reset_inner_headers
	xorl	%eax, %eax
	callq	_rcu_read_lock
	cmpl	$128, %r15d
	jne	LBB0_4
## %bb.2:
	leaq	-88(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_gtp_build_skb_ip4
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testl	%r15d, %r15d
	js	LBB0_5
## %bb.3:
	movl	-52(%rbp), %edi
	movq	-72(%rbp), %rcx
	leaq	8(%rcx), %rdx
	addq	$4, %rcx
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movl	-56(%rbp), %r14d
	movl	-60(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %r12d
	movq	-80(%rbp), %r13
	movq	-72(%rbp), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_ip4_dst_hoplimit
                                        ## kill: def $eax killed $eax def $rax
	movl	-88(%rbp), %r10d
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r15d, %r9d
	pushq	$0
	pushq	$1
	pushq	%r10
	pushq	%r10
	pushq	$0
	pushq	%rax
	callq	_udp_tunnel_xmit_skb
	addq	$48, %rsp
	jmp	LBB0_6
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testl	%r15d, %r15d
	jg	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gtp -> IP src: %pI4 dst: %pI4\n"

	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_gtp_dev_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gtp_dev_xmit
_gtp_dev_xmit:                          ; @gtp_dev_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_ntohs
	mov	x21, x0
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_skb_cow_head
	cbz	x0, LBB0_3
LBB0_1:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_2:
Lloh0:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	mov	x0, x19
	bl	_skb_reset_inner_headers
	bl	_rcu_read_lock
	cmp	w21, #128
	b.ne	LBB0_6
; %bb.4:
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	bl	_gtp_build_skb_ip4
	mov	x21, x0
	bl	_rcu_read_unlock
	tbnz	w21, #31, LBB0_1
; %bb.5:
	ldr	w0, [sp, #60]
	ldr	x8, [sp, #40]
	add	x2, x8, #8
	add	x3, x8, #4
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldp	w21, w20, [sp, #52]
	ldr	w22, [sp, #48]
	ldp	x23, x8, [sp, #32]
	ldr	w24, [x8]
	mov	x0, x23
	bl	_ip4_dst_hoplimit
	mov	x6, x0
	ldr	w8, [sp, #24]
	mov	w9, #1
	str	x9, [sp, #8]
	stp	w8, w8, [sp]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	mov	x5, x24
	mov	w7, #0
	bl	_udp_tunnel_xmit_skb
	b	LBB0_2
LBB0_6:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	bl	_rcu_read_unlock
	cmp	w21, #0
	b.gt	LBB0_1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gtp -> IP src: %pI4 dst: %pI4\n"

	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_gtp_dev_xmit
.subsections_via_symbols
