	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_vpath_poll_rx          ## -- Begin function vxge_hw_vpath_poll_rx
	.p2align	4, 0x90
_vxge_hw_vpath_poll_rx:                 ## @vxge_hw_vpath_poll_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, (%rdi)
	leaq	-32(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_vxge_hw_ring_rxd_next_completed
	movl	%eax, %r14d
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_2
## %bb.1:
	movq	-32(%rbp), %rsi
	movl	-20(%rbp), %edx
	movl	40(%rbx), %ecx
	movq	%rbx, %rdi
	callq	*48(%rbx)
LBB0_2:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	addl	8(%rbx), %eax
	movl	%eax, 8(%rbx)
	cmpl	12(%rbx), %eax
	jl	LBB0_7
## %bb.4:
	leal	(,%rax,4), %edi
	addl	16(%rbx), %eax
	movl	%eax, 16(%rbx)
	movl	20(%rbx), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_6
## %bb.5:
	addl	$4, %edi
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	%ecx
	movl	%edx, 16(%rbx)
LBB0_6:
	callq	_VXGE_HW_PRC_RXD_DOORBELL_NEW_QW_CNT
	movq	32(%rbx), %rsi
	movl	%eax, %edi
	callq	_writeq
	movq	24(%rbx), %rdi
	callq	_readl
	movl	$0, 8(%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_hw_vpath_poll_rx          ; -- Begin function vxge_hw_vpath_poll_rx
	.p2align	2
_vxge_hw_vpath_poll_rx:                 ; @vxge_hw_vpath_poll_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	xzr, [x0]
	mov	x1, sp
	add	x2, sp, #12
	bl	_vxge_hw_ring_rxd_next_completed
	mov	x20, x0
Lloh0:
	adrp	x8, _VXGE_HW_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VXGE_HW_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #48]
	ldr	x1, [sp]
	ldr	w2, [sp, #12]
	ldr	w3, [x19, #40]
	mov	x0, x19
	blr	x8
LBB0_2:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.3:
	ldp	w9, w10, [x19, #8]
	add	w8, w9, w8
	cmp	w8, w10
	str	w8, [x19, #8]
	b.lt	LBB0_7
; %bb.4:
	lsl	w0, w8, #2
	ldp	w10, w9, [x19, #16]
	add	w8, w10, w8
	cmp	w8, w9
	str	w8, [x19, #16]
	b.lt	LBB0_6
; %bb.5:
	add	w0, w0, #4
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19, #16]
LBB0_6:
	bl	_VXGE_HW_PRC_RXD_DOORBELL_NEW_QW_CNT
	ldr	x1, [x19, #32]
	bl	_writeq
	ldr	x0, [x19, #24]
	bl	_readl
	str	wzr, [x19, #8]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
.subsections_via_symbols
