	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___mlxsw_sp_ipip_entry_update_tunnel ## -- Begin function __mlxsw_sp_ipip_entry_update_tunnel
	.p2align	4, 0x90
___mlxsw_sp_ipip_entry_update_tunnel:   ## @__mlxsw_sp_ipip_entry_update_tunnel
	.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	%r9, %r12
	movl	%r8d, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	cmpq	$0, 16(%rsi)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r14d
	callq	_mlxsw_sp_ipip_entry_demote_decap
	movl	%r14d, %ecx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ecx, %edx
	movq	%r12, %rcx
	callq	_mlxsw_sp_ipip_entry_ol_lb_update
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_6
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movq	8(%r13), %rsi
	movq	%r14, %rdi
	callq	_mlxsw_sp_nexthop_rif_update
LBB0_6:
	movq	(%r13), %rax
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mlxsw_sp_ipip_entry_ol_up_event
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___mlxsw_sp_ipip_entry_update_tunnel ; -- Begin function __mlxsw_sp_ipip_entry_update_tunnel
	.p2align	2
___mlxsw_sp_ipip_entry_update_tunnel:   ; @__mlxsw_sp_ipip_entry_update_tunnel
	.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	x21, x5
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_mlxsw_sp_ipip_entry_demote_decap
LBB0_2:
	cbz	w24, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_mlxsw_sp_ipip_entry_ol_lb_update
	cbnz	w0, LBB0_9
	b	LBB0_6
LBB0_4:
	cbz	w23, LBB0_6
; %bb.5:
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_mlxsw_sp_nexthop_rif_update
LBB0_6:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_mlxsw_sp_ipip_entry_ol_up_event
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
.subsections_via_symbols
