	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function q_requeue
_q_requeue:                             ## @q_requeue
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdi), %edi
	decl	%edi
	movl	(%rsi), %esi
	addl	%edx, %esi
	callq	_min
	movl	%eax, %r15d
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.1:
	movl	(%r12), %eax
	decl	%eax
	cmpl	%eax, (%r14)
	jae	LBB0_13
## %bb.2:
	movl	4(%r12), %edi
	movl	%r15d, %esi
	addq	8(%r12), %rsi
	callq	_l_head
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r13)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	4(%r12), %edi
	movq	%r13, %rsi
	callq	_l_next
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_13
LBB0_6:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_q_del
	movl	(%r14), %eax
	movl	%eax, (%r13)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.7:
	cmpl	$1, %ebx
	je	LBB0_11
## %bb.8:
	testl	%ebx, %ebx
	jne	LBB0_12
## %bb.9:
	movq	%r12, %rdi
	jmp	LBB0_10
LBB0_12:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_q_push
	jmp	LBB0_13
LBB0_11:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_10:
	movq	%r13, %rdx
	callq	_q_push_before
LBB0_13:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_q_del
	movl	%r15d, (%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_q_push                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_q_requeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function q_requeue
_q_requeue:                             ; @q_requeue
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	sub	w0, w8, #1
	ldr	w8, [x1]
	add	w1, w8, w2
	bl	_min
	mov	x21, x0
	cbz	w24, LBB0_13
; %bb.1:
	ldr	w8, [x19]
	ldr	w9, [x20]
	sub	w9, w9, #1
	cmp	w8, w9
	b.hs	LBB0_13
; %bb.2:
	ldr	w0, [x20, #4]
	ldr	x8, [x20, #8]
	add	x1, x8, w21, uxtw
	bl	_l_head
	cbz	x0, LBB0_13
; %bb.3:
	mov	x24, x0
	mov	w25, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w25, w25, #1
	ldr	w0, [x20, #4]
	mov	x1, x24
	bl	_l_next
	mov	x24, x0
	cbnz	x0, LBB0_4
	b	LBB0_13
LBB0_6:
	mov	x0, x20
	mov	x1, x24
	bl	_q_del
	ldr	w8, [x19]
	str	w8, [x24]
	cbz	x22, LBB0_10
; %bb.7:
	cmp	w25, #1
	b.eq	LBB0_11
; %bb.8:
	cbnz	w25, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x22
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	mov	x1, x24
	bl	_q_push
	b	LBB0_13
LBB0_11:
	mov	x0, x20
	mov	x1, x23
LBB0_12:
	mov	x2, x24
	bl	_q_push_before
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_q_del
	str	w21, [x19]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_q_push
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_q_requeue
.subsections_via_symbols
