	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbq_set_wrr
_cbq_set_wrr:                           ## @cbq_set_wrr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	callq	_qdisc_priv
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	%rcx, 32(%rbx)
LBB0_2:
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	%rcx, 24(%rbx)
LBB0_4:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:
	leaq	-1(%rcx), %rdx
	movq	%rdx, (%rbx)
	movq	%rdx, 8(%rbx)
	cmpq	16(%rbx), %rcx
	jle	LBB0_7
## %bb.6:
	movq	_TC_CBQ_MAXPRIO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	decq	%rcx
	movq	%rcx, 16(%rbx)
LBB0_7:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_cbq_addprio
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TC_CBQ_MAXPRIO,8,3             ## @TC_CBQ_MAXPRIO
	.no_dead_strip	_cbq_set_wrr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbq_set_wrr
_cbq_set_wrr:                           ; @cbq_set_wrr
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #40]
	bl	_qdisc_priv
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	str	x8, [x19, #32]
LBB0_2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	str	x8, [x19, #24]
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.5:
	sub	x9, x8, #1
	stp	x9, x9, [x19]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.le	LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _TC_CBQ_MAXPRIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TC_CBQ_MAXPRIO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x8, x8, #1
	str	x8, [x19, #16]
LBB0_7:
	mov	x1, x19
	bl	_cbq_addprio
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TC_CBQ_MAXPRIO,8,3             ; @TC_CBQ_MAXPRIO
	.no_dead_strip	_cbq_set_wrr
.subsections_via_symbols
