	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_nve_mc_record_refresh
_mlxsw_sp_nve_mc_record_refresh:        ## @mlxsw_sp_nve_mc_record_refresh
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	40(%rdi), %r14
	movl	(%rax), %r12d
	movq	48(%rdi), %r15
	movq	_MLXSW_REG_TNUMT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	36(%rbx), %rdi
	movq	%r15, %rsi
	callq	_list_is_last
	xorl	%r15d, %r15d
	movl	$0, %r8d
	movl	$0, %r9d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_list_next_entry
	movl	32(%rax), %r9d
	movl	$1, %r8d
LBB0_2:
	movq	_MLXSW_REG_TNUMT_TUNNEL_PORT_NVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %eax
	movl	32(%rbx), %ecx
	subq	$8, %rsp
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r12d, %esi
	pushq	%rax
	callq	_mlxsw_reg_tnumt_pack
	addq	$16, %rsp
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %r12d
	testq	%r12, %r12
	je	LBB0_7
## %bb.3:
	shlq	$2, %r12
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %r13
	cmpq	%r13, %r12
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rsi
	cmpl	$0, (%rsi,%r13)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%r13, %rsi
	movq	16(%rbx), %rax
	leal	1(%r15), %r14d
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	*8(%rax)
	movl	%r14d, %r15d
	jmp	LBB0_6
LBB0_7:
	xorl	%edi, %edi
	cmpl	(%rbx), %r15d
	setne	%dil
	callq	_WARN_ON
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movq	_tnumt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLXSW_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_mlxsw_reg_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_TNUMT_LEN,4,2        ## @MLXSW_REG_TNUMT_LEN
	.comm	_list,4,2                       ## @list
	.comm	_MLXSW_REG_TNUMT_TUNNEL_PORT_NVE,4,2 ## @MLXSW_REG_TNUMT_TUNNEL_PORT_NVE
	.comm	_tnumt,4,2                      ## @tnumt
	.no_dead_strip	_mlxsw_sp_nve_mc_record_refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_nve_mc_record_refresh
_mlxsw_sp_nve_mc_record_refresh:        ; @mlxsw_sp_nve_mc_record_refresh
	.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
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x0, #16]
	ldr	w21, [x8]
	ldp	x22, x1, [x0, #40]
Lloh3:
	adrp	x8, _MLXSW_REG_TNUMT_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_REG_TNUMT_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	add	x0, x0, #36
	bl	_list_is_last
	cbz	w0, LBB0_2
; %bb.1:
	mov	w4, #0
	mov	w5, #0
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _list@GOTPAGE
Lloh9:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_list_next_entry
	ldr	w5, [x0, #32]
	mov	w4, #1
LBB0_3:
Lloh11:
	adrp	x8, _MLXSW_REG_TNUMT_TUNNEL_PORT_NVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLXSW_REG_TNUMT_TUNNEL_PORT_NVE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x20, #32]
	ldr	w6, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_mlxsw_reg_tnumt_pack
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_8
; %bb.4:
	mov	x21, #0
	mov	w3, #0
	lsl	x23, x8, #2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #4
	cmp	x23, x21
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	add	x1, x8, x21
	ldr	w8, [x1]
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	add	w24, w3, #1
	mov	x0, x20
	mov	x2, x19
	blr	x8
	mov	x3, x24
	b	LBB0_5
LBB0_8:
	mov	w3, #0
LBB0_9:
	ldr	w8, [x20]
	cmp	w3, w8
	cset	w0, ne
	bl	_WARN_ON
	ldr	w20, [x22]
Lloh14:
	adrp	x8, _tnumt@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tnumt@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_MLXSW_REG
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_mlxsw_reg_write
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #48
	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_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_TNUMT_LEN,4,2        ; @MLXSW_REG_TNUMT_LEN
	.comm	_list,4,2                       ; @list
	.comm	_MLXSW_REG_TNUMT_TUNNEL_PORT_NVE,4,2 ; @MLXSW_REG_TNUMT_TUNNEL_PORT_NVE
	.comm	_tnumt,4,2                      ; @tnumt
	.no_dead_strip	_mlxsw_sp_nve_mc_record_refresh
.subsections_via_symbols
