	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_repeat_counts
_read_repeat_counts:                    ## @read_repeat_counts
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	xorl	%r13d, %r13d
	movq	_CHAR_0@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_IS_DIGIT
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	(%r13,%r13,4), %eax
	movl	(%rbx), %ecx
	addq	$8, %rbx
	subl	(%r14), %ecx
	leal	(%rcx,%rax,2), %r13d
	cmpl	$65536, %r13d                   ## imm = 0x10000
	jl	LBB0_1
LBB0_3:
	movq	_ERR5@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%r12)
	jmp	LBB0_8
LBB0_5:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_CHAR_RIGHT_CURLY_BRACKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rbx)
	jne	LBB0_9
## %bb.6:
	movl	%r13d, %r15d
	jmp	LBB0_7
LBB0_9:
	leaq	8(%rbx), %rcx
	movq	8(%rbx), %rdi
	movl	$-1, %r15d
	cmpq	%rax, %rdi
	jne	LBB0_11
## %bb.10:
	movq	%rcx, %rbx
	jmp	LBB0_7
LBB0_11:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_IS_DIGIT
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	addq	$16, %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r15,%r15,4), %eax
	movl	-8(%rbx), %ecx
	subl	(%r14), %ecx
	leal	(%rcx,%rax,2), %r15d
	cmpl	$65535, %r15d                   ## imm = 0xFFFF
	jg	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rdi
	callq	_IS_DIGIT
	addq	$8, %rbx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.16:
	addq	$-8, %rbx
	cmpl	%r13d, %r15d
	jl	LBB0_18
LBB0_7:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpl	%r13d, %r15d
	jge	LBB0_7
LBB0_18:
	movq	_ERR4@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_CHAR_0,8,3                     ## @CHAR_0
	.comm	_ERR5,4,2                       ## @ERR5
	.comm	_CHAR_RIGHT_CURLY_BRACKET,8,3   ## @CHAR_RIGHT_CURLY_BRACKET
	.comm	_ERR4,4,2                       ## @ERR4
	.no_dead_strip	_read_repeat_counts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_repeat_counts
_read_repeat_counts:                    ; @read_repeat_counts
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w23, #0
	mov	w25, #10
Lloh0:
	adrp	x24, _CHAR_0@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CHAR_0@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_IS_DIGIT
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19], #8
	ldr	w9, [x24]
	sub	w8, w8, w9
	madd	w23, w23, w25, w8
	cmp	w23, #16, lsl #12               ; =65536
	b.lt	LBB0_1
LBB0_3:
Lloh2:
	adrp	x8, _ERR5@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR5@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x22]
	b	LBB0_17
LBB0_5:
	mov	x27, x19
	ldr	x9, [x27], #16
Lloh4:
	adrp	x8, _CHAR_RIGHT_CURLY_BRACKET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CHAR_RIGHT_CURLY_BRACKET@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x25, x23
	b	LBB0_16
LBB0_7:
	ldr	x0, [x19, #8]!
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w25, #-1
	b	LBB0_16
LBB0_9:
	bl	_IS_DIGIT
	mov	w25, #0
	cbz	x0, LBB0_14
; %bb.10:
	mov	w26, #10
	mov	x19, x27
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldur	w8, [x19, #-8]
	ldr	w9, [x24]
	sub	w8, w8, w9
	madd	w25, w25, w26, w8
	cmp	w25, #16, lsl #12               ; =65536
	b.ge	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x19], #8
	bl	_IS_DIGIT
	cbnz	x0, LBB0_11
; %bb.13:
	sub	x19, x19, #8
LBB0_14:
	cmp	w25, w23
	b.ge	LBB0_16
; %bb.15:
Lloh7:
	adrp	x8, _ERR4@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR4@GOTPAGEOFF]
	b	LBB0_4
LBB0_16:
	str	w23, [x21]
	str	w25, [x20]
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CHAR_0,8,3                     ; @CHAR_0
	.comm	_ERR5,4,2                       ; @ERR5
	.comm	_CHAR_RIGHT_CURLY_BRACKET,8,3   ; @CHAR_RIGHT_CURLY_BRACKET
	.comm	_ERR4,4,2                       ; @ERR4
	.no_dead_strip	_read_repeat_counts
.subsections_via_symbols
