	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __gre_tunnel_init
___gre_tunnel_init:                     ## @__gre_tunnel_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_ip_gre_calc_hlen
	movl	%eax, 8(%r14)
	movq	_IPPROTO_GRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_LL_MAX_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movq	%rax, 8(%rbx)
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-8, %eax
	movl	%eax, (%rbx)
	movq	_NETIF_F_NETNS_LOCAL@GOTPCREL(%rip), %rcx
	movq	_GRE_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	4(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	_TUNNEL_SEQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	_NETIF_F_GSO_SOFTWARE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_NETIF_F_LLTX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
LBB0_2:
	movq	_gre_dev_ethtool_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SET_ETHTOOL_OPS                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_GRE,4,2                ## @IPPROTO_GRE
	.comm	_LL_MAX_HEADER,8,3              ## @LL_MAX_HEADER
	.comm	_ETH_DATA_LEN,4,2               ## @ETH_DATA_LEN
	.comm	_NETIF_F_NETNS_LOCAL,4,2        ## @NETIF_F_NETNS_LOCAL
	.comm	_GRE_FEATURES,4,2               ## @GRE_FEATURES
	.comm	_TUNNEL_SEQ,4,2                 ## @TUNNEL_SEQ
	.comm	_NETIF_F_GSO_SOFTWARE,4,2       ## @NETIF_F_GSO_SOFTWARE
	.comm	_NETIF_F_LLTX,4,2               ## @NETIF_F_LLTX
	.comm	_gre_dev_ethtool_ops,4,2        ## @gre_dev_ethtool_ops
	.no_dead_strip	___gre_tunnel_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __gre_tunnel_init
___gre_tunnel_init:                     ; @__gre_tunnel_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x0]
	bl	_ip_gre_calc_hlen
Lloh0:
	adrp	x8, _IPPROTO_GRE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_GRE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LL_MAX_HEADER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LL_MAX_HEADER@GOTPAGEOFF]
	stp	w8, w0, [x20, #4]
Lloh5:
	ldr	x8, [x9]
	add	x8, x8, #8
	str	x8, [x19, #8]
Lloh6:
	adrp	x8, _ETH_DATA_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w8, w8, #8
	str	w8, [x19]
Lloh9:
	adrp	x8, _NETIF_F_NETNS_LOCAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_F_NETNS_LOCAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _GRE_FEATURES@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GRE_FEATURES@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #4]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	ldr	w9, [x20]
Lloh15:
	adrp	x10, _TUNNEL_SEQ@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TUNNEL_SEQ@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
Lloh18:
	adrp	x9, _NETIF_F_GSO_SOFTWARE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NETIF_F_GSO_SOFTWARE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _NETIF_F_LLTX@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NETIF_F_LLTX@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_2:
Lloh24:
	adrp	x1, _gre_dev_ethtool_ops@GOTPAGE
Lloh25:
	ldr	x1, [x1, _gre_dev_ethtool_ops@GOTPAGEOFF]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SET_ETHTOOL_OPS
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_GRE,4,2                ; @IPPROTO_GRE
	.comm	_LL_MAX_HEADER,8,3              ; @LL_MAX_HEADER
	.comm	_ETH_DATA_LEN,4,2               ; @ETH_DATA_LEN
	.comm	_NETIF_F_NETNS_LOCAL,4,2        ; @NETIF_F_NETNS_LOCAL
	.comm	_GRE_FEATURES,4,2               ; @GRE_FEATURES
	.comm	_TUNNEL_SEQ,4,2                 ; @TUNNEL_SEQ
	.comm	_NETIF_F_GSO_SOFTWARE,4,2       ; @NETIF_F_GSO_SOFTWARE
	.comm	_NETIF_F_LLTX,4,2               ; @NETIF_F_LLTX
	.comm	_gre_dev_ethtool_ops,4,2        ; @gre_dev_ethtool_ops
	.no_dead_strip	___gre_tunnel_init
.subsections_via_symbols
