	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function htb_charge_class
_htb_charge_class:                      ## @htb_charge_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rcx, %rdi
	callq	_qdisc_pkt_len
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.1:
	movl	%eax, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, 36(%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movl	44(%rbx), %esi
	movl	56(%rbx), %edx
	callq	_psched_tdiff_bounded
	movq	%rax, %rdx
	movq	%rax, -48(%rbp)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rbx)
	jge	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	48(%rbx)
	addq	%rdx, 8(%rbx)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	52(%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_htb_accnt_tokens
	movq	-48(%rbp), %rdx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_htb_accnt_ctokens
	movl	8(%r12), %eax
	movl	%eax, 44(%rbx)
	movl	16(%rbx), %r14d
	movq	$0, -48(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	callq	_htb_change_class_mode
	movl	16(%rbx), %eax
	cmpl	%eax, %r14d
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_HTB_CAN_SEND@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	40(%rbx), %rdi
	movslq	(%rbx), %rsi
	addq	(%r12), %rsi
	callq	_htb_safe_rb_erase
	movl	16(%rbx), %eax
	movq	_HTB_CAN_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r14d, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_htb_add_to_wait_tree
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%rbx)
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	%r13d, 32(%rbx)
	movq	%r15, %rdi
	callq	_skb_is_gso
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %eax
	jmp	LBB0_16
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HTB_CAN_SEND,4,2               ## @HTB_CAN_SEND
	.no_dead_strip	_htb_charge_class
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function htb_charge_class
_htb_charge_class:                      ; @htb_charge_class
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x3
	bl	_qdisc_pkt_len
	cbz	x21, LBB0_18
; %bb.1:
	mov	x23, x0
Lloh0:
	adrp	x24, _HTB_CAN_SEND@GOTPAGE
Lloh1:
	ldr	x24, [x24, _HTB_CAN_SEND@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x21, #36]
	add	w8, w9, w8
	str	w8, [x21, #36]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21, #24]
	cbz	x21, LBB0_18
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #8]
	ldr	w1, [x21, #44]
	ldr	w2, [x21, #56]
	bl	_psched_tdiff_bounded
	mov	x2, x0
	str	x0, [sp, #8]
	ldr	w8, [x21]
	cmp	w8, w20
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #48]
	add	w8, w8, #1
	str	w8, [x21, #48]
	ldr	x8, [x21, #8]
	add	x8, x8, x2
	str	x8, [x21, #8]
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #52]
	add	w8, w8, #1
	str	w8, [x21, #52]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_htb_accnt_tokens
	ldr	x2, [sp, #8]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_htb_accnt_ctokens
	ldr	w8, [x22, #8]
	str	w8, [x21, #44]
	ldr	w25, [x21, #16]
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_htb_change_class_mode
	ldr	w8, [x21, #16]
	cmp	w25, w8
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x24]
	cmp	w25, w9
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x21, #40
	ldr	x8, [x22]
	ldrsw	x9, [x21]
	add	x1, x8, x9
	bl	_htb_safe_rb_erase
	ldr	w8, [x21, #16]
	ldr	w25, [x24]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, w25
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [sp, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_htb_add_to_wait_tree
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	cbz	w8, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #32]
	add	w8, w8, w23
	str	w8, [x21, #32]
	mov	x0, x19
	bl	_skb_is_gso
	cbnz	x0, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
	b	LBB0_3
LBB0_18:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HTB_CAN_SEND,4,2               ; @HTB_CAN_SEND
	.no_dead_strip	_htb_charge_class
.subsections_via_symbols
