	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfi1_qp_iter_cb
_hfi1_qp_iter_cb:                       ## @hfi1_qp_iter_cb
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	movq	(%rbx), %rsi
	callq	_to_iport
	movq	%rax, %rdi
	callq	_ppd_from_ibp
	movq	(%rbx), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_7
## %bb.1:
	leaq	16(%rbx), %r13
	movq	(%r13), %rax
	movq	_IB_QPT_UC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_3:
	movslq	%r14d, %r14
	leaq	60(%rbx), %rdi
	callq	_rdma_ah_get_sl
	cmpq	%r14, %rax
	jne	LBB0_7
## %bb.4:
	movq	_ib_rvt_state_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	_RVT_POST_SEND_OK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax,%rcx,4)
	je	LBB0_7
## %bb.5:
	leaq	48(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irq
	leaq	52(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	56(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	movq	_IB_WC_WR_FLUSH_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rvt_error_qp
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movl	40(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	%r13, -64(%rbp)
	movq	_IB_EVENT_QP_LAST_WQE_REACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movl	24(%rbx), %esi
	leaq	-72(%rbp), %rdi
	callq	*32(%rbx)
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QPT_UC,8,3                  ## @IB_QPT_UC
	.comm	_IB_QPT_RC,8,3                  ## @IB_QPT_RC
	.comm	_ib_rvt_state_ops,8,3           ## @ib_rvt_state_ops
	.comm	_RVT_POST_SEND_OK,4,2           ## @RVT_POST_SEND_OK
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ## @IB_WC_WR_FLUSH_ERR
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ## @IB_EVENT_QP_LAST_WQE_REACHED
	.no_dead_strip	_hfi1_qp_iter_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfi1_qp_iter_cb
_hfi1_qp_iter_cb:                       ; @hfi1_qp_iter_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #40]
	ldr	x1, [x19]
	bl	_to_iport
	bl	_ppd_from_ibp
	ldr	x8, [x19]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	add	x24, x19, #16
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _IB_QPT_UC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QPT_UC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IB_QPT_RC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IB_QPT_RC@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_6
; %bb.2:
	sxtw	x20, w20
	add	x0, x19, #60
	bl	_rdma_ah_get_sl
	cmp	x0, x20
	b.ne	LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _ib_rvt_state_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ib_rvt_state_ops@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
Lloh9:
	adrp	x9, _RVT_POST_SEND_OK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RVT_POST_SEND_OK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	add	x20, x19, #48
	mov	x0, x20
	bl	_spin_lock_irq
	add	x21, x19, #52
	mov	x0, x21
	bl	_spin_lock
	add	x22, x19, #56
	mov	x0, x22
	bl	_spin_lock
Lloh12:
	adrp	x8, _IB_WC_WR_FLUSH_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_WC_WR_FLUSH_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rvt_error_qp
	mov	x23, x0
	mov	x0, x22
	bl	_spin_unlock
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x20
	bl	_spin_unlock_irq
	cbz	w23, LBB0_6
; %bb.5:
	ldr	w8, [x19, #40]
	str	w8, [sp, #24]
	str	x24, [sp, #16]
Lloh15:
	adrp	x8, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_EVENT_QP_LAST_WQE_REACHED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x19, #32]
	ldr	w1, [x19, #24]
	add	x0, sp, #8
	blr	x8
LBB0_6:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QPT_UC,8,3                  ; @IB_QPT_UC
	.comm	_IB_QPT_RC,8,3                  ; @IB_QPT_RC
	.comm	_ib_rvt_state_ops,8,3           ; @ib_rvt_state_ops
	.comm	_RVT_POST_SEND_OK,4,2           ; @RVT_POST_SEND_OK
	.comm	_IB_WC_WR_FLUSH_ERR,4,2         ; @IB_WC_WR_FLUSH_ERR
	.comm	_IB_EVENT_QP_LAST_WQE_REACHED,4,2 ; @IB_EVENT_QP_LAST_WQE_REACHED
	.no_dead_strip	_hfi1_qp_iter_cb
.subsections_via_symbols
