	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qib_reset_qp
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qib_reset_qp:                          ## @qib_reset_qp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	addq	$236, %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 240(%rbx)
	movq	$0, 256(%rbx)
	xorl	%esi, %esi
	callq	_atomic_set
	movq	_QIB_S_SIGNAL_REQ_WR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, 232(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 216(%rbx)
	movups	%xmm0, 200(%rbx)
	movups	%xmm0, 184(%rbx)
	movups	%xmm0, 168(%rbx)
	movups	%xmm0, 152(%rbx)
	movq	_IB_QPT_RC@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_IB_OPCODE_RC_SEND_LAST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IB_OPCODE_UC_SEND_LAST@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	%rax, 144(%rbx)
	movq	%rax, 136(%rbx)
	movq	_IB_OPCODE_RC_ACKNOWLEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 112(%rbx)
	movups	%xmm0, 96(%rbx)
	movups	%xmm0, 80(%rbx)
	movups	%xmm0, 64(%rbx)
	movl	$1, (%rbx)
	movq	$0, 56(%rbx)
	movq	_IB_MIG_MIGRATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movl	48(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	$0, 40(%rbx)
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_5:
	movq	$0, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QIB_S_SIGNAL_REQ_WR,4,2        ## @QIB_S_SIGNAL_REQ_WR
	.comm	_IB_QPT_RC,4,2                  ## @IB_QPT_RC
	.comm	_IB_OPCODE_RC_SEND_LAST,8,3     ## @IB_OPCODE_RC_SEND_LAST
	.comm	_IB_OPCODE_UC_SEND_LAST,8,3     ## @IB_OPCODE_UC_SEND_LAST
	.comm	_IB_OPCODE_RC_ACKNOWLEDGE,4,2   ## @IB_OPCODE_RC_ACKNOWLEDGE
	.comm	_IB_MIG_MIGRATED,4,2            ## @IB_MIG_MIGRATED
	.no_dead_strip	_qib_reset_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_reset_qp
_qib_reset_qp:                          ; @qib_reset_qp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #236
	stp	xzr, xzr, [x19, #240]
	str	xzr, [x19, #256]
	mov	w1, #0
	bl	_atomic_set
Lloh0:
	adrp	x8, _QIB_S_SIGNAL_REQ_WR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QIB_S_SIGNAL_REQ_WR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #232]
	and	w8, w9, w8
	str	w8, [x19, #232]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #152]
	stur	q0, [x19, #168]
	stur	q0, [x19, #184]
	stur	q0, [x19, #200]
	stur	q0, [x19, #216]
Lloh3:
	adrp	x8, _IB_QPT_RC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_QPT_RC@GOTPAGEOFF]
Lloh5:
	adrp	x9, _IB_OPCODE_RC_SEND_LAST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IB_OPCODE_RC_SEND_LAST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _IB_OPCODE_UC_SEND_LAST@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IB_OPCODE_UC_SEND_LAST@GOTPAGEOFF]
	cmp	w8, w20
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	stp	x8, x8, [x19, #136]
Lloh10:
	adrp	x8, _IB_OPCODE_RC_ACKNOWLEDGE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IB_OPCODE_RC_ACKNOWLEDGE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #128]
	stp	q0, q0, [x19, #64]
	stp	q0, q0, [x19, #96]
	mov	w8, #1
	str	w8, [x19]
	str	xzr, [x19, #56]
Lloh13:
	adrp	x8, _IB_MIG_MIGRATED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_MIG_MIGRATED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #52]
	ldr	w0, [x19, #48]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stp	xzr, xzr, [x19, #32]
	str	xzr, [x19, #24]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	stp	xzr, xzr, [x8]
LBB0_2:
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QIB_S_SIGNAL_REQ_WR,4,2        ; @QIB_S_SIGNAL_REQ_WR
	.comm	_IB_QPT_RC,4,2                  ; @IB_QPT_RC
	.comm	_IB_OPCODE_RC_SEND_LAST,8,3     ; @IB_OPCODE_RC_SEND_LAST
	.comm	_IB_OPCODE_UC_SEND_LAST,8,3     ; @IB_OPCODE_UC_SEND_LAST
	.comm	_IB_OPCODE_RC_ACKNOWLEDGE,4,2   ; @IB_OPCODE_RC_ACKNOWLEDGE
	.comm	_IB_MIG_MIGRATED,4,2            ; @IB_MIG_MIGRATED
	.no_dead_strip	_qib_reset_qp
.subsections_via_symbols
