	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_reg_svfa_pack
_mlxsw_reg_svfa_pack:                   ## @mlxsw_reg_svfa_pack
	.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
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_svfa@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_MLXSW_REG_ZERO
	movq	_MLXSW_REG_SVFA_MT_VID_TO_FID@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpl	%r13d, (%rax)
	cmovneq	%r14, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mlxsw_reg_svfa_swid_set
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_reg_svfa_local_port_set
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_mlxsw_reg_svfa_mapping_table_set
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_mlxsw_reg_svfa_v_set
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mlxsw_reg_svfa_fid_set
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlxsw_reg_svfa_vid_set         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_svfa,4,2                       ## @svfa
	.comm	_MLXSW_REG_SVFA_MT_VID_TO_FID,4,2 ## @MLXSW_REG_SVFA_MT_VID_TO_FID
	.no_dead_strip	_mlxsw_reg_svfa_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_reg_svfa_pack
_mlxsw_reg_svfa_pack:                   ; @mlxsw_reg_svfa_pack
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _svfa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svfa@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_MLXSW_REG_ZERO
Lloh3:
	adrp	x8, _MLXSW_REG_SVFA_MT_VID_TO_FID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLXSW_REG_SVFA_MT_VID_TO_FID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w22
	csel	x23, xzr, x23, eq
	mov	x0, x24
	mov	w1, #0
	bl	_mlxsw_reg_svfa_swid_set
	mov	x0, x24
	mov	x1, x23
	bl	_mlxsw_reg_svfa_local_port_set
	mov	x0, x24
	mov	x1, x22
	bl	_mlxsw_reg_svfa_mapping_table_set
	mov	x0, x24
	mov	x1, x21
	bl	_mlxsw_reg_svfa_v_set
	mov	x0, x24
	mov	x1, x20
	bl	_mlxsw_reg_svfa_fid_set
	mov	x0, x24
	mov	x1, 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_reg_svfa_vid_set
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_svfa,4,2                       ; @svfa
	.comm	_MLXSW_REG_SVFA_MT_VID_TO_FID,4,2 ; @MLXSW_REG_SVFA_MT_VID_TO_FID
	.no_dead_strip	_mlxsw_reg_svfa_pack
.subsections_via_symbols
