	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_raq_init
_hns_roce_raq_init:                     ## @hns_roce_raq_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$8, %edi
	callq	_kzalloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_HNS_ROCE_V1_RAQ_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %ecx
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_dma_alloc_coherent
	movq	(%rbx), %rdi
	movl	%eax, 4(%rdi)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	-44(%rbp), %edx
	movl	%edx, (%rdi)
	movq	_ROCEE_EXT_RAQ_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	sarl	$12, %edx
	movq	%r15, %rdi
	callq	_roce_write
	movl	(%r12), %eax
	movq	_HNS_ROCE_V1_RAQ_ENTRY@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %edi
	callq	_ilog2
	movl	%eax, %r12d
	movq	_ROCEE_EXT_RAQ_H_REG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_roce_read
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, %ebx
	movq	_ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	%r12d, %ecx
	callq	_roce_set_field
	movq	_ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	callq	_roce_set_field
	movl	%ebx, %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_roce_write
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	movq	_ROCEE_RAQ_WL_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_roce_read
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, %ebx
	movq	_ROCEE_RAQ_WL_ROCEE_RAQ_WL_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_RAQ_WL_ROCEE_RAQ_WL_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HNS_ROCE_V1_EXT_RAQ_WF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_roce_set_field
	movl	%ebx, %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_roce_write
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_roce_read
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, %ebx
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_POL_TIME_INTERVAL_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_roce_set_field
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	$1, %edx
	callq	_roce_set_bit
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$2, %ecx
	callq	_roce_set_field
	movq	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	$1, %edx
	callq	_roce_set_bit
	movl	%ebx, %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_roce_write
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	movq	_ROCEE_GLB_CFG_REG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_roce_read
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, %ebx
	movq	_ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movl	$1, %edx
	callq	_roce_set_bit
	movl	%ebx, %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_roce_write
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	callq	_kfree
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_HNS_ROCE_V1_RAQ_SIZE,4,2       ## @HNS_ROCE_V1_RAQ_SIZE
	.comm	_ROCEE_EXT_RAQ_REG,4,2          ## @ROCEE_EXT_RAQ_REG
	.comm	_HNS_ROCE_V1_RAQ_ENTRY,4,2      ## @HNS_ROCE_V1_RAQ_ENTRY
	.comm	_ROCEE_EXT_RAQ_H_REG,4,2        ## @ROCEE_EXT_RAQ_H_REG
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M,4,2 ## @ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S,4,2 ## @ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M,4,2 ## @ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S,4,2 ## @ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configure raq_shift 0x%x.\n"

	.comm	_ROCEE_RAQ_WL_REG,4,2           ## @ROCEE_RAQ_WL_REG
	.comm	_ROCEE_RAQ_WL_ROCEE_RAQ_WL_M,4,2 ## @ROCEE_RAQ_WL_ROCEE_RAQ_WL_M
	.comm	_ROCEE_RAQ_WL_ROCEE_RAQ_WL_S,4,2 ## @ROCEE_RAQ_WL_ROCEE_RAQ_WL_S
	.comm	_HNS_ROCE_V1_EXT_RAQ_WF,4,2     ## @HNS_ROCE_V1_EXT_RAQ_WF
L_.str.1:                               ## @.str.1
	.asciz	"Configure raq_wl 0x%x.\n"

	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_REG,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_REG
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S
	.comm	_POL_TIME_INTERVAL_VAL,4,2      ## @POL_TIME_INTERVAL_VAL
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S,4,2 ## @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S
L_.str.2:                               ## @.str.2
	.asciz	"Configure WrmsPolTimeInterval 0x%x.\n"

	.comm	_ROCEE_GLB_CFG_REG,4,2          ## @ROCEE_GLB_CFG_REG
	.comm	_ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S,4,2 ## @ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S
L_.str.3:                               ## @.str.3
	.asciz	"Configure GlbCfg = 0x%x.\n"

	.no_dead_strip	_hns_roce_raq_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_raq_init
