	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nicvf_poll_reg
_nicvf_poll_reg:                        ## @nicvf_poll_reg
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%ecx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	$-1, %r14
	movl	%r8d, %ecx
	shlq	%cl, %r14
	notl	%r14d
	movl	%ebx, %ecx
	shll	%cl, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %esi
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	xorl	%ecx, %ecx
	cmpl	%r13d, %eax
	je	LBB0_19
## %bb.1:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.3:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.5:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.7:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.9:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.11:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.13:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	je	LBB0_2
## %bb.15:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	jne	LBB0_17
LBB0_2:
	xorl	%ecx, %ecx
LBB0_19:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_nicvf_queue_reg_read
	andl	%r14d, %eax
	movl	%ebx, %ecx
	sarl	%cl, %eax
	cmpl	%r13d, %eax
	movl	$0, %ecx
	je	LBB0_19
## %bb.18:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_netdev_err
	movl	$1, %ecx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Poll on reg 0x%llx failed\n"

	.no_dead_strip	_nicvf_poll_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nicvf_poll_reg
_nicvf_poll_reg:                        ; @nicvf_poll_reg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x5
                                        ; kill: def $w4 killed $w4 def $x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	mov	x8, #-1
	lsl	x8, x8, x4
	mvn	w8, w8
	lsl	w24, w8, w3
	mov	x1, x2
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.1:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.2:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.3:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.4:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.5:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.6:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.7:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.8:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.eq	LBB0_10
; %bb.9:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_nicvf_queue_reg_read
	and	w8, w0, w24
	asr	w8, w8, w22
	cmp	w8, w21
	b.ne	LBB0_12
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_netdev_err
	mov	w0, #1
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Poll on reg 0x%llx failed\n"

	.no_dead_strip	_nicvf_poll_reg
.subsections_via_symbols
