	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_netdevice_ipip_ol_vrf_event
_mlxsw_sp_netdevice_ipip_ol_vrf_event:  ## @mlxsw_sp_netdevice_ipip_ol_vrf_event
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_mlxsw_sp_ipip_entry_find_by_ol_dev
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_mlxsw_sp_ipip_dev_ul_tb_id
	movl	%eax, %r13d
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_mlxsw_sp_ipip_netdev_saddr
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%r13d, %ecx
	movq	%r12, %r8
	callq	_mlxsw_sp_ipip_demote_tunnel_by_saddr
	movq	%r15, %rdi
	movq	%r12, %rsi
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	callq	_mlxsw_sp_ipip_entry_demote_tunnel
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___mlxsw_sp_ipip_entry_update_tunnel ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp_netdevice_ipip_ol_vrf_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_netdevice_ipip_ol_vrf_event
_mlxsw_sp_netdevice_ipip_ol_vrf_event:  ; @mlxsw_sp_netdevice_ipip_ol_vrf_event
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
	bl	_mlxsw_sp_ipip_entry_find_by_ol_dev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	mov	x0, x22
	bl	_mlxsw_sp_ipip_dev_ul_tb_id
	mov	x23, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w24, [x8]
	mov	x0, x24
	mov	x1, x22
	bl	_mlxsw_sp_ipip_netdev_saddr
	mov	w2, w0
	mov	x0, x20
	mov	x1, x24
	mov	x3, x23
	mov	x4, x21
	bl	_mlxsw_sp_ipip_demote_tunnel_by_saddr
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_mlxsw_sp_ipip_entry_demote_tunnel
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	x5, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	___mlxsw_sp_ipip_entry_update_tunnel
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp_netdevice_ipip_ol_vrf_event
.subsections_via_symbols
