	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v1_req_notify_cq
_hns_roce_v1_req_notify_cq:             ## @hns_roce_v1_req_notify_cq
	.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
	movl	%esi, %ebx
	callq	_to_hr_cq
	movq	%rax, %r15
	movq	_IB_CQ_SOLICITED_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	$0, -32(%rbp)
	movq	_IB_CQ_SOLICITED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_1
## %bb.2:
	movq	_CQ_DB_REQ_NOT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CQ_DB_REQ_NOT_SOL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	movl	4(%r15), %eax
	leal	(%rax,%rax), %edi
	decl	%edi
	andl	(%r15), %edi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_roce_set_bit
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$3, %ecx
	callq	_roce_set_field
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$1, %ecx
	callq	_roce_set_field
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	8(%r15), %r14d
	xorl	%edi, %edi
	movl	%r14d, %ecx
	callq	_roce_set_field
	movl	12(%r15), %esi
	leaq	-32(%rbp), %rdi
	callq	_hns_roce_write64_k
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CQ_SOLICITED_MASK,4,2       ## @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_SOLICITED,4,2            ## @IB_CQ_SOLICITED
	.comm	_CQ_DB_REQ_NOT,4,2              ## @CQ_DB_REQ_NOT
	.comm	_CQ_DB_REQ_NOT_SOL,4,2          ## @CQ_DB_REQ_NOT_SOL
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S,4,2 ## @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S
	.no_dead_strip	_hns_roce_v1_req_notify_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_v1_req_notify_cq
_hns_roce_v1_req_notify_cq:             ; @hns_roce_v1_req_notify_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	bl	_to_hr_cq
	mov	x19, x0
Lloh0:
	adrp	x8, _IB_CQ_SOLICITED_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_CQ_SOLICITED_MASK@GOTPAGEOFF]
	str	xzr, [sp, #8]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w20
Lloh3:
	adrp	x9, _IB_CQ_SOLICITED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_CQ_SOLICITED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _CQ_DB_REQ_NOT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CQ_DB_REQ_NOT@GOTPAGEOFF]
Lloh8:
	adrp	x11, _CQ_DB_REQ_NOT_SOL@GOTPAGE
Lloh9:
	ldr	x11, [x11, _CQ_DB_REQ_NOT_SOL@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
	ldr	w20, [x8]
	ldp	w8, w9, [x0]
	lsl	w9, w9, #1
	sub	w9, w9, #1
	and	w0, w9, w8
	bl	_cpu_to_le32
	str	w0, [sp, #8]
Lloh10:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #1
	bl	_roce_set_bit
Lloh13:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #3
	bl	_roce_set_field
Lloh19:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w3, #1
	bl	_roce_set_field
Lloh25:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	ldr	w8, [x19, #8]
	orr	w3, w8, w20
	mov	w0, #0
	bl	_roce_set_field
	ldr	w1, [x19, #12]
	add	x0, sp, #8
	bl	_hns_roce_write64_k
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CQ_SOLICITED_MASK,4,2       ; @IB_CQ_SOLICITED_MASK
	.comm	_IB_CQ_SOLICITED,4,2            ; @IB_CQ_SOLICITED
	.comm	_CQ_DB_REQ_NOT,4,2              ; @CQ_DB_REQ_NOT
	.comm	_CQ_DB_REQ_NOT_SOL,4,2          ; @CQ_DB_REQ_NOT_SOL
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_HW_SYNS_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_CMD_MDF_S
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_M
	.comm	_ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S,4,2 ; @ROCEE_DB_OTHERS_H_ROCEE_DB_OTH_INP_H_S
	.no_dead_strip	_hns_roce_v1_req_notify_cq
.subsections_via_symbols
