	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qfq_classify
_qfq_classify:                          ## @qfq_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_qdisc_priv
	movq	%rax, %r12
	movl	(%r14), %edi
	xorl	(%rbx), %edi
	callq	_TC_H_MAJ
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	movq	_NET_XMIT_SUCCESS@GOTPCREL(%rip), %rax
	movq	___NET_XMIT_BYPASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movl	(%r12), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_tc_classify
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_qfq_find_class
	jmp	LBB0_6
LBB0_1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_qfq_find_class
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_2
LBB0_3:
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qfq_classify: found %d\n"

	.comm	_NET_XMIT_SUCCESS,4,2           ## @NET_XMIT_SUCCESS
	.comm	___NET_XMIT_BYPASS,4,2          ## @__NET_XMIT_BYPASS
	.comm	___NET_XMIT_STOLEN,4,2          ## @__NET_XMIT_STOLEN
	.no_dead_strip	_qfq_classify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qfq_classify
_qfq_classify:                          ; @qfq_classify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_qdisc_priv
	mov	x22, x0
	ldr	w8, [x20]
	ldr	w9, [x19]
	eor	w0, w9, w8
	bl	_TC_H_MAJ
	cbz	x0, LBB0_4
LBB0_1:
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, [x21]
	ldr	w1, [x22]
	mov	x2, sp
	mov	x0, x20
	bl	_tc_classify
	tbnz	w0, #31, LBB0_5
; %bb.2:
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	w1, [sp]
	mov	x0, x19
	bl	_qfq_find_class
	b	LBB0_6
LBB0_4:
	ldr	w1, [x20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w1, [x20]
	mov	x0, x19
	bl	_qfq_find_class
	cbnz	x0, LBB0_6
	b	LBB0_1
LBB0_5:
	mov	x0, #0
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qfq_classify: found %d\n"

	.comm	_NET_XMIT_SUCCESS,4,2           ; @NET_XMIT_SUCCESS
	.comm	___NET_XMIT_BYPASS,4,2          ; @__NET_XMIT_BYPASS
	.comm	___NET_XMIT_STOLEN,4,2          ; @__NET_XMIT_STOLEN
	.no_dead_strip	_qfq_classify
.subsections_via_symbols
