	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __qedr_post_send
___qedr_post_send:                      ## @__qedr_post_send
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_get_qedr_dev
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_get_qedr_qp
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_qedr_can_post_send
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	addq	$16, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_qed_chain_produce
	movq	%rax, %r13
	movl	(%r14), %eax
	movq	_IB_SEND_SIGNALED@GOTPCREL(%rip), %rbx
	movl	$1, %r15d
	movl	$1, %ecx
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	cmpq	$0, 32(%r12)
	setne	%cl
LBB0_4:
	movq	8(%r12), %rdx
	movq	24(%r12), %rsi
	leaq	(%rdx,%rdx,2), %rdx
	movl	%ecx, (%rsi,%rdx,8)
	movq	$0, 8(%r13)
	movq	_RDMA_SQ_SEND_WQE_SE_FLG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_IB_SEND_SOLICITED@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	xorl	%edi, %edi
	callq	_SET_FIELD2
	movl	(%rbx), %eax
	testl	%eax, (%r14)
	jne	LBB0_6
## %bb.5:
	xorl	%r15d, %r15d
	cmpq	$0, 32(%r12)
	setne	%r15b
LBB0_6:
	movq	8(%r13), %rdi
	movq	_RDMA_SQ_SEND_WQE_COMP_FLG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_SET_FIELD2
	movq	8(%r13), %rdi
	movq	_RDMA_SQ_SEND_WQE_RD_FENCE_FLG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_SEND_FENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r14), %eax
	setne	%dl
	callq	_SET_FIELD2
	movl	(%r12), %eax
	movl	%eax, (%r13)
	movl	4(%r14), %edi
	callq	_qedr_ib_to_wc_opcode
	movq	8(%r12), %rdx
	movq	24(%r12), %rcx
	leaq	(%rdx,%rdx,2), %rsi
	movl	%eax, 16(%rcx,%rsi,8)
	movl	4(%r14), %edx
	leal	-128(%rdx), %eax
	cmpl	$10, %eax
	ja	LBB0_32
