	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qedr_post_recv                 ## -- Begin function qedr_post_recv
	.p2align	4, 0x90
_qedr_post_recv:                        ## @qedr_post_recv
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_get_qedr_qp
	movq	(%rax), %rdx
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_1
## %bb.24:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qedr_gsi_post_recv             ## TAILCALL
LBB0_1:
	movq	72(%rax), %r15
	movq	%rax, %rbx
	leaq	16(%rax), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	8(%rbx), %rax
	movq	_QED_ROCE_QP_STATE_RESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r12, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_23
LBB0_2:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_3
## %bb.5:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	24(%rbx), %r15
	movq	%rbx, %r13
	addq	$60, %r13
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_20
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r13, %rdi
	callq	_qed_chain_get_elem_left_u32
	movq	_QEDR_MAX_RQE_ELEMENTS_PER_RQE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_25
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %eax
	cmpl	(%r15), %eax
	jg	LBB0_25
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_qed_chain_produce
	movq	%rax, %rbx
	movq	_RDMA_RQ_SGE_NUM_SGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	xorl	%edi, %edi
	callq	_SET_FIELD
	movq	_RDMA_RQ_SGE_L_KEY_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%r12), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_SET_FIELD
	movq	24(%r12), %rax
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_RQ_SGE_SET
	movl	(%r12), %eax
	movl	$1, %r15d
	cmpl	$2, %eax
	jl	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r15d
	xorl	%r14d, %r14d
	movq	_RDMA_RQ_SGE_L_KEY_LO@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_qed_chain_produce
	movq	%rax, %rbx
	movl	(%r13), %esi
	movq	24(%r12), %rax
	movl	12(%rax,%r14), %edx
	xorl	%edi, %edi
	callq	_SET_FIELD
	movq	24(%r12), %rax
	movl	16(%rax,%r14), %edx
	movl	20(%rax,%r14), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_RQ_SGE_SET
	incq	%r15
	movslq	(%r12), %rax
	addq	$12, %r14
	cmpq	%rax, %r15
	jl	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_qed_chain_produce
	movq	%rax, %rbx
	movq	_RDMA_RQ_SGE_L_KEY_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_SET_FIELD
	movq	_RDMA_RQ_SGE_NUM_SGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %r15d
	xorl	%edi, %edi
	movl	$1, %edx
	callq	_SET_FIELD
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_RQ_SGE_SET
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%r12), %eax
	movq	32(%rbx), %rcx
	movq	64(%rbx), %rdx
	movl	%eax, 4(%rdx,%rcx,8)
	movl	%r15d, (%rdx,%rcx,8)
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_qedr_inc_sw_prod
	xorl	%eax, %eax
	callq	_smp_wmb
	incl	56(%rbx)
	movl	48(%rbx), %esi
	movl	52(%rbx), %edi
	callq	_writel
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_rdma_protocol_iwarp
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	callq	_writel
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_16
LBB0_25:
	movq	%r13, %rdi
	callq	_qed_chain_get_elem_left_u32
	movq	_QEDR_MAX_RQE_ELEMENTS_PER_RQE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r12), %r8d
	movl	(%r15), %r9d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_DP_ERR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	jmp	LBB0_21
LBB0_3:
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_20:
	xorl	%r14d, %r14d
LBB0_21:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_22:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
LBB0_23:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_QED_ROCE_QP_STATE_RESET,8,3    ## @QED_ROCE_QP_STATE_RESET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QEDR_MAX_RQE_ELEMENTS_PER_RQE,8,3 ## @QEDR_MAX_RQE_ELEMENTS_PER_RQE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't post WR  (%d < %d) || (%d > %d)\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RDMA_RQ_SGE_NUM_SGES,4,2       ## @RDMA_RQ_SGE_NUM_SGES
	.comm	_RDMA_RQ_SGE_L_KEY_LO,4,2       ## @RDMA_RQ_SGE_L_KEY_LO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qedr_post_recv                 ; -- Begin function qedr_post_recv
	.p2align	2
