	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qfq_deactivate_class
_qfq_deactivate_class:                  ## @qfq_deactivate_class
	.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	%rsi, %rdx
	movq	%rdi, %r14
	movq	8(%rsi), %rbx
	movl	(%rsi), %eax
	movl	%eax, 4(%rsi)
	movq	%rbx, %rsi
	callq	_qfq_slot_remove
	cmpl	$0, 48(%rbx)
	je	LBB0_1
## %bb.7:
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	40(%rbx), %rdi
	callq	_hlist_empty
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_qfq_slot_scan
	movl	(%rax), %edi
	movq	16(%rbx), %rsi
	callq	_qfq_round_down
	cmpq	%rax, 24(%rbx)
	je	LBB0_10
## %bb.9:
	movq	%rax, %r15
	movq	(%rbx), %rdi
	movq	_ER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	(%rbx), %rdi
	movq	_IR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	(%rbx), %rdi
	movq	_EB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	(%rbx), %rdi
	movq	_IB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	%r15, 24(%rbx)
	movb	16(%rbx), %cl
	movl	$2, %eax
	shlq	%cl, %rax
	addq	%r15, %rax
	movq	%rax, 32(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qfq_calc_state
	movq	(%rbx), %rdi
	movslq	%eax, %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___set_bit
	jmp	LBB0_10
LBB0_1:
	movq	(%rbx), %rdi
	movq	_IR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	(%rbx), %rdi
	movq	_EB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	(%rbx), %rdi
	movq	_IB@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
	movq	(%rbx), %rdi
	movq	_ER@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%r14), %rcx
	movq	(%r13), %rax
	movq	(%rcx,%rax,8), %rdi
	movb	(%rbx), %cl
	movq	$-1, %r15
	movq	$-1, %rdx
	shlq	%cl, %rdx
	testq	%rdi, %rdx
	jne	LBB0_6
## %bb.3:
	notq	%rdx
	andq	%rdx, %rdi
	je	LBB0_5
## %bb.4:
	callq	___fls
	movq	$-1, %r15
	movl	%eax, %ecx
	shlq	%cl, %r15
	movq	(%r13), %rax
LBB0_5:
	movq	_EB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rcx
	callq	_qfq_move_groups
	movq	(%r12), %rdx
	movq	_IR@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qfq_move_groups
LBB0_6:
	movq	(%rbx), %rdi
	movq	(%r13), %rsi
	shlq	$3, %rsi
	addq	(%r14), %rsi
	callq	___clear_bit
LBB0_10:
	movl	8(%r14), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qfq_update_eligible            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IR,8,3                         ## @IR
	.comm	_EB,8,3                         ## @EB
	.comm	_IB,8,3                         ## @IB
	.comm	_ER,8,3                         ## @ER
	.no_dead_strip	_qfq_deactivate_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qfq_deactivate_class
_qfq_deactivate_class:                  ; @qfq_deactivate_class
	.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	x2, x1
	mov	x19, x0
	ldr	x20, [x1, #8]
	ldr	w8, [x1]
	str	w8, [x1, #4]
	mov	x1, x20
	bl	_qfq_slot_remove
	ldr	w8, [x20, #48]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x8, [x20, #40]
	ldr	x9, [x20, #8]
	add	x0, x8, x9, lsl #2
	bl	_hlist_empty
	cbz	x0, LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_qfq_slot_scan
	ldr	w0, [x0]
	ldr	x1, [x20, #16]
	bl	_qfq_round_down
	ldr	x8, [x20, #24]
	cmp	x8, x0
	b.eq	LBB0_10
; %bb.3:
	mov	x21, x0
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _ER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _IR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _EB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EB@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _IB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x8, [x20, #16]
	mov	w9, #2
	lsl	x8, x9, x8
	add	x8, x8, x21
	stp	x21, x8, [x20, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_qfq_calc_state
	ldr	x8, [x20]
	ldr	x9, [x19]
	add	x1, x9, w0, sxtw #3
	mov	x0, x8
	bl	___set_bit
	b	LBB0_10
LBB0_4:
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh12:
	adrp	x22, _IR@GOTPAGE
Lloh13:
	ldr	x22, [x22, _IR@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh14:
	adrp	x23, _EB@GOTPAGE
Lloh15:
	ldr	x23, [x23, _EB@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh16:
	adrp	x25, _IB@GOTPAGE
Lloh17:
	ldr	x25, [x25, _IB@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
	ldr	x0, [x20]
	ldr	x8, [x19]
Lloh18:
	adrp	x24, _ER@GOTPAGE
Lloh19:
	ldr	x24, [x24, _ER@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x1, x8, x9, lsl #3
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x19]
	ldr	x3, [x24]
	ldr	x8, [x8, x3, lsl #3]
	ldr	x9, [x20]
	mov	x10, #-1
	lsl	x9, x10, x9
	tst	x9, x8
	b.ne	LBB0_9
; %bb.6:
	mov	x21, #-1
	bics	x0, x8, x9
	b.eq	LBB0_8
; %bb.7:
	bl	___fls
	lsl	x21, x21, x0
	ldr	x3, [x24]
LBB0_8:
	ldr	x2, [x23]
	mov	x0, x19
	mov	x1, x21
	bl	_qfq_move_groups
	ldr	x2, [x25]
	ldr	x3, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_qfq_move_groups
LBB0_9:
	ldr	x0, [x20]
	ldr	x8, [x19]
	ldr	x9, [x24]
	add	x1, x8, x9, lsl #3
	bl	___clear_bit
LBB0_10:
	ldr	w1, [x19, #8]
	mov	x0, 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	_qfq_update_eligible
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IR,8,3                         ; @IR
	.comm	_EB,8,3                         ; @EB
	.comm	_IB,8,3                         ; @IB
	.comm	_ER,8,3                         ; @ER
	.no_dead_strip	_qfq_deactivate_class
.subsections_via_symbols
