	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drr_change_class
_drr_change_class:                      ## @drr_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	$40, %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	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, %r13
	callq	_qdisc_priv
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TCA_OPTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx,%rax,8), %r14
	movq	_TCA_DRR_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, %r15
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r12
	movq	_drr_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_TCA_DRR_QUANTUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_nla_get_u32
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	testq	%r12, %r12
	je	LBB0_14
LBB0_9:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_TCA_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_11
## %bb.10:
	leaq	28(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	24(%r12), %r14
	movq	%r13, %rdi
	callq	_qdisc_root_sleeping_lock
	movq	_TCA_RATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx,%rcx,8), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_gen_replace_estimator
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_23
LBB0_11:
	movq	%r13, %rdi
	callq	_sch_tree_lock
	movq	_TCA_DRR_QUANTUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r15,%rax,8)
	je	LBB0_13
## %bb.12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r12)
LBB0_13:
	movq	%r13, %rdi
	callq	_sch_tree_unlock
	jmp	LBB0_22
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_23
LBB0_4:
	movl	%eax, %r14d
	jmp	LBB0_23
LBB0_7:
	movq	%r13, %rdi
	callq	_qdisc_dev
	movl	%eax, %edi
	callq	_psched_mtu
	movq	%rax, %rbx
	testq	%r12, %r12
	jne	LBB0_9
LBB0_14:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_15
## %bb.16:
	movq	%rax, %r15
	movl	$1, (%rax)
	movq	%rbx, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 8(%r15)
	movq	%rax, 32(%r15)
	movq	%r13, %rdi
	callq	_qdisc_dev
	movl	(%r13), %esi
	movq	_pfifo_qdisc_ops@GOTPCREL(%rip), %rdx
	movl	%eax, %edi
	movq	%rbx, %rcx
	callq	_qdisc_create_dflt
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	movq	_noop_qdisc@GOTPCREL(%rip), %rax
LBB0_18:
	movq	%rax, 16(%r15)
	movq	_TCA_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r14,%rax,8)
	je	LBB0_21
## %bb.19:
	leaq	28(%r15), %r12
	leaq	24(%r15), %rbx
	movq	%r13, %rdi
	callq	_qdisc_root_sleeping_lock
	movq	_TCA_RATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14,%rcx,8), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_gen_replace_estimator
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	%eax, %r14d
	movq	16(%r15), %rdi
	callq	_qdisc_destroy
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_23
LBB0_21:
	movq	%r15, %r14
	addq	$8, %r14
	movq	%r13, %rdi
	callq	_sch_tree_lock
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_qdisc_class_hash_insert
	movq	%r13, %rdi
	callq	_sch_tree_unlock
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_qdisc_class_hash_grow
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
LBB0_22:
	xorl	%r14d, %r14d
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_OPTIONS,8,3                ## @TCA_OPTIONS
	.comm	_TCA_DRR_MAX,4,2                ## @TCA_DRR_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_drr_policy,4,2                 ## @drr_policy
	.comm	_TCA_DRR_QUANTUM,8,3            ## @TCA_DRR_QUANTUM
	.comm	_TCA_RATE,8,3                   ## @TCA_RATE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_pfifo_qdisc_ops,4,2            ## @pfifo_qdisc_ops
	.comm	_noop_qdisc,4,2                 ## @noop_qdisc
	.no_dead_strip	_drr_change_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drr_change_class
_drr_change_class:                      ; @drr_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, #16
	mov	x20, x4
	mov	x22, x3
	mov	x23, 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	x21, x0
	ldr	x26, [x20]
