	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getsize
_getsize:                               ## @getsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movslq	%ecx, %r8
	imulq	$1717986919, %r8, %r10          ## imm = 0x66666667
	movq	%r10, %rax
	shrq	$63, %rax
	sarq	$34, %r10
	addl	%eax, %r10d
	leal	(%r10,%r10), %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %r8d
	movl	%esi, %r9d
	xorl	%r11d, %r11d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	incq	%r11
	cmpq	%r11, %r9
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r11), %ecx
	leal	-48(%rcx), %esi
	cmpb	$9, %sil
	ja	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r10d, %eax
	jg	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$-48, %ecx
	cmpl	%r10d, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r8d, %ecx
	jle	LBB0_7
	jmp	LBB0_1
LBB0_8:
	movl	%r9d, %r11d
LBB0_9:
	testl	%r11d, %r11d
	je	LBB0_1
## %bb.10:
	movl	%r11d, %ecx
	addq	%rcx, %rdi
	jmp	LBB0_11
LBB0_1:
	xorl	%edi, %edi
	xorl	%eax, %eax
LBB0_11:
	movq	%rdi, (%rdx)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getsize
_getsize:                               ; @getsize
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x9, #0
	mov	w8, #0
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x10, w3, w10
	lsr	x11, x10, #63
	asr	x10, x10, #34
	add	w10, w10, w11
	mov	w12, #10
	msub	w13, w10, w12, w3
	mov	w11, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	madd	w8, w8, w12, w14
	add	x9, x9, #1
	cmp	x11, x9
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x0, x9]
	sub	w14, w14, #48
	cmp	w14, #9
	b.hi	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, w10
	b.gt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, w10
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w14, w13
	b.le	LBB0_2
LBB0_7:
	mov	w0, #0
	str	xzr, [x2]
	ret
LBB0_8:
	mov	x9, x11
LBB0_9:
	add	x10, x0, w9, uxtw
	cmp	w9, #0
	csel	w0, wzr, w8, eq
	csel	x8, xzr, x10, eq
	str	x8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getsize
.subsections_via_symbols
