	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_req_notify_cq
_hns_roce_v2_req_notify_cq:             ## @hns_roce_v2_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rdi), %edi
	callq	_to_hr_dev
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_to_hr_cq
	movq	%rax, %r12
	xorps	%xmm0, %xmm0
	movq	_IB_CQ_SOLICITED_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movaps	%xmm0, -64(%rbp)
	movq	_IB_CQ_SOLICITED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_1
## %bb.2:
	movq	_V2_CQ_DB_REQ_NOT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_V2_CQ_DB_REQ_NOT_SOL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r15d
	movq	_V2_CQ_DB_BYTE_4_TAG_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_DB_BYTE_4_TAG_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	xorl	%edi, %edi
	callq	_roce_set_field
	movq	_V2_CQ_DB_BYTE_4_CMD_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_DB_BYTE_4_CMD_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HNS_ROCE_V2_CQ_DB_NTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_roce_set_field
	movq	_V2_CQ_DB_PARAMETER_CONS_IDX_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQ_DB_PARAMETER_CONS_IDX_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r12), %eax
	leal	(%rax,%rax), %ecx
	decl	%ecx
	andl	4(%r12), %ecx
	xorl	%edi, %edi
	callq	_roce_set_field
	movq	_V2_CQ_DB_PARAMETER_CMD_SN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQ_DB_PARAMETER_CMD_SN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	12(%r12), %ecx
	andl	$3, %ecx
	xorl	%edi, %edi
	callq	_roce_set_field
	movq	_V2_CQ_DB_PARAMETER_NOTIFY_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%r15d, %edx
	callq	_roce_set_bit
	movl	16(%r12), %edx
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	callq	_hns_roce_write64
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.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	_V2_CQ_DB_REQ_NOT,4,2           ## @V2_CQ_DB_REQ_NOT
	.comm	_V2_CQ_DB_REQ_NOT_SOL,4,2       ## @V2_CQ_DB_REQ_NOT_SOL
	.comm	_V2_CQ_DB_BYTE_4_TAG_M,4,2      ## @V2_CQ_DB_BYTE_4_TAG_M
	.comm	_V2_DB_BYTE_4_TAG_S,4,2         ## @V2_DB_BYTE_4_TAG_S
	.comm	_V2_CQ_DB_BYTE_4_CMD_M,4,2      ## @V2_CQ_DB_BYTE_4_CMD_M
	.comm	_V2_DB_BYTE_4_CMD_S,4,2         ## @V2_DB_BYTE_4_CMD_S
	.comm	_HNS_ROCE_V2_CQ_DB_NTR,4,2      ## @HNS_ROCE_V2_CQ_DB_NTR
	.comm	_V2_CQ_DB_PARAMETER_CONS_IDX_M,4,2 ## @V2_CQ_DB_PARAMETER_CONS_IDX_M
	.comm	_V2_CQ_DB_PARAMETER_CONS_IDX_S,4,2 ## @V2_CQ_DB_PARAMETER_CONS_IDX_S
	.comm	_V2_CQ_DB_PARAMETER_CMD_SN_M,4,2 ## @V2_CQ_DB_PARAMETER_CMD_SN_M
	.comm	_V2_CQ_DB_PARAMETER_CMD_SN_S,4,2 ## @V2_CQ_DB_PARAMETER_CMD_SN_S
	.comm	_V2_CQ_DB_PARAMETER_NOTIFY_S,4,2 ## @V2_CQ_DB_PARAMETER_NOTIFY_S
	.no_dead_strip	_hns_roce_v2_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_v2_req_notify_cq
_hns_roce_v2_req_notify_cq:             ; @hns_roce_v2_req_notify_cq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x0]
	bl	_to_hr_dev
	mov	x19, x0
	mov	x0, x20
	bl	_to_hr_cq
	mov	x20, x0
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x8, _IB_CQ_SOLICITED_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_CQ_SOLICITED_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w21
Lloh6:
	adrp	x9, _IB_CQ_SOLICITED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_CQ_SOLICITED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _V2_CQ_DB_REQ_NOT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V2_CQ_DB_REQ_NOT@GOTPAGEOFF]
Lloh11:
	adrp	x11, _V2_CQ_DB_REQ_NOT_SOL@GOTPAGE
