	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nb8800_poll
_nb8800_poll:                           ## @nb8800_poll
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_netdev_priv
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_nb8800_tx_done
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	leal	1(%r14), %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%ecx, %eax
	cmovgl	%eax, %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movl	$0, (%r15,%r13,8)
	incl	%r14d
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jge	LBB0_10
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	1(%rbx), %eax
	xorl	%edx, %edx
	movq	_RX_DESC_COUNT@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	%edx, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r15
	movl	(%r15,%r13,8), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	%r13d, %ebx
	callq	_RX_BYTES_TRANSFERRED
	movl	%eax, %r12d
	movl	(%r15,%r13,8), %edi
	callq	_IS_RX_ERROR
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r15,%r13,8), %esi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_nb8800_rx_error
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rdi, %rbx
	movl	%r12d, %edx
	callq	_nb8800_receive
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	incl	8(%rbx)
	addl	%r12d, (%rbx)
	movq	_RX_MULTICAST_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15,%r13,8)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	incl	4(%rbx)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r12d
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	setl	%r15b
	testl	%r14d, %r14d
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_DESC_EOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	orl	%eax, 4(%rcx,%rdx,8)
	xorl	%eax, %eax
	callq	_wmb
	movq	_DESC_EOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%r13), %rcx
	movl	(%r13), %edx
	andl	%eax, 4(%rcx,%rdx,8)
	movl	%ebx, (%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_nb8800_start_rx
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	%r15b, %r15b
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_NB8800_RX_ITR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15), %edx
	movq	%r15, %rdi
	callq	_nb8800_writel
	movq	8(%r15), %rax
	cmpl	$0, (%rax,%r12,8)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_1
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %r12d
	xorl	%r15d, %r15d
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r14d
	testl	%r14d, %r14d
	jne	LBB0_12
	jmp	LBB0_13
LBB0_15:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_napi_complete_done
LBB0_16:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_DESC_COUNT,4,2              ## @RX_DESC_COUNT
	.comm	_RX_MULTICAST_PKT,4,2           ## @RX_MULTICAST_PKT
	.comm	_DESC_EOC,4,2                   ## @DESC_EOC
	.comm	_NB8800_RX_ITR,4,2              ## @NB8800_RX_ITR
	.no_dead_strip	_nb8800_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nb8800_poll
_nb8800_poll:                           ; @nb8800_poll
	.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	x20, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x21, [x0]
	mov	x0, x21
	bl	_netdev_priv
	mov	x22, x0
	ldr	w23, [x0]
	mov	x0, x21
	bl	_nb8800_tx_done
	mov	w24, #0
Lloh0:
	adrp	x26, _RX_DESC_COUNT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _RX_DESC_COUNT@GOTPAGEOFF]
Lloh2:
	adrp	x19, _RX_MULTICAST_PKT@GOTPAGE
Lloh3:
	ldr	x19, [x19, _RX_MULTICAST_PKT@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	add	w8, w24, #1
	cmp	w20, w8
	csinc	w8, w20, w24, gt
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	str	wzr, [x28]
	add	w24, w24, #1
	cmp	w24, w20
	b.ge	LBB0_13
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w23, #1
	ldr	w9, [x26]
	udiv	w10, w8, w9
	msub	w27, w10, w9, w8
	ldr	x8, [x22, #8]
	add	x28, x8, w27, uxtw #3
	ldr	w0, [x28]
	cbz	w0, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x23, x27
	bl	_RX_BYTES_TRANSFERRED
	mov	x25, x0
	ldr	w0, [x28]
	bl	_IS_RX_ERROR
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w1, [x28]
	mov	x0, x21
	bl	_nb8800_rx_error
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x25
	bl	_nb8800_receive
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	ldr	w8, [x21]
	add	w8, w8, w25
	str	w8, [x21]
	ldr	w8, [x28]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w24, w20
	cset	w25, lt
	cbz	w24, LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh4:
	adrp	x28, _DESC_EOC@GOTPAGE
Lloh5:
	ldr	x28, [x28, _DESC_EOC@GOTPAGEOFF]
	ldr	w8, [x28]
	ldr	x9, [x22, #8]
	add	x9, x9, w23, uxtw #3
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
	str	w8, [x9, #4]
	bl	_wmb
	ldr	w8, [x28]
	ldr	x9, [x22, #8]
	ldr	w10, [x22]
	add	x9, x9, x10, lsl #3
	ldr	w10, [x9, #4]
	bic	w8, w10, w8
	str	w8, [x9, #4]
	str	w23, [x22]
	mov	x0, x21
	bl	_nb8800_start_rx
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w25, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
Lloh6:
	adrp	x8, _NB8800_RX_ITR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NB8800_RX_ITR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x22, #16]
	mov	x0, x22
	bl	_nb8800_writel
	ldr	x8, [x22, #8]
	lsl	x9, x27, #3
	ldr	w8, [x8, x9]
	cbnz	w8, LBB0_1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w25, #0
	ldr	w24, [sp, #12]                  ; 4-byte Folded Reload
	cbnz	w24, LBB0_10
	b	LBB0_11
LBB0_14:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x24
	bl	_napi_complete_done
LBB0_15:
	mov	x0, x24
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_DESC_COUNT,4,2              ; @RX_DESC_COUNT
	.comm	_RX_MULTICAST_PKT,4,2           ; @RX_MULTICAST_PKT
	.comm	_DESC_EOC,4,2                   ; @DESC_EOC
	.comm	_NB8800_RX_ITR,4,2              ; @NB8800_RX_ITR
	.no_dead_strip	_nb8800_poll
.subsections_via_symbols
