	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rr_dequeue
_rr_dequeue:                            ## @rr_dequeue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	4(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	addq	$4, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_rr_remove_head
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rax
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	jge	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	16(%rdi), %rax
	movq	%rax, 8(%rdi)
	movq	%rbx, %rdi
	callq	_next_pointer
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movq	%rdx, 8(%rdi)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dn_dequeue                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rr_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rr_dequeue
_rr_dequeue:                            ; @rr_dequeue
	.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	x19, x0
	ldr	x0, [x19, #4]!
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_rr_remove_head
	ldr	x0, [x19]
	cbz	x0, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x8]
	ldr	x8, [x0, #8]
	subs	x9, x8, x9
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x0, #16]
	add	x8, x9, x8
	str	x8, [x0, #8]
	mov	x0, x19
	bl	_next_pointer
	ldr	x0, [x19]
	cbnz	x0, LBB0_2
LBB0_5:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	str	x9, [x0, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dn_dequeue
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rr_dequeue
.subsections_via_symbols
