	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbq_dequeue
_cbq_dequeue:                           ## @cbq_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	%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
	callq	_qdisc_priv
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_psched_get_time
	movq	%rax, %r15
	movq	%rax, %r13
	subq	(%rbx), %r13
	cmpq	$0, 48(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	32(%rbx), %rdi
	movl	44(%rbx), %esi
	callq	_L2T
	movq	%rax, %r12
	addl	%r12d, 40(%rbx)
	movq	%rbx, %rdi
	callq	_cbq_update
	subq	%r12, %r13
	xorl	%eax, %eax
	testq	%r13, %r13
	cmovleq	%rax, %r13
LBB0_2:
	addl	%r13d, 40(%rbx)
	movq	%r15, (%rbx)
	movq	$0, 8(%rbx)
	movq	%r14, %rdi
	callq	_cbq_dequeue_1
	testq	%rax, %rax
	je	LBB0_3
LBB0_8:
	decq	8(%r14)
	movq	_TCQ_F_THROTTLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 16(%r14)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_TC_CBQ_MAXLEVEL@GOTPCREL(%rip), %r12
	movq	_PSCHED_PASTPERFECT@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rcx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 16(%rbx)
	movq	%rcx, 32(%rbx)
	movq	$0, 8(%rbx)
	movq	%r14, %rdi
	callq	_cbq_dequeue_1
	testq	%rax, %rax
	jne	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	cmpq	%rax, 16(%rbx)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rcx
	cmpq	%rcx, 32(%rbx)
	jne	LBB0_7
## %bb.9:
	cmpq	$0, 8(%r14)
	je	LBB0_12
## %bb.10:
	incl	(%r14)
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	addq	$24, %rbx
	addq	%r15, %rsi
	movq	%rbx, %rdi
	callq	_qdisc_watchdog_schedule
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_TCQ_F_THROTTLED,4,2            ## @TCQ_F_THROTTLED
	.comm	_TC_CBQ_MAXLEVEL,8,3            ## @TC_CBQ_MAXLEVEL
	.comm	_PSCHED_PASTPERFECT,8,3         ## @PSCHED_PASTPERFECT
	.no_dead_strip	_cbq_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbq_dequeue
_cbq_dequeue:                           ; @cbq_dequeue
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_qdisc_priv
	mov	x20, x0
	bl	_psched_get_time
	mov	x21, x0
	ldr	x8, [x20]
	sub	x23, x0, x8
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x20, #32
	ldr	w1, [x20, #44]
	bl	_L2T
	mov	x22, x0
	ldr	w8, [x20, #40]
	add	w8, w8, w22
	str	w8, [x20, #40]
	mov	x0, x20
	bl	_cbq_update
	sub	x8, x23, x22
	cmp	x8, #0
	csel	x23, x8, xzr, gt
LBB0_2:
	ldr	w8, [x20, #40]
	add	w8, w8, w23
	str	w8, [x20, #40]
	stp	x21, xzr, [x20]
	mov	x0, x19
	bl	_cbq_dequeue_1
	cbz	x0, LBB0_5
LBB0_3:
	ldr	x8, [x19, #8]
	sub	x8, x8, #1
	str	x8, [x19, #8]
Lloh0:
	adrp	x8, _TCQ_F_THROTTLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCQ_F_THROTTLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x22, _TC_CBQ_MAXLEVEL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TC_CBQ_MAXLEVEL@GOTPAGEOFF]
Lloh5:
	adrp	x23, _PSCHED_PASTPERFECT@GOTPAGE
Lloh6:
	ldr	x23, [x23, _PSCHED_PASTPERFECT@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x23]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	x9, [x20, #32]
	stp	xzr, x8, [x20, #8]
	mov	x0, x19
	bl	_cbq_dequeue_1
	cbnz	x0, LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #16]
	ldr	x8, [x22]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x20, #32]
	ldr	x9, [x23]
	cmp	x10, x9
	b.ne	LBB0_7
; %bb.10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
; %bb.12:
	add	x0, x20, #24
	add	x1, x8, x21
	bl	_qdisc_watchdog_schedule
LBB0_13:
	mov	x0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TCQ_F_THROTTLED,4,2            ; @TCQ_F_THROTTLED
	.comm	_TC_CBQ_MAXLEVEL,8,3            ; @TC_CBQ_MAXLEVEL
	.comm	_PSCHED_PASTPERFECT,8,3         ; @PSCHED_PASTPERFECT
	.no_dead_strip	_cbq_dequeue
.subsections_via_symbols
