	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function collect_sge_port_stats
_collect_sge_port_stats:                ## @collect_sge_port_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	4(%rsi), %r8
	testq	%r8, %r8
	jle	LBB0_1
## %bb.2:
	movslq	(%rsi), %rsi
	addq	%rsi, %r8
	movq	(%rdi), %rdi
	movslq	%edx, %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rsi,8), %rcx
	addq	(%rcx,%rdx,8), %rax
	incq	%rsi
	cmpq	%r8, %rsi
	jl	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_collect_sge_port_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function collect_sge_port_stats
_collect_sge_port_stats:                ; @collect_sge_port_stats
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	ldrsw	x10, [x1, #4]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	ldrsw	x1, [x1]
	ldr	x8, [x0]
	sxtw	x9, w2
	add	x11, x1, #1
	add	x10, x10, x1
	cmp	x11, x10
	csinc	x11, x10, x1, le
	sub	x12, x11, x1
	cmp	x12, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x0, #0
	mov	x11, x1
	b	LBB0_7
LBB0_3:
	mov	x0, #0
	ret
LBB0_4:
	mov	x16, #0
	mov	x17, #0
	mov	x15, #0
	mov	x14, #0
	and	x13, x12, #0xfffffffffffffffc
	add	x11, x13, x1
	add	x0, x8, x1, lsl #3
	add	x0, x0, #16
	lsl	x1, x9, #3
	mov	x2, x13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x3, x4, [x0, #-16]
	ldp	x5, x6, [x0], #32
	ldr	x3, [x3, x1]
	ldr	x4, [x4, x1]
	ldr	x5, [x5, x1]
	ldr	x6, [x6, x1]
	add	x16, x3, x16
	add	x17, x4, x17
	add	x15, x5, x15
	add	x14, x6, x14
	subs	x2, x2, #4
	b.ne	LBB0_5
; %bb.6:
	add	x16, x17, x16
	add	x15, x15, x16
	add	x0, x14, x15
	cmp	x12, x13
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8, x11, lsl #3]
	ldr	x12, [x12, x9, lsl #3]
	add	x0, x12, x0
	add	x11, x11, #1
	cmp	x11, x10
	b.lt	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_collect_sge_port_stats
.subsections_via_symbols
