	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_set_vf_switch_param
_hns_roce_set_vf_switch_param:          ## @hns_roce_set_vf_switch_param
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_HNS_SWITCH_PARAMETER_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdi
	pushq	$1
	popq	%rdx
	callq	_hns_roce_cmq_setup_basic_desc
	movq	_HNS_ICL_SWITCH_CMD_ROCEE_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_SWITCH_PARAMETER_CFG,4,2   ## @HNS_SWITCH_PARAMETER_CFG
	.comm	_HNS_ICL_SWITCH_CMD_ROCEE_SEL,4,2 ## @HNS_ICL_SWITCH_CMD_ROCEE_SEL
	.comm	_VF_SWITCH_DATA_FUN_ID_VF_ID_M,4,2 ## @VF_SWITCH_DATA_FUN_ID_VF_ID_M
	.comm	_VF_SWITCH_DATA_FUN_ID_VF_ID_S,4,2 ## @VF_SWITCH_DATA_FUN_ID_VF_ID_S
	.comm	_HNS_ROCE_CMD_FLAG_NO_INTR,4,2  ## @HNS_ROCE_CMD_FLAG_NO_INTR
	.comm	_HNS_ROCE_CMD_FLAG_IN,4,2       ## @HNS_ROCE_CMD_FLAG_IN
	.comm	_HNS_ROCE_CMD_FLAG_WR,4,2       ## @HNS_ROCE_CMD_FLAG_WR
	.comm	_VF_SWITCH_DATA_CFG_ALW_LPBK_S,4,2 ## @VF_SWITCH_DATA_CFG_ALW_LPBK_S
	.comm	_VF_SWITCH_DATA_CFG_ALW_LCL_LPBK_S,4,2 ## @VF_SWITCH_DATA_CFG_ALW_LCL_LPBK_S
	.comm	_VF_SWITCH_DATA_CFG_ALW_DST_OVRD_S,4,2 ## @VF_SWITCH_DATA_CFG_ALW_DST_OVRD_S
	.no_dead_strip	_hns_roce_set_vf_switch_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_set_vf_switch_param
_hns_roce_set_vf_switch_param:          ; @hns_roce_set_vf_switch_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _HNS_SWITCH_PARAMETER_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_SWITCH_PARAMETER_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, sp
	mov	w2, #1
	bl	_hns_roce_cmq_setup_basic_desc
Lloh3:
	adrp	x8, _HNS_ICL_SWITCH_CMD_ROCEE_SEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_ICL_SWITCH_CMD_ROCEE_SEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_SWITCH_PARAMETER_CFG,4,2   ; @HNS_SWITCH_PARAMETER_CFG
	.comm	_HNS_ICL_SWITCH_CMD_ROCEE_SEL,4,2 ; @HNS_ICL_SWITCH_CMD_ROCEE_SEL
	.comm	_VF_SWITCH_DATA_FUN_ID_VF_ID_M,4,2 ; @VF_SWITCH_DATA_FUN_ID_VF_ID_M
	.comm	_VF_SWITCH_DATA_FUN_ID_VF_ID_S,4,2 ; @VF_SWITCH_DATA_FUN_ID_VF_ID_S
	.comm	_HNS_ROCE_CMD_FLAG_NO_INTR,4,2  ; @HNS_ROCE_CMD_FLAG_NO_INTR
	.comm	_HNS_ROCE_CMD_FLAG_IN,4,2       ; @HNS_ROCE_CMD_FLAG_IN
	.comm	_HNS_ROCE_CMD_FLAG_WR,4,2       ; @HNS_ROCE_CMD_FLAG_WR
	.comm	_VF_SWITCH_DATA_CFG_ALW_LPBK_S,4,2 ; @VF_SWITCH_DATA_CFG_ALW_LPBK_S
	.comm	_VF_SWITCH_DATA_CFG_ALW_LCL_LPBK_S,4,2 ; @VF_SWITCH_DATA_CFG_ALW_LCL_LPBK_S
	.comm	_VF_SWITCH_DATA_CFG_ALW_DST_OVRD_S,4,2 ; @VF_SWITCH_DATA_CFG_ALW_DST_OVRD_S
	.no_dead_strip	_hns_roce_set_vf_switch_param
.subsections_via_symbols
