	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nb8800_pause_config
_nb8800_pause_config:                   ## @nb8800_pause_config
	.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
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	cmpq	$0, 16(%rax)
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	cmpl	$0, 8(%rax)
	je	LBB0_8
## %bb.4:
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	4(%rax), %eax
	xorl	%ecx, %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_5
LBB0_1:
	movl	(%rbx), %ecx
LBB0_5:
	movq	_NB8800_RX_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PAUSE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nb8800_modb
	movq	_NB8800_RXC_CR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_nb8800_readl
	movq	_RCR_FL@GOTPCREL(%rip), %r13
	xorl	%ecx, %ecx
	testl	%eax, (%r13)
	setne	%cl
	cmpl	%ecx, 4(%rbx)
	jne	LBB0_6
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%rbx, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_napi_disable
	movq	%r14, %rdi
	callq	_netif_tx_lock_bh
	movq	%r14, %rdi
	callq	_nb8800_dma_stop
	movl	(%r12), %esi
	movl	(%r13), %edx
	movl	4(%rbx), %ecx
	movq	%rbx, %rdi
	callq	_nb8800_modl
	movq	%r14, %rdi
	callq	_nb8800_start_rx
	movq	%r14, %rdi
	callq	_netif_tx_unlock_bh
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_napi_enable                    ## TAILCALL
LBB0_7:
	movl	(%r12), %esi
	movl	(%r13), %edx
	movl	4(%rbx), %ecx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nb8800_modl                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NB8800_RX_CTL,4,2              ## @NB8800_RX_CTL
	.comm	_RX_PAUSE_EN,4,2                ## @RX_PAUSE_EN
	.comm	_NB8800_RXC_CR,4,2              ## @NB8800_RXC_CR
	.comm	_RCR_FL,4,2                     ## @RCR_FL
	.no_dead_strip	_nb8800_pause_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nb8800_pause_config
_nb8800_pause_config:                   ; @nb8800_pause_config
	.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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_6
; %bb.3:
	ldp	w3, w8, [x8]
	eor	w8, w8, w3
	stp	w3, w8, [x20]
	b	LBB0_5
LBB0_4:
	ldr	w3, [x20]
LBB0_5:
Lloh0:
	adrp	x8, _NB8800_RX_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NB8800_RX_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RX_PAUSE_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_PAUSE_EN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_nb8800_modb
Lloh6:
	adrp	x22, _NB8800_RXC_CR@GOTPAGE
Lloh7:
	ldr	x22, [x22, _NB8800_RXC_CR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_nb8800_readl
Lloh8:
	adrp	x23, _RCR_FL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _RCR_FL@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	cset	w8, ne
	ldr	w9, [x20, #4]
	cmp	w9, w8
	b.ne	LBB0_7
LBB0_6:
	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_7:
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_9
; %bb.8:
	add	x21, x20, #8
	mov	x0, x21
	bl	_napi_disable
	mov	x0, x19
	bl	_netif_tx_lock_bh
	mov	x0, x19
	bl	_nb8800_dma_stop
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x20, #4]
	mov	x0, x20
	bl	_nb8800_modl
	mov	x0, x19
	bl	_nb8800_start_rx
	mov	x0, x19
	bl	_netif_tx_unlock_bh
	mov	x0, x21
	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
	b	_napi_enable
LBB0_9:
	ldr	w1, [x22]
	ldr	w2, [x23]
	ldr	w3, [x20, #4]
	mov	x0, x20
	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
	b	_nb8800_modl
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NB8800_RX_CTL,4,2              ; @NB8800_RX_CTL
	.comm	_RX_PAUSE_EN,4,2                ; @RX_PAUSE_EN
	.comm	_NB8800_RXC_CR,4,2              ; @NB8800_RXC_CR
	.comm	_RCR_FL,4,2                     ; @RCR_FL
	.no_dead_strip	_nb8800_pause_config
.subsections_via_symbols
