	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gve_get_stats
_gve_get_stats:                         ## @gve_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.1:
	cmpl	$0, 24(%r12)
	jle	LBB0_5
## %bb.2:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	leaq	(,%r15,8), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	leaq	(%rax,%rbx), %rdi
	addq	$16, %rdi
	callq	_u64_stats_fetch_begin
	movq	16(%r12), %rcx
	movl	8(%rcx,%rbx), %edx
	addl	%edx, 12(%r14)
	movl	(%rcx,%rbx), %edx
	addl	%edx, 8(%r14)
	leaq	(%rcx,%rbx), %rdi
	addq	$16, %rdi
	movl	%eax, %esi
	callq	_u64_stats_fetch_retry
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	24(%r12), %rax
	cmpq	%rax, %r15
	jl	LBB0_3
LBB0_5:
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.6:
	cmpl	$0, 8(%r12)
	jle	LBB0_10
## %bb.7:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	leaq	(,%r15,8), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	leaq	(%rax,%rbx), %rdi
	addq	$16, %rdi
	callq	_u64_stats_fetch_begin
	movq	(%r12), %rcx
	movl	8(%rcx,%rbx), %edx
	addl	%edx, 4(%r14)
	movl	(%rcx,%rbx), %edx
	addl	%edx, (%r14)
	leaq	(%rcx,%rbx), %rdi
	addq	$16, %rdi
	movl	%eax, %esi
	callq	_u64_stats_fetch_retry
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	movslq	8(%r12), %rax
	cmpq	%rax, %r15
	jl	LBB0_8
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gve_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gve_get_stats
_gve_get_stats:                         ; @gve_get_stats
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x9, x21, x21, lsl #1
	lsl	x22, x9, #3
	add	x8, x8, x22
	add	x0, x8, #16
	bl	_u64_stats_fetch_begin
	mov	x1, x0
	ldr	x8, [x20, #16]
	add	x0, x8, x22
	ldr	q0, [x0], #16
	ldr	d1, [x19, #8]
	xtn.2s	v0, v0
	add.2s	v0, v1, v0
	str	d0, [x19, #8]
	bl	_u64_stats_fetch_retry
	cbnz	x0, LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20, #24]
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_5:
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.6:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x9, x21, x21, lsl #1
	lsl	x22, x9, #3
	add	x8, x8, x22
	add	x0, x8, #16
	bl	_u64_stats_fetch_begin
	mov	x1, x0
	ldr	x8, [x20]
	add	x0, x8, x22
	ldr	q0, [x0], #16
	ldr	d1, [x19]
	xtn.2s	v0, v0
	add.2s	v0, v1, v0
	str	d0, [x19]
	bl	_u64_stats_fetch_retry
	cbnz	x0, LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20, #8]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gve_get_stats
.subsections_via_symbols
