	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netem_dequeue
_netem_dequeue:                         ## @netem_dequeue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_qdisc_priv
	movq	%rax, %rbx
	movq	_TCQ_F_THROTTLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_1
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rdi
	callq	_netem_skb_cb
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_psched_get_time
	movq	(%r15), %rsi
	cmpq	%rax, %rsi
	jle	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	callq	_qdisc_watchdog_schedule
	jmp	LBB0_6
LBB0_3:
	movq	8(%rbx), %rdi
	callq	_qdisc_dequeue_peeked
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_debug
	decl	4(%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_TCQ_F_THROTTLED,4,2            ## @TCQ_F_THROTTLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netem_dequeue: return skb=%p\n"

	.comm	_AT_INGRESS,4,2                 ## @AT_INGRESS
	.no_dead_strip	_netem_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netem_dequeue
_netem_dequeue:                         ; @netem_dequeue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	bl	_qdisc_priv
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _TCQ_F_THROTTLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCQ_F_THROTTLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
	mov	x20, #0
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x0
	ldr	x0, [x0, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
	cbz	x0, LBB0_1
; %bb.4:
	bl	_netem_skb_cb
	mov	x21, x0
	bl	_psched_get_time
	ldr	x1, [x21]
	cmp	x1, x0
	b.le	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_qdisc_watchdog_schedule
	b	LBB0_1
LBB0_6:
	ldr	x0, [x20, #8]
	bl	_qdisc_dequeue_peeked
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_1
; %bb.7:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_debug
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TCQ_F_THROTTLED,4,2            ; @TCQ_F_THROTTLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netem_dequeue: return skb=%p\n"

	.comm	_AT_INGRESS,4,2                 ; @AT_INGRESS
	.no_dead_strip	_netem_dequeue
.subsections_via_symbols
