	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vnet_walk_rx
_vnet_walk_rx:                          ## @vnet_walk_rx
	.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	%rdx, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	cmpq	$-1, %rcx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rdi
	callq	_next_idx
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, %rdi
	callq	_prev_idx
LBB0_3:
	movq	%rax, %r14
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_viodbg
	movl	$-1, %r13d
	cmpq	%rbx, %r14
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %r15
	movl	$-1, %r12d
	jmp	LBB0_13
LBB0_5:
	movl	$-1, %r12d
	movl	$-1, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r14, %rbx
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movl	$0, -44(%rbp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	leaq	-44(%rbp), %rcx
	callq	_vnet_walk_rx_one
	movq	_ECONNRESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$-1, %r13d
	movl	%r15d, %r12d
	cmovel	%r15d, %r13d
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_next_idx
	movq	%rax, %rbx
	cmpl	$0, -44(%rbp)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r14, %rbx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_VIO_DRING_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_vnet_send_ack
	movl	$-1, %r13d
	movq	_ECONNRESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_11
	jmp	LBB0_17
LBB0_12:
	movl	%r15d, %r12d
	movq	%r14, %r15
LBB0_13:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:
	xorl	%edi, %edi
	cmpl	$-1, %r13d
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_prev_idx
	movq	%rax, %r13
	movl	%r13d, %r12d
LBB0_16:
	movq	_VIO_DRING_STOPPED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_vnet_send_ack
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vnet_walk_rx start[%08x] end[%08x]\n"

	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_VIO_DRING_ACTIVE,4,2           ## @VIO_DRING_ACTIVE
	.comm	_VIO_DRING_STOPPED,4,2          ## @VIO_DRING_STOPPED
	.no_dead_strip	_vnet_walk_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vnet_walk_rx
_vnet_walk_rx:                          ; @vnet_walk_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	cmn	x3, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x3
	mov	x1, x19
	bl	_next_idx
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x19
	bl	_prev_idx
LBB0_3:
	mov	x24, x0
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x24
	bl	_viodbg
	cmp	x24, x21
	b.ne	LBB0_5
; %bb.4:
	mov	w23, #-1
	mov	w22, #-1
	b	LBB0_15
LBB0_5:
	mov	w22, #-1
Lloh5:
	adrp	x26, _ECONNRESET@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ECONNRESET@GOTPAGEOFF]
Lloh7:
	adrp	x27, _VIO_DRING_ACTIVE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _VIO_DRING_ACTIVE@GOTPAGEOFF]
	mov	w23, #-1
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	x21, x24
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x21
	str	wzr, [sp, #12]
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_vnet_walk_rx_one
	ldr	w8, [x26]
	cmn	w0, w8
	b.eq	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w0, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x22, x25
	cmn	w23, #1
	csel	w23, w25, w23, eq
	mov	x0, x25
	mov	x1, x19
	bl	_next_idx
	mov	x21, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x21, x24
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w4, [x27]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_vnet_send_ack
	ldr	w8, [x26]
	cmn	w0, w8
	b.eq	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w23, #-1
	b	LBB0_6
LBB0_13:
	mov	x21, x24
	mov	x22, x25
	b	LBB0_15
LBB0_14:
	mov	x21, x25
LBB0_15:
	cmn	w23, #1
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x21
	mov	x1, x19
	bl	_prev_idx
	mov	x23, x0
	mov	x22, x23
LBB0_17:
Lloh9:
	adrp	x8, _VIO_DRING_STOPPED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VIO_DRING_STOPPED@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_vnet_send_ack
LBB0_18:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vnet_walk_rx start[%08x] end[%08x]\n"

	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_VIO_DRING_ACTIVE,4,2           ; @VIO_DRING_ACTIVE
	.comm	_VIO_DRING_STOPPED,4,2          ; @VIO_DRING_STOPPED
	.no_dead_strip	_vnet_walk_rx
.subsections_via_symbols
