	.file	"extr_hns_roce_hw_v2.c_hns_roce_v2_req_notify_cq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hns_roce_v2_req_notify_cq, @function
hns_roce_v2_req_notify_cq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	to_hr_dev@PLT
	mov	rdi, r12
	mov	r13, rax
	call	to_hr_cq@PLT
	and	ebp, DWORD PTR IB_CQ_SOLICITED_MASK[rip]
	cmp	ebp, DWORD PTR IB_CQ_SOLICITED[rip]
	mov	QWORD PTR [rsp], 0
	mov	QWORD PTR 8[rsp], 0
	mov	r12d, DWORD PTR V2_CQ_DB_REQ_NOT_SOL[rip]
	mov	rbx, rax
	jne	.L3
	mov	r12d, DWORD PTR V2_CQ_DB_REQ_NOT[rip]
.L3:
	mov	ecx, DWORD PTR [rbx]
	mov	edx, DWORD PTR V2_DB_BYTE_4_TAG_S[rip]
	xor	edi, edi
	mov	esi, DWORD PTR V2_CQ_DB_BYTE_4_TAG_M[rip]
	call	roce_set_field@PLT
	mov	ecx, DWORD PTR HNS_ROCE_V2_CQ_DB_NTR[rip]
	mov	edx, DWORD PTR V2_DB_BYTE_4_CMD_S[rip]
	mov	esi, DWORD PTR V2_CQ_DB_BYTE_4_CMD_M[rip]
	mov	rdi, QWORD PTR [rsp]
	call	roce_set_field@PLT
	mov	eax, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR V2_CQ_DB_PARAMETER_CONS_IDX_S[rip]
	mov	esi, DWORD PTR V2_CQ_DB_PARAMETER_CONS_IDX_M[rip]
	mov	rdi, QWORD PTR 8[rsp]
	lea	ecx, -1[rax+rax]
	and	ecx, DWORD PTR 4[rbx]
	call	roce_set_field@PLT
	mov	ecx, DWORD PTR 12[rbx]
	mov	edx, DWORD PTR V2_CQ_DB_PARAMETER_CMD_SN_S[rip]
	mov	esi, DWORD PTR V2_CQ_DB_PARAMETER_CMD_SN_M[rip]
	mov	rdi, QWORD PTR 8[rsp]
	and	ecx, 3
	call	roce_set_field@PLT
	mov	esi, DWORD PTR V2_CQ_DB_PARAMETER_NOTIFY_S[rip]
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, r12d
	call	roce_set_bit@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	rsi, rsp
	mov	rdi, r13
	call	hns_roce_write64@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hns_roce_v2_req_notify_cq, .-hns_roce_v2_req_notify_cq
	.comm	V2_DB_BYTE_4_TAG_S,4,4
	.comm	V2_DB_BYTE_4_CMD_S,4,4
	.comm	V2_CQ_DB_REQ_NOT_SOL,4,4
	.comm	V2_CQ_DB_REQ_NOT,4,4
	.comm	V2_CQ_DB_PARAMETER_NOTIFY_S,4,4
	.comm	V2_CQ_DB_PARAMETER_CONS_IDX_S,4,4
	.comm	V2_CQ_DB_PARAMETER_CONS_IDX_M,4,4
	.comm	V2_CQ_DB_PARAMETER_CMD_SN_S,4,4
	.comm	V2_CQ_DB_PARAMETER_CMD_SN_M,4,4
	.comm	V2_CQ_DB_BYTE_4_TAG_M,4,4
	.comm	V2_CQ_DB_BYTE_4_CMD_M,4,4
	.comm	IB_CQ_SOLICITED_MASK,4,4
	.comm	IB_CQ_SOLICITED,4,4
	.comm	HNS_ROCE_V2_CQ_DB_NTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hns_roce_hw_v2.c_hns_roce_v2_req_notify_cq.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hns_roce_v2_req_notify_cq, %function
hns_roce_v2_req_notify_cq:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	sub	sp, sp, #16
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	to_hr_dev
	mov	r6, r0
	mov	r0, r4
	bl	to_hr_cq
	mov	r3, #0
	mov	r4, r0
	ldr	r1, .L8+4
	ldr	r2, .L8+8
	ldr	r1, [r1]
	ldr	r2, [r2]
	and	r5, r5, r1
	cmp	r5, r2
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	ldreq	r3, .L8+12
	ldrne	r3, .L8+16
	ldr	r2, .L8+20
	ldr	r5, [r3]
	ldr	r3, .L8+24
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, [r0]
	mov	r0, #0
	bl	roce_set_field
	ldr	r3, .L8+28
	ldr	r2, .L8+32
	ldr	r1, .L8+36
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [sp, #4]
	bl	roce_set_field
	ldmib	r4, {r0, r3}
	ldr	r2, .L8+40
	ldr	r1, .L8+44
	lsl	r3, r3, #1
	sub	r3, r3, #1
	and	r3, r3, r0
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [sp, #8]
	bl	roce_set_field
	ldr	r3, [r4, #12]
	ldr	r2, .L8+48
	ldr	r1, .L8+52
	ldr	r2, [r2]
	ldr	r1, [r1]
	and	r3, r3, #3
	ldr	r0, [sp, #8]
	bl	roce_set_field
	ldr	r3, .L8+56
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [sp, #8]
	bl	roce_set_bit
	ldr	r2, [r4, #16]
	mov	r0, r6
	add	r1, sp, #4
	bl	hns_roce_write64
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	IB_CQ_SOLICITED_MASK
	.word	IB_CQ_SOLICITED
	.word	V2_CQ_DB_REQ_NOT
	.word	V2_CQ_DB_REQ_NOT_SOL
	.word	V2_DB_BYTE_4_TAG_S
	.word	V2_CQ_DB_BYTE_4_TAG_M
	.word	HNS_ROCE_V2_CQ_DB_NTR
	.word	V2_DB_BYTE_4_CMD_S
	.word	V2_CQ_DB_BYTE_4_CMD_M
	.word	V2_CQ_DB_PARAMETER_CONS_IDX_S
	.word	V2_CQ_DB_PARAMETER_CONS_IDX_M
	.word	V2_CQ_DB_PARAMETER_CMD_SN_S
	.word	V2_CQ_DB_PARAMETER_CMD_SN_M
	.word	V2_CQ_DB_PARAMETER_NOTIFY_S
	.size	hns_roce_v2_req_notify_cq, .-hns_roce_v2_req_notify_cq
	.comm	V2_DB_BYTE_4_TAG_S,4,4
	.comm	V2_DB_BYTE_4_CMD_S,4,4
	.comm	V2_CQ_DB_REQ_NOT_SOL,4,4
	.comm	V2_CQ_DB_REQ_NOT,4,4
	.comm	V2_CQ_DB_PARAMETER_NOTIFY_S,4,4
	.comm	V2_CQ_DB_PARAMETER_CONS_IDX_S,4,4
	.comm	V2_CQ_DB_PARAMETER_CONS_IDX_M,4,4
	.comm	V2_CQ_DB_PARAMETER_CMD_SN_S,4,4
	.comm	V2_CQ_DB_PARAMETER_CMD_SN_M,4,4
	.comm	V2_CQ_DB_BYTE_4_TAG_M,4,4
	.comm	V2_CQ_DB_BYTE_4_CMD_M,4,4
	.comm	IB_CQ_SOLICITED_MASK,4,4
	.comm	IB_CQ_SOLICITED,4,4
	.comm	HNS_ROCE_V2_CQ_DB_NTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
