	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tbf_change
_tbf_change:                            ## @tbf_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_qdisc_priv
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TCA_TBF_PTAB@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_tbf_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_7
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_TCA_TBF_PARMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.2:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	callq	_nla_data
	movq	%rax, %r12
	leaq	40(%rax), %r14
	movq	_TCA_TBF_RTAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rsi
	movq	%r14, %rdi
	callq	_qdisc_get_rtab
	testq	%rax, %rax
	je	LBB0_42
## %bb.3:
	movq	%rax, %rdi
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	(%r14), %rax
	jle	LBB0_16
## %bb.5:
	movq	%rdi, %r14
	movq	%r12, %rdi
	addq	$24, %rdi
	movslq	(%r13), %rax
	movq	(%r15,%rax,8), %rsi
	callq	_qdisc_get_rtab
	movq	%r14, %rdi
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_9
LBB0_16:
	movq	%rdi, %r13
	jmp	LBB0_41
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_42
LBB0_8:
	xorl	%r13d, %r13d
LBB0_9:
	movq	(%rdi), %rcx
	movq	(%r12), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rax,8)
	jg	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdx, 8(%rcx,%rax,8)
	jg	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdx, 16(%rcx,%rax,8)
	jg	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdx, 24(%rcx,%rax,8)
	jg	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	$4, %rax
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_10
## %bb.15:
	movl	$256, %eax                      ## imm = 0x100
	jmp	LBB0_20
LBB0_17:
	incq	%rax
	jmp	LBB0_20
LBB0_18:
	addq	$2, %rax
	jmp	LBB0_20
LBB0_19:
	addq	$3, %rax
LBB0_20:
	movb	48(%r12), %cl
	shll	%cl, %eax
	leal	-1(%rax), %r14d
	testq	%r13, %r13
	je	LBB0_32
## %bb.21:
	movq	(%r13), %rcx
	movq	8(%r12), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rcx,%rdx,8)
	jg	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rsi, 8(%rcx,%rdx,8)
	jg	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rsi, 16(%rcx,%rdx,8)
	jg	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpq	%rsi, 24(%rcx,%rdx,8)
	jg	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	addq	$4, %rdx
	cmpq	$256, %rdx                      ## imm = 0x100
	jne	LBB0_22
## %bb.27:
	movl	$256, %edx                      ## imm = 0x100
	jmp	LBB0_31
LBB0_28:
	incq	%rdx
	jmp	LBB0_31
LBB0_29:
	addq	$2, %rdx
	jmp	LBB0_31
LBB0_30:
	addq	$3, %rdx
LBB0_31:
	movb	32(%r12), %cl
	shll	%cl, %edx
	leal	-1(%rdx), %ecx
	cmpl	%eax, %edx
	cmovll	%ecx, %r14d
LBB0_32:
	testl	%r14d, %r14d
	js	LBB0_40
## %bb.33:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	16(%r12), %rdx
	testq	%rdx, %rdx
	jle	LBB0_36
## %bb.34:
	movq	_bfifo_qdisc_ops@GOTPCREL(%rip), %rsi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_fifo_create_dflt
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_37
## %bb.35:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_36:
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_sch_tree_lock
	jmp	LBB0_39
LBB0_37:
	movq	%r15, %rdi
	callq	_sch_tree_lock
	testq	%rbx, %rbx
	je	LBB0_39
## %bb.38:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rdi
	movl	(%rdi), %esi
	callq	_qdisc_tree_decrease_qlen
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rdi
	callq	_qdisc_destroy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, 56(%rax)
