	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_query_bd_num_cmd_send    ## -- Begin function hclge_query_bd_num_cmd_send
	.p2align	4, 0x90
_hclge_query_bd_num_cmd_send:           ## @hclge_query_bd_num_cmd_send
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_HCLGE_OPC_DFX_BD_NUM@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	_HCLGE_CMD_FLAG_NEXT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_cpu_to_le16
	orl	%eax, (%rbx)
	leaq	4(%rbx), %rdi
	movl	(%r15), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movl	(%r12), %edi
	callq	_cpu_to_le16
	orl	%eax, 4(%rbx)
	leaq	8(%rbx), %rdi
	movl	(%r15), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movl	(%r12), %edi
	callq	_cpu_to_le16
	orl	%eax, 8(%rbx)
	leaq	12(%rbx), %rdi
	movl	(%r15), %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_cmd_send                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_OPC_DFX_BD_NUM,4,2       ## @HCLGE_OPC_DFX_BD_NUM
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ## @HCLGE_CMD_FLAG_NEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclge_query_bd_num_cmd_send    ; -- Begin function hclge_query_bd_num_cmd_send
	.p2align	2
_hclge_query_bd_num_cmd_send:           ; @hclge_query_bd_num_cmd_send
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _HCLGE_OPC_DFX_BD_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HCLGE_OPC_DFX_BD_NUM@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
Lloh2:
	adrp	x22, _HCLGE_CMD_FLAG_NEXT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _HCLGE_CMD_FLAG_NEXT@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_cpu_to_le16
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	add	x0, x19, #4
	ldr	w1, [x21]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	ldr	w0, [x22]
	bl	_cpu_to_le16
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
	add	x0, x19, #8
	ldr	w1, [x21]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	ldr	w0, [x22]
	bl	_cpu_to_le16
	ldr	w8, [x19, #8]
	orr	w8, w8, w0
	str	w8, [x19, #8]
	add	x0, x19, #12
	ldr	w1, [x21]
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	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	_hclge_cmd_send
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_OPC_DFX_BD_NUM,4,2       ; @HCLGE_OPC_DFX_BD_NUM
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ; @HCLGE_CMD_FLAG_NEXT
.subsections_via_symbols
