	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_notify_error_qp                ## -- Begin function notify_error_qp
	.p2align	4, 0x90
_notify_error_qp:                       ## @notify_error_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %r13
	movq	8(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_write_seqlock
	leaq	16(%r13), %r15
	movq	%r15, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%r14), %eax
	movq	_RVT_S_BUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_5
## %bb.3:
	testl	%ecx, (%r13)
	jne	LBB0_5
## %bb.4:
	leaq	8(%r13), %r12
	movq	_HFI1_S_ANY_WAIT_IO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r14)
	movq	_IOWAIT_PENDING_IB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_iowait_clear_flag
	movq	_IOWAIT_PENDING_TID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_iowait_clear_flag
	movq	%r15, %rdi
	callq	_list_del_init
	movq	$0, (%r12)
	movq	%r14, %rdi
	callq	_rvt_put_qp
LBB0_5:
	movq	%rbx, %rdi
	callq	_write_sequnlock
LBB0_6:
	movq	_RVT_S_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_11
## %bb.7:
	testl	%eax, (%r13)
	je	LBB0_8
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	$0, 16(%r14)
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_rvt_put_mr
	movq	$0, 8(%r14)
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush_tx_list                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RVT_S_BUSY,4,2                 ## @RVT_S_BUSY
	.comm	_HFI1_S_ANY_WAIT_IO,4,2         ## @HFI1_S_ANY_WAIT_IO
	.comm	_IOWAIT_PENDING_IB,4,2          ## @IOWAIT_PENDING_IB
	.comm	_IOWAIT_PENDING_TID,4,2         ## @IOWAIT_PENDING_TID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_notify_error_qp                ; -- Begin function notify_error_qp
	.p2align	2
_notify_error_qp:                       ; @notify_error_qp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	ldr	x23, [x0, #24]
	mov	x21, x23
	ldr	x20, [x21, #8]!
Lloh0:
	adrp	x24, _RVT_S_BUSY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RVT_S_BUSY@GOTPAGEOFF]
	cbz	x20, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_write_seqlock
	add	x22, x23, #16
	mov	x0, x22
	bl	_list_empty
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.3:
	ldr	w10, [x23]
	tst	w10, w9
	b.ne	LBB0_5
; %bb.4:
Lloh2:
	adrp	x9, _HFI1_S_ANY_WAIT_IO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HFI1_S_ANY_WAIT_IO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
Lloh5:
	adrp	x8, _IOWAIT_PENDING_IB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IOWAIT_PENDING_IB@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_iowait_clear_flag
Lloh8:
	adrp	x8, _IOWAIT_PENDING_TID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IOWAIT_PENDING_TID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_iowait_clear_flag
	mov	x0, x22
	bl	_list_del_init
	str	xzr, [x21]
	mov	x0, x19
	bl	_rvt_put_qp
LBB0_5:
	mov	x0, x20
	bl	_write_sequnlock
LBB0_6:
	ldr	w9, [x19]
	ldr	w8, [x24]
	tst	w8, w9
	b.ne	LBB0_8
; %bb.7:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	str	xzr, [x19, #16]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_rvt_put_mr
	str	xzr, [x19, #8]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_flush_tx_list
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RVT_S_BUSY,4,2                 ; @RVT_S_BUSY
	.comm	_HFI1_S_ANY_WAIT_IO,4,2         ; @HFI1_S_ANY_WAIT_IO
	.comm	_IOWAIT_PENDING_IB,4,2          ; @IOWAIT_PENDING_IB
	.comm	_IOWAIT_PENDING_TID,4,2         ; @IOWAIT_PENDING_TID
.subsections_via_symbols
