	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_gre_is_nvgre
_fm10k_gre_is_nvgre:                    ## @fm10k_gre_is_nvgre
	.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	%rdi, %rbx
	callq	_ip_hdrlen
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_vlan_get_protocol
	movq	%rax, %r15
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r15
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_network_header
	movslq	%r14d, %rdx
	movl	(%rax,%rdx), %ecx
	movq	_FM10K_NVGRE_RESERVED0_FLAGS@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	addq	%rdx, %rax
	movq	_NVGRE_TNI@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.6:
	addq	$8, %rax
	jmp	LBB0_4
LBB0_7:
	addq	$4, %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_FM10K_NVGRE_RESERVED0_FLAGS,4,2 ## @FM10K_NVGRE_RESERVED0_FLAGS
	.comm	_NVGRE_TNI,4,2                  ## @NVGRE_TNI
	.no_dead_strip	_fm10k_gre_is_nvgre
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_gre_is_nvgre
_fm10k_gre_is_nvgre:                    ; @fm10k_gre_is_nvgre
	.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, x0
	bl	_ip_hdrlen
	mov	x20, x0
	mov	x0, x19
	bl	_vlan_get_protocol
	mov	x21, x0
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_skb_network_header
	add	x8, x0, w20, sxtw
	ldr	w9, [x8]
Lloh3:
	adrp	x10, _FM10K_NVGRE_RESERVED0_FLAGS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FM10K_NVGRE_RESERVED0_FLAGS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
LBB0_2:
	mov	x0, #0
LBB0_3:
	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_4:
Lloh6:
	adrp	x10, _NVGRE_TNI@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NVGRE_TNI@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:
	add	x0, x8, #8
	b	LBB0_3
LBB0_6:
	add	x0, x8, #4
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_FM10K_NVGRE_RESERVED0_FLAGS,4,2 ; @FM10K_NVGRE_RESERVED0_FLAGS
	.comm	_NVGRE_TNI,4,2                  ; @NVGRE_TNI
	.no_dead_strip	_fm10k_gre_is_nvgre
.subsections_via_symbols
