	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_ipip_can_offload_gre4
_mlxsw_sp_ipip_can_offload_gre4:        ## @mlxsw_sp_ipip_can_offload_gre4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %rcx
	movq	_TUNNEL_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	jne	LBB0_5
## %bb.1:
	testl	%edx, 4(%rcx)
	jne	LBB0_5
## %bb.2:
	cmpq	$0, 8(%rcx)
	jne	LBB0_5
## %bb.3:
	movl	16(%rcx), %ecx
	andl	$1, %ecx
	je	LBB0_5
## %bb.4:
	movq	_MLXSW_SP_L3_PROTO_IPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_mlxsw_sp_ipip_tunnel_complete
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNNEL_KEY,4,2                 ## @TUNNEL_KEY
	.comm	_MLXSW_SP_L3_PROTO_IPV4,4,2     ## @MLXSW_SP_L3_PROTO_IPV4
	.no_dead_strip	_mlxsw_sp_ipip_can_offload_gre4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_ipip_can_offload_gre4
_mlxsw_sp_ipip_can_offload_gre4:        ; @mlxsw_sp_ipip_can_offload_gre4
	.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, x1
	mov	x0, x1
	bl	_netdev_priv
Lloh0:
	adrp	x8, _TUNNEL_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TUNNEL_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bics	wzr, w9, w8
	b.ne	LBB0_2
; %bb.1:
	mvn	w8, w8
	ldr	w9, [x0, #16]
	and	w9, w9, #0x1
	ldr	x10, [x0, #8]
	ldr	w11, [x0, #4]
	and	w8, w11, w8
	cmp	w8, #0
	ccmp	x10, #0, #0, eq
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _MLXSW_SP_L3_PROTO_IPV4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_SP_L3_PROTO_IPV4@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_mlxsw_sp_ipip_tunnel_complete
	cmp	x0, #0
	cset	w0, ne
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNNEL_KEY,4,2                 ; @TUNNEL_KEY
	.comm	_MLXSW_SP_L3_PROTO_IPV4,4,2     ; @MLXSW_SP_L3_PROTO_IPV4
	.no_dead_strip	_mlxsw_sp_ipip_can_offload_gre4
.subsections_via_symbols
