	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfsc_change_class
_hfsc_change_class:                     ## @hfsc_change_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_qdisc_priv
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_TCA_OPTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rbx,%rax,8), %r13
	movq	_TCA_HFSC_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	testq	%r13, %r13
	je	LBB0_1
## %bb.3:
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	(%r12), %r12
	movq	_hfsc_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_TCA_HFSC_RSC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_nla_data
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	testq	%rax, %rax
	cmoveq	%rax, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_4:
	movl	%eax, %r13d
	jmp	LBB0_63
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_9:
	movq	_TCA_HFSC_FSC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.11:
	callq	_nla_data
	movq	%rax, %r13
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.12:
	movq	8(%r13), %rax
	testq	%rax, %rax
	cmoveq	%rax, %r13
	jmp	LBB0_13
LBB0_10:
	xorl	%r13d, %r13d
LBB0_13:
	movq	_TCA_HFSC_USC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.15:
	callq	_nla_data
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	movq	%r12, %r14
	jne	LBB0_17
## %bb.16:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	cmoveq	%rax, %rbx
LBB0_17:
	testq	%r14, %r14
	je	LBB0_36
LBB0_18:
	testq	%r15, %r15
	je	LBB0_22
## %bb.19:
	movq	64(%r14), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	cmpq	%r15, 32(%rax)
	je	LBB0_22
	jmp	LBB0_1
LBB0_14:
	xorl	%ebx, %ebx
	movq	%r12, %r14
	testq	%r14, %r14
	jne	LBB0_18
LBB0_36:
	movq	_TC_H_ROOT@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_38
LBB0_37:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_38:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	testq	%r15, %r15
	je	LBB0_39
## %bb.46:
	movq	%r15, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_hfsc_find_class
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_40
## %bb.47:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_21:
	movq	_TC_H_ROOT@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_1
LBB0_22:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_psched_get_time
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	_TCA_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_24
## %bb.23:
	movq	%rbx, %r13
	leaq	84(%r12), %r14
	leaq	80(%r12), %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rbx
	callq	_qdisc_root_sleeping_lock
	movq	_TCA_RATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx,%rcx,8), %rcx
	movq	%r14, %rdi
	movq	%r12, %r14
	movq	%r13, %rbx
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_gen_replace_estimator
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_63
LBB0_24:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_sch_tree_lock
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_26
## %bb.25:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_hfsc_change_rsc
LBB0_26:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.27:
	movq	%r14, %rdi
	callq	_hfsc_change_fsc
LBB0_28:
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.29:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_hfsc_change_usc
LBB0_30:
	movq	56(%r14), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_35
## %bb.31:
	movl	(%r14), %eax
	movq	_HFSC_RSC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.32:
	callq	_qdisc_peek_len
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_update_ed
	movl	(%r14), %eax
LBB0_33:
	movq	_HFSC_FSC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_35
## %bb.34:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_update_vf
LBB0_35:
	movq	%r15, %rdi
	callq	_sch_tree_unlock
LBB0_62:
	xorl	%r13d, %r13d
	jmp	LBB0_63
LBB0_39:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %r14
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_40:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.41:
	movq	(%r15), %rdi
	xorq	%rbx, %rdi
	callq	_TC_H_MAJ
	testq	%rax, %rax
	je	LBB0_42
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_63:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_65
## %bb.64:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_hfsc_find_class
	testq	%rax, %rax
	jne	LBB0_37
## %bb.43:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	orq	%r13, %rax
	je	LBB0_1
## %bb.44:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$88, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_45
## %bb.48:
	movq	%rax, %r15
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	_TCA_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_51
## %bb.49:
	leaq	84(%r15), %r12
	leaq	80(%r15), %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rbx
	callq	_qdisc_root_sleeping_lock
	movq	_TCA_RATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx,%rcx,8), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_gen_new_estimator
	testl	%eax, %eax
	je	LBB0_51
## %bb.50:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_63
LBB0_51:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_53
## %bb.52:
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_hfsc_change_rsc
LBB0_53:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_55
## %bb.54:
	movq	%r15, %rdi
	callq	_hfsc_change_fsc
