	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qfq_init_qdisc
_qfq_init_qdisc:                        ## @qfq_init_qdisc
	.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
	callq	_qdisc_priv
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %rdi
	callq	_qdisc_class_hash_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	movq	_QFQ_MAX_INDEX@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	js	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	movq	_QFQ_MAX_SLOTS@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rbx), %rax
	movq	_QFQ_MAX_INDEX@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movl	%ebx, (%rax,%rcx)
	movq	_QFQ_MTU_SHIFT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	%ebx, %edx
	movq	_FRAC_BITS@GOTPCREL(%rip), %rdi
	addl	(%rdi), %edx
	subl	(%rsi), %edx
	movl	%edx, 4(%rax,%rcx)
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rcx), %r13
	addq	$8, %r13
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rdi
	addq	%r14, %rdi
	callq	_INIT_HLIST_HEAD
	incq	%r15
	movslq	(%r12), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QFQ_MAX_INDEX,4,2              ## @QFQ_MAX_INDEX
	.comm	_QFQ_MTU_SHIFT,4,2              ## @QFQ_MTU_SHIFT
	.comm	_FRAC_BITS,4,2                  ## @FRAC_BITS
	.comm	_QFQ_MAX_SLOTS,4,2              ## @QFQ_MAX_SLOTS
	.no_dead_strip	_qfq_init_qdisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qfq_init_qdisc
_qfq_init_qdisc:                        ; @qfq_init_qdisc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_qdisc_priv
	mov	x19, x0
	add	x0, x0, #8
	bl	_qdisc_class_hash_init
	tbnz	w0, #31, LBB0_8
; %bb.1:
Lloh0:
	adrp	x20, _QFQ_MAX_INDEX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _QFQ_MAX_INDEX@GOTPAGEOFF]
	ldr	w8, [x20]
	tbnz	w8, #31, LBB0_7
; %bb.2:
	mov	x21, #0
Lloh2:
	adrp	x22, _QFQ_MTU_SHIFT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _QFQ_MTU_SHIFT@GOTPAGEOFF]
Lloh4:
	adrp	x23, _FRAC_BITS@GOTPAGE
Lloh5:
	ldr	x23, [x23, _FRAC_BITS@GOTPAGEOFF]
Lloh6:
	adrp	x24, _QFQ_MAX_SLOTS@GOTPAGE
Lloh7:
	ldr	x24, [x24, _QFQ_MAX_SLOTS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x21, #1
	ldrsw	x9, [x20]
	cmp	x21, x9
	mov	x21, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x19]
	add	x8, x8, x21, lsl #4
	str	w21, [x8]
	ldr	w9, [x22]
	ldr	w10, [x23]
	ldr	w11, [x20]
	add	w9, w9, w21
	add	w9, w9, w10
	sub	w9, w9, w11
	str	w9, [x8, #4]
	ldr	w9, [x24]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	mov	x26, #0
	add	x27, x8, #8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	add	x0, x8, x25
	bl	_INIT_HLIST_HEAD
	add	x26, x26, #1
	ldrsw	x8, [x24]
	add	x25, x25, #4
	cmp	x26, x8
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_QFQ_MAX_INDEX,4,2              ; @QFQ_MAX_INDEX
	.comm	_QFQ_MTU_SHIFT,4,2              ; @QFQ_MTU_SHIFT
	.comm	_FRAC_BITS,4,2                  ; @FRAC_BITS
	.comm	_QFQ_MAX_SLOTS,4,2              ; @QFQ_MAX_SLOTS
	.no_dead_strip	_qfq_init_qdisc
.subsections_via_symbols
