	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_get_qid_global
_hclgevf_get_qid_global:                ## @hclgevf_get_qid_global
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	%esi, -52(%rbp)
	callq	_hclgevf_ae_get_hdev
	movq	%rax, %r14
	leaq	-40(%rbp), %r15
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_HCLGE_MBX_GET_QID_IN_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rax
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	$8, %r8d
	movl	$1, %r9d
	pushq	$8
	pushq	%rax
	callq	_hclgevf_send_mbx_msg
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-48(%rbp), %ebx
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_MBX_GET_QID_IN_PF,4,2    ## @HCLGE_MBX_GET_QID_IN_PF
	.no_dead_strip	_hclgevf_get_qid_global
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_get_qid_global
_hclgevf_get_qid_global:                ; @hclgevf_get_qid_global
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	w1, [sp, #4]
	bl	_hclgevf_ae_get_hdev
	mov	x19, x0
	add	x0, sp, #16
	add	x1, sp, #4
	mov	w2, #4
	bl	_memcpy
Lloh3:
	adrp	x8, _HCLGE_MBX_GET_QID_IN_PF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_MBX_GET_QID_IN_PF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #16
	add	x6, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w4, #8
	mov	w5, #1
	mov	w7, #8
	bl	_hclgevf_send_mbx_msg
	ldr	w8, [sp, #8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_MBX_GET_QID_IN_PF,4,2    ; @HCLGE_MBX_GET_QID_IN_PF
	.no_dead_strip	_hclgevf_get_qid_global
.subsections_via_symbols
