	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function computesizes
_computesizes:                          ## @computesizes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rsi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movl	$1, %edx
	xorl	%r10d, %r10d
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %r11d
	leal	(%r11,%r14), %ebx
	cmpl	%r10d, %ebx
	setg	%r10b
	testl	%r11d, %r11d
	cmovgl	%ebx, %r14d
	setg	%cl
	testb	%r10b, %cl
	cmovnel	%ebx, %eax
	cmovnel	%edx, %r9d
	cmpl	%r8d, %r14d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rdx,%rdx), %ecx
	andl	$2147483647, %edx               ## imm = 0x7FFFFFFF
	addq	$4, %rdi
	movl	%edx, %r10d
	cmpl	%r8d, %edx
	movl	%ecx, %edx
	jl	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	xorl	%r9d, %r9d
LBB0_5:
	movl	%r9d, (%rsi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_computesizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computesizes
_computesizes:                          ; @computesizes
	.cfi_startproc
; %bb.0:
	ldr	w10, [x1]
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, x0
	mov	w13, #0
	mov	w9, #0
	mov	w0, #0
	mov	w11, #0
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x8], #4
	add	w15, w14, w11
	cmp	w15, w13
	cset	w13, gt
	cmp	w14, #0
	csel	w11, w15, w11, gt
	cset	w14, gt
	tst	w14, w13
	csel	w0, w15, w0, ne
	csel	w9, w12, w9, ne
	cmp	w11, w10
	and	w13, w12, #0x7fffffff
	lsl	w12, w12, #1
	ccmp	w13, w10, #0, ne
	b.lt	LBB0_2
; %bb.3:
	str	w9, [x1]
	ret
LBB0_4:
	mov	w0, #0
	str	wzr, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_computesizes
.subsections_via_symbols
