	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stats
_stats:                                 ## @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	%rbx
	.cfi_offset %rbx, -24
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%esi, %r9d
	leaq	-1(%r9), %rax
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rax
	jae	LBB0_4
## %bb.3:
	xorl	%r10d, %r10d
	xorl	%esi, %esi
	xorl	%r11d, %r11d
LBB0_14:
	testq	%r8, %r8
	je	LBB0_17
## %bb.15:
	leaq	(%rdi,%r10,8), %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rdi,8), %rax
	movl	(%rax), %eax
	cmpl	%r11d, %eax
	cmoval	%eax, %r11d
	addl	%eax, %esi
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_16
	jmp	LBB0_17
LBB0_1:
	xorl	%r11d, %r11d
	xorl	%esi, %esi
LBB0_17:
	movl	%r11d, (%rdx)
	movl	%esi, (%rcx)
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %r9d
	xorl	%r10d, %r10d
	xorl	%esi, %esi
	xorl	%r11d, %r11d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %esi
	addq	$4, %r10
	cmpq	%r10, %r9
	je	LBB0_14
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%r10,8), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	cmpl	%r11d, %eax
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r11d, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi,%r10,8), %r11
	addl	%esi, %eax
	movl	(%r11), %esi
	movl	%esi, %r11d
	cmpl	%ebx, %esi
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r11d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %esi
	movq	16(%rdi,%r10,8), %rax
	movl	(%rax), %eax
	movl	%eax, %ebx
	cmpl	%r11d, %eax
	ja	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r11d, %ebx
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	%esi, %eax
	movq	24(%rdi,%r10,8), %rsi
	movl	(%rsi), %esi
	movl	%esi, %r11d
	cmpl	%ebx, %esi
	ja	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r11d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stats
_stats:                                 ; @stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w1
	cmp	w1, #4
	b.hs	LBB0_4
; %bb.2:
	mov	x9, #0
	mov	w10, #0
	mov	w14, #0
	b	LBB0_7
LBB0_3:
	mov	w14, #0
	mov	w10, #0
	b	LBB0_9
LBB0_4:
	mov	w12, #0
	mov	w13, #0
	mov	w11, #0
	mov	w10, #0
	mov	w16, #0
	mov	w17, #0
	mov	w15, #0
	mov	w14, #0
	and	x9, x8, #0xfffffffc
	add	x1, x0, #16
	mov	x4, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x5, x6, [x1, #-16]
	ldp	x7, x19, [x1], #32
	ldr	w5, [x5]
	ldr	w6, [x6]
	ldr	w7, [x7]
	cmp	w5, w16
	csel	w16, w5, w16, hi
	cmp	w6, w17
	csel	w17, w6, w17, hi
	cmp	w7, w15
	csel	w15, w7, w15, hi
	ldr	w19, [x19]
	cmp	w19, w14
	csel	w14, w19, w14, hi
	add	w12, w5, w12
	add	w13, w6, w13
	add	w11, w7, w11
	add	w10, w19, w10
	subs	x4, x4, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	w16, w17
	csel	w16, w16, w17, hi
	cmp	w16, w15
	csel	w15, w16, w15, hi
	cmp	w15, w14
	csel	w14, w15, w14, hi
	add	w12, w13, w12
	add	w11, w11, w12
	add	w10, w10, w11
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_7:
	add	x11, x0, x9, lsl #3
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11], #8
	ldr	w9, [x9]
	cmp	w9, w14
	csel	w14, w9, w14, hi
	add	w10, w9, w10
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	str	w14, [x2]
	str	w10, [x3]
	ldp	x20, x19, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stats
.subsections_via_symbols