LBB0_39:
	movq	16(%r12), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movq	8(%r12), %rax
	movq	%rax, 8(%rbx)
	movl	%r14d, 16(%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%rax, 40(%rbx)
	movl	52(%rbx), %edi
	movq	%r13, %r14
	movq	%r13, %rsi
	callq	_swap
	movl	48(%rbx), %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_swap
	movq	%r15, %rdi
	callq	_sch_tree_unlock
	movq	%r14, %rdi
	xorl	%ebx, %ebx
LBB0_40:
	callq	_qdisc_put_rtab
	testq	%r13, %r13
	je	LBB0_42
LBB0_41:
	movq	%r13, %rdi
	callq	_qdisc_put_rtab
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_44
## %bb.43:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_TBF_PTAB,4,2               ## @TCA_TBF_PTAB
	.comm	_tbf_policy,4,2                 ## @tbf_policy
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCA_TBF_PARMS,8,3              ## @TCA_TBF_PARMS
	.comm	_TCA_TBF_RTAB,8,3               ## @TCA_TBF_RTAB
	.comm	_bfifo_qdisc_ops,4,2            ## @bfifo_qdisc_ops
	.no_dead_strip	_tbf_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tbf_change
_tbf_change:                            ; @tbf_change
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x21, 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, #-72]
	bl	_qdisc_priv
	mov	x20, x0
Lloh3:
	adrp	x26, _TCA_TBF_PTAB@GOTPAGE
Lloh4:
	ldr	x26, [x26, _TCA_TBF_PTAB@GOTPAGEOFF]
	ldr	w1, [x26]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh7:
	adrp	x8, _tbf_policy@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tbf_policy@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x2, x21
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w23, w8
Lloh13:
	adrp	x8, _TCA_TBF_PARMS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TCA_TBF_PARMS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_27
; %bb.2:
	bl	_nla_data
	mov	x24, x0
	add	x25, x0, #40
Lloh16:
	adrp	x8, _TCA_TBF_RTAB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TCA_TBF_RTAB@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x1, [x22, x8, lsl #3]
	mov	x0, x25
	bl	_qdisc_get_rtab
	cbz	x0, LBB0_27
; %bb.3:
	mov	x21, x0
	mov	x0, x24
	ldr	x8, [x0, #24]!
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x9, [x25]
	cmp	x8, x9
	b.le	LBB0_6
; %bb.5:
	ldrsw	x8, [x26]
	ldr	x1, [x22, x8, lsl #3]
	bl	_qdisc_get_rtab
	mov	x22, x0
	cbnz	x0, LBB0_9
LBB0_6:
	mov	x22, x21
	b	LBB0_26
LBB0_7:
	mov	x23, x0
	b	LBB0_27
LBB0_8:
	mov	x22, #0
LBB0_9:
	mov	x8, #0
	ldr	x9, [x21]
	ldr	x10, [x24]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9, x8, lsl #3]
	cmp	x11, x10
	b.gt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #1
	cmp	x8, #256
	b.ne	LBB0_10
LBB0_12:
	ldr	w9, [x24, #48]
	lsl	w8, w8, w9
	sub	w25, w8, #1
	cbz	x22, LBB0_17
; %bb.13:
	mov	x9, #0
	ldr	x10, [x22]
	ldr	x11, [x24, #8]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9, lsl #3]
	cmp	x12, x11
	b.gt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x9, x9, #1
	cmp	x9, #256
	b.ne	LBB0_14
LBB0_16:
	ldr	w10, [x24, #32]
	lsl	w9, w9, w10
	sub	w10, w9, #1
	cmp	w9, w8
	csel	w25, w10, w25, lt
LBB0_17:
	tbnz	w25, #31, LBB0_25
; %bb.18:
	ldr	x2, [x24, #16]
	cmp	x2, #0
	b.le	LBB0_21
; %bb.19:
Lloh19:
	adrp	x1, _bfifo_qdisc_ops@GOTPAGE
Lloh20:
	ldr	x1, [x1, _bfifo_qdisc_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_fifo_create_dflt
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.20:
	mov	x0, x23
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_25
LBB0_21:
	mov	x0, x19
	bl	_sch_tree_lock
	b	LBB0_24
LBB0_22:
	mov	x0, x19
	bl	_sch_tree_lock
	cbz	x23, LBB0_24
; %bb.23:
	ldr	x0, [x20, #56]
	ldr	w1, [x0]
	bl	_qdisc_tree_decrease_qlen
	ldr	x0, [x20, #56]
	bl	_qdisc_destroy
	str	x23, [x20, #56]
LBB0_24:
	ldur	q0, [x24, #8]
	ext.16b	v1, v0, v0, #8
	str	q1, [x20]
	str	w25, [x20, #16]
	ldr	x8, [x24]
	stp	x8, x8, [x20, #24]
	str	d0, [x20, #40]
	ldr	w0, [x20, #52]
	mov	x1, x21
	bl	_swap
	ldr	w0, [x20, #48]
	mov	x1, x22
	bl	_swap
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	w23, #0
LBB0_25:
	mov	x0, x21
	bl	_qdisc_put_rtab
	cbz	x22, LBB0_27
LBB0_26:
	mov	x0, x22
	bl	_qdisc_put_rtab
LBB0_27:
	ldur	x8, [x29, #-72]
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_29
; %bb.28:
	mov	x0, x23
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_TBF_PTAB,4,2               ; @TCA_TBF_PTAB
	.comm	_tbf_policy,4,2                 ; @tbf_policy
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCA_TBF_PARMS,8,3              ; @TCA_TBF_PARMS
	.comm	_TCA_TBF_RTAB,8,3               ; @TCA_TBF_RTAB
	.comm	_bfifo_qdisc_ops,4,2            ; @bfifo_qdisc_ops
	.no_dead_strip	_tbf_change
.subsections_via_symbols
