	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_write_cqc
_hns_roce_v2_write_cqc:                 ## @hns_roce_v2_write_cqc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movl	68(%rbx), %edi
	movq	_V2_CQC_BYTE_4_CQ_ST_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_4_CQ_ST_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V2_CQ_STATE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_roce_set_field
	movl	68(%rbx), %edi
	movq	_V2_CQC_BYTE_4_ARM_ST_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_4_ARM_ST_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_REG_NXT_CEQE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_roce_set_field
	movl	68(%rbx), %r12d
	movq	_V2_CQC_BYTE_4_SHIFT_M@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_V2_CQC_BYTE_4_SHIFT_S@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ilog2
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_roce_set_field
	movl	68(%rbx), %edi
	movq	_V2_CQC_BYTE_4_CEQN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_4_CEQN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_roce_set_field
	movl	64(%rbx), %edi
	movq	_V2_CQC_BYTE_8_CQN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_8_CQN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %ecx
	callq	_roce_set_field
	movl	(%r13), %edi
	movq	_PAGE_ADDR_SHIFT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	sarl	%cl, %edi
	callq	_cpu_to_le32
	movq	%rax, 56(%rbx)
	movl	48(%rbx), %edi
	movq	_V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %eax
	movb	(%r14), %cl
	sarl	%cl, %eax
	movl	%eax, %ecx
	callq	_roce_set_field
	movl	48(%rbx), %edi
	movq	_V2_CQC_BYTE_16_CQE_HOP_NUM_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_16_CQE_HOP_NUM_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rcx
	movq	_HNS_ROCE_HOP_NUM_0@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	movl	$0, %eax
	cmovel	%eax, %ecx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_roce_set_field
	movl	4(%r13), %edi
	movb	(%r14), %cl
	sarl	%cl, %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	movl	32(%rbx), %edi
	movq	_V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r13), %eax
	movb	(%r14), %cl
	sarl	%cl, %eax
	movl	%eax, %ecx
	callq	_roce_set_field
	movl	32(%rbx), %edi
	movq	_V2_CQC_BYTE_24_CQE_BA_PG_SZ_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_24_CQE_BA_PG_SZ_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PG_SHIFT_OFFSET@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	addl	8(%r12), %ecx
	callq	_roce_set_field
	movl	32(%rbx), %edi
	movq	_V2_CQC_BYTE_24_CQE_BUF_PG_SZ_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_24_CQE_BUF_PG_SZ_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movq	%r15, %r14
	addl	12(%r12), %ecx
	callq	_roce_set_field
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	sarl	$3, %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	movl	20(%rbx), %edi
	movq	_V2_CQC_BYTE_40_CQE_BA_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_40_CQE_BA_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_roce_set_field
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	movq	_V2_CQC_BYTE_44_DB_RECORD_EN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_roce_set_bit
LBB0_2:
	movl	16(%rbx), %edi
	movq	_V2_CQC_BYTE_44_DB_RECORD_ADDR_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_44_DB_RECORD_ADDR_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	sarl	%ecx
	callq	_roce_set_field
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edi
	movq	_V2_CQC_BYTE_56_CQ_MAX_CNT_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_56_CQ_MAX_CNT_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HNS_ROCE_V2_CQ_DEFAULT_BURST_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_roce_set_field
	movl	(%rbx), %edi
	movq	_V2_CQC_BYTE_56_CQ_PERIOD_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_CQC_BYTE_56_CQ_PERIOD_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HNS_ROCE_V2_CQ_DEFAULT_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_roce_set_field                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V2_CQC_BYTE_4_CQ_ST_M,4,2      ## @V2_CQC_BYTE_4_CQ_ST_M
	.comm	_V2_CQC_BYTE_4_CQ_ST_S,4,2      ## @V2_CQC_BYTE_4_CQ_ST_S
	.comm	_V2_CQ_STATE_VALID,4,2          ## @V2_CQ_STATE_VALID
	.comm	_V2_CQC_BYTE_4_ARM_ST_M,4,2     ## @V2_CQC_BYTE_4_ARM_ST_M
	.comm	_V2_CQC_BYTE_4_ARM_ST_S,4,2     ## @V2_CQC_BYTE_4_ARM_ST_S
	.comm	_REG_NXT_CEQE,4,2               ## @REG_NXT_CEQE
	.comm	_V2_CQC_BYTE_4_SHIFT_M,4,2      ## @V2_CQC_BYTE_4_SHIFT_M
	.comm	_V2_CQC_BYTE_4_SHIFT_S,4,2      ## @V2_CQC_BYTE_4_SHIFT_S
	.comm	_V2_CQC_BYTE_4_CEQN_M,4,2       ## @V2_CQC_BYTE_4_CEQN_M
	.comm	_V2_CQC_BYTE_4_CEQN_S,4,2       ## @V2_CQC_BYTE_4_CEQN_S
	.comm	_V2_CQC_BYTE_8_CQN_M,4,2        ## @V2_CQC_BYTE_8_CQN_M
	.comm	_V2_CQC_BYTE_8_CQN_S,4,2        ## @V2_CQC_BYTE_8_CQN_S
	.comm	_PAGE_ADDR_SHIFT,4,2            ## @PAGE_ADDR_SHIFT
	.comm	_V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_M,4,2 ## @V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_M
	.comm	_V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_S,4,2 ## @V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_S
	.comm	_V2_CQC_BYTE_16_CQE_HOP_NUM_M,4,2 ## @V2_CQC_BYTE_16_CQE_HOP_NUM_M
	.comm	_V2_CQC_BYTE_16_CQE_HOP_NUM_S,4,2 ## @V2_CQC_BYTE_16_CQE_HOP_NUM_S
	.comm	_HNS_ROCE_HOP_NUM_0,8,3         ## @HNS_ROCE_HOP_NUM_0
	.comm	_V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_M,4,2 ## @V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_M
	.comm	_V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_S,4,2 ## @V2_CQC_BYT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PERIOD_S
	.comm	_HNS_ROCE_V2_CQ_DEFAULT_INTERVAL,4,2 ## @HNS_ROCE_V2_CQ_DEFAULT_INTERVAL
	.no_dead_strip	_hns_roce_v2_write_cqc
