	.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	%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	%rdx, %r14
	movq	%rsi, %r15
	movq	8(%rdi), %r13
	movq	(%r13), %rbx
	cmpl	$0, 12(%r13)
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %r12
	movq	_FR_AZ_RX_NODESC_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	callq	_ef4_reado
	movl	-44(%rbp), %edi
	movq	_FRF_AB_RX_NODESC_DROP_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EF4_OWORD_FIELD
	movq	_FALCON_STAT_rx_nodesc_drop_cnt@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addl	%eax, (%rbx,%rcx,4)
	cmpl	$0, 8(%r13)
	je	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_FALCON_XMAC_STATS_DMA_FLAG
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$0, 8(%r13)
	xorl	%eax, %eax
	callq	_rmb
	movq	_falcon_stat_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FALCON_STAT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_falcon_stat_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %r8d
	movq	%rbx, %rcx
	movl	$1, %r9d
	callq	_ef4_nic_update_stats
LBB0_4:
	movq	_FALCON_STAT_rx_bad_bytes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	movq	_FALCON_STAT_rx_bytes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %esi
	movq	_FALCON_STAT_rx_good_bytes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subl	(%rbx,%rax,4), %esi
	movq	_FALCON_STAT_rx_control@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	shll	$6, %eax
	subl	%eax, %esi
	callq	_ef4_update_diff_stat
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ef4_update_sw_stats
LBB0_5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	_FALCON_STAT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movq	_FALCON_STAT_rx_packets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, (%r14)
	movq	_FALCON_STAT_tx_packets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, 4(%r14)
	movq	_FALCON_STAT_rx_bytes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, 8(%r14)
	movq	_FALCON_STAT_tx_bytes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, 12(%r14)
	movq	_FALCON_STAT_rx_nodesc_drop_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GENERIC_STAT_rx_nodesc_trunc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rbx,%rcx,4), %ecx
	addl	(%rbx,%rax,4), %ecx
	movq	_GENERIC_STAT_rx_noskb_drops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	(%rbx,%rax,4), %ecx
	movl	%ecx, 16(%r14)
	movq	_FALCON_STAT_rx_multicast@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, 20(%r14)
	movq	_FALCON_STAT_rx_gtjumbo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FALCON_STAT_rx_length_error@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rbx,%rcx,4), %ecx
	addl	(%rbx,%rax,4), %ecx
	movl	%ecx, 24(%r14)
	movq	_FALCON_STAT_rx_bad@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, 28(%r14)
	movq	_FALCON_STAT_rx_align_error@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rbx,%rdx,4), %edx
	movl	%edx, 32(%r14)
	movq	_FALCON_STAT_rx_overflow@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rbx,%rsi,4), %esi
	movl	%esi, 36(%r14)
	addl	%eax, %ecx
	addl	%edx, %ecx
	movq	_FALCON_STAT_rx_symbol_error@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	(%rbx,%rax,4), %ecx
	movl	%ecx, 40(%r14)
LBB0_9:
	movq	_FALCON_STAT_COUNT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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_STAT_rx_nodesc_drop_cnt,8,3 ## @FALCON_STAT_rx_nodesc_drop_cnt
	.comm	_falcon_stat_desc,4,2           ## @falcon_stat_desc
	.comm	_FALCON_STAT_COUNT,4,2          ## @FALCON_STAT_COUNT
	.comm	_falcon_stat_mask,4,2           ## @falcon_stat_mask
	.comm	_FALCON_STAT_rx_bad_bytes,8,3   ## @FALCON_STAT_rx_bad_bytes
	.comm	_FALCON_STAT_rx_bytes,8,3       ## @FALCON_STAT_rx_bytes
	.comm	_FALCON_STAT_rx_good_bytes,8,3  ## @FALCON_STAT_rx_good_bytes
	.comm	_FALCON_STAT_rx_control,8,3     ## @FALCON_STAT_rx_control
	.comm	_FALCON_STAT_rx_packets,8,3     ## @FALCON_STAT_rx_packets
	.comm	_FALCON_STAT_tx_packets,8,3     ## @FALCON_STAT_tx_packets
	.comm	_FALCON_STAT_tx_bytes,8,3       ## @FALCON_STAT_tx_bytes
	.comm	_GENERIC_STAT_rx_nodesc_trunc,8,3 ## @GENERIC_STAT_rx_nodesc_trunc
	.comm	_GENERIC_STAT_rx_noskb_drops,8,3 ## @GENERIC_STAT_rx_noskb_drops
	.comm	_FALCON_STAT_rx_multicast,8,3   ## @FALCON_STAT_rx_multicast
	.comm	_FALCON_STAT_rx_gtjumbo,8,3     ## @FALCON_STAT_rx_gtjumbo
	.comm	_FALCON_STAT_rx_length_error,8,3 ## @FALCON_STAT_rx_length_error
	.comm	_FALCON_STAT_rx_bad,8,3         ## @FALCON_STAT_rx_bad
	.comm	_FALCON_STAT_rx_align_error,8,3 ## @FALCON_STAT_rx_align_error
	.comm	_FALCON_STAT_rx_overflow,8,3    ## @FALCON_STAT_rx_overflow
	.comm	_FALCON_STAT_rx_symbol_error,8,3 ## @FALCON_STAT_rx_symbol_error
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	ldr	x26, [x0, #8]
	ldr	x20, [x26]
	ldr	w8, [x26, #12]
Lloh0:
	adrp	x24, _FALCON_STAT_rx_nodesc_drop_cnt@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FALCON_STAT_rx_nodesc_drop_cnt@GOTPAGEOFF]
Lloh2:
	adrp	x23, _FALCON_STAT_COUNT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FALCON_STAT_COUNT@GOTPAGEOFF]
