	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_cmd_config_regs
_hclgevf_cmd_config_regs:               ## @hclgevf_cmd_config_regs
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	(%rdi), %rax
	movq	_HCLGEVF_TYPE_CSQ@GOTPCREL(%rip), %rcx
	movl	8(%rdi), %edx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_HCLGEVF_NIC_CSQ_BASEADDR_L_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hclgevf_write_dev
	movl	8(%rbx), %edx
	sarl	$31, %edx
	movq	_HCLGEVF_NIC_CSQ_BASEADDR_H_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hclgevf_write_dev
	movq	_HCLGEVF_NIC_CSQ_DEPTH_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_hclgevf_read_dev
	movq	_HCLGEVF_NIC_SW_RST_RDY@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	12(%rbx), %edx
	movq	_HCLGEVF_NIC_CMQ_DESC_NUM_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	orl	%eax, %edx
	movq	_HCLGEVF_NIC_CSQ_TAIL_REG@GOTPCREL(%rip), %r12
	movq	_HCLGEVF_NIC_CSQ_HEAD_REG@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_2:
	movq	_HCLGEVF_NIC_CRQ_BASEADDR_L_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hclgevf_write_dev
	movl	8(%rbx), %edx
	sarl	$31, %edx
	movq	_HCLGEVF_NIC_CRQ_BASEADDR_H_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hclgevf_write_dev
	movl	12(%rbx), %edx
	movq	_HCLGEVF_NIC_CMQ_DESC_NUM_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	_HCLGEVF_NIC_CRQ_TAIL_REG@GOTPCREL(%rip), %r12
	movq	_HCLGEVF_NIC_CRQ_HEAD_REG@GOTPCREL(%rip), %rbx
	movq	_HCLGEVF_NIC_CRQ_DEPTH_REG@GOTPCREL(%rip), %r15
LBB0_3:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_hclgevf_write_dev
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_hclgevf_write_dev
	movl	(%r12), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclgevf_write_dev              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGEVF_TYPE_CSQ,8,3           ## @HCLGEVF_TYPE_CSQ
	.comm	_HCLGEVF_NIC_CSQ_BASEADDR_L_REG,4,2 ## @HCLGEVF_NIC_CSQ_BASEADDR_L_REG
	.comm	_HCLGEVF_NIC_CSQ_BASEADDR_H_REG,4,2 ## @HCLGEVF_NIC_CSQ_BASEADDR_H_REG
	.comm	_HCLGEVF_NIC_CSQ_DEPTH_REG,4,2  ## @HCLGEVF_NIC_CSQ_DEPTH_REG
	.comm	_HCLGEVF_NIC_SW_RST_RDY,4,2     ## @HCLGEVF_NIC_SW_RST_RDY
	.comm	_HCLGEVF_NIC_CMQ_DESC_NUM_S,4,2 ## @HCLGEVF_NIC_CMQ_DESC_NUM_S
	.comm	_HCLGEVF_NIC_CSQ_HEAD_REG,4,2   ## @HCLGEVF_NIC_CSQ_HEAD_REG
	.comm	_HCLGEVF_NIC_CSQ_TAIL_REG,4,2   ## @HCLGEVF_NIC_CSQ_TAIL_REG
	.comm	_HCLGEVF_NIC_CRQ_BASEADDR_L_REG,4,2 ## @HCLGEVF_NIC_CRQ_BASEADDR_L_REG
	.comm	_HCLGEVF_NIC_CRQ_BASEADDR_H_REG,4,2 ## @HCLGEVF_NIC_CRQ_BASEADDR_H_REG
	.comm	_HCLGEVF_NIC_CRQ_DEPTH_REG,4,2  ## @HCLGEVF_NIC_CRQ_DEPTH_REG
	.comm	_HCLGEVF_NIC_CRQ_HEAD_REG,4,2   ## @HCLGEVF_NIC_CRQ_HEAD_REG
	.comm	_HCLGEVF_NIC_CRQ_TAIL_REG,4,2   ## @HCLGEVF_NIC_CRQ_TAIL_REG
	.no_dead_strip	_hclgevf_cmd_config_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_cmd_config_regs
