	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hv_pkt_iter_first              ## -- Begin function hv_pkt_iter_first
	.p2align	4, 0x90
_hv_pkt_iter_first:                     ## @hv_pkt_iter_first
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_hv_pkt_iter_avail
	cmpl	$4, %eax
	jae	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	callq	_hv_get_ring_buffer
	movslq	(%rbx), %rcx
	leaq	(%rax,%rcx,4), %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	shll	$3, %eax
	movslq	%eax, %rdi
	addq	%rbx, %rdi
	callq	_prefetch
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hv_pkt_iter_first              ; -- Begin function hv_pkt_iter_first
	.p2align	2
_hv_pkt_iter_first:                     ; @hv_pkt_iter_first
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_hv_pkt_iter_avail
	cmp	w0, #4
	b.hs	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	bl	_hv_get_ring_buffer
	ldrsw	x8, [x19]
	add	x19, x0, x8, lsl #2
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	lsl	w8, w8, #3
	add	x0, x19, w8, sxtw
	bl	_prefetch
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