Lloh4:
	adrp	x25, _FALCON_STAT_rx_bytes@GOTPAGE
Lloh5:
	ldr	x25, [x25, _FALCON_STAT_rx_bytes@GOTPAGEOFF]
	cbnz	w8, LBB0_5
; %bb.1:
	mov	x22, x0
Lloh6:
	adrp	x8, _FR_AZ_RX_NODESC_DROP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FR_AZ_RX_NODESC_DROP@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_ef4_reado
	ldr	w0, [sp, #12]
Lloh9:
	adrp	x8, _FRF_AB_RX_NODESC_DROP_CNT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FRF_AB_RX_NODESC_DROP_CNT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_EF4_OWORD_FIELD
	ldr	x8, [x24]
	lsl	x8, x8, #2
	ldr	w9, [x20, x8]
	add	w9, w9, w0
	str	w9, [x20, x8]
	ldr	w8, [x26, #8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_FALCON_XMAC_STATS_DMA_FLAG
	cbz	x0, LBB0_4
; %bb.3:
	str	wzr, [x26, #8]
	bl	_rmb
Lloh12:
	adrp	x8, _falcon_stat_desc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _falcon_stat_desc@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x23]
Lloh15:
	adrp	x8, _falcon_stat_mask@GOTPAGE
Lloh16:
	ldr	x8, [x8, _falcon_stat_mask@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w4, [x22]
	mov	x3, x20
	mov	w5, #1
	bl	_ef4_nic_update_stats
LBB0_4:
Lloh18:
	adrp	x8, _FALCON_STAT_rx_bad_bytes@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALCON_STAT_rx_bad_bytes@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	add	x0, x20, x8, lsl #2
	ldr	x8, [x25]
	ldr	w8, [x20, x8, lsl #2]
Lloh21:
	adrp	x9, _FALCON_STAT_rx_good_bytes@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FALCON_STAT_rx_good_bytes@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	sub	w8, w8, w9
Lloh24:
	adrp	x9, _FALCON_STAT_rx_control@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FALCON_STAT_rx_control@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	sub	w1, w8, w9, lsl #6
	bl	_ef4_update_diff_stat
	mov	x0, x22
	mov	x1, x20
	bl	_ef4_update_sw_stats
LBB0_5:
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w8, [x23]
	lsl	w2, w8, #2
	mov	x0, x21
	mov	x1, x20
	bl	_memcpy
LBB0_7:
	cbz	x19, LBB0_9
; %bb.8:
Lloh27:
	adrp	x8, _FALCON_STAT_rx_packets@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FALCON_STAT_rx_packets@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19]
Lloh30:
	adrp	x8, _FALCON_STAT_tx_packets@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FALCON_STAT_tx_packets@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #4]
	ldr	x8, [x25]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #8]
Lloh33:
	adrp	x8, _FALCON_STAT_tx_bytes@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FALCON_STAT_tx_bytes@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #12]
	ldr	x8, [x24]
	ldr	w8, [x20, x8, lsl #2]
Lloh36:
	adrp	x9, _GENERIC_STAT_rx_nodesc_trunc@GOTPAGE
Lloh37:
	ldr	x9, [x9, _GENERIC_STAT_rx_nodesc_trunc@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
Lloh39:
	adrp	x10, _GENERIC_STAT_rx_noskb_drops@GOTPAGE
Lloh40:
	ldr	x10, [x10, _GENERIC_STAT_rx_noskb_drops@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	ldr	w10, [x20, x10, lsl #2]
	add	w8, w9, w8
	add	w8, w8, w10
	str	w8, [x19, #16]
Lloh42:
	adrp	x8, _FALCON_STAT_rx_multicast@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FALCON_STAT_rx_multicast@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
	str	w8, [x19, #20]
Lloh45:
	adrp	x8, _FALCON_STAT_rx_gtjumbo@GOTPAGE
Lloh46:
	ldr	x8, [x8, _FALCON_STAT_rx_gtjumbo@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	ldr	w8, [x20, x8, lsl #2]
Lloh48:
	adrp	x9, _FALCON_STAT_rx_length_error@GOTPAGE
Lloh49:
	ldr	x9, [x9, _FALCON_STAT_rx_length_error@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	add	w8, w9, w8
	str	w8, [x19, #24]
Lloh51:
	adrp	x9, _FALCON_STAT_rx_bad@GOTPAGE
Lloh52:
	ldr	x9, [x9, _FALCON_STAT_rx_bad@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	str	w9, [x19, #28]
Lloh54:
	adrp	x10, _FALCON_STAT_rx_align_error@GOTPAGE
Lloh55:
	ldr	x10, [x10, _FALCON_STAT_rx_align_error@GOTPAGEOFF]
Lloh56:
	ldr	x10, [x10]
	ldr	w10, [x20, x10, lsl #2]
	str	w10, [x19, #32]
Lloh57:
	adrp	x11, _FALCON_STAT_rx_overflow@GOTPAGE
Lloh58:
	ldr	x11, [x11, _FALCON_STAT_rx_overflow@GOTPAGEOFF]
Lloh59:
	ldr	x11, [x11]
	ldr	w11, [x20, x11, lsl #2]
	str	w11, [x19, #36]
	add	w8, w9, w8
Lloh60:
	adrp	x9, _FALCON_STAT_rx_symbol_error@GOTPAGE
Lloh61:
	ldr	x9, [x9, _FALCON_STAT_rx_symbol_error@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	ldr	w9, [x20, x9, lsl #2]
	add	w8, w8, w10
	add	w8, w8, w9
	str	w8, [x19, #40]
LBB0_9:
	ldrsw	x0, [x23]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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_STAT_rx_nodesc_drop_cnt,8,3 ; @FALCON_STAT_rx_nodesc_drop_cnt
	.comm	_falcon_stat_desc,4,2           ; @falcon_stat_desc
	.comm	_FALCON_STAT_COUNT,4,2          ; @FALCON_STAT_COUNT
	.comm	_falcon_stat_mask,4,2           ; @falcon_stat_mask
	.comm	_FALCON_STAT_rx_bad_bytes,8,3   ; @FALCON_STAT_rx_bad_bytes
	.comm	_FALCON_STAT_rx_bytes,8,3       ; @FALCON_STAT_rx_bytes
	.comm	_FALCON_STAT_rx_good_bytes,8,3  ; @FALCON_STAT_rx_good_bytes
	.comm	_FALCON_STAT_rx_control,8,3     ; @FALCON_STAT_rx_control
	.comm	_FALCON_STAT_rx_packets,8,3     ; @FALCON_STAT_rx_packets
	.comm	_FALCON_STAT_tx_packets,8,3     ; @FALCON_STAT_tx_packets
	.comm	_FALCON_STAT_tx_bytes,8,3       ; @FALCON_STAT_tx_bytes
	.comm	_GENERIC_STAT_rx_nodesc_trunc,8,3 ; @GENERIC_STAT_rx_nodesc_trunc
	.comm	_GENERIC_STAT_rx_noskb_drops,8,3 ; @GENERIC_STAT_rx_noskb_drops
	.comm	_FALCON_STAT_rx_multicast,8,3   ; @FALCON_STAT_rx_multicast
	.comm	_FALCON_STAT_rx_gtjumbo,8,3     ; @FALCON_STAT_rx_gtjumbo
	.comm	_FALCON_STAT_rx_length_error,8,3 ; @FALCON_STAT_rx_length_error
	.comm	_FALCON_STAT_rx_bad,8,3         ; @FALCON_STAT_rx_bad
	.comm	_FALCON_STAT_rx_align_error,8,3 ; @FALCON_STAT_rx_align_error
	.comm	_FALCON_STAT_rx_overflow,8,3    ; @FALCON_STAT_rx_overflow
	.comm	_FALCON_STAT_rx_symbol_error,8,3 ; @FALCON_STAT_rx_symbol_error
	.no_dead_strip	_falcon_update_nic_stats
.subsections_via_symbols
