	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function red_change
_red_change:                            ## @red_change
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_qdisc_priv
	movq	%rax, %r14
	movq	_TCA_RED_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, %r13
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	_red_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_14
## %bb.3:
	movq	_TCA_RED_PARMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.4:
	movq	_TCA_RED_STAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r13,%rax,8)
	je	LBB0_1
## %bb.5:
	callq	_nla_data
	movq	%rax, %r12
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	jle	LBB0_6
## %bb.12:
	movq	_bfifo_qdisc_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_fifo_create_dflt
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.13:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_14
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%r15, %rdi
	callq	_sch_tree_lock
	movl	28(%r12), %eax
	movl	%eax, 24(%r14)
	movq	(%r12), %rax
	movq	%rax, (%r14)
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	16(%r14), %rdi
	movl	(%rdi), %esi
	callq	_qdisc_tree_decrease_qlen
	movq	16(%r14), %rdi
	callq	_qdisc_destroy
	movq	%rbx, 16(%r14)
LBB0_9:
	addq	$8, %r14
	movl	24(%r12), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	20(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	16(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	12(%r12), %ebx
	movq	_TCA_RED_STAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-64(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	callq	_red_set_parms
	addq	$16, %rsp
	movq	%r15, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_red_end_of_idle_period
LBB0_11:
	movq	%r15, %rdi
	callq	_sch_tree_unlock
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_RED_MAX,4,2                ## @TCA_RED_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_red_policy,4,2                 ## @red_policy
	.comm	_TCA_RED_PARMS,8,3              ## @TCA_RED_PARMS
	.comm	_TCA_RED_STAB,8,3               ## @TCA_RED_STAB
	.comm	_bfifo_qdisc_ops,4,2            ## @bfifo_qdisc_ops
	.no_dead_strip	_red_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function red_change
_red_change:                            ; @red_change
	.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	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	x20, x0
Lloh3:
	adrp	x8, _TCA_RED_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_RED_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	cbz	x22, LBB0_7
; %bb.1:
Lloh8:
	adrp	x8, _red_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _red_policy@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_8
; %bb.2:
Lloh11:
	adrp	x8, _TCA_RED_PARMS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCA_RED_PARMS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.3:
Lloh14:
	adrp	x27, _TCA_RED_STAB@GOTPAGE
Lloh15:
	ldr	x27, [x27, _TCA_RED_STAB@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.4:
	bl	_nla_data
	mov	x22, x0
	ldr	x2, [x0]
	cmp	x2, #1
	b.lt	LBB0_10
; %bb.5:
Lloh16:
	adrp	x1, _bfifo_qdisc_ops@GOTPAGE
Lloh17:
	ldr	x1, [x1, _bfifo_qdisc_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_fifo_create_dflt
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.6:
	mov	x0, x23
	bl	_PTR_ERR
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.9:
	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_10:
	mov	x23, #0
LBB0_11:
	mov	x0, x19
	bl	_sch_tree_lock
	ldr	w8, [x22, #28]
	str	w8, [x20, #24]
	ldr	x8, [x22]
	str	x8, [x20]
	cbz	x23, LBB0_13
; %bb.12:
	ldr	x0, [x20, #16]
	ldr	w1, [x0]
	bl	_qdisc_tree_decrease_qlen
	ldr	x0, [x20, #16]
	bl	_qdisc_destroy
	str	x23, [x20, #16]
LBB0_13:
	add	x20, x20, #8
	ldp	w24, w23, [x22, #20]
	ldp	w26, w25, [x22, #12]
	ldr	w22, [x22, #8]
	ldr	x8, [x27]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_data
	mov	x6, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	mov	x5, x22
	bl	_red_set_parms
	mov	x0, x19
	bl	_skb_queue_empty
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_red_end_of_idle_period
LBB0_15:
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	w0, #0
	b	LBB0_8
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_RED_MAX,4,2                ; @TCA_RED_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_red_policy,4,2                 ; @red_policy
	.comm	_TCA_RED_PARMS,8,3              ; @TCA_RED_PARMS
	.comm	_TCA_RED_STAB,8,3               ; @TCA_RED_STAB
	.comm	_bfifo_qdisc_ops,4,2            ; @bfifo_qdisc_ops
	.no_dead_strip	_red_change
.subsections_via_symbols
