	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qfq_slot_remove
_qfq_slot_remove:                       ## @qfq_slot_remove
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	4(%rdx), %edi
	movl	(%rsi), %esi
	callq	_qfq_round_down
	movl	%eax, %r14d
	subl	4(%r12), %r14d
	movb	(%r12), %cl
	shrl	%cl, %r14d
	movl	8(%r12), %eax
	addl	%r14d, %eax
	movq	_QFQ_MAX_SLOTS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%edx, %ebx
	movq	%r15, %rdi
	callq	_hlist_del
	shlq	$2, %rbx
	addq	16(%r12), %rbx
	movq	%rbx, %rdi
	callq	_hlist_empty
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	addq	$12, %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___clear_bit                    ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QFQ_MAX_SLOTS,4,2              ## @QFQ_MAX_SLOTS
	.no_dead_strip	_qfq_slot_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qfq_slot_remove
_qfq_slot_remove:                       ; @qfq_slot_remove
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	ldr	w0, [x2, #4]
	ldr	w1, [x1]
	bl	_qfq_round_down
	ldp	w9, w8, [x19]
	sub	w8, w0, w8
	lsr	w20, w8, w9
	ldr	w8, [x19, #8]
	add	w8, w8, w20
Lloh0:
	adrp	x9, _QFQ_MAX_SLOTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QFQ_MAX_SLOTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	w10, w8, w9
	msub	w22, w10, w9, w8
	mov	x0, x21
	bl	_hlist_del
	ldr	x8, [x19, #16]
	add	x0, x8, w22, uxtw #2
	bl	_hlist_empty
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, x19, #12
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___clear_bit
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QFQ_MAX_SLOTS,4,2              ; @QFQ_MAX_SLOTS
	.no_dead_strip	_qfq_slot_remove
.subsections_via_symbols