Lloh12:
	ldr	x11, [x11, _V2_CQ_DB_REQ_NOT_SOL@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x10, x11, eq
Lloh13:
	adrp	x9, _V2_CQ_DB_BYTE_4_TAG_M@GOTPAGE
Lloh14:
	ldr	x9, [x9, _V2_CQ_DB_BYTE_4_TAG_M@GOTPAGEOFF]
	ldr	w21, [x8]
Lloh15:
	ldr	w1, [x9]
Lloh16:
	adrp	x8, _V2_DB_BYTE_4_TAG_S@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V2_DB_BYTE_4_TAG_S@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	w3, [x0]
	mov	x0, #0
	bl	_roce_set_field
Lloh19:
	adrp	x8, _V2_CQ_DB_BYTE_4_CMD_M@GOTPAGE
Lloh20:
	ldr	x8, [x8, _V2_CQ_DB_BYTE_4_CMD_M@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _V2_DB_BYTE_4_CMD_S@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V2_DB_BYTE_4_CMD_S@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x8, _HNS_ROCE_V2_CQ_DB_NTR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HNS_ROCE_V2_CQ_DB_NTR@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, #0
	bl	_roce_set_field
Lloh28:
	adrp	x8, _V2_CQ_DB_PARAMETER_CONS_IDX_M@GOTPAGE
Lloh29:
	ldr	x8, [x8, _V2_CQ_DB_PARAMETER_CONS_IDX_M@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _V2_CQ_DB_PARAMETER_CONS_IDX_S@GOTPAGE
Lloh32:
	ldr	x8, [x8, _V2_CQ_DB_PARAMETER_CONS_IDX_S@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	ldp	w8, w9, [x20, #4]
	lsl	w9, w9, #1
	sub	w9, w9, #1
	and	w3, w9, w8
	mov	x0, #0
	bl	_roce_set_field
Lloh34:
	adrp	x8, _V2_CQ_DB_PARAMETER_CMD_SN_M@GOTPAGE
Lloh35:
	ldr	x8, [x8, _V2_CQ_DB_PARAMETER_CMD_SN_M@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _V2_CQ_DB_PARAMETER_CMD_SN_S@GOTPAGE
Lloh38:
	ldr	x8, [x8, _V2_CQ_DB_PARAMETER_CMD_SN_S@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	ldr	w8, [x20, #12]
	and	w3, w8, #0x3
	mov	x0, #0
	bl	_roce_set_field
Lloh40:
	adrp	x8, _V2_CQ_DB_PARAMETER_NOTIFY_S@GOTPAGE
Lloh41:
	ldr	x8, [x8, _V2_CQ_DB_PARAMETER_NOTIFY_S@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, #0
	mov	x2, x21
	bl	_roce_set_bit
	ldr	w2, [x20, #16]
	add	x1, sp, #8
	mov	x0, x19
	bl	_hns_roce_write64
	ldr	x8, [sp, #24]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.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 AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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	_V2_CQ_DB_REQ_NOT,4,2           ; @V2_CQ_DB_REQ_NOT
	.comm	_V2_CQ_DB_REQ_NOT_SOL,4,2       ; @V2_CQ_DB_REQ_NOT_SOL
	.comm	_V2_CQ_DB_BYTE_4_TAG_M,4,2      ; @V2_CQ_DB_BYTE_4_TAG_M
	.comm	_V2_DB_BYTE_4_TAG_S,4,2         ; @V2_DB_BYTE_4_TAG_S
	.comm	_V2_CQ_DB_BYTE_4_CMD_M,4,2      ; @V2_CQ_DB_BYTE_4_CMD_M
	.comm	_V2_DB_BYTE_4_CMD_S,4,2         ; @V2_DB_BYTE_4_CMD_S
	.comm	_HNS_ROCE_V2_CQ_DB_NTR,4,2      ; @HNS_ROCE_V2_CQ_DB_NTR
	.comm	_V2_CQ_DB_PARAMETER_CONS_IDX_M,4,2 ; @V2_CQ_DB_PARAMETER_CONS_IDX_M
	.comm	_V2_CQ_DB_PARAMETER_CONS_IDX_S,4,2 ; @V2_CQ_DB_PARAMETER_CONS_IDX_S
	.comm	_V2_CQ_DB_PARAMETER_CMD_SN_M,4,2 ; @V2_CQ_DB_PARAMETER_CMD_SN_M
	.comm	_V2_CQ_DB_PARAMETER_CMD_SN_S,4,2 ; @V2_CQ_DB_PARAMETER_CMD_SN_S
	.comm	_V2_CQ_DB_PARAMETER_NOTIFY_S,4,2 ; @V2_CQ_DB_PARAMETER_NOTIFY_S
	.no_dead_strip	_hns_roce_v2_req_notify_cq
.subsections_via_symbols