LBB0_55:
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_57
## %bb.56:
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_hfsc_change_usc
LBB0_57:
	leaq	32(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 32(%r15)
	movl	$1, 4(%r15)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 72(%r15)
	movq	%r14, 64(%r15)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_qdisc_dev
	movl	8(%rbx), %esi
	movq	_pfifo_qdisc_ops@GOTPCREL(%rip), %rdx
	movl	%eax, %edi
	movq	%r12, %rcx
	callq	_qdisc_create_dflt
	testq	%rax, %rax
	jne	LBB0_59
## %bb.58:
	movq	_noop_qdisc@GOTPCREL(%rip), %rax
LBB0_59:
	movq	%rax, 56(%r15)
	leaq	24(%r15), %rdi
	callq	_INIT_LIST_HEAD
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	%rax, 40(%r15)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_sch_tree_lock
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_qdisc_class_hash_insert
	movq	%r15, %rdi
	addq	$28, %rdi
	leaq	24(%r14), %rsi
	callq	_list_add_tail
	cmpq	$0, 8(%r14)
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_61
## %bb.60:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_hfsc_purge_queue
LBB0_61:
	movq	%r14, %rdi
	callq	_hfsc_adjust_levels
	movl	16(%r14), %eax
	movl	%eax, 20(%r15)
	movq	%r12, %rdi
	callq	_sch_tree_unlock
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_qdisc_class_hash_grow
	movq	%r15, (%rbx)
	jmp	LBB0_62
LBB0_45:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_65:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_OPTIONS,8,3                ## @TCA_OPTIONS
	.comm	_TCA_HFSC_MAX,4,2               ## @TCA_HFSC_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_hfsc_policy,4,2                ## @hfsc_policy
	.comm	_TCA_HFSC_RSC,8,3               ## @TCA_HFSC_RSC
	.comm	_TCA_HFSC_FSC,8,3               ## @TCA_HFSC_FSC
	.comm	_TCA_HFSC_USC,8,3               ## @TCA_HFSC_USC
	.comm	_TC_H_ROOT,8,3                  ## @TC_H_ROOT
	.comm	_TCA_RATE,8,3                   ## @TCA_RATE
	.comm	_HFSC_RSC,4,2                   ## @HFSC_RSC
	.comm	_HFSC_FSC,4,2                   ## @HFSC_FSC
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_pfifo_qdisc_ops,4,2            ## @pfifo_qdisc_ops
	.comm	_noop_qdisc,8,3                 ## @noop_qdisc
	.comm	_RB_ROOT,8,3                    ## @RB_ROOT
	.no_dead_strip	_hfsc_change_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfsc_change_class
_hfsc_change_class:                     ; @hfsc_change_class
	.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
	sub	sp, sp, #32
	mov	x20, x4
	mov	x23, x3
	mov	x28, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_qdisc_priv
	mov	x25, x0
	ldr	x24, [x20]
Lloh3:
	adrp	x8, _TCA_OPTIONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_OPTIONS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x2, [x23, x8, lsl #3]
Lloh6:
	adrp	x8, _TCA_HFSC_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCA_HFSC_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x27, x9, x8
	mov	sp, x27
	cbz	x2, LBB0_42
; %bb.1:
Lloh11:
	adrp	x8, _hfsc_policy@GOTPAGE
Lloh12:
	ldr	x8, [x8, _hfsc_policy@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x27
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_5
; %bb.2:
	stur	x25, [x29, #-96]                ; 8-byte Folded Spill
Lloh14:
	adrp	x8, _TCA_HFSC_RSC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TCA_HFSC_RSC@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x0, [x27, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.3:
	bl	_nla_data
	mov	x25, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x25, #8]
	cmp	x8, #0
	csel	x25, xzr, x25, eq
	b	LBB0_7
LBB0_5:
	mov	x21, x0
	b	LBB0_44
LBB0_6:
	mov	x25, #0
LBB0_7:
Lloh17:
	adrp	x8, _TCA_HFSC_FSC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TCA_HFSC_FSC@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x27, x8, lsl #3]
	cbz	x0, LBB0_10
; %bb.8:
	bl	_nla_data
	mov	x26, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_11
; %bb.9:
	ldr	x8, [x26, #8]
	cmp	x8, #0
	csel	x26, xzr, x26, eq
	b	LBB0_11
LBB0_10:
	mov	x26, #0
LBB0_11:
Lloh20:
	adrp	x8, _TCA_HFSC_USC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TCA_HFSC_USC@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x0, [x27, x8, lsl #3]
	cbz	x0, LBB0_18
; %bb.12:
	bl	_nla_data
	mov	x27, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_14
; %bb.13:
	ldr	x8, [x27, #8]
	cmp	x8, #0
	csel	x27, xzr, x27, eq
LBB0_14:
	cbz	x24, LBB0_19
LBB0_15:
	cbz	x28, LBB0_25
; %bb.16:
	ldr	x8, [x24, #64]
	cbz	x8, LBB0_24
; %bb.17:
	ldr	x8, [x8, #32]
	cmp	x8, x28
	b.eq	LBB0_25
	b	LBB0_42
LBB0_18:
	mov	x27, #0
	cbnz	x24, LBB0_15
LBB0_19:
Lloh23:
	adrp	x8, _TC_H_ROOT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TC_H_ROOT@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x8, x28
	b.ne	LBB0_21
LBB0_20:
Lloh26:
	adrp	x8, _EEXIST@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_43
LBB0_21:
	cbz	x28, LBB0_39
; %bb.22:
	mov	x0, x28
	mov	x1, x19
	bl	_hfsc_find_class
	mov	x24, x0
	cbnz	x0, LBB0_40
; %bb.23:
Lloh28:
	adrp	x8, _ENOENT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_43
LBB0_24:
Lloh30:
	adrp	x8, _TC_H_ROOT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TC_H_ROOT@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x8, x28
	b.ne	LBB0_42
LBB0_25:
	bl	_psched_get_time
	mov	x20, x0
Lloh33:
	adrp	x28, _TCA_RATE@GOTPAGE
Lloh34:
	ldr	x28, [x28, _TCA_RATE@GOTPAGEOFF]
	ldr	x8, [x28]
	ldr	x8, [x23, x8, lsl #3]
	cbz	x8, LBB0_27
; %bb.26:
	add	x21, x24, #84
	add	x22, x24, #80
	mov	x0, x19
	bl	_qdisc_root_sleeping_lock
	mov	x2, x0
	ldr	x8, [x28]
	ldr	x3, [x23, x8, lsl #3]
	mov	x0, x21
	mov	x1, x22
	bl	_gen_replace_estimator
	mov	x21, x0
	cbnz	w0, LBB0_44
LBB0_27:
	mov	x0, x19
	bl	_sch_tree_lock
	cbz	x25, LBB0_29
; %bb.28:
	mov	x0, x24
	mov	x1, x25
	mov	x2, x20
	bl	_hfsc_change_rsc
LBB0_29:
	cbz	x26, LBB0_31
; %bb.30:
	mov	x0, x24
	mov	x1, x26
	bl	_hfsc_change_fsc
LBB0_31:
	cbz	x27, LBB0_33
; %bb.32:
	mov	x0, x24
	mov	x1, x27
	mov	x2, x20
	bl	_hfsc_change_usc
LBB0_33:
	ldr	x0, [x24, #56]
	ldr	x8, [x0]
	cbz	x8, LBB0_38
; %bb.34:
	ldr	w8, [x24]
Lloh35:
	adrp	x9, _HFSC_RSC@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HFSC_RSC@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
	bl	_qdisc_peek_len
	mov	x1, x0
	mov	x0, x24
	bl	_update_ed
	ldr	w8, [x24]
LBB0_36:
Lloh38:
	adrp	x9, _HFSC_FSC@GOTPAGE
Lloh39:
	ldr	x9, [x9, _HFSC_FSC@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.37:
	mov	x0, x24
	mov	w1, #0
	mov	x2, x20
	bl	_update_vf
LBB0_38:
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	w21, #0
	b	LBB0_44
LBB0_39:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	add	x24, x8, #8
LBB0_40:
	cbz	x22, LBB0_42
; %bb.41:
	ldr	x8, [x19]
	eor	x0, x8, x22
	bl	_TC_H_MAJ
	cbz	x0, LBB0_46
LBB0_42:
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_43:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_44:
	ldur	x8, [x29, #-88]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_62
; %bb.45:
	mov	x0, x21
	sub	sp, x29, #80
	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
LBB0_46:
	mov	x0, x22
	mov	x1, x19
	bl	_hfsc_find_class
	cbnz	x0, LBB0_20
; %bb.47:
	orr	x8, x25, x26
	cbz	x8, LBB0_42
; %bb.48:
Lloh46:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	w0, #88
	bl	_kzalloc
	cbz	x0, LBB0_61
; %bb.49:
	mov	x28, x0
Lloh49:
	adrp	x8, _TCA_RATE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _TCA_RATE@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	ldr	x8, [x23, x8, lsl #3]
	cbz	x8, LBB0_52
; %bb.50:
	add	x21, x28, #84
	add	x8, x28, #80
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	x0, x19
	bl	_qdisc_root_sleeping_lock
	mov	x2, x0
Lloh52:
	adrp	x8, _TCA_RATE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TCA_RATE@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	ldr	x3, [x23, x8, lsl #3]
	mov	x0, x21
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	bl	_gen_new_estimator
	cbz	w0, LBB0_52
; %bb.51:
	mov	x21, x0
	mov	x0, x28
	bl	_kfree
	b	LBB0_44
LBB0_52:
	cbz	x25, LBB0_54
; %bb.53:
	mov	x0, x28
	mov	x1, x25
	mov	w2, #0
	bl	_hfsc_change_rsc
LBB0_54:
	cbz	x26, LBB0_56
; %bb.55:
	mov	x0, x28
	mov	x1, x26
	bl	_hfsc_change_fsc
LBB0_56:
	ldur	x23, [x29, #-96]                ; 8-byte Folded Reload
	cbz	x27, LBB0_58
; %bb.57:
	mov	x0, x28
	mov	x1, x27
	mov	w2, #0
	bl	_hfsc_change_usc
LBB0_58:
	mov	x21, x28
	str	x22, [x21, #32]!
	mov	w8, #1
	stur	w8, [x21, #-28]
	stp	x24, x23, [x21, #32]
	mov	x0, x19
	bl	_qdisc_dev
	ldr	w1, [x19, #8]
Lloh55:
	adrp	x2, _pfifo_qdisc_ops@GOTPAGE
Lloh56:
	ldr	x2, [x2, _pfifo_qdisc_ops@GOTPAGEOFF]
	mov	x3, x22
	bl	_qdisc_create_dflt
Lloh57:
	adrp	x8, _noop_qdisc@GOTPAGE
Lloh58:
	ldr	x8, [x8, _noop_qdisc@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x0, eq
	str	x8, [x21, #24]
	sub	x0, x21, #8
	bl	_INIT_LIST_HEAD
Lloh59:
	adrp	x8, _RB_ROOT@GOTPAGE
Lloh60:
	ldr	x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	stp	x8, x8, [x21, #8]
	mov	x0, x19
	bl	_sch_tree_lock
	mov	x0, x23
	mov	x1, x21
	bl	_qdisc_class_hash_insert
	sub	x0, x21, #4
	add	x1, x24, #24
	bl	_list_add_tail
	ldr	x8, [x24, #8]
	cbnz	x8, LBB0_60
; %bb.59:
	mov	x0, x19
	mov	x1, x24
	bl	_hfsc_purge_queue
LBB0_60:
	mov	x0, x24
	bl	_hfsc_adjust_levels
	ldr	w8, [x24, #16]
	str	w8, [x28, #20]
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	x0, x19
	mov	x1, x23
	bl	_qdisc_class_hash_grow
	mov	w21, #0
	str	x28, [x20]
	b	LBB0_44
LBB0_61:
Lloh62:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_43
LBB0_62:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_OPTIONS,8,3                ; @TCA_OPTIONS
	.comm	_TCA_HFSC_MAX,4,2               ; @TCA_HFSC_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_hfsc_policy,4,2                ; @hfsc_policy
	.comm	_TCA_HFSC_RSC,8,3               ; @TCA_HFSC_RSC
	.comm	_TCA_HFSC_FSC,8,3               ; @TCA_HFSC_FSC
	.comm	_TCA_HFSC_USC,8,3               ; @TCA_HFSC_USC
	.comm	_TC_H_ROOT,8,3                  ; @TC_H_ROOT
	.comm	_TCA_RATE,8,3                   ; @TCA_RATE
	.comm	_HFSC_RSC,4,2                   ; @HFSC_RSC
	.comm	_HFSC_FSC,4,2                   ; @HFSC_FSC
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_pfifo_qdisc_ops,4,2            ; @pfifo_qdisc_ops
	.comm	_noop_qdisc,8,3                 ; @noop_qdisc
	.comm	_RB_ROOT,8,3                    ; @RB_ROOT
	.no_dead_strip	_hfsc_change_class
.subsections_via_symbols
