	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_set_mac
_hns_roce_v2_set_mac:                   ## @hns_roce_v2_set_mac
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	_HNS_ROCE_OPC_CFG_SMAC_TB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	xorl	%edx, %edx
	callq	_hns_roce_cmq_setup_basic_desc
	movl	(%rbx), %r14d
	movl	16(%rbx), %ebx
	pushq	$12
	popq	%rdx
	xorl	%esi, %esi
	callq	_memset
	movq	_CFG_SMAC_TB_IDX_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CFG_SMAC_TB_IDX_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %ecx
	callq	_roce_set_field
	movq	_CFG_SMAC_TB_VF_SMAC_H_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CFG_SMAC_TB_VF_SMAC_H_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %ecx
	callq	_roce_set_field
	movl	%r14d, %edi
	callq	_cpu_to_le32
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_OPC_CFG_SMAC_TB,4,2   ## @HNS_ROCE_OPC_CFG_SMAC_TB
	.comm	_CFG_SMAC_TB_IDX_M,4,2          ## @CFG_SMAC_TB_IDX_M
	.comm	_CFG_SMAC_TB_IDX_S,4,2          ## @CFG_SMAC_TB_IDX_S
	.comm	_CFG_SMAC_TB_VF_SMAC_H_M,4,2    ## @CFG_SMAC_TB_VF_SMAC_H_M
	.comm	_CFG_SMAC_TB_VF_SMAC_H_S,4,2    ## @CFG_SMAC_TB_VF_SMAC_H_S
	.no_dead_strip	_hns_roce_v2_set_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_v2_set_mac
_hns_roce_v2_set_mac:                   ; @hns_roce_v2_set_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _HNS_ROCE_OPC_CFG_SMAC_TB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_ROCE_OPC_CFG_SMAC_TB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_hns_roce_cmq_setup_basic_desc
	ldr	w21, [x19]
	ldr	w19, [x19, #16]
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh3:
	adrp	x8, _CFG_SMAC_TB_IDX_M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CFG_SMAC_TB_IDX_M@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _CFG_SMAC_TB_IDX_S@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFG_SMAC_TB_IDX_S@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x3, x20
	bl	_roce_set_field
Lloh9:
	adrp	x8, _CFG_SMAC_TB_VF_SMAC_H_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG_SMAC_TB_VF_SMAC_H_M@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CFG_SMAC_TB_VF_SMAC_H_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CFG_SMAC_TB_VF_SMAC_H_S@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_roce_set_field
	mov	x0, x21
	bl	_cpu_to_le32
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_ROCE_OPC_CFG_SMAC_TB,4,2   ; @HNS_ROCE_OPC_CFG_SMAC_TB
	.comm	_CFG_SMAC_TB_IDX_M,4,2          ; @CFG_SMAC_TB_IDX_M
	.comm	_CFG_SMAC_TB_IDX_S,4,2          ; @CFG_SMAC_TB_IDX_S
	.comm	_CFG_SMAC_TB_VF_SMAC_H_M,4,2    ; @CFG_SMAC_TB_VF_SMAC_H_M
	.comm	_CFG_SMAC_TB_VF_SMAC_H_S,4,2    ; @CFG_SMAC_TB_VF_SMAC_H_S
	.no_dead_strip	_hns_roce_v2_set_mac
.subsections_via_symbols
