	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htb_delete
_htb_delete:                            ## @htb_delete
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_qdisc_priv
	cmpq	$0, 72(%rbx)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 64(%rbx)
	je	LBB0_4
LBB0_2:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rax, %r15
	movb	$1, %r12b
	cmpq	$0, 16(%rbx)
	je	LBB0_6
LBB0_8:
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_6:
	movq	%rbx, %rdi
	callq	_htb_parent_last_child
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_qdisc_dev
	movl	(%r14), %esi
	movq	40(%rbx), %rcx
	movl	4(%rcx), %ecx
	movq	_pfifo_qdisc_ops@GOTPCREL(%rip), %rdx
	movl	%eax, %edi
	callq	_qdisc_create_dflt
	movq	%rax, %r13
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r14, %rdi
	callq	_sch_tree_lock
	cmpq	$0, 16(%rbx)
	jne	LBB0_11
## %bb.10:
	movq	56(%rbx), %rdi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, %r12
	movl	(%rdi), %r13d
	callq	_qdisc_reset
	movq	56(%rbx), %rdi
	movl	%r13d, %esi
	movq	%r12, %r13
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	callq	_qdisc_tree_decrease_qlen
LBB0_11:
	leaq	8(%r15), %rdi
	leaq	48(%rbx), %rsi
	callq	_qdisc_class_hash_remove
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	decl	(%rax)
LBB0_13:
	cmpq	$0, 32(%rbx)
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_htb_deactivate
LBB0_15:
	movq	(%rbx), %rax
	movq	_HTB_CAN_SEND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
## %bb.16:
	leaq	24(%rbx), %rdi
	movq	16(%rbx), %rsi
	addq	(%r15), %rsi
	callq	_htb_safe_rb_erase
LBB0_17:
	testb	%r12b, %r12b
	jne	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_htb_parent_to_leaf
LBB0_19:
	xorl	%edi, %edi
	decq	8(%rbx)
	sete	%dil
	callq	_BUG_ON
	movq	%r14, %rdi
	callq	_sch_tree_unlock
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_pfifo_qdisc_ops,4,2            ## @pfifo_qdisc_ops
	.comm	_HTB_CAN_SEND,8,3               ## @HTB_CAN_SEND
	.no_dead_strip	_htb_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htb_delete
_htb_delete:                            ; @htb_delete
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_qdisc_priv
	ldr	x8, [x20, #72]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x21, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
LBB0_5:
	mov	x22, #0
	mov	w24, #1
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_htb_parent_last_child
	cbz	x0, LBB0_5
; %bb.7:
	mov	x0, x19
	bl	_qdisc_dev
	ldr	w1, [x19]
	ldr	x8, [x20, #40]
	ldr	w3, [x8, #4]
Lloh3:
	adrp	x2, _pfifo_qdisc_ops@GOTPAGE
Lloh4:
	ldr	x2, [x2, _pfifo_qdisc_ops@GOTPAGEOFF]
	bl	_qdisc_create_dflt
	mov	x22, x0
	mov	w24, #0
LBB0_8:
	mov	x0, x19
	bl	_sch_tree_lock
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_10
; %bb.9:
	ldr	x0, [x20, #56]
	ldr	w23, [x0]
	bl	_qdisc_reset
	ldr	x0, [x20, #56]
	mov	x1, x23
	bl	_qdisc_tree_decrease_qlen
LBB0_10:
	add	x0, x21, #8
	add	x1, x20, #48
	bl	_qdisc_class_hash_remove
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_12:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x20
	bl	_htb_deactivate
LBB0_14:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _HTB_CAN_SEND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HTB_CAN_SEND@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	add	x0, x20, #24
	ldr	x8, [x21]
	ldr	x9, [x20, #16]
	add	x1, x9, x8
	bl	_htb_safe_rb_erase
LBB0_16:
	tbnz	w24, #0, LBB0_18
; %bb.17:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_htb_parent_to_leaf
LBB0_18:
	ldr	x8, [x20, #8]
	subs	x8, x8, #1
	str	x8, [x20, #8]
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x19
	bl	_sch_tree_unlock
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_pfifo_qdisc_ops,4,2            ; @pfifo_qdisc_ops
	.comm	_HTB_CAN_SEND,8,3               ; @HTB_CAN_SEND
	.no_dead_strip	_htb_delete
.subsections_via_symbols
