	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gre_tap_xmit
_gre_tap_xmit:                          ## @gre_tap_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_TUNNEL_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	andl	(%r14), %eax
	setne	%sil
	movq	%rbx, %rdi
	callq	_gre_handle_offloads
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_skb_cow_head
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb
LBB0_4:
	incl	(%r15)
LBB0_5:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	addq	$4, %r14
	movq	_ETH_P_TEB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	___gre_xmit
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNNEL_CSUM,4,2                ## @TUNNEL_CSUM
	.comm	_ETH_P_TEB,4,2                  ## @ETH_P_TEB
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_gre_tap_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gre_tap_xmit
_gre_tap_xmit:                          ; @gre_tap_xmit
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _TUNNEL_CSUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUNNEL_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
	mov	x0, x20
	bl	_gre_handle_offloads
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_skb_cow_head
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_3:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_4:
Lloh3:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
LBB0_5:
	add	x21, x21, #4
Lloh6:
	adrp	x8, _ETH_P_TEB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_TEB@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	___gre_xmit
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNNEL_CSUM,4,2                ; @TUNNEL_CSUM
	.comm	_ETH_P_TEB,4,2                  ; @ETH_P_TEB
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_gre_tap_xmit
.subsections_via_symbols