.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_write_cqc
_hns_roce_v2_write_cqc:                 ; @hns_roce_v2_write_cqc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x6
	mov	x25, x5
	mov	x21, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #72
	bl	_memset
	ldr	w0, [x19, #68]
Lloh0:
	adrp	x8, _V2_CQC_BYTE_4_CQ_ST_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V2_CQC_BYTE_4_CQ_ST_M@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _V2_CQC_BYTE_4_CQ_ST_S@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V2_CQC_BYTE_4_CQ_ST_S@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _V2_CQ_STATE_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V2_CQ_STATE_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_roce_set_field
	ldr	w0, [x19, #68]
Lloh9:
	adrp	x8, _V2_CQC_BYTE_4_ARM_ST_M@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V2_CQC_BYTE_4_ARM_ST_M@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _V2_CQC_BYTE_4_ARM_ST_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V2_CQC_BYTE_4_ARM_ST_S@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _REG_NXT_CEQE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_NXT_CEQE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	bl	_roce_set_field
	ldr	w26, [x19, #68]
Lloh18:
	adrp	x8, _V2_CQC_BYTE_4_SHIFT_M@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V2_CQC_BYTE_4_SHIFT_M@GOTPAGEOFF]
Lloh20:
	ldr	w27, [x8]
Lloh21:
	adrp	x8, _V2_CQC_BYTE_4_SHIFT_S@GOTPAGE
Lloh22:
	ldr	x8, [x8, _V2_CQC_BYTE_4_SHIFT_S@GOTPAGEOFF]
Lloh23:
	ldr	w28, [x8]
	mov	x0, x25
	bl	_ilog2
	mov	x3, x0
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	bl	_roce_set_field
	ldr	w0, [x19, #68]
Lloh24:
	adrp	x8, _V2_CQC_BYTE_4_CEQN_M@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V2_CQC_BYTE_4_CEQN_M@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _V2_CQC_BYTE_4_CEQN_S@GOTPAGE
Lloh28:
	ldr	x8, [x8, _V2_CQC_BYTE_4_CEQN_S@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x3, x24
	bl	_roce_set_field
Lloh30:
	adrp	x8, _V2_CQC_BYTE_8_CQN_M@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V2_CQC_BYTE_8_CQN_M@GOTPAGEOFF]
	ldr	w0, [x19, #64]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _V2_CQC_BYTE_8_CQN_S@GOTPAGE
Lloh34:
	ldr	x8, [x8, _V2_CQC_BYTE_8_CQN_S@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	ldr	w3, [x20]
	bl	_roce_set_field
	ldr	w8, [x23]
Lloh36:
	adrp	x24, _PAGE_ADDR_SHIFT@GOTPAGE
Lloh37:
	ldr	x24, [x24, _PAGE_ADDR_SHIFT@GOTPAGEOFF]
	ldr	w9, [x24]
	asr	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x19, #56]
	ldr	w0, [x19, #48]
Lloh38:
	adrp	x8, _V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_M@GOTPAGE
Lloh39:
	ldr	x8, [x8, _V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_M@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x8, _V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_S@GOTPAGE
Lloh42:
	ldr	x8, [x8, _V2_CQC_BYTE_16_CQE_CUR_BLK_ADDR_S@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	ldr	w8, [x23]
	ldr	w9, [x24]
	asr	w3, w8, w9
	bl	_roce_set_field
	ldr	w0, [x19, #48]
Lloh44:
	adrp	x8, _V2_CQC_BYTE_16_CQE_HOP_NUM_M@GOTPAGE
Lloh45:
	ldr	x8, [x8, _V2_CQC_BYTE_16_CQE_HOP_NUM_M@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x8, _V2_CQC_BYTE_16_CQE_HOP_NUM_S@GOTPAGE
Lloh48:
	ldr	x8, [x8, _V2_CQC_BYTE_16_CQE_HOP_NUM_S@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	ldr	x8, [x22]
Lloh50:
	adrp	x9, _HNS_ROCE_HOP_NUM_0@GOTPAGE
Lloh51:
	ldr	x9, [x9, _HNS_ROCE_HOP_NUM_0@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	w3, wzr, w8, eq
	bl	_roce_set_field
	ldr	w8, [x23, #4]
	ldr	w9, [x24]
	asr	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x19, #40]
	ldr	w0, [x19, #32]
Lloh53:
	adrp	x8, _V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_M@GOTPAGE
Lloh54:
	ldr	x8, [x8, _V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_M@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x8, _V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_S@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V2_CQC_BYTE_24_CQE_NXT_BLK_ADDR_S@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	ldr	w8, [x23, #4]
	ldr	w9, [x24]
	asr	w3, w8, w9
	bl	_roce_set_field
	ldr	w0, [x19, #32]
Lloh59:
	adrp	x8, _V2_CQC_BYTE_24_CQE_BA_PG_SZ_M@GOTPAGE
Lloh60:
	ldr	x8, [x8, _V2_CQC_BYTE_24_CQE_BA_PG_SZ_M@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
Lloh62:
	adrp	x8, _V2_CQC_BYTE_24_CQE_BA_PG_SZ_S@GOTPAGE
Lloh63:
	ldr	x8, [x8, _V2_CQC_BYTE_24_CQE_BA_PG_SZ_S@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	ldr	w8, [x22, #8]
Lloh65:
	adrp	x23, _PG_SHIFT_OFFSET@GOTPAGE
Lloh66:
	ldr	x23, [x23, _PG_SHIFT_OFFSET@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w3, w9, w8
	bl	_roce_set_field
	ldr	w0, [x19, #32]
Lloh67:
	adrp	x8, _V2_CQC_BYTE_24_CQE_BUF_PG_SZ_M@GOTPAGE
Lloh68:
	ldr	x8, [x8, _V2_CQC_BYTE_24_CQE_BUF_PG_SZ_M@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
Lloh70:
	adrp	x8, _V2_CQC_BYTE_24_CQE_BUF_PG_SZ_S@GOTPAGE
Lloh71:
	ldr	x8, [x8, _V2_CQC_BYTE_24_CQE_BUF_PG_SZ_S@GOTPAGEOFF]
Lloh72:
	ldr	w2, [x8]
	ldr	w8, [x22, #12]
	ldr	w9, [x23]
	add	w3, w9, w8
	bl	_roce_set_field
	asr	w0, w21, #3
	bl	_cpu_to_le32
	str	x0, [x19, #24]
	ldr	w0, [x19, #20]
Lloh73:
	adrp	x8, _V2_CQC_BYTE_40_CQE_BA_M@GOTPAGE
Lloh74:
	ldr	x8, [x8, _V2_CQC_BYTE_40_CQE_BA_M@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
Lloh76:
	adrp	x8, _V2_CQC_BYTE_40_CQE_BA_S@GOTPAGE
Lloh77:
	ldr	x8, [x8, _V2_CQC_BYTE_40_CQE_BA_S@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	bl	_roce_set_field
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
Lloh79:
	adrp	x8, _V2_CQC_BYTE_44_DB_RECORD_EN_S@GOTPAGE
Lloh80:
	ldr	x8, [x8, _V2_CQC_BYTE_44_DB_RECORD_EN_S@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_roce_set_bit
LBB0_2:
	ldr	w0, [x19, #16]
Lloh82:
	adrp	x8, _V2_CQC_BYTE_44_DB_RECORD_ADDR_M@GOTPAGE
Lloh83:
	ldr	x8, [x8, _V2_CQC_BYTE_44_DB_RECORD_ADDR_M@GOTPAGEOFF]
Lloh84:
	ldr	w1, [x8]
Lloh85:
	adrp	x8, _V2_CQC_BYTE_44_DB_RECORD_ADDR_S@GOTPAGE
Lloh86:
	ldr	x8, [x8, _V2_CQC_BYTE_44_DB_RECORD_ADDR_S@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
	ldr	w8, [x20, #4]
	asr	w3, w8, #1
	bl	_roce_set_field
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	ldr	w0, [x19]
Lloh88:
	adrp	x8, _V2_CQC_BYTE_56_CQ_MAX_CNT_M@GOTPAGE
Lloh89:
	ldr	x8, [x8, _V2_CQC_BYTE_56_CQ_MAX_CNT_M@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
Lloh91:
	adrp	x8, _V2_CQC_BYTE_56_CQ_MAX_CNT_S@GOTPAGE
Lloh92:
	ldr	x8, [x8, _V2_CQC_BYTE_56_CQ_MAX_CNT_S@GOTPAGEOFF]
Lloh93:
	ldr	w2, [x8]
Lloh94:
	adrp	x8, _HNS_ROCE_V2_CQ_DEFAULT_BURST_NUM@GOTPAGE
Lloh95:
	ldr	x8, [x8, _HNS_ROCE_V2_CQ_DEFAULT_BURST_NUM@GOTPAGEOFF]
Lloh96:
	ldr	w3, [x8]
	bl	_roce_set_field
Lloh97:
	adrp	x8, _V2_CQC_BYTE_56_CQ_PERIOD_M@GOTPAGE
Lloh98:
	ldr	x8, [x8, _V2_CQC_BYTE_56_CQ_PERIOD_M@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh99:
	ldr	w1, [x8]
Lloh100:
	adrp	x8, _V2_CQC_BYTE_56_CQ_PERIOD_S@GOTPAGE
Lloh101:
	ldr	x8, [x8, _V2_CQC_BYTE_56_CQ_PERIOD_S@GOTPAGEOFF]
Lloh102:
	adrp	x9, _HNS_ROCE_V2_CQ_DEFAULT_INTERVAL@GOTPAGE
Lloh103:
	ldr	x9, [x9, _HNS_ROCE_V2_CQ_DEFAULT_INTERVAL@GOTPAGEOFF]
Lloh104:
	ldr	w2, [x8]
Lloh105:
	ldr	w3, [x9]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_roce_set_field
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh104
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.cfi_endproc
                                        ; -- End function
	.comm	_V2_CQC_BYTE_4_CQ_ST_M,4,2      ; @V2_CQC_BYTE_4_CQ_ST_M
	.comm	_V2_CQC_BYTE_4_CQ_ST_S,4,2      ; @V2_CQC_BYTE_4_CQ_ST_S
	.comm	_V2_CQ_STATE_VALID,4,2          ; @V2_CQ_STATE_VALID
	.comm	_V2_CQC_BYTE_4_ARM_ST_M,4,2     ; @V2_CQC_BYTE_4_ARM_ST_M
	.comm	_V2_CQC_BYTE_4_ARM_ST_S,4,2     ; @V2_CQC_BYTE_4_ARM_ST_S
	.comm	_REG_NXT_CEQE,4,2               ; @REG_NXT_CEQE
	.comm	_V2_CQC_BYTE_4_SHIFT_M,4,2      ; @V2_CQC_BYTE_4_SHIFT_M
	.comm	_V2_CQC_BYTE_4_SHIFT_S,4,2      ; @V2_CQC_BYTE_4_SHIFT_S
	.comm	_V2_CQC_BYTE_4_CEQN_M,4,2       ; @V2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_SZ_S,4,2 ; @V2_CQC_BYTE_24_CQE_BUF_PG_SZ_S
	.comm	_V2_CQC_BYTE_40_CQE_BA_M,4,2    ; @V2_CQC_BYTE_40_CQE_BA_M
	.comm	_V2_CQC_BYTE_40_CQE_BA_S,4,2    ; @V2_CQC_BYTE_40_CQE_BA_S
	.comm	_V2_CQC_BYTE_44_DB_RECORD_EN_S,4,2 ; @V2_CQC_BYTE_44_DB_RECORD_EN_S
	.comm	_V2_CQC_BYTE_44_DB_RECORD_ADDR_M,4,2 ; @V2_CQC_BYTE_44_DB_RECORD_ADDR_M
	.comm	_V2_CQC_BYTE_44_DB_RECORD_ADDR_S,4,2 ; @V2_CQC_BYTE_44_DB_RECORD_ADDR_S
	.comm	_V2_CQC_BYTE_56_CQ_MAX_CNT_M,4,2 ; @V2_CQC_BYTE_56_CQ_MAX_CNT_M
	.comm	_V2_CQC_BYTE_56_CQ_MAX_CNT_S,4,2 ; @V2_CQC_BYTE_56_CQ_MAX_CNT_S
	.comm	_HNS_ROCE_V2_CQ_DEFAULT_BURST_NUM,4,2 ; @HNS_ROCE_V2_CQ_DEFAULT_BURST_NUM
	.comm	_V2_CQC_BYTE_56_CQ_PERIOD_M,4,2 ; @V2_CQC_BYTE_56_CQ_PERIOD_M
	.comm	_V2_CQC_BYTE_56_CQ_PERIOD_S,4,2 ; @V2_CQC_BYTE_56_CQ_PERIOD_S
	.comm	_HNS_ROCE_V2_CQ_DEFAULT_INTERVAL,4,2 ; @HNS_ROCE_V2_CQ_DEFAULT_INTERVAL
	.no_dead_strip	_hns_roce_v2_write_cqc
.subsections_via_symbols
