	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_get_stats64
_mtk_get_stats64:                       ## @mtk_get_stats64
	.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	%rsi, %r13
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_netif_device_present
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	56(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_trylock_bh
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_mtk_stats_update_mac
	movq	%r12, %rdi
	callq	_spin_unlock_bh
LBB0_4:
	leaq	52(%rbx), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_u64_stats_fetch_begin_irq
	movl	48(%rbx), %ecx
	movl	%ecx, 56(%r13)
	movups	32(%rbx), %xmm0
	movups	%xmm0, 40(%r13)
	movq	16(%rbx), %rcx
	addq	24(%rbx), %rcx
	movq	%rcx, 32(%r13)
	movups	(%rbx), %xmm0
	movups	%xmm0, 12(%r13)
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_u64_stats_fetch_retry_irq
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movl	8(%r14), %eax
	movl	%eax, 8(%r13)
	movl	4(%r14), %eax
	movl	%eax, 4(%r13)
	movl	(%r14), %eax
	movl	%eax, (%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mtk_get_stats64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_get_stats64
_mtk_get_stats64:                       ; @mtk_get_stats64
	.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, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x23, [x0]
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_netif_device_present
	cbz	x0, LBB0_4
; %bb.2:
	add	x22, x23, #56
	mov	x0, x22
	bl	_spin_trylock_bh
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_mtk_stats_update_mac
	mov	x0, x22
	bl	_spin_unlock_bh
LBB0_4:
	add	x21, x23, #52
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_u64_stats_fetch_begin_irq
	mov	x1, x0
	ldr	w8, [x23, #48]
	str	w8, [x19, #56]
	ldr	q0, [x23, #32]
	stur	q0, [x19, #40]
	ldp	x9, x8, [x23, #16]
	add	x8, x9, x8
	str	x8, [x19, #32]
	ldr	q0, [x23]
	stur	q0, [x19, #12]
	mov	x0, x21
	bl	_u64_stats_fetch_retry_irq
	cbnz	x0, LBB0_5
; %bb.6:
	ldr	w8, [x20, #8]
	str	w8, [x19, #8]
	ldr	d0, [x20]
	str	d0, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mtk_get_stats64
.subsections_via_symbols
