	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nes_reg_mr
_nes_reg_mr:                            ## @nes_reg_mr
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -116(%rbp)                ## 4-byte Spill
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movl	%ecx, -120(%rbp)                ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movl	16(%rbp), %r15d
	movq	8(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	cmpl	$2, %r15d
	setge	%bl
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movq	$0, -144(%rbp)
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_nes_get_cqp_request
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movb	%bl, %r14b
	movl	$1, (%rax)
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testl	%r15d, %r15d
	movl	%r12d, -92(%rbp)                ## 4-byte Spill
	je	LBB0_4
## %bb.5:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r14d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	leaq	12(%rbx), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movl	%r15d, %eax
	shll	$9, %eax
	leal	(%rax,%r14), %edx
	addl	$-512, %edx                     ## imm = 0xFE00
	leal	(%rax,%r14), %ecx
	addl	$-481, %ecx                     ## imm = 0xFE1F
	addl	%eax, %r14d
	addl	$-450, %r14d                    ## imm = 0xFE3E
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r14d
	sarl	$5, %r14d
	cmpl	$32, %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	jg	LBB0_8
## %bb.6:
	movl	(%rbx), %ecx
	cmpl	%ecx, %r14d
	jle	LBB0_7
## %bb.15:
	movl	4(%rbx), %eax
	cmpl	%r15d, %eax
	jl	LBB0_18
	jmp	LBB0_16
LBB0_1:
	movq	_NES_DBG_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_nes_debug
	jmp	LBB0_2
LBB0_4:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_24
LBB0_8:
	cmpl	$2048, %edx                     ## imm = 0x800
	ja	LBB0_48
## %bb.9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %ecx
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	4(%rbx), %eax
	cmpl	%eax, %ecx
	jle	LBB0_10
## %bb.17:
	movl	(%rbx), %ecx
	movl	$1, %edx
	cmpl	%ecx, %r14d
	jl	LBB0_12
	jmp	LBB0_18
LBB0_7:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
LBB0_12:
	subl	%edx, %ecx
	subl	%r14d, %ecx
	movl	%ecx, (%rbx)
	movl	$1, -76(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %al
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%edx, %r12d
	movl	%r14d, %eax
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_13
LBB0_48:
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	4(%rbx), %eax
	cmpl	%r15d, %eax
	jg	LBB0_16
LBB0_18:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movq	_NES_DBG_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_nes_debug
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_nes_free_cqp_request
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_47
LBB0_10:
	movl	8(%rbx), %ecx
	sarl	%ecx
	cmpl	%ecx, %eax
	jg	LBB0_16
## %bb.11:
	movl	(%rbx), %ecx
	movl	$1, %edx
	cmpl	%ecx, %r14d
	jl	LBB0_12
LBB0_16:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %ecx
	negl	%ecx
	subl	%r15d, %ecx
	addl	%eax, %ecx
	movl	%ecx, 4(%rbx)
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %eax
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
LBB0_13:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	shll	$3, %ecx
	movq	%r12, %rax
	testl	%r12d, %r12d
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	je	LBB0_14
## %bb.19:
	cmpb	$0, -80(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_14
## %bb.20:
	leaq	-176(%rbp), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %ecx
	callq	_root_256
	cmpl	$1, %eax
	jne	LBB0_22
## %bb.21:
	cmpq	$0, -176(%rbp)
	leaq	-176(%rbp), %rax
	cmovneq	%rax, %r12
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	movl	$1, %r14d
	jmp	LBB0_24
LBB0_14:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %r15d
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rax, %r14
LBB0_24:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_NES_CQP_REGISTER_STAG@GOTPCREL(%rip), %rax
	movq	_NES_CQP_STAG_RIGHTS_LOCAL_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	40(%rbp), %rbx
	movq	_NES_CQP_STAG_VA_TO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	32(%rbp), %eax
	movq	_NES_CQP_STAG_MR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	leaq	32(%r13), %r12
	movq	_IB_ACCESS_LOCAL_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_26
## %bb.25:
	movq	_NES_CQP_STAG_RIGHTS_LOCAL_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_26:
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	movq	_NES_CQP_STAG_RIGHTS_REMOTE_WRITE@GOTPCREL(%rip), %r8
	movq	_NES_CQP_STAG_REM_ACC_EN@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r14d
	movl	(%r8), %edi
	orl	%r14d, %edi
	testl	%esi, %esi
	cmovel	%esi, %edi
	orl	%edi, %edx
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%eax, %esi
	movq	_NES_CQP_STAG_RIGHTS_REMOTE_READ@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	orl	%r14d, %edi
	testl	%esi, %esi
	cmovel	%esi, %edi
	orl	%edx, %edi
	movq	_IB_ACCESS_MW_BIND@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	movq	_NES_CQP_STAG_RIGHTS_WINDOW_BIND@GOTPCREL(%rip), %rdx
	orl	(%rdx), %r14d
	testl	%eax, %eax
	cmovel	%eax, %r14d
	orl	%edi, %r14d
	orl	%ecx, %r14d
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_nes_fill_init_cqp_wqe
	movq	(%r12), %rdi
	movq	_NES_CQP_WQE_OPCODE_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r14d, %edx
	callq	_set_wqe_32bit_value
	movq	(%r12), %rdi
	movq	_NES_CQP_STAG_WQE_VA_LOW_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_set_wqe_64bit_value
	movq	(%r12), %rdi
	movq	_NES_CQP_STAG_WQE_LEN_LOW_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-120(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edx
	callq	_set_wqe_32bit_value
	sarl	$8, %ebx
	andl	$-16777216, %ebx                ## imm = 0xFF000000
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	(%r12), %rcx
	movq	_NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	$32767, %edi                    ## imm = 0x7FFF
	movq	-128(%rbp), %rax                ## 8-byte Reload
	andl	(%rax), %edi
	callq	_cpu_to_le32
	movq	(%r12), %rdi
	movq	(%r14), %rcx
	orl	%eax, (%rdi,%rcx,4)
	movq	_NES_CQP_STAG_WQE_STAG_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_set_wqe_32bit_value
	movq	(%r12), %rdi
	movq	_NES_CQP_STAG_WQE_PA_LOW_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r15d, %r15d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_27
## %bb.31:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edx
	callq	_set_wqe_64bit_value
	movq	(%r12), %rdi
	movq	_NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	%r15d, %edx
	callq	_set_wqe_32bit_value
	movq	(%r12), %rdi
	movq	_NES_CQP_STAG_WQE_PBL_LEN_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_set_wqe_32bit_value
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_33
## %bb.32:
	movq	_NES_CQP_STAG_PBL_BLK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	(%r12), %rcx
	movq	_NES_CQP_WQE_OPCODE_IDX@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_33
LBB0_27:
	movl	-116(%rbp), %edx                ## 4-byte Reload
	callq	_set_wqe_64bit_value
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_33:
	xorl	%eax, %eax
	callq	_barrier
	movq	%r13, %rdi
	addq	$28, %rdi
	movl	$2, %esi
	callq	_atomic_set
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_nes_post_cqp_request
	xorl	%esi, %esi
	cmpq	$0, 8(%r13)
	movl	24(%r13), %edi
	setne	%sil
	movq	_NES_EVENT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wait_event_timeout
	movl	%eax, %r15d
	movq	_NES_DBG_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r13), %r8d
	movl	20(%r13), %r9d
	leaq	L_.str.2(%rip), %rsi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_nes_debug
	movl	16(%r13), %r12d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_nes_put_cqp_request
	testl	%r15d, %r15d
	sete	%al
	testl	%r12d, %r12d
	setne	%cl
	orb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_40
## %bb.34:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_40
## %bb.35:
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	leaq	12(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_38
## %bb.36:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_39
## %bb.37:
	addq	$4, %rbx
LBB0_38:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %eax
	addl	%eax, (%rbx)
LBB0_39:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_40:
	movq	-176(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_42
## %bb.41:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	-168(%rbp), %edx
	movl	$512, %esi                      ## imm = 0x200
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_pci_free_consistent
LBB0_42:
	testl	%r15d, %r15d
	je	LBB0_43
## %bb.44:
	testl	%r12d, %r12d
	je	LBB0_46
## %bb.45:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_43:
	movq	_ETIME@GOTPCREL(%rip), %rax
LBB0_30:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_47
LBB0_46:
	movq	56(%rbp), %rax
	movq	48(%rbp), %rcx
	addl	-72(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, (%rcx)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	xorl	%ebx, %ebx
LBB0_47:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %ecx
	movl	4(%rbx), %eax
	addl	%r14d, %ecx
	incl	%ecx
	movl	%ecx, (%rbx)
	xorl	%r14d, %r14d
	cmpl	$1, %r15d
	setne	%r14b
	leal	(%r14,%r15), %ecx
	subl	%ecx, %eax
	jge	LBB0_23
## %bb.28:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	cmpb	$0, -80(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_24
## %bb.29:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_23:
	movl	%eax, 4(%rbx)
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_NES_DBG_MR,4,2                 ## @NES_DBG_MR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to get a cqp_request.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Out of Pbls\n"

	.comm	_NES_CQP_REGISTER_STAG,4,2      ## @NES_CQP_REGISTER_STAG
	.comm	_NES_CQP_STAG_RIGHTS_LOCAL_READ,4,2 ## @NES_CQP_STAG_RIGHTS_LOCAL_READ
	.comm	_NES_CQP_STAG_VA_TO,4,2         ## @NES_CQP_STAG_VA_TO
	.comm	_NES_CQP_STAG_MR,4,2            ## @NES_CQP_STAG_MR
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ## @IB_ACCESS_LOCAL_WRITE
	.comm	_NES_CQP_STAG_RIGHTS_LOCAL_WRITE,4,2 ## @NES_CQP_STAG_RIGHTS_LOCAL_WRITE
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ## @IB_ACCESS_REMOTE_WRITE
	.comm	_NES_CQP_STAG_RIGHTS_REMOTE_WRITE,4,2 ## @NES_CQP_STAG_RIGHTS_REMOTE_WRITE
	.comm	_NES_CQP_STAG_REM_ACC_EN,4,2    ## @NES_CQP_STAG_REM_ACC_EN
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ## @IB_ACCESS_REMOTE_READ
	.comm	_NES_CQP_STAG_RIGHTS_REMOTE_READ,4,2 ## @NES_CQP_STAG_RIGHTS_REMOTE_READ
	.comm	_IB_ACCESS_MW_BIND,4,2          ## @IB_ACCESS_MW_BIND
	.comm	_NES_CQP_STAG_RIGHTS_WINDOW_BIND,4,2 ## @NES_CQP_STAG_RIGHTS_WINDOW_BIND
	.comm	_NES_CQP_WQE_OPCODE_IDX,8,3     ## @NES_CQP_WQE_OPCODE_IDX
	.comm	_NES_CQP_STAG_WQE_VA_LOW_IDX,4,2 ## @NES_CQP_STAG_WQE_VA_LOW_IDX
	.comm	_NES_CQP_STAG_WQE_LEN_LOW_IDX,8,3 ## @NES_CQP_STAG_WQE_LEN_LOW_IDX
	.comm	_NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX,8,3 ## @NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX
	.comm	_NES_CQP_STAG_WQE_STAG_IDX,8,3  ## @NES_CQP_STAG_WQE_STAG_IDX
	.comm	_NES_CQP_STAG_WQE_PA_LOW_IDX,4,2 ## @NES_CQP_STAG_WQE_PA_LOW_IDX
	.comm	_NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX,8,3 ## @NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX
	.comm	_NES_CQP_STAG_WQE_PBL_LEN_IDX,8,3 ## @NES_CQP_STAG_WQE_PBL_LEN_IDX
	.comm	_NES_CQP_STAG_PBL_BLK_SIZE,4,2  ## @NES_CQP_STAG_PBL_BLK_SIZE
	.comm	_NES_EVENT_TIMEOUT,4,2          ## @NES_EVENT_TIMEOUT
L_.str.2:                               ## @.str.2
	.asciz	"Register STag 0x%08X completed, wait_event_timeout ret = %u, CQP Major:Minor codes = 0x%04X:0x%04X.\n"

	.comm	_ETIME,4,2                      ## @ETIME
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_nes_reg_mr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nes_reg_mr
_nes_reg_mr:                            ; @nes_reg_mr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x23, x7
	mov	x25, x6
	mov	x21, x5
	mov	x22, x4
	str	w3, [sp, #68]                   ; 4-byte Folded Spill
	mov	x27, x2
	str	x1, [sp, #72]                   ; 8-byte Folded Spill
	mov	x19, x0
	ldr	x24, [x0, #8]
	cmp	w6, #1
	cset	w28, gt
	csetm	w26, gt
	str	xzr, [sp, #112]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	bl	_nes_get_cqp_request
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	str	x22, [sp, #56]                  ; 8-byte Folded Spill
	mov	w8, #1
	mov	x22, x0
	str	w8, [x22], #32
	str	w21, [sp, #44]                  ; 4-byte Folded Spill
	cbz	w25, LBB0_6
; %bb.2:
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	add	x27, x24, #12
	mov	x0, x27
	bl	_spin_lock_irqsave
	add	w8, w23, w25, lsl #9
	sub	w21, w8, #512
	sub	w9, w8, #481
	sub	w8, w8, #450
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w23, w8, #5
	cmp	w21, #32
	b.gt	LBB0_7
; %bb.3:
	ldr	w8, [x24]
	cmp	w23, w8
	b.le	LBB0_16
; %bb.4:
	ldr	w9, [x24, #4]
	cmp	w9, w25
	b.lt	LBB0_11
	b	LBB0_17
LBB0_5:
Lloh0:
	adrp	x8, _NES_DBG_MR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NES_DBG_MR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nes_debug
	b	LBB0_12
LBB0_6:
	str	wzr, [sp, #40]                  ; 4-byte Folded Spill
	mov	w26, #0
	str	xzr, [sp, #48]                  ; 8-byte Folded Spill
	b	LBB0_28
LBB0_7:
	cmp	w21, #2048
	b.hi	LBB0_10
; %bb.8:
	ldr	w9, [x24, #4]
	mov	x8, x28
	add	w8, w28, w25
	cmp	w8, w9
	b.le	LBB0_13
; %bb.9:
	ldr	w8, [x24]
	cmp	w23, w8
	b.ge	LBB0_11
	b	LBB0_15
LBB0_10:
	ldr	w9, [x24, #4]
	cmp	w9, w25
	b.gt	LBB0_17
LBB0_11:
	mov	x0, x27
	bl	_spin_unlock_irqrestore
Lloh5:
	adrp	x8, _NES_DBG_MR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NES_DBG_MR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_nes_debug
	mov	x0, x19
	mov	x1, x20
	bl	_nes_free_cqp_request
LBB0_12:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_45
LBB0_13:
	ldr	w8, [x24, #8]
	cmp	w9, w8, asr #1
	b.gt	LBB0_17
; %bb.14:
	ldr	w8, [x24]
	cmp	w23, w8
	b.ge	LBB0_17
LBB0_15:
	mov	w28, #1
LBB0_16:
	add	w9, w28, w23
	sub	w8, w8, w9
	str	w8, [x24]
	mov	w8, #1
	stp	wzr, w8, [sp, #48]              ; 8-byte Folded Spill
	mov	x26, x23
	b	LBB0_18
LBB0_17:
	sub	w8, w26, w25
	add	w8, w8, w9
	str	w8, [x24, #4]
	mov	w8, #1
	stp	w8, wzr, [sp, #48]              ; 8-byte Folded Spill
	mov	x26, x25
LBB0_18:
	mov	x0, x27
	bl	_spin_unlock_irqrestore
	lsl	w9, w21, #3
	mov	x8, x28
	str	w9, [sp, #40]                   ; 4-byte Folded Spill
	cbz	w28, LBB0_22
; %bb.19:
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_22
; %bb.20:
	add	x21, sp, #80
	add	x2, sp, #80
	mov	x0, x19
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	mov	x1, x28
	mov	x3, x25
	bl	_root_256
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.21:
	ldr	x8, [sp, #80]
	cmp	x8, #0
	csel	x28, x28, x21, eq
	str	x28, [sp, #56]                  ; 8-byte Folded Spill
	mov	w8, #1
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	mov	w28, #1
	b	LBB0_27
LBB0_22:
	mov	x28, x8
	b	LBB0_27
LBB0_23:
	mov	x0, x27
	bl	_spin_lock_irqsave
	ldp	w8, w9, [x24]
	add	w8, w23, w8
	add	w8, w8, #1
	str	w8, [x24]
	cmp	w25, #1
	cset	w28, ne
	cinc	w8, w25, ne
	subs	w8, w9, w8
	b.ge	LBB0_25
; %bb.24:
	mov	x0, x27
	bl	_spin_unlock_irqrestore
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_12
	b	LBB0_26
LBB0_25:
	str	w8, [x24, #4]
	mov	x0, x27
	bl	_spin_unlock_irqrestore
LBB0_26:
	mov	w8, #1
	stp	w8, wzr, [sp, #48]              ; 8-byte Folded Spill
	mov	x26, x25
LBB0_27:
	ldr	x27, [sp, #32]                  ; 8-byte Folded Reload
LBB0_28:
	ldr	x23, [x29, #24]
	ldr	w8, [x29, #16]
Lloh12:
	adrp	x9, _NES_CQP_REGISTER_STAG@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NES_CQP_REGISTER_STAG@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _NES_CQP_STAG_RIGHTS_LOCAL_READ@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NES_CQP_STAG_RIGHTS_LOCAL_READ@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _NES_CQP_STAG_VA_TO@GOTPAGE
Lloh19:
	ldr	x10, [x10, _NES_CQP_STAG_VA_TO@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh21:
	adrp	x10, _NES_CQP_STAG_MR@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NES_CQP_STAG_MR@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh24:
	adrp	x10, _IB_ACCESS_LOCAL_WRITE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _IB_ACCESS_LOCAL_WRITE@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _NES_CQP_STAG_RIGHTS_LOCAL_WRITE@GOTPAGE
Lloh28:
	ldr	x11, [x11, _NES_CQP_STAG_RIGHTS_LOCAL_WRITE@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh30:
	adrp	x10, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh31:
	ldr	x10, [x10, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
Lloh33:
	adrp	x11, _NES_CQP_STAG_RIGHTS_REMOTE_WRITE@GOTPAGE
Lloh34:
	ldr	x11, [x11, _NES_CQP_STAG_RIGHTS_REMOTE_WRITE@GOTPAGEOFF]
Lloh35:
	ldr	w11, [x11]
Lloh36:
	adrp	x12, _NES_CQP_STAG_REM_ACC_EN@GOTPAGE
Lloh37:
	ldr	x12, [x12, _NES_CQP_STAG_REM_ACC_EN@GOTPAGEOFF]
Lloh38:
	ldr	w12, [x12]
	orr	w11, w12, w11
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh39:
	adrp	x10, _IB_ACCESS_REMOTE_READ@GOTPAGE
Lloh40:
	ldr	x10, [x10, _IB_ACCESS_REMOTE_READ@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
Lloh42:
	adrp	x11, _NES_CQP_STAG_RIGHTS_REMOTE_READ@GOTPAGE
Lloh43:
	ldr	x11, [x11, _NES_CQP_STAG_RIGHTS_REMOTE_READ@GOTPAGEOFF]
Lloh44:
	ldr	w11, [x11]
	orr	w11, w11, w12
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh45:
	adrp	x10, _IB_ACCESS_MW_BIND@GOTPAGE
Lloh46:
	ldr	x10, [x10, _IB_ACCESS_MW_BIND@GOTPAGEOFF]
Lloh47:
	adrp	x11, _NES_CQP_STAG_RIGHTS_WINDOW_BIND@GOTPAGE
Lloh48:
	ldr	x11, [x11, _NES_CQP_STAG_RIGHTS_WINDOW_BIND@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
Lloh50:
	ldr	w11, [x11]
	orr	w11, w11, w12
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w25, w9, w8
	mov	x0, x22
	mov	x1, x19
	bl	_nes_fill_init_cqp_wqe
	ldr	x0, [x22]
Lloh51:
	adrp	x21, _NES_CQP_WQE_OPCODE_IDX@GOTPAGE
Lloh52:
	ldr	x21, [x21, _NES_CQP_WQE_OPCODE_IDX@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x2, x25
	bl	_set_wqe_32bit_value
	ldr	x0, [x22]
Lloh53:
	adrp	x8, _NES_CQP_STAG_WQE_VA_LOW_IDX@GOTPAGE
Lloh54:
	ldr	x8, [x8, _NES_CQP_STAG_WQE_VA_LOW_IDX@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	ldr	w2, [x23]
	bl	_set_wqe_64bit_value
	ldr	x0, [x22]
Lloh56:
	adrp	x8, _NES_CQP_STAG_WQE_LEN_LOW_IDX@GOTPAGE
Lloh57:
	ldr	x8, [x8, _NES_CQP_STAG_WQE_LEN_LOW_IDX@GOTPAGEOFF]
Lloh58:
	ldr	x1, [x8]
	ldr	w23, [sp, #68]                  ; 4-byte Folded Reload
	mov	x2, x23
	bl	_set_wqe_32bit_value
	asr	w8, w23, #8
	and	w0, w8, #0xff000000
	bl	_cpu_to_le32
Lloh59:
	adrp	x23, _NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX@GOTPAGE
Lloh60:
	ldr	x23, [x23, _NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x23]
	str	w0, [x8, x9, lsl #2]
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	and	w0, w8, #0x7fff
	bl	_cpu_to_le32
	ldr	x8, [x22]
	ldr	x9, [x23]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, w0
	str	w10, [x8, x9]
Lloh61:
	adrp	x9, _NES_CQP_STAG_WQE_STAG_IDX@GOTPAGE
Lloh62:
	ldr	x9, [x9, _NES_CQP_STAG_WQE_STAG_IDX@GOTPAGEOFF]
Lloh63:
	ldr	x1, [x9]
	mov	x0, x8
	mov	x2, x27
	bl	_set_wqe_32bit_value
	ldr	x0, [x22]
Lloh64:
	adrp	x8, _NES_CQP_STAG_WQE_PA_LOW_IDX@GOTPAGE
Lloh65:
	ldr	x8, [x8, _NES_CQP_STAG_WQE_PA_LOW_IDX@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	cbz	w26, LBB0_31
; %bb.29:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w2, [x8]
	bl	_set_wqe_64bit_value
	ldr	x0, [x22]
Lloh67:
	adrp	x8, _NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX@GOTPAGE
Lloh68:
	ldr	x8, [x8, _NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX@GOTPAGEOFF]
Lloh69:
	ldr	x1, [x8]
	mov	x2, x26
	bl	_set_wqe_32bit_value
	ldr	x0, [x22]
Lloh70:
	adrp	x8, _NES_CQP_STAG_WQE_PBL_LEN_IDX@GOTPAGE
Lloh71:
	ldr	x8, [x8, _NES_CQP_STAG_WQE_PBL_LEN_IDX@GOTPAGEOFF]
Lloh72:
	ldr	x1, [x8]
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_set_wqe_32bit_value
	ldr	w23, [sp, #48]                  ; 4-byte Folded Reload
	cbz	w23, LBB0_32
; %bb.30:
Lloh73:
	adrp	x8, _NES_CQP_STAG_PBL_BLK_SIZE@GOTPAGE
Lloh74:
	ldr	x8, [x8, _NES_CQP_STAG_PBL_BLK_SIZE@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [x22]
	ldr	x9, [x21]
	lsl	x9, x9, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, w0
	str	w10, [x8, x9]
	b	LBB0_32
LBB0_31:
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_set_wqe_64bit_value
	ldr	w23, [sp, #48]                  ; 4-byte Folded Reload
LBB0_32:
	bl	_barrier
	add	x0, x20, #28
	mov	w1, #2
	bl	_atomic_set
	mov	x0, x19
	mov	x1, x20
	bl	_nes_post_cqp_request
	ldr	w0, [x20, #24]
	ldr	x8, [x20, #8]
	cmp	x8, #0
	cset	w1, ne
Lloh76:
	adrp	x8, _NES_EVENT_TIMEOUT@GOTPAGE
Lloh77:
	ldr	x8, [x8, _NES_EVENT_TIMEOUT@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	bl	_wait_event_timeout
	mov	x22, x0
Lloh79:
	adrp	x8, _NES_DBG_MR@GOTPAGE
Lloh80:
	ldr	x8, [x8, _NES_DBG_MR@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
	ldp	w8, w9, [x20, #16]
	stp	x8, x9, [sp, #16]
	stp	x27, x22, [sp]
Lloh82:
	adrp	x1, l_.str.2@PAGE
Lloh83:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_nes_debug
	ldr	w21, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_nes_put_cqp_request
	cmp	w21, #0
	ccmp	w22, #0, #4, eq
	b.ne	LBB0_39
; %bb.33:
	cbz	w26, LBB0_39
; %bb.34:
	add	x20, x24, #12
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_37
; %bb.35:
	cbz	w23, LBB0_38
; %bb.36:
	add	x24, x24, #4
LBB0_37:
	ldr	w8, [x24]
	add	w9, w28, w26
	add	w8, w9, w8
	str	w8, [x24]
LBB0_38:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_39:
	ldr	x3, [sp, #80]
	cbz	x3, LBB0_41
; %bb.40:
	ldr	w0, [x19]
	ldr	w2, [sp, #88]
	mov	w1, #512
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_pci_free_consistent
LBB0_41:
	cbz	w22, LBB0_44
; %bb.42:
	cbz	w21, LBB0_47
; %bb.43:
Lloh84:
	adrp	x8, _EIO@GOTPAGE
Lloh85:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_45
LBB0_44:
Lloh86:
	adrp	x8, _ETIME@GOTPAGE
Lloh87:
	ldr	x8, [x8, _ETIME@GOTPAGEOFF]
LBB0_45:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_46:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_47:
	mov	w0, #0
	ldp	x9, x8, [x29, #32]
	add	w10, w28, w26
	str	w10, [x9]
	str	w23, [x8]
	b	LBB0_46
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh49
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_NES_DBG_MR,4,2                 ; @NES_DBG_MR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to get a cqp_request.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Out of Pbls\n"

	.comm	_NES_CQP_REGISTER_STAG,4,2      ; @NES_CQP_REGISTER_STAG
	.comm	_NES_CQP_STAG_RIGHTS_LOCAL_READ,4,2 ; @NES_CQP_STAG_RIGHTS_LOCAL_READ
	.comm	_NES_CQP_STAG_VA_TO,4,2         ; @NES_CQP_STAG_VA_TO
	.comm	_NES_CQP_STAG_MR,4,2            ; @NES_CQP_STAG_MR
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ; @IB_ACCESS_LOCAL_WRITE
	.comm	_NES_CQP_STAG_RIGHTS_LOCAL_WRITE,4,2 ; @NES_CQP_STAG_RIGHTS_LOCAL_WRITE
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ; @IB_ACCESS_REMOTE_WRITE
	.comm	_NES_CQP_STAG_RIGHTS_REMOTE_WRITE,4,2 ; @NES_CQP_STAG_RIGHTS_REMOTE_WRITE
	.comm	_NES_CQP_STAG_REM_ACC_EN,4,2    ; @NES_CQP_STAG_REM_ACC_EN
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ; @IB_ACCESS_REMOTE_READ
	.comm	_NES_CQP_STAG_RIGHTS_REMOTE_READ,4,2 ; @NES_CQP_STAG_RIGHTS_REMOTE_READ
	.comm	_IB_ACCESS_MW_BIND,4,2          ; @IB_ACCESS_MW_BIND
	.comm	_NES_CQP_STAG_RIGHTS_WINDOW_BIND,4,2 ; @NES_CQP_STAG_RIGHTS_WINDOW_BIND
	.comm	_NES_CQP_WQE_OPCODE_IDX,8,3     ; @NES_CQP_WQE_OPCODE_IDX
	.comm	_NES_CQP_STAG_WQE_VA_LOW_IDX,4,2 ; @NES_CQP_STAG_WQE_VA_LOW_IDX
	.comm	_NES_CQP_STAG_WQE_LEN_LOW_IDX,8,3 ; @NES_CQP_STAG_WQE_LEN_LOW_IDX
	.comm	_NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX,8,3 ; @NES_CQP_STAG_WQE_LEN_HIGH_PD_IDX
	.comm	_NES_CQP_STAG_WQE_STAG_IDX,8,3  ; @NES_CQP_STAG_WQE_STAG_IDX
	.comm	_NES_CQP_STAG_WQE_PA_LOW_IDX,4,2 ; @NES_CQP_STAG_WQE_PA_LOW_IDX
	.comm	_NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX,8,3 ; @NES_CQP_STAG_WQE_PBL_BLK_COUNT_IDX
	.comm	_NES_CQP_STAG_WQE_PBL_LEN_IDX,8,3 ; @NES_CQP_STAG_WQE_PBL_LEN_IDX
	.comm	_NES_CQP_STAG_PBL_BLK_SIZE,4,2  ; @NES_CQP_STAG_PBL_BLK_SIZE
	.comm	_NES_EVENT_TIMEOUT,4,2          ; @NES_EVENT_TIMEOUT
l_.str.2:                               ; @.str.2
	.asciz	"Register STag 0x%08X completed, wait_event_timeout ret = %u, CQP Major:Minor codes = 0x%04X:0x%04X.\n"

	.comm	_ETIME,4,2                      ; @ETIME
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_nes_reg_mr
.subsections_via_symbols