_hclgevf_cmd_config_regs:               ; @hclgevf_cmd_config_regs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	ldr	x19, [x0, #16]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HCLGEVF_TYPE_CSQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HCLGEVF_TYPE_CSQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w2, [x0, #8]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HCLGEVF_NIC_CSQ_BASEADDR_L_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGEVF_NIC_CSQ_BASEADDR_L_REG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclgevf_write_dev
	ldr	w8, [x20, #8]
	asr	w2, w8, #31
Lloh6:
	adrp	x8, _HCLGEVF_NIC_CSQ_BASEADDR_H_REG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGEVF_NIC_CSQ_BASEADDR_H_REG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclgevf_write_dev
Lloh9:
	adrp	x21, _HCLGEVF_NIC_CSQ_DEPTH_REG@GOTPAGE
Lloh10:
	ldr	x21, [x21, _HCLGEVF_NIC_CSQ_DEPTH_REG@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_hclgevf_read_dev
Lloh11:
	adrp	x8, _HCLGEVF_NIC_SW_RST_RDY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HCLGEVF_NIC_SW_RST_RDY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w9, [x20, #12]
Lloh14:
	adrp	x10, _HCLGEVF_NIC_CMQ_DESC_NUM_S@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HCLGEVF_NIC_CMQ_DESC_NUM_S@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	asr	w9, w9, w10
	orr	w2, w9, w8
Lloh17:
	adrp	x20, _HCLGEVF_NIC_CSQ_TAIL_REG@GOTPAGE
Lloh18:
	ldr	x20, [x20, _HCLGEVF_NIC_CSQ_TAIL_REG@GOTPAGEOFF]
Lloh19:
	adrp	x22, _HCLGEVF_NIC_CSQ_HEAD_REG@GOTPAGE
Lloh20:
	ldr	x22, [x22, _HCLGEVF_NIC_CSQ_HEAD_REG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh21:
	adrp	x8, _HCLGEVF_NIC_CRQ_BASEADDR_L_REG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HCLGEVF_NIC_CRQ_BASEADDR_L_REG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclgevf_write_dev
	ldr	w8, [x20, #8]
	asr	w2, w8, #31
Lloh24:
	adrp	x8, _HCLGEVF_NIC_CRQ_BASEADDR_H_REG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HCLGEVF_NIC_CRQ_BASEADDR_H_REG@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hclgevf_write_dev
	ldr	w8, [x20, #12]
Lloh27:
	adrp	x9, _HCLGEVF_NIC_CMQ_DESC_NUM_S@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HCLGEVF_NIC_CMQ_DESC_NUM_S@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	asr	w2, w8, w9
Lloh30:
	adrp	x20, _HCLGEVF_NIC_CRQ_TAIL_REG@GOTPAGE
Lloh31:
	ldr	x20, [x20, _HCLGEVF_NIC_CRQ_TAIL_REG@GOTPAGEOFF]
Lloh32:
	adrp	x22, _HCLGEVF_NIC_CRQ_HEAD_REG@GOTPAGE
Lloh33:
	ldr	x22, [x22, _HCLGEVF_NIC_CRQ_HEAD_REG@GOTPAGEOFF]
Lloh34:
	adrp	x21, _HCLGEVF_NIC_CRQ_DEPTH_REG@GOTPAGE
Lloh35:
	ldr	x21, [x21, _HCLGEVF_NIC_CRQ_DEPTH_REG@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_hclgevf_write_dev
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_hclgevf_write_dev
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hclgevf_write_dev
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGEVF_TYPE_CSQ,8,3           ; @HCLGEVF_TYPE_CSQ
	.comm	_HCLGEVF_NIC_CSQ_BASEADDR_L_REG,4,2 ; @HCLGEVF_NIC_CSQ_BASEADDR_L_REG
	.comm	_HCLGEVF_NIC_CSQ_BASEADDR_H_REG,4,2 ; @HCLGEVF_NIC_CSQ_BASEADDR_H_REG
	.comm	_HCLGEVF_NIC_CSQ_DEPTH_REG,4,2  ; @HCLGEVF_NIC_CSQ_DEPTH_REG
	.comm	_HCLGEVF_NIC_SW_RST_RDY,4,2     ; @HCLGEVF_NIC_SW_RST_RDY
	.comm	_HCLGEVF_NIC_CMQ_DESC_NUM_S,4,2 ; @HCLGEVF_NIC_CMQ_DESC_NUM_S
	.comm	_HCLGEVF_NIC_CSQ_HEAD_REG,4,2   ; @HCLGEVF_NIC_CSQ_HEAD_REG
	.comm	_HCLGEVF_NIC_CSQ_TAIL_REG,4,2   ; @HCLGEVF_NIC_CSQ_TAIL_REG
	.comm	_HCLGEVF_NIC_CRQ_BASEADDR_L_REG,4,2 ; @HCLGEVF_NIC_CRQ_BASEADDR_L_REG
	.comm	_HCLGEVF_NIC_CRQ_BASEADDR_H_REG,4,2 ; @HCLGEVF_NIC_CRQ_BASEADDR_H_REG
	.comm	_HCLGEVF_NIC_CRQ_DEPTH_REG,4,2  ; @HCLGEVF_NIC_CRQ_DEPTH_REG
	.comm	_HCLGEVF_NIC_CRQ_HEAD_REG,4,2   ; @HCLGEVF_NIC_CRQ_HEAD_REG
	.comm	_HCLGEVF_NIC_CRQ_TAIL_REG,4,2   ; @HCLGEVF_NIC_CRQ_TAIL_REG
	.no_dead_strip	_hclgevf_cmd_config_regs
.subsections_via_symbols
