	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_get_ring_stats
_bnxt_get_ring_stats:                   ## @bnxt_get_ring_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
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax), %rbx
	movl	52(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 24(%r12)
	movl	4(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 24(%r12)
	movl	48(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 24(%r12)
	movl	44(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 20(%r12)
	movl	40(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 20(%r12)
	movl	36(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 20(%r12)
	movl	32(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 16(%r12)
	movl	28(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 16(%r12)
	movl	24(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 16(%r12)
	movl	20(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 12(%r12)
	movl	16(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 12(%r12)
	movl	12(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 12(%r12)
	movl	8(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 8(%r12)
	movl	4(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, 4(%r12)
	movl	(%rbx), %edi
	callq	_le64_to_cpu
	addl	%eax, (%r12)
	incq	%r15
	movslq	(%r14), %rax
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bnxt_get_ring_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_get_ring_stats
_bnxt_get_ring_stats:                   ; @bnxt_get_ring_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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x22, [x8]
	ldr	w0, [x22, #52]
	bl	_le64_to_cpu
	ldr	w8, [x19, #24]
	add	w8, w8, w0
	str	w8, [x19, #24]
	ldr	w0, [x22, #4]
	bl	_le64_to_cpu
	ldr	w8, [x19, #24]
	add	w8, w8, w0
	str	w8, [x19, #24]
	ldr	w0, [x22, #48]
	bl	_le64_to_cpu
	ldr	w8, [x19, #24]
	add	w8, w8, w0
	str	w8, [x19, #24]
	ldr	w0, [x22, #44]
	bl	_le64_to_cpu
	ldr	w8, [x19, #20]
	add	w8, w8, w0
	str	w8, [x19, #20]
	ldr	w0, [x22, #40]
	bl	_le64_to_cpu
	ldr	w8, [x19, #20]
	add	w8, w8, w0
	str	w8, [x19, #20]
	ldr	w0, [x22, #36]
	bl	_le64_to_cpu
	ldr	w8, [x19, #20]
	add	w8, w8, w0
	str	w8, [x19, #20]
	ldr	w0, [x22, #32]
	bl	_le64_to_cpu
	ldr	w8, [x19, #16]
	add	w8, w8, w0
	str	w8, [x19, #16]
	ldr	w0, [x22, #28]
	bl	_le64_to_cpu
	ldr	w8, [x19, #16]
	add	w8, w8, w0
	str	w8, [x19, #16]
	ldr	w0, [x22, #24]
	bl	_le64_to_cpu
	ldr	w8, [x19, #16]
	add	w8, w8, w0
	str	w8, [x19, #16]
	ldr	w0, [x22, #20]
	bl	_le64_to_cpu
	ldr	w8, [x19, #12]
	add	w8, w8, w0
	str	w8, [x19, #12]
	ldr	w0, [x22, #16]
	bl	_le64_to_cpu
	ldr	w8, [x19, #12]
	add	w8, w8, w0
	str	w8, [x19, #12]
	ldr	w0, [x22, #12]
	bl	_le64_to_cpu
	ldr	w8, [x19, #12]
	add	w8, w8, w0
	str	w8, [x19, #12]
	ldr	w0, [x22, #8]
	bl	_le64_to_cpu
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	str	w8, [x19, #8]
	ldr	w0, [x22, #4]
	bl	_le64_to_cpu
	ldr	w8, [x19, #4]
	add	w8, w8, w0
	str	w8, [x19, #4]
	ldr	w0, [x22]
	bl	_le64_to_cpu
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	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	_bnxt_get_ring_stats
.subsections_via_symbols
