	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function req_retry
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_req_retry:                             ## @req_retry
	.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
	movl	8(%rdi), %edi
	callq	_consumer_index
	movq	%rax, 24(%r14)
	movl	4(%r14), %eax
	movl	8(%r14), %edi
	movl	%eax, 16(%r14)
	movl	$-1, 20(%r14)
	callq	_consumer_index
	movq	%rax, %r15
	movl	8(%r14), %edi
	callq	_producer_index
	cmpl	%r15d, %eax
	jne	LBB0_1
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %r13d
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%rbx), %eax
	movl	%eax, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_wqe_state_posted@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%r13d, %r13d
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r14), %edi
	movl	%r15d, %esi
	callq	_next_index
	movl	%eax, %r15d
	movl	8(%r14), %edi
	callq	_producer_index
	cmpl	%eax, %r15d
	je	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r14), %edi
	movl	%r15d, %esi
	callq	_addr_from_index
	movq	%rax, %rbx
	movl	48(%rax), %edi
	movq	%r14, %rsi
	callq	_wr_opcode_mask
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movq	_wqe_state_posted@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_wqe_state_done@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_WR_ATOMIC_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	44(%rbx), %eax
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_WR_READ_OR_WRITE_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	40(%rbx), %eax
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, 8(%rbx)
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_WR_READ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%rbx), %ecx
	movl	%ecx, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_WR_WRITE_OR_SEND_MASK@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14), %ecx
	subl	12(%rbx), %ecx
	movq	_BTH_PSN_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_retry_first_write_send
	movq	_WR_READ_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	%r12d, %eax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%rbx), %ecx
	subl	16(%rbx), %ecx
	movl	%ecx, %eax
	cltd
	idivl	(%r14)
	subl	%edx, %ecx
	addl	%ecx, 8(%rbx)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_wqe_state_posted,8,3           ## @wqe_state_posted
	.comm	_wqe_state_done,8,3             ## @wqe_state_done
	.comm	_WR_ATOMIC_MASK,4,2             ## @WR_ATOMIC_MASK
	.comm	_WR_READ_OR_WRITE_MASK,4,2      ## @WR_READ_OR_WRITE_MASK
	.comm	_WR_READ_MASK,4,2               ## @WR_READ_MASK
	.comm	_WR_WRITE_OR_SEND_MASK,4,2      ## @WR_WRITE_OR_SEND_MASK
	.comm	_BTH_PSN_MASK,4,2               ## @BTH_PSN_MASK
	.no_dead_strip	_req_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function req_retry
_req_retry:                             ; @req_retry
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_consumer_index
	str	x0, [x19, #24]
	mov	w8, #-1
	ldp	w9, w0, [x19, #4]
	stp	w9, w8, [x19, #16]
	bl	_consumer_index
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_producer_index
	cmp	w0, w20
	b.ne	LBB0_2
LBB0_1:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w26, #1
Lloh0:
	adrp	x23, _wqe_state_posted@GOTPAGE
Lloh1:
	ldr	x23, [x23, _wqe_state_posted@GOTPAGEOFF]
Lloh2:
	adrp	x24, _wqe_state_done@GOTPAGE
Lloh3:
	ldr	x24, [x24, _wqe_state_done@GOTPAGEOFF]
Lloh4:
	adrp	x25, _WR_ATOMIC_MASK@GOTPAGE
Lloh5:
	ldr	x25, [x25, _WR_ATOMIC_MASK@GOTPAGEOFF]
Lloh6:
	adrp	x27, _WR_READ_MASK@GOTPAGE
Lloh7:
	ldr	x27, [x27, _WR_READ_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x28, _WR_WRITE_OR_SEND_MASK@GOTPAGE
Lloh9:
	ldr	x28, [x28, _WR_WRITE_OR_SEND_MASK@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #20]
	str	w8, [x21, #16]
	stp	xzr, xzr, [x21, #24]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w26, #0
	ldr	x8, [x23]
	str	x8, [x21]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_next_index
	mov	x20, x0
	ldr	w0, [x19, #8]
	bl	_producer_index
	cmp	w20, w0
	b.eq	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_addr_from_index
	mov	x21, x0
	ldr	w0, [x0, #48]
	mov	x1, x19
	bl	_wr_opcode_mask
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #44]
	str	w8, [x21, #8]
	cbnz	w26, LBB0_13
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, _WR_READ_OR_WRITE_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WR_READ_OR_WRITE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21, #40]
	str	w8, [x21, #8]
	cbnz	w26, LBB0_13
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
	str	w8, [x21, #8]
	cbz	w26, LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	ands	w8, w8, w22
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x21, #20]
	str	w9, [x21, #16]
	stp	xzr, xzr, [x21, #24]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x28]
	tst	w9, w22
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #4]
	ldr	w9, [x21, #12]
Lloh13:
	adrp	x10, _BTH_PSN_MASK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _BTH_PSN_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	sub	w8, w8, w9
	and	w3, w8, w10
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_retry_first_write_send
	ldr	w8, [x27]
	and	w8, w8, w22
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	w9, w8, [x21, #16]
	sub	w8, w8, w9
	ldr	w9, [x19]
	sdiv	w8, w8, w9
	ldr	w10, [x21, #8]
	madd	w8, w8, w9, w10
	str	w8, [x21, #8]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_wqe_state_posted,8,3           ; @wqe_state_posted
	.comm	_wqe_state_done,8,3             ; @wqe_state_done
	.comm	_WR_ATOMIC_MASK,4,2             ; @WR_ATOMIC_MASK
	.comm	_WR_READ_OR_WRITE_MASK,4,2      ; @WR_READ_OR_WRITE_MASK
	.comm	_WR_READ_MASK,4,2               ; @WR_READ_MASK
	.comm	_WR_WRITE_OR_SEND_MASK,4,2      ; @WR_WRITE_OR_SEND_MASK
	.comm	_BTH_PSN_MASK,4,2               ; @BTH_PSN_MASK
	.no_dead_strip	_req_retry
.subsections_via_symbols