_hns_roce_raq_init:                     ; @hns_roce_raq_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldp	x22, x19, [x0]
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #8
	bl	_kzalloc
	str	x0, [x22]
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x21, _HNS_ROCE_V1_RAQ_SIZE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HNS_ROCE_V1_RAQ_SIZE@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w3, [x23]
	add	x2, sp, #12
	mov	x0, x19
	bl	_dma_alloc_coherent
	mov	x8, x0
	ldr	x0, [x22]
	str	w8, [x0, #4]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x0]
Lloh4:
	adrp	x9, _ROCEE_EXT_RAQ_REG@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ROCEE_EXT_RAQ_REG@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
	asr	w2, w8, #12
	mov	x0, x20
	bl	_roce_write
	ldr	w8, [x21]
Lloh7:
	adrp	x9, _HNS_ROCE_V1_RAQ_ENTRY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HNS_ROCE_V1_RAQ_ENTRY@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
	bl	_ilog2
	mov	x21, x0
Lloh10:
	adrp	x23, _ROCEE_EXT_RAQ_H_REG@GOTPAGE
Lloh11:
	ldr	x23, [x23, _ROCEE_EXT_RAQ_H_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_roce_read
	bl	_cpu_to_le32
	mov	x22, x0
Lloh12:
	adrp	x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x3, x21
	bl	_roce_set_field
Lloh18:
	adrp	x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_roce_set_field
	mov	x0, x22
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x21
	bl	_roce_write
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
Lloh26:
	adrp	x22, _ROCEE_RAQ_WL_REG@GOTPAGE
Lloh27:
	ldr	x22, [x22, _ROCEE_RAQ_WL_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_roce_read
	bl	_cpu_to_le32
	mov	x21, x0
Lloh28:
	adrp	x8, _ROCEE_RAQ_WL_ROCEE_RAQ_WL_M@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ROCEE_RAQ_WL_ROCEE_RAQ_WL_M@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _ROCEE_RAQ_WL_ROCEE_RAQ_WL_S@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ROCEE_RAQ_WL_ROCEE_RAQ_WL_S@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x8, _HNS_ROCE_V1_EXT_RAQ_WF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _HNS_ROCE_V1_EXT_RAQ_WF@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	bl	_roce_set_field
	mov	x0, x21
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_roce_write
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
Lloh39:
	adrp	x22, _ROCEE_WRMS_POL_TIME_INTERVAL_REG@GOTPAGE
Lloh40:
	ldr	x22, [x22, _ROCEE_WRMS_POL_TIME_INTERVAL_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_roce_read
	bl	_cpu_to_le32
	mov	x21, x0
Lloh41:
	adrp	x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
Lloh47:
	adrp	x8, _POL_TIME_INTERVAL_VAL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _POL_TIME_INTERVAL_VAL@GOTPAGEOFF]
Lloh49:
	ldr	w3, [x8]
	bl	_roce_set_field
Lloh50:
	adrp	x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_roce_set_bit
Lloh53:
	adrp	x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S@GOTPAGE
Lloh57:
	ldr	x8, [x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #2
	bl	_roce_set_field
Lloh59:
	adrp	x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_roce_set_bit
	mov	x0, x21
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_roce_write
Lloh62:
	adrp	x1, l_.str.2@PAGE
Lloh63:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
Lloh64:
	adrp	x22, _ROCEE_GLB_CFG_REG@GOTPAGE
Lloh65:
	ldr	x22, [x22, _ROCEE_GLB_CFG_REG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_roce_read
	bl	_cpu_to_le32
	mov	x21, x0
Lloh66:
	adrp	x8, _ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_roce_set_bit
	mov	x0, x21
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_roce_write
Lloh69:
	adrp	x1, l_.str.3@PAGE
Lloh70:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
	mov	w19, #0
	b	LBB0_5
LBB0_3:
Lloh71:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_4:
Lloh74:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
	neg	w19, w8
	bl	_kfree
LBB0_5:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.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 AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_HNS_ROCE_V1_RAQ_SIZE,4,2       ; @HNS_ROCE_V1_RAQ_SIZE
	.comm	_ROCEE_EXT_RAQ_REG,4,2          ; @ROCEE_EXT_RAQ_REG
	.comm	_HNS_ROCE_V1_RAQ_ENTRY,4,2      ; @HNS_ROCE_V1_RAQ_ENTRY
	.comm	_ROCEE_EXT_RAQ_H_REG,4,2        ; @ROCEE_EXT_RAQ_H_REG
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M,4,2 ; @ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_M
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S,4,2 ; @ROCEE_EXT_RAQ_H_EXT_RAQ_SHIFT_S
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M,4,2 ; @ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M
	.comm	_ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S,4,2 ; @ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configure raq_shift 0x%x.\n"

	.comm	_ROCEE_RAQ_WL_REG,4,2           ; @ROCEE_RAQ_WL_REG
	.comm	_ROCEE_RAQ_WL_ROCEE_RAQ_WL_M,4,2 ; @ROCEE_RAQ_WL_ROCEE_RAQ_WL_M
	.comm	_ROCEE_RAQ_WL_ROCEE_RAQ_WL_S,4,2 ; @ROCEE_RAQ_WL_ROCEE_RAQ_WL_S
	.comm	_HNS_ROCE_V1_EXT_RAQ_WF,4,2     ; @HNS_ROCE_V1_EXT_RAQ_WF
l_.str.1:                               ; @.str.1
	.asciz	"Configure raq_wl 0x%x.\n"

	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_REG,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_REG
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_M
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_POL_TIME_INTERVAL_S
	.comm	_POL_TIME_INTERVAL_VAL,4,2      ; @POL_TIME_INTERVAL_VAL
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_EXT_RAQ_MODE
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_M
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_CFG_S
	.comm	_ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S,4,2 ; @ROCEE_WRMS_POL_TIME_INTERVAL_WRMS_RAQ_TIMEOUT_CHK_EN_S
l_.str.2:                               ; @.str.2
	.asciz	"Configure WrmsPolTimeInterval 0x%x.\n"

	.comm	_ROCEE_GLB_CFG_REG,4,2          ; @ROCEE_GLB_CFG_REG
	.comm	_ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S,4,2 ; @ROCEE_GLB_CFG_TRP_RAQ_DROP_EN_S
l_.str.3:                               ; @.str.3
	.asciz	"Configure GlbCfg = 0x%x.\n"

	.no_dead_strip	_hns_roce_raq_init
.subsections_via_symbols
