	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_Dequeue                   ## -- Begin function link_Dequeue
	.p2align	4, 0x90
_link_Dequeue:                          ## @link_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_LINK_QUEUES
	movl	%eax, %ebx
	leaq	(,%rbx,8), %rax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rbx
	movq	(%r14), %rdi
	leaq	-8(%rax), %rcx
	cmpq	$0, -8(%rdi,%rax)
	movq	%rcx, %rax
	je	LBB0_1
## %bb.3:
	movl	%ebx, %r12d
	addq	%rcx, %rdi
	callq	_m_dequeue
	movq	%rax, %r15
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax,%r12,8), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_log_Printf
	movq	%r15, %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link_Dequeue: Dequeued from queue %d, containing %lu more packets\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_Dequeue                   ; -- Begin function link_Dequeue
	.p2align	2
_link_Dequeue:                          ; @link_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	x20, x0
	bl	_LINK_QUEUES
	mov	w19, w0
	lsl	x8, x19, #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x19, x19, #1
	ldr	x9, [x20]
	add	x10, x9, x8
	ldur	x10, [x10, #-8]
	sub	x8, x8, #8
	cbz	x10, LBB0_1
; %bb.3:
	add	x0, x9, x8
	bl	_m_dequeue
	mov	x21, x0
Lloh0:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x3, [x8, w19, uxtw #3]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_log_Printf
	mov	x0, x21
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link_Dequeue: Dequeued from queue %d, containing %lu more packets\n"

.subsections_via_symbols
