	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prio_classify
_prio_classify:                         ## @prio_classify
	.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	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_qdisc_priv
	movq	%rax, %r14
	movq	(%r13), %r15
	movq	_NET_XMIT_SUCCESS@GOTPCREL(%rip), %rax
	movq	___NET_XMIT_BYPASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r12)
	movq	%r15, %rdi
	callq	_TC_H_MAJ
	cmpq	(%rbx), %rax
	je	LBB0_5
## %bb.1:
	movl	24(%r14), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_tc_classify
	cmpl	$0, 24(%r14)
	je	LBB0_3
## %bb.2:
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	-48(%rbp), %r15
LBB0_5:
	movq	%r15, %rdi
	callq	_TC_H_MIN
	decl	%eax
	movslq	%eax, %rcx
	movq	16(%r14), %rax
	cmpq	%rcx, 8(%r14)
	ja	LBB0_7
## %bb.6:
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
LBB0_7:
	leaq	(%rax,%rcx,8), %rax
	jmp	LBB0_8
LBB0_3:
	movq	%r15, %rdi
	callq	_TC_H_MAJ
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmoveq	%r15, %rcx
	movq	(%r14), %rax
	movq	_TC_PRIO_MAX@GOTPCREL(%rip), %rdx
	andq	(%rdx), %rcx
	movq	(%rax,%rcx,8), %rax
	shlq	$3, %rax
	addq	16(%r14), %rax
LBB0_8:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_XMIT_SUCCESS,4,2           ## @NET_XMIT_SUCCESS
	.comm	___NET_XMIT_BYPASS,4,2          ## @__NET_XMIT_BYPASS
	.comm	_TC_PRIO_MAX,8,3                ## @TC_PRIO_MAX
	.comm	___NET_XMIT_STOLEN,4,2          ## @__NET_XMIT_STOLEN
	.no_dead_strip	_prio_classify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prio_classify
_prio_classify:                         ; @prio_classify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	mov	x0, x1
	bl	_qdisc_priv
	mov	x19, x0
	ldr	x20, [x21]
Lloh0:
	adrp	x8, _NET_XMIT_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET_XMIT_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___NET_XMIT_BYPASS@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___NET_XMIT_BYPASS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x0, x20
	bl	_TC_H_MAJ
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	ldr	w1, [x19, #24]
	add	x2, sp, #8
	mov	x0, x21
	bl	_tc_classify
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_7
; %bb.2:
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x20, [sp, #8]
LBB0_4:
	mov	x0, x20
	bl	_TC_H_MIN
	sub	w8, w0, #1
	sxtw	x9, w8
	ldp	x10, x8, [x19, #8]
	cmp	x10, x9
	b.hi	LBB0_6
; %bb.5:
	ldr	x9, [x19]
	ldr	x9, [x9]
LBB0_6:
	add	x8, x8, x9, lsl #3
	b	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_TC_H_MAJ
	cmp	x0, #0
	csel	x8, x20, xzr, eq
	ldr	x9, [x19, #16]
Lloh6:
	adrp	x10, _TC_PRIO_MAX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TC_PRIO_MAX@GOTPAGEOFF]
	ldr	x11, [x19]
Lloh8:
	ldr	x10, [x10]
	and	x8, x10, x8
	ldr	x8, [x11, x8, lsl #3]
	add	x8, x9, x8, lsl #3
LBB0_8:
	ldr	x0, [x8]
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_XMIT_SUCCESS,4,2           ; @NET_XMIT_SUCCESS
	.comm	___NET_XMIT_BYPASS,4,2          ; @__NET_XMIT_BYPASS
	.comm	_TC_PRIO_MAX,8,3                ; @TC_PRIO_MAX
	.comm	___NET_XMIT_STOLEN,4,2          ; @__NET_XMIT_STOLEN
	.no_dead_strip	_prio_classify
.subsections_via_symbols