_qedr_post_recv:                        ; @qedr_post_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_get_qedr_qp
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IB_QPT_GSI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QPT_GSI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_qedr_gsi_post_recv
LBB0_2:
	mov	x23, x0
	ldr	x22, [x0, #72]
	add	x21, x0, #16
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x23, #8]
Lloh3:
	adrp	x9, _QED_ROCE_QP_STATE_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_ROCE_QP_STATE_RESET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	str	x20, [x19]
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_24
LBB0_4:
	cbz	x20, LBB0_20
; %bb.5:
	stp	x19, x21, [sp, #8]              ; 16-byte Folded Spill
	add	x24, x23, #24
	add	x25, x23, #60
Lloh9:
	adrp	x21, _QEDR_MAX_RQE_ELEMENTS_PER_RQE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _QEDR_MAX_RQE_ELEMENTS_PER_RQE@GOTPAGEOFF]
Lloh11:
	adrp	x19, _RDMA_RQ_SGE_NUM_SGES@GOTPAGE
Lloh12:
	ldr	x19, [x19, _RDMA_RQ_SGE_NUM_SGES@GOTPAGEOFF]
Lloh13:
	adrp	x28, _RDMA_RQ_SGE_L_KEY_LO@GOTPAGE
Lloh14:
	ldr	x28, [x28, _RDMA_RQ_SGE_L_KEY_LO@GOTPAGEOFF]
	str	x22, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_21
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x25
	bl	_qed_chain_get_elem_left_u32
	ldr	x8, [x21]
	cmp	x0, x8
	b.lt	LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x24]
	cmp	w8, w9
	b.gt	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_qed_chain_produce
	mov	x26, x0
	ldr	w1, [x19]
	ldr	w2, [x20]
	mov	w0, #0
	bl	_SET_FIELD
	ldr	w1, [x28]
	ldr	x8, [x20, #24]
	ldr	w2, [x8]
	mov	w0, #0
	bl	_SET_FIELD
	ldr	x8, [x20, #24]
	ldp	w2, w1, [x8, #4]
	mov	x0, x26
	mov	w3, #0
	bl	_RQ_SGE_SET
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, x19
	mov	x19, x21
	mov	x21, #0
	mov	w27, #1
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	bl	_qed_chain_produce
	mov	x26, x0
	ldr	w1, [x28]
	ldr	x8, [x20, #24]
	add	x8, x8, x21
	ldr	w2, [x8, #12]
	mov	w0, #0
	bl	_SET_FIELD
	ldr	x8, [x20, #24]
	add	x8, x8, x21
	ldp	w2, w1, [x8, #16]
	mov	x0, x26
	mov	w3, #0
	bl	_RQ_SGE_SET
	add	x27, x27, #1
	ldrsw	x8, [x20]
	add	x21, x21, #12
	cmp	x27, x8
	b.lt	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x19
	mov	x19, x22
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	cbnz	w8, LBB0_16
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #0
	cbnz	w8, LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_qed_chain_produce
	mov	x26, x0
	ldr	w1, [x28]
	mov	w0, #0
	mov	w2, #0
	bl	_SET_FIELD
	ldr	w1, [x19]
	mov	w27, #1
	mov	w0, #0
	mov	w2, #1
	bl	_SET_FIELD
	mov	x0, x26
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_RQ_SGE_SET
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #16]
	ldr	x9, [x23, #64]
	ldr	x10, [x23, #32]
	add	x9, x9, x10, lsl #3
	stp	w27, w8, [x9]
	mov	x0, x24
	bl	_qedr_inc_sw_prod
	bl	_smp_wmb
	ldp	w0, w8, [x23, #52]
	add	w8, w8, #1
	str	w8, [x23, #56]
	ldr	w1, [x23, #48]
	bl	_writel
	mov	x0, x22
	mov	w1, #1
	bl	_rdma_protocol_iwarp
	cbz	x0, LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldp	w1, w0, [x23, #40]
	bl	_writel
	b	LBB0_6
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #1
	cbnz	w8, LBB0_16
	b	LBB0_15
LBB0_19:
	mov	x0, x25
	bl	_qed_chain_get_elem_left_u32
	mov	x2, x0
	ldr	x3, [x21]
	ldr	w4, [x20]
	ldr	w5, [x24]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_DP_ERR
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x20, [x8]
	b	LBB0_22
LBB0_20:
	mov	w22, #0
	b	LBB0_23
LBB0_21:
	mov	w22, #0
LBB0_22:
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
LBB0_23:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
LBB0_24:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_QED_ROCE_QP_STATE_RESET,8,3    ; @QED_ROCE_QP_STATE_RESET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QEDR_MAX_RQE_ELEMENTS_PER_RQE,8,3 ; @QEDR_MAX_RQE_ELEMENTS_PER_RQE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't post WR  (%d < %d) || (%d > %d)\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RDMA_RQ_SGE_NUM_SGES,4,2       ; @RDMA_RQ_SGE_NUM_SGES
	.comm	_RDMA_RQ_SGE_L_KEY_LO,4,2       ; @RDMA_RQ_SGE_L_KEY_LO
.subsections_via_symbols