Lloh3:
	adrp	x8, _TCA_OPTIONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_OPTIONS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x2, [x22, x8, lsl #3]
Lloh6:
	adrp	x8, _TCA_DRR_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCA_DRR_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	x24, x9, x8
	mov	sp, x24
	cbz	x2, LBB0_10
; %bb.1:
Lloh11:
	adrp	x8, _drr_policy@GOTPAGE
Lloh12:
	ldr	x8, [x8, _drr_policy@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x24
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_12
; %bb.2:
Lloh14:
	adrp	x28, _TCA_DRR_QUANTUM@GOTPAGE
Lloh15:
	ldr	x28, [x28, _TCA_DRR_QUANTUM@GOTPAGEOFF]
	ldr	x8, [x28]
	ldr	x0, [x24, x8, lsl #3]
	cbz	x0, LBB0_15
; %bb.3:
	bl	_nla_get_u32
	mov	x25, x0
	cbz	x0, LBB0_10
; %bb.4:
	cbz	x26, LBB0_16
LBB0_5:
Lloh16:
	adrp	x23, _TCA_RATE@GOTPAGE
Lloh17:
	ldr	x23, [x23, _TCA_RATE@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x22, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.6:
	add	x20, x26, #28
	add	x21, x26, #24
	mov	x0, x19
	bl	_qdisc_root_sleeping_lock
	mov	x2, x0
	ldr	x8, [x23]
	ldr	x3, [x22, x8, lsl #3]
	mov	x0, x20
	mov	x1, x21
	bl	_gen_replace_estimator
	mov	x27, x0
	cbnz	w0, LBB0_13
LBB0_7:
	mov	x0, x19
	bl	_sch_tree_lock
	ldr	x8, [x28]
	ldr	x8, [x24, x8, lsl #3]
	cbz	x8, LBB0_9
; %bb.8:
	str	x25, [x26, #32]
LBB0_9:
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	w27, #0
	b	LBB0_13
LBB0_10:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w27, w8
	b	LBB0_13
LBB0_12:
	mov	x27, x0
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.14:
	mov	x0, x27
	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_15:
	mov	x0, x19
	bl	_qdisc_dev
	bl	_psched_mtu
	mov	x25, x0
	cbnz	x26, LBB0_5
LBB0_16:
Lloh23:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_21
; %bb.17:
	mov	x24, x0
	mov	w8, #1
	str	w8, [x0]
	mov	x26, x0
	str	x23, [x26, #8]!
	str	x25, [x0, #32]
	mov	x0, x19
	bl	_qdisc_dev
	ldr	w1, [x19]
Lloh26:
	adrp	x2, _pfifo_qdisc_ops@GOTPAGE
Lloh27:
	ldr	x2, [x2, _pfifo_qdisc_ops@GOTPAGEOFF]
	mov	x3, x23
	bl	_qdisc_create_dflt
Lloh28:
	adrp	x8, _noop_qdisc@GOTPAGE
Lloh29:
	ldr	x8, [x8, _noop_qdisc@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x0, eq
	str	x8, [x24, #16]
Lloh30:
	adrp	x27, _TCA_RATE@GOTPAGE
Lloh31:
	ldr	x27, [x27, _TCA_RATE@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x8, [x22, x8, lsl #3]
	cbz	x8, LBB0_20
; %bb.18:
	add	x23, x24, #28
	add	x25, x24, #24
	mov	x0, x19
	bl	_qdisc_root_sleeping_lock
	mov	x2, x0
	ldr	x8, [x27]
	ldr	x3, [x22, x8, lsl #3]
	mov	x0, x23
	mov	x1, x25
	bl	_gen_replace_estimator
	cbz	w0, LBB0_20
; %bb.19:
	mov	x27, x0
	ldr	x0, [x24, #16]
	bl	_qdisc_destroy
	mov	x0, x24
	bl	_kfree
	b	LBB0_13
LBB0_20:
	mov	x0, x19
	bl	_sch_tree_lock
	mov	x0, x21
	mov	x1, x26
	bl	_qdisc_class_hash_insert
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	x0, x19
	mov	x1, x21
	bl	_qdisc_class_hash_grow
	mov	w27, #0
	str	x24, [x20]
	b	LBB0_13
LBB0_21:
Lloh32:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_11
LBB0_22:
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_OPTIONS,8,3                ; @TCA_OPTIONS
	.comm	_TCA_DRR_MAX,4,2                ; @TCA_DRR_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_drr_policy,4,2                 ; @drr_policy
	.comm	_TCA_DRR_QUANTUM,8,3            ; @TCA_DRR_QUANTUM
	.comm	_TCA_RATE,8,3                   ; @TCA_RATE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_pfifo_qdisc_ops,4,2            ; @pfifo_qdisc_ops
	.comm	_noop_qdisc,4,2                 ; @noop_qdisc
	.no_dead_strip	_drr_change_class
.subsections_via_symbols
