	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __gre_xmit
___gre_xmit:                            ## @__gre_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	8(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%r13d, -44(%rbp)
	movl	12(%rbx), %ecx
	movl	%ecx, -48(%rbp)
	movq	_TUNNEL_SEQ@GOTPCREL(%rip), %rcx
	movl	4(%rbx), %edi
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	incl	%edi
	movl	%edi, 4(%rbx)
LBB0_2:
	callq	_htonl
	movl	%eax, -52(%rbp)
	movl	(%rbx), %edx
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_gre_build_header
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ip_tunnel_xmit
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNNEL_SEQ,4,2                 ## @TUNNEL_SEQ
	.no_dead_strip	___gre_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __gre_xmit
___gre_xmit:                            ; @__gre_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x22, x0
	ldr	w8, [x0, #8]
	str	w23, [sp, #12]
	ldr	w9, [x0, #12]
	str	w8, [sp]
	str	w9, [sp, #8]
Lloh0:
	adrp	x9, _TUNNEL_SEQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUNNEL_SEQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w0, [x0, #4]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	w0, w0, #1
	str	w0, [x22, #4]
LBB0_2:
	bl	_htonl
	str	w0, [sp, #4]
	ldr	w2, [x22]
	mov	x1, sp
	mov	x0, x21
	bl	_gre_build_header
	ldr	w3, [x19]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ip_tunnel_xmit
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNNEL_SEQ,4,2                 ; @TUNNEL_SEQ
	.no_dead_strip	___gre_xmit
.subsections_via_symbols
