	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ilo_pkt_dequeue
_ilo_pkt_dequeue:                       ## @ilo_pkt_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	%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	%r9, %r13
	movq	%r8, %r15
	movq	%rcx, %r12
	movl	$0, -44(%rbp)
	movq	_SENDQ@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%edx, (%rax)
	sete	%cl
	shlq	$4, %rcx
	movq	(%rsi,%rcx), %r14
	movq	8(%rsi,%rcx), %rsi
	leaq	-44(%rbp), %rdx
	callq	_fifo_dequeue
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi
	callq	_get_entry_id
	movl	%eax, %r13d
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	movl	%r13d, (%r12)
LBB0_3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movl	-44(%rbp), %edi
	callq	_get_entry_len
	movl	%eax, (%r15)
LBB0_5:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movl	%r13d, %edi
	callq	_desc_mem_sz
	cltq
	addq	%rax, %r14
	movq	%r14, (%r15)
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SENDQ,4,2                      ## @SENDQ
	.no_dead_strip	_ilo_pkt_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ilo_pkt_dequeue
_ilo_pkt_dequeue:                       ; @ilo_pkt_dequeue
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
Lloh0:
	adrp	x8, _SENDQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SENDQ@GOTPAGEOFF]
	str	wzr, [sp, #12]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w8, eq
	lsl	x9, x8, #4
	mov	w8, #8
	mov	w10, #24
	csel	x8, x10, x8, eq
	ldr	x8, [x1, x8]
	ldr	x24, [x1, x9]
	add	x2, sp, #12
	mov	x1, x8
	bl	_fifo_dequeue
	mov	x22, x0
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_get_entry_id
	mov	x23, x0
	cbz	x21, LBB0_3
; %bb.2:
	str	w23, [x21]
LBB0_3:
	cbz	x20, LBB0_5
; %bb.4:
	ldr	w0, [sp, #12]
	bl	_get_entry_len
	str	w0, [x20]
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	mov	x0, x23
	bl	_desc_mem_sz
	add	x8, x24, w0, sxtw
	str	x8, [x19]
LBB0_7:
	mov	x0, x22
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SENDQ,4,2                      ; @SENDQ
	.no_dead_strip	_ilo_pkt_dequeue
.subsections_via_symbols
