	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_hw2sw_cq
_hns_roce_hw2sw_cq:                     ## @hns_roce_hw2sw_cq
	.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	%rdx, %rcx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movl	(%rsi), %edx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	xorl	%r8d, %r8d
	testq	%rsi, %rsi
	sete	%r8b
	movq	_HNS_ROCE_CMD_HW2SW_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_HNS_ROCE_CMD_TIMEOUT_MSECS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	xorl	%esi, %esi
	callq	_hns_roce_cmd_mbox
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS_ROCE_CMD_HW2SW_CQ,4,2      ## @HNS_ROCE_CMD_HW2SW_CQ
	.comm	_HNS_ROCE_CMD_TIMEOUT_MSECS,4,2 ## @HNS_ROCE_CMD_TIMEOUT_MSECS
	.no_dead_strip	_hns_roce_hw2sw_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_hw2sw_cq
_hns_roce_hw2sw_cq:                     ; @hns_roce_hw2sw_cq
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w2, [x1]
	b	LBB0_3
LBB0_2:
	mov	w2, #0
LBB0_3:
	cmp	x1, #0
Lloh0:
	adrp	x8, _HNS_ROCE_CMD_HW2SW_CQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNS_ROCE_CMD_HW2SW_CQ@GOTPAGEOFF]
	cset	w4, eq
Lloh2:
	ldr	w5, [x8]
Lloh3:
	adrp	x8, _HNS_ROCE_CMD_TIMEOUT_MSECS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HNS_ROCE_CMD_TIMEOUT_MSECS@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	mov	w1, #0
	b	_hns_roce_cmd_mbox
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS_ROCE_CMD_HW2SW_CQ,4,2      ; @HNS_ROCE_CMD_HW2SW_CQ
	.comm	_HNS_ROCE_CMD_TIMEOUT_MSECS,4,2 ; @HNS_ROCE_CMD_TIMEOUT_MSECS
	.no_dead_strip	_hns_roce_hw2sw_cq
.subsections_via_symbols
