	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_interval_count
_get_interval_count:                    ## @get_interval_count
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	(%rdi), %r15d
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leal	-1(%r15), %r14d
	movq	(%rsi,%r14,8), %rax
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r13,%r14,8), %rdi
	leaq	-80(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %rbx
	movq	-80(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_5
LBB0_3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
                                        ## kill: def $r14d killed $r14d killed $r14
LBB0_11:
	movq	(%r13,%r12,8), %rax
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	(%r13,%r12,8), %rdi
	leaq	-80(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %rbx
	movq	-80(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_15
## %bb.14:
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_12:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	xorl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_8
LBB0_10:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	addl	$-2, %r15d
	movq	%r15, %r12
	movl	%r15d, %eax
	movl	%r14d, %r15d
	movl	%eax, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_15:
	testq	%rbx, %rbx
	jne	LBB0_17
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_gettext
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	xorl	%ebx, %ebx
LBB0_17:
	movl	%r14d, %r15d
LBB0_18:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rdi
	callq	_gettext
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	callq	_fprintf
	movq	_B_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	testl	%r14d, %r14d
	jne	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	xorl	%r15d, %r15d
LBB0_9:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_19:
	movq	%rbx, (%rdx)
	movq	%rax, (%r12)
	movl	%r15d, (%rdi)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interval cannot be zero\n"

	.comm	_B_FALSE,4,2                    ## @B_FALSE
	.no_dead_strip	_get_interval_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_interval_count
_get_interval_count:                    ; @get_interval_count
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x21, x2
	mov	x20, x0
	ldr	w25, [x0]
	subs	w26, w25, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x22, x1
	ldr	x8, [x1, w26, uxtw #3]
	ldrsb	w0, [x8]
	bl	_isdigit
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x22, x26, lsl #3]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_9
LBB0_3:
	mov	x24, #0
	mov	x28, x26
	mov	x27, x26
LBB0_4:
	ldr	x8, [x22, x28, lsl #3]
	ldrsb	w0, [x8]
	bl	_isdigit
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x0, [x22, x28, lsl #3]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_12
; %bb.6:
	mov	x23, #0
	b	LBB0_17
LBB0_7:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_17
LBB0_8:
	mov	x23, x24
	mov	x24, #0
	b	LBB0_17
LBB0_9:
	mov	x23, x0
	cbz	x0, LBB0_15
; %bb.10:
	cbz	w26, LBB0_16
LBB0_11:
	sub	w28, w25, #2
	mov	x27, x28
	mov	x25, x26
	mov	x24, x23
	b	LBB0_4
LBB0_12:
	mov	x23, x0
	cbnz	x0, LBB0_14
; %bb.13:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x22
	bl	_fprintf
Lloh5:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_usage
LBB0_14:
	mov	x25, x27
	b	LBB0_17
LBB0_15:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gettext
	mov	x1, x0
	mov	x0, x24
	bl	_fprintf
Lloh13:
	adrp	x8, _B_FALSE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _B_FALSE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_usage
	cbnz	w26, LBB0_11
LBB0_16:
	mov	x24, #0
	mov	w25, #0
LBB0_17:
	str	x23, [x21]
	str	x24, [x19]
	str	w25, [x20]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interval cannot be zero\n"

	.comm	_B_FALSE,4,2                    ; @B_FALSE
	.no_dead_strip	_get_interval_count
.subsections_via_symbols
