	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_rdma_register_tid
_qed_rdma_register_tid:                 ## @qed_rdma_register_tid
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rdx
	callq	_DP_VERBOSE
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)
	movq	_QED_SPQ_MODE_EBLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_RDMA_RAMROD_REGISTER_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	movl	8(%rax), %ecx
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_qed_sp_init_request
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %ecx
LBB0_18:
	callq	_DP_VERBOSE
	jmp	LBB0_19
LBB0_2:
	movq	(%r14), %rax
	movslq	(%r15), %rcx
	cmpq	%rcx, (%rax)
	jge	LBB0_4
## %bb.3:
	movq	%rcx, (%rax)
LBB0_4:
	movq	-40(%rbp), %rbx
	movq	$0, 96(%rbx)
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %edx
	xorl	%edi, %edi
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	callq	_SET_FIELD
	cmpl	$130, 16(%r15)
	je	LBB0_7
## %bb.5:
	cmpl	$0, 20(%r15)
	jne	LBB0_7
## %bb.6:
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r15), %edx
	addl	$-12, %edx
	callq	_SET_FIELD
LBB0_7:
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r15), %edx
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r15), %edx
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	36(%r15), %edx
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%r15), %edx
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	44(%r15), %edx
	callq	_SET_FIELD
	movq	96(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	48(%r15), %edx
	callq	_SET_FIELD
	movq	88(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	52(%r15), %edx
	addl	$-12, %edx
	callq	_SET_FIELD
	movq	16(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r15), %edx
	callq	_SET_FIELD
	movl	16(%r15), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_8
## %bb.9:
	cltq
	leaq	l_switch.table.qed_rdma_register_tid(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edx
	movq	88(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SET_FIELD
	movslq	(%r15), %rdi
	callq	_cpu_to_le32
	movq	%rax, 80(%rbx)
	movl	100(%r15), %eax
	movl	%eax, 76(%rbx)
	movl	96(%r15), %edi
	callq	_cpu_to_le16
	movl	%eax, 72(%rbx)
	movl	56(%r15), %edi
	callq	_DMA_LO_LE
	movl	%eax, 56(%rbx)
	cmpl	$0, 8(%r15)
	je	LBB0_11
## %bb.10:
	movq	$0, 48(%rbx)
	movq	64(%r15), %rdi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	jmp	LBB0_12
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	callq	_DP_VERBOSE
	movq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_qed_sp_destroy_request
	jmp	LBB0_19
LBB0_11:
	movl	92(%r15), %edx
	movq	40(%rbx), %rdi
	movq	48(%rbx), %rsi
	callq	_DMA_REGPAIR_LE
LBB0_12:
	movl	88(%r15), %edx
	movq	24(%rbx), %rdi
	movq	32(%rbx), %rsi
	callq	_DMA_REGPAIR_LE
	cmpq	$0, 80(%r15)
	je	LBB0_14
## %bb.13:
	movq	16(%rbx), %rdi
	movq	_RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_SET_FIELD
	movl	72(%r15), %edx
	movq	(%rbx), %rdi
	movq	8(%rbx), %rsi
	callq	_DMA_REGPAIR_LE
LBB0_14:
	movq	-40(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_qed_spq_post
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:
	movq	-56(%rbp), %rdx
	movq	_RDMA_RETURN_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_16
## %bb.17:
	movl	(%r12), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_DP_NOTICE
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"itid = %08x\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ## @QED_SPQ_MODE_EBLOCK
	.comm	_RDMA_RAMROD_REGISTER_MR,4,2    ## @RDMA_RAMROD_REGISTER_MR
L_.str.1:                               ## @.str.1
	.asciz	"rc = %d\n"

	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR
	.comm	_RDMA_TID_REGISTERED_MR,4,2     ## @RDMA_TID_REGISTERED_MR
	.comm	_RDMA_TID_FMR,4,2               ## @RDMA_TID_FMR
	.comm	_RDMA_TID_MW,4,2                ## @RDMA_TID_MW
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG,4,2 ## @RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG
	.comm	_RDMA_RETURN_OK,8,3             ## @RDMA_RETURN_OK
L_.str.2:                               ## @.str.2
	.asciz	"fw_return_code = %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Register TID, rc = %d\n"

	.no_dead_strip	_qed_rdma_register_tid
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.qed_rdma_register_tid
l_switch.table.qed_rdma_register_tid:
	.quad	_RDMA_TID_REGISTERED_MR
	.quad	_RDMA_TID_MW
	.quad	_RDMA_TID_FMR

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_rdma_register_tid
_qed_rdma_register_tid:                 ; @qed_rdma_register_tid
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _QED_MSG_RDMA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QED_MSG_RDMA@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w3, [x20]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	bl	_DP_VERBOSE
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x19, #8]
Lloh4:
	adrp	x9, _QED_SPQ_MODE_EBLOCK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _QED_SPQ_MODE_EBLOCK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
Lloh7:
	adrp	x8, _RDMA_RAMROD_REGISTER_MR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RDMA_RAMROD_REGISTER_MR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	x8, [x19]
	ldr	w3, [x8, #8]
	add	x1, sp, #16
	add	x4, sp, #24
	mov	x0, x19
	bl	_qed_sp_init_request
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w1, [x22]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_DP_VERBOSE
	b	LBB0_18
LBB0_2:
	ldr	x8, [x19]
	ldr	x10, [x8]
	ldrsw	x9, [x20]
	cmp	x10, x9
	b.ge	LBB0_4
; %bb.3:
	str	x9, [x8]
LBB0_4:
	ldr	x21, [sp, #16]
	str	xzr, [x21, #96]
Lloh12:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, #0
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh15:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh18:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	bl	_SET_FIELD
	ldr	w8, [x20, #16]
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.5:
	ldr	w8, [x20, #20]
	cbnz	w8, LBB0_7
; %bb.6:
	ldr	x0, [x21, #96]
Lloh21:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w8, [x20, #24]
	sub	w2, w8, #12
	bl	_SET_FIELD
LBB0_7:
	ldr	x0, [x21, #96]
Lloh24:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20, #28]
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh27:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x20, #32]
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh30:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x20, #36]
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh33:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	ldr	w2, [x20, #40]
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh36:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [x20, #44]
	bl	_SET_FIELD
	ldr	x0, [x21, #96]
Lloh39:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	ldr	w2, [x20, #48]
	bl	_SET_FIELD
	ldr	x0, [x21, #88]
Lloh42:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w8, [x20, #52]
	sub	w2, w8, #12
	bl	_SET_FIELD
	ldr	x0, [x21, #16]
Lloh45:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	bl	_SET_FIELD
	ldr	w8, [x20, #16]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_10
; %bb.8:
Lloh48:
	adrp	x9, l_switch.table.qed_rdma_register_tid@PAGE
Lloh49:
	add	x9, x9, l_switch.table.qed_rdma_register_tid@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w2, [x8]
	ldr	x0, [x21, #88]
Lloh50:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_SET_FIELD
	ldrsw	x0, [x20]
	bl	_cpu_to_le32
	str	x0, [x21, #80]
	ldr	w8, [x20, #100]
	str	w8, [x21, #76]
	ldr	w0, [x20, #96]
	bl	_cpu_to_le16
	str	w0, [x21, #72]
	ldr	w0, [x20, #56]
	bl	_DMA_LO_LE
	str	w0, [x21, #56]
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_11
; %bb.9:
	str	xzr, [x21, #48]
	ldr	x0, [x20, #64]
	bl	_cpu_to_le32
	str	x0, [x21, #40]
	b	LBB0_12
LBB0_10:
Lloh53:
	adrp	x8, _EINVAL@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	w1, [x22]
Lloh56:
	adrp	x2, l_.str.1@PAGE
Lloh57:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	bl	_DP_VERBOSE
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_qed_sp_destroy_request
	b	LBB0_18
LBB0_11:
	ldr	w2, [x20, #92]
	ldp	x0, x1, [x21, #40]
	bl	_DMA_REGPAIR_LE
LBB0_12:
	ldr	w2, [x20, #88]
	ldp	x0, x1, [x21, #24]
	bl	_DMA_REGPAIR_LE
	ldr	x8, [x20, #80]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	x0, [x21, #16]
Lloh58:
	adrp	x8, _RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG@GOTPAGE
Lloh59:
	ldr	x8, [x8, _RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_SET_FIELD
	ldr	w2, [x20, #72]
	ldp	x0, x1, [x21]
	bl	_DMA_REGPAIR_LE
LBB0_14:
	ldr	x1, [sp, #16]
	add	x2, sp, #8
	mov	x0, x19
	bl	_qed_spq_post
	mov	x21, x0
	cbnz	w0, LBB0_18
; %bb.15:
	ldr	x2, [sp, #8]
Lloh61:
	adrp	x8, _RDMA_RETURN_OK@GOTPAGE
Lloh62:
	ldr	x8, [x8, _RDMA_RETURN_OK@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_17
; %bb.16:
	ldr	w1, [x22]
Lloh64:
	adrp	x2, l_.str.3@PAGE
Lloh65:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_DP_VERBOSE
	mov	w21, #0
	b	LBB0_18
LBB0_17:
Lloh66:
	adrp	x1, l_.str.2@PAGE
Lloh67:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
Lloh68:
	adrp	x8, _EINVAL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_18:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.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	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"itid = %08x\n"

	.comm	_QED_SPQ_MODE_EBLOCK,4,2        ; @QED_SPQ_MODE_EBLOCK
	.comm	_RDMA_RAMROD_REGISTER_MR,4,2    ; @RDMA_RAMROD_REGISTER_MR
l_.str.1:                               ; @.str.1
	.asciz	"rc = %d\n"

	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_TWO_LEVEL_PBL
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_ZERO_BASED
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_PHY_MR
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_PAGE_SIZE_LOG
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_READ
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_WRITE
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_REMOTE_ATOMIC
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_WRITE
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_LOCAL_READ
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_ENABLE_MW_BIND
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_PBL_PAGE_SIZE_LOG
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_DMA_MR
	.comm	_RDMA_TID_REGISTERED_MR,4,2     ; @RDMA_TID_REGISTERED_MR
	.comm	_RDMA_TID_FMR,4,2               ; @RDMA_TID_FMR
	.comm	_RDMA_TID_MW,4,2                ; @RDMA_TID_MW
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_TID_TYPE
	.comm	_RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG,4,2 ; @RDMA_REGISTER_TID_RAMROD_DATA_DIF_ON_HOST_FLG
	.comm	_RDMA_RETURN_OK,8,3             ; @RDMA_RETURN_OK
l_.str.2:                               ; @.str.2
	.asciz	"fw_return_code = %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Register TID, rc = %d\n"

	.no_dead_strip	_qed_rdma_register_tid
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.qed_rdma_register_tid
l_switch.table.qed_rdma_register_tid:
	.quad	_RDMA_TID_REGISTERED_MR
	.quad	_RDMA_TID_MW
	.quad	_RDMA_TID_FMR

.subsections_via_symbols
