	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function falcon_update_nic_stats
_falcon_update_nic_stats:               ## @falcon_update_nic_stats
	.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	8(%rdi), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_1
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	_FR_AZ_RX_NODESC_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rsi
	callq	_efx_reado
	movl	-20(%rbp), %edi
	movq	_FRF_AB_RX_NODESC_DROP_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EFX_OWORD_FIELD
	addl	%eax, (%r14)
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_FALCON_STATS_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	$0, (%rbx)
	xorl	%eax, %eax
	callq	_rmb
	movq	%r14, %rdi
	callq	_falcon_update_stats_xmac
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_FR_AZ_RX_NODESC_DROP,4,2       ## @FR_AZ_RX_NODESC_DROP
	.comm	_FRF_AB_RX_NODESC_DROP_CNT,4,2  ## @FRF_AB_RX_NODESC_DROP_CNT
	.comm	_FALCON_STATS_DONE,8,3          ## @FALCON_STATS_DONE
	.no_dead_strip	_falcon_update_nic_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function falcon_update_nic_stats
_falcon_update_nic_stats:               ; @falcon_update_nic_stats
	.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
	ldr	x20, [x0, #8]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x8, _FR_AZ_RX_NODESC_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FR_AZ_RX_NODESC_DROP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_efx_reado
	ldr	w0, [sp, #12]
Lloh3:
	adrp	x8, _FRF_AB_RX_NODESC_DROP_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FRF_AB_RX_NODESC_DROP_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EFX_OWORD_FIELD
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	ldr	w8, [x20]
	cbz	w8, LBB0_1
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _FALCON_STATS_DONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FALCON_STATS_DONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:
	str	wzr, [x20]
	bl	_rmb
	mov	x0, x19
	bl	_falcon_update_stats_xmac
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FR_AZ_RX_NODESC_DROP,4,2       ; @FR_AZ_RX_NODESC_DROP
	.comm	_FRF_AB_RX_NODESC_DROP_CNT,4,2  ; @FRF_AB_RX_NODESC_DROP_CNT
	.comm	_FALCON_STATS_DONE,8,3          ; @FALCON_STATS_DONE
	.no_dead_strip	_falcon_update_nic_stats
.subsections_via_symbols