## %bb.7:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmpq	*%rax
LBB0_22:
	movl	$4, (%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%rax, %r15
	movl	8(%rax), %ebx
	movq	%r14, %rdi
	callq	_atomic_wr
	movl	12(%rax), %esi
	movl	%ebx, %edi
	callq	_DMA_REGPAIR_LE
	movq	%r14, %rdi
	callq	_atomic_wr
	movl	8(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, (%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%rax, %r15
	cmpl	$137, 4(%r14)
	jne	LBB0_24
## %bb.23:
	movq	_RDMA_SQ_REQ_TYPE_ATOMIC_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	addq	$4, %r15
	jmp	LBB0_25
LBB0_1:
	movq	%r14, (%r13)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_37
LBB0_32:
	leaq	L_.str.2(%rip), %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_28
LBB0_11:
	movq	_RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%rax, %r15
	movl	$2, (%r13)
	movl	8(%r14), %edi
	jmp	LBB0_12
LBB0_8:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rdma_protocol_iwarp
	movl	%eax, %edi
	callq	_unlikely
	testl	%eax, %eax
	jne	LBB0_29
## %bb.9:
	movq	_RDMA_SQ_REQ_TYPE_SEND_WITH_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	$2, (%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%rax, %r15
	movl	12(%r14), %edi
	callq	_be32_to_cpu
	movl	%eax, %edi
LBB0_12:
	callq	_cpu_to_le32
	movq	%rax, 16(%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_10:
	movq	_RDMA_SQ_REQ_TYPE_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	$2, (%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
LBB0_13:
	movq	%r14, %r8
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_qedr_prepare_sq_send_data
	jmp	LBB0_14
LBB0_26:
	movq	_QEDR_MSG_CQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_DP_DEBUG
	movq	_RDMA_SQ_REQ_TYPE_FAST_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	$2, (%r13)
	movq	%r14, %rdi
	callq	_reg_wr
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_qedr_prepare_reg
	testl	%eax, %eax
	je	LBB0_31
## %bb.27:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
LBB0_28:
	xorl	%eax, %eax
	callq	_DP_ERR
	jmp	LBB0_29
LBB0_15:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_rdma_protocol_iwarp
	movl	%eax, %edi
	callq	_unlikely
	testl	%eax, %eax
	je	LBB0_16
LBB0_29:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	jmp	LBB0_30
LBB0_17:
	movq	_RDMA_SQ_REQ_TYPE_RDMA_WR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_20:
	movq	8(%r13), %rdi
	movq	_RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_SET_FIELD2
LBB0_21:
	movq	_RDMA_SQ_REQ_TYPE_RDMA_RD@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	$2, (%r13)
LBB0_19:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rax, %rcx
	movq	%r14, %r8
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_qedr_prepare_sq_rdma_data
LBB0_14:
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r13)
	movl	(%r13), %ecx
	movq	8(%r12), %rdx
	movq	24(%r12), %rsi
	leaq	(%rdx,%rdx,2), %rdx
	movl	%ecx, 4(%rsi,%rdx,8)
	movl	%ecx, (%r12)
	movq	%rax, 8(%rsi,%rdx,8)
	cmpq	$0, (%rbx)
	je	LBB0_36
LBB0_30:
	movl	20(%r12), %edi
	callq	_le16_to_cpu
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movq	%r13, %rdx
	callq	_qed_chain_set_prod
	movl	(%r13), %eax
	movl	%eax, (%r12)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_DP_ERR
	jmp	LBB0_37
LBB0_33:
	movl	$1, (%r13)
	movq	_RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movl	8(%r14), %eax
	movl	%eax, 4(%r13)
	movl	$1, 4(%rcx,%rsi,8)
	movl	$1, (%r12)
	jmp	LBB0_34
LBB0_24:
	movq	_RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	4(%r15), %ebx
	movq	%r14, %rdi
	callq	_atomic_wr
	movl	4(%rax), %esi
	movl	%ebx, %edi
	callq	_DMA_REGPAIR_LE
LBB0_25:
	movl	(%r15), %r15d
	movq	%r14, %rdi
	callq	_atomic_wr
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_DMA_REGPAIR_LE
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_qedr_prepare_sq_sges
	movl	(%r13), %eax
	movq	8(%r12), %rcx
	movq	24(%r12), %rdx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%eax, 4(%rdx,%rcx,8)
	movl	%eax, (%r12)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_34:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, (%rbx)
	jne	LBB0_30
LBB0_36:
	xorl	%ebx, %ebx
LBB0_37:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movl	(%r13), %eax
	movq	8(%r12), %rcx
	movq	24(%r12), %rdx
	leaq	(%rcx,%rcx,2), %rcx
	movl	%eax, 4(%rdx,%rcx,8)
	movl	%eax, (%r12)
	jmp	LBB0_34
LBB0_16:
	movq	_RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	$2, (%r13)
	movl	12(%r14), %edi
	callq	_cpu_to_le32
	movq	%rax, %rdi
	callq	_htonl
	movl	%eax, 16(%r13)
	jmp	LBB0_19
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_26
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_33
	.long	L0_0_set_22
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IB_SEND_SIGNALED,4,2           ## @IB_SEND_SIGNALED
	.comm	_RDMA_SQ_SEND_WQE_SE_FLG,4,2    ## @RDMA_SQ_SEND_WQE_SE_FLG
	.comm	_IB_SEND_SOLICITED,4,2          ## @IB_SEND_SOLICITED
	.comm	_RDMA_SQ_SEND_WQE_COMP_FLG,4,2  ## @RDMA_SQ_SEND_WQE_COMP_FLG
	.comm	_RDMA_SQ_SEND_WQE_RD_FENCE_FLG,4,2 ## @RDMA_SQ_SEND_WQE_RD_FENCE_FLG
	.comm	_IB_SEND_FENCE,4,2              ## @IB_SEND_FENCE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RDMA_SQ_REQ_TYPE_SEND_WITH_IMM,4,2 ## @RDMA_SQ_REQ_TYPE_SEND_WITH_IMM
	.comm	_RDMA_SQ_REQ_TYPE_SEND,4,2      ## @RDMA_SQ_REQ_TYPE_SEND
	.comm	_RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE,4,2 ## @RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE
	.comm	_RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM,4,2 ## @RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM
	.comm	_RDMA_SQ_REQ_TYPE_RDMA_WR,4,2   ## @RDMA_SQ_REQ_TYPE_RDMA_WR
	.comm	_RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG,4,2 ## @RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG
	.comm	_RDMA_SQ_REQ_TYPE_RDMA_RD,4,2   ## @RDMA_SQ_REQ_TYPE_RDMA_RD
	.comm	_RDMA_SQ_REQ_TYPE_ATOMIC_ADD,4,2 ## @RDMA_SQ_REQ_TYPE_ATOMIC_ADD
	.comm	_RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP,4,2 ## @RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP
	.comm	_RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE,4,2 ## @RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE
	.comm	_QEDR_MSG_CQ,4,2                ## @QEDR_MSG_CQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"REG_MR\n"

	.comm	_RDMA_SQ_REQ_TYPE_FAST_MR,4,2   ## @RDMA_SQ_REQ_TYPE_FAST_MR
L_.str.1:                               ## @.str.1
	.asciz	"IB_REG_MR failed rc=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid opcode 0x%x!\n"

L_.str.3:                               ## @.str.3
	.asciz	"POST SEND FAILED\n"

	.no_dead_strip	___qedr_post_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __qedr_post_send
___qedr_post_send:                      ; @__qedr_post_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_get_qedr_dev
	mov	x19, x0
	mov	x0, x20
	bl	_get_qedr_qp
	mov	x20, x0
	mov	x1, x24
	bl	_qedr_can_post_send
	cbz	w0, LBB0_3
; %bb.1:
	add	x22, x20, #16
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x23, x0
	ldr	w8, [x24]
Lloh0:
	adrp	x25, _IB_SEND_SIGNALED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IB_SEND_SIGNALED@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	w9, #1
	b	LBB0_5
LBB0_3:
	str	x24, [x21]
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_37
LBB0_4:
	ldr	x9, [x20, #32]
	cmp	x9, #0
	cset	w9, ne
LBB0_5:
	ldr	x10, [x20, #24]
	ldr	x11, [x20, #8]
	mov	w12, #24
	mul	x11, x11, x12
	str	w9, [x10, x11]
	str	xzr, [x23, #8]
Lloh5:
	adrp	x9, _RDMA_SQ_SEND_WQE_SE_FLG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RDMA_SQ_SEND_WQE_SE_FLG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
Lloh8:
	adrp	x9, _IB_SEND_SOLICITED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IB_SEND_SOLICITED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	mov	x0, #0
	bl	_SET_FIELD2
	ldr	w8, [x24]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w2, #1
	b	LBB0_8
LBB0_7:
	ldr	x8, [x20, #32]
	cmp	x8, #0
	cset	w2, ne
LBB0_8:
	ldr	x0, [x23, #8]
Lloh11:
	adrp	x8, _RDMA_SQ_SEND_WQE_COMP_FLG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RDMA_SQ_SEND_WQE_COMP_FLG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_SET_FIELD2
	ldr	x0, [x23, #8]
Lloh14:
	adrp	x8, _RDMA_SQ_SEND_WQE_RD_FENCE_FLG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RDMA_SQ_SEND_WQE_RD_FENCE_FLG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w8, [x24]
Lloh17:
	adrp	x9, _IB_SEND_FENCE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IB_SEND_FENCE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	bl	_SET_FIELD2
	ldr	w8, [x20]
	str	w8, [x23]
	ldr	w0, [x24, #4]
	bl	_qedr_ib_to_wc_opcode
	ldr	x8, [x20, #24]
	ldr	x9, [x20, #8]
	mov	w10, #24
	madd	x10, x9, x10, x8
	str	w0, [x10, #16]
	ldr	w10, [x24, #4]
	sub	w11, w10, #128
	cmp	w11, #10
	b.hi	LBB0_12
; %bb.9:
Lloh20:
	adrp	x10, lJTI0_0@PAGE
Lloh21:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x12, LBB0_10
	ldrb	w13, [x10, x11]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_10:
	mov	w8, #4
	str	w8, [x23]
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x25, x0
	ldr	w26, [x0, #8]
	mov	x0, x24
	bl	_atomic_wr
	ldr	w1, [x0, #12]
	mov	x0, x26
	bl	_DMA_REGPAIR_LE
	mov	x0, x24
	bl	_atomic_wr
	ldr	w0, [x0, #8]
	bl	_cpu_to_le32
	str	x0, [x25]
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x25, x0
	ldr	w8, [x24, #4]
	cmp	w8, #137
	b.ne	LBB0_31
; %bb.11:
Lloh22:
	adrp	x8, _RDMA_SQ_REQ_TYPE_ATOMIC_ADD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_ATOMIC_ADD@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x23, #4]
	add	x25, x25, #4
	b	LBB0_32
LBB0_12:
	str	x10, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_13:
Lloh27:
	adrp	x8, _RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x23, #4]
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x25, x0
	mov	w8, #2
	str	w8, [x23]
	ldr	w0, [x24, #8]
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	mov	w1, #1
	bl	_rdma_protocol_iwarp
	bl	_unlikely
	cbnz	w0, LBB0_23
; %bb.15:
Lloh30:
	adrp	x8, _RDMA_SQ_REQ_TYPE_SEND_WITH_IMM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_SEND_WITH_IMM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	mov	w9, #2
	stp	w9, w8, [x23]
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x25, x0
	ldr	w0, [x24, #12]
	bl	_be32_to_cpu
LBB0_16:
	bl	_cpu_to_le32
	str	x0, [x23, #16]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x25
	b	LBB0_18
LBB0_17:
Lloh33:
	adrp	x8, _RDMA_SQ_REQ_TYPE_SEND@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_SEND@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	mov	w9, #2
	stp	w9, w8, [x23]
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
LBB0_18:
	mov	x4, x24
	mov	x5, x21
	bl	_qedr_prepare_sq_send_data
	b	LBB0_29
LBB0_19:
Lloh36:
	adrp	x8, _QEDR_MSG_CQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _QEDR_MSG_CQ@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x2, l_.str@PAGE
Lloh40:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_DEBUG
Lloh41:
	adrp	x8, _RDMA_SQ_REQ_TYPE_FAST_MR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_FAST_MR@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	mov	w9, #2
	stp	w9, w8, [x23]
	mov	x0, x24
	bl	_reg_wr
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_qedr_prepare_reg
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_33
; %bb.20:
	str	x0, [sp]
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_21:
	mov	x0, x19
	bl	_DP_ERR
	b	LBB0_23
LBB0_22:
	mov	x0, x19
	mov	w1, #1
	bl	_rdma_protocol_iwarp
	bl	_unlikely
	cbz	w0, LBB0_38
LBB0_23:
	str	x24, [x21]
	b	LBB0_35
LBB0_24:
Lloh46:
	adrp	x8, _RDMA_SQ_REQ_TYPE_RDMA_WR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_RDMA_WR@GOTPAGEOFF]
	b	LBB0_27
LBB0_25:
	ldr	x0, [x23, #8]
Lloh48:
	adrp	x8, _RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_SET_FIELD2
LBB0_26:
Lloh51:
	adrp	x8, _RDMA_SQ_REQ_TYPE_RDMA_RD@GOTPAGE
Lloh52:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_RDMA_RD@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	mov	w9, #2
	stp	w9, w8, [x23]
LBB0_28:
	mov	x0, x22
	bl	_qed_chain_produce
	mov	x3, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x4, x24
	mov	x5, x21
	bl	_qedr_prepare_sq_rdma_data
LBB0_29:
	bl	_cpu_to_le32
	str	x0, [x23, #8]
	ldr	w8, [x23]
	ldr	x9, [x20, #24]
	ldr	x10, [x20, #8]
	mov	w11, #24
	madd	x9, x10, x11, x9
	str	w8, [x9, #4]
	str	w8, [x20]
	str	x0, [x9, #8]
	b	LBB0_34
LBB0_30:
	mov	w10, #1
Lloh53:
	adrp	x11, _RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE@GOTPAGE
Lloh54:
	ldr	x11, [x11, _RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE@GOTPAGEOFF]
	ldr	w12, [x24, #8]
	stp	w10, w12, [x23]
Lloh55:
	ldr	w11, [x11]
	str	w11, [x23, #8]
	mov	w11, #24
	madd	x8, x9, x11, x8
	str	w10, [x8, #4]
	str	w10, [x20]
	b	LBB0_34
LBB0_31:
Lloh56:
	adrp	x8, _RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP@GOTPAGE
Lloh57:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	str	w8, [x23, #4]
	ldr	w26, [x25, #4]
	mov	x0, x24
	bl	_atomic_wr
	ldr	w1, [x0, #4]
	mov	x0, x26
	bl	_DMA_REGPAIR_LE
LBB0_32:
	ldr	w25, [x25]
	mov	x0, x24
	bl	_atomic_wr
	ldr	w1, [x0]
	mov	x0, x25
	bl	_DMA_REGPAIR_LE
	mov	x0, x20
	mov	x1, #0
	mov	x2, x24
	bl	_qedr_prepare_sq_sges
LBB0_33:
	ldr	w8, [x23]
	ldr	x9, [x20, #24]
	ldr	x10, [x20, #8]
	mov	w11, #24
	madd	x9, x10, x11, x9
	str	w8, [x9, #4]
	str	w8, [x20]
LBB0_34:
	ldr	x8, [x21]
	cbz	x8, LBB0_36
LBB0_35:
	ldr	w0, [x20, #20]
	bl	_le16_to_cpu
	mov	x1, x0
	mov	x0, x22
	mov	x2, x23
	bl	_qed_chain_set_prod
	ldr	w8, [x23]
	str	w8, [x20]
Lloh59:
	adrp	x8, _EINVAL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	neg	w20, w8
Lloh62:
	adrp	x1, l_.str.3@PAGE
Lloh63:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_DP_ERR
	b	LBB0_37
LBB0_36:
	mov	w20, #0
LBB0_37:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_38:
Lloh64:
	adrp	x8, _RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	mov	w9, #2
	stp	w9, w8, [x23]
	ldr	w0, [x24, #12]
	bl	_cpu_to_le32
	bl	_htonl
	str	w0, [x23, #16]
	b	LBB0_28
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_17-LBB0_10)>>2
	.byte	(LBB0_19-LBB0_10)>>2
	.byte	(LBB0_22-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_25-LBB0_10)>>2
	.byte	(LBB0_26-LBB0_10)>>2
	.byte	(LBB0_30-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IB_SEND_SIGNALED,4,2           ; @IB_SEND_SIGNALED
	.comm	_RDMA_SQ_SEND_WQE_SE_FLG,4,2    ; @RDMA_SQ_SEND_WQE_SE_FLG
	.comm	_IB_SEND_SOLICITED,4,2          ; @IB_SEND_SOLICITED
	.comm	_RDMA_SQ_SEND_WQE_COMP_FLG,4,2  ; @RDMA_SQ_SEND_WQE_COMP_FLG
	.comm	_RDMA_SQ_SEND_WQE_RD_FENCE_FLG,4,2 ; @RDMA_SQ_SEND_WQE_RD_FENCE_FLG
	.comm	_IB_SEND_FENCE,4,2              ; @IB_SEND_FENCE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RDMA_SQ_REQ_TYPE_SEND_WITH_IMM,4,2 ; @RDMA_SQ_REQ_TYPE_SEND_WITH_IMM
	.comm	_RDMA_SQ_REQ_TYPE_SEND,4,2      ; @RDMA_SQ_REQ_TYPE_SEND
	.comm	_RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE,4,2 ; @RDMA_SQ_REQ_TYPE_SEND_WITH_INVALIDATE
	.comm	_RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM,4,2 ; @RDMA_SQ_REQ_TYPE_RDMA_WR_WITH_IMM
	.comm	_RDMA_SQ_REQ_TYPE_RDMA_WR,4,2   ; @RDMA_SQ_REQ_TYPE_RDMA_WR
	.comm	_RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG,4,2 ; @RDMA_SQ_RDMA_WQE_1ST_READ_INV_FLG
	.comm	_RDMA_SQ_REQ_TYPE_RDMA_RD,4,2   ; @RDMA_SQ_REQ_TYPE_RDMA_RD
	.comm	_RDMA_SQ_REQ_TYPE_ATOMIC_ADD,4,2 ; @RDMA_SQ_REQ_TYPE_ATOMIC_ADD
	.comm	_RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP,4,2 ; @RDMA_SQ_REQ_TYPE_ATOMIC_CMP_AND_SWAP
	.comm	_RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE,4,2 ; @RDMA_SQ_REQ_TYPE_LOCAL_INVALIDATE
	.comm	_QEDR_MSG_CQ,4,2                ; @QEDR_MSG_CQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"REG_MR\n"

	.comm	_RDMA_SQ_REQ_TYPE_FAST_MR,4,2   ; @RDMA_SQ_REQ_TYPE_FAST_MR
l_.str.1:                               ; @.str.1
	.asciz	"IB_REG_MR failed rc=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid opcode 0x%x!\n"

l_.str.3:                               ; @.str.3
	.asciz	"POST SEND FAILED\n"

	.no_dead_strip	___qedr_post_send
.subsections_via_symbols
