	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timelib_get_nr
_timelib_get_nr:                        ## @timelib_get_nr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movb	(%r14), %al
	leal	-58(%rax), %ecx
	cmpb	$-11, %cl
	ja	LBB0_7
## %bb.1:
	incq	%r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, (%rdi)
	movzbl	(%r14), %eax
	leal	-58(%rax), %ecx
	incq	%r14
	cmpb	$-10, %cl
	jb	LBB0_2
## %bb.6:
	decq	%r14
LBB0_7:
	movq	%r14, %rbx
	testl	%esi, %esi
	jle	LBB0_12
## %bb.8:
	leaq	1(%r14), %rbx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%rdi)
	movzbl	(%rbx), %ecx
	addb	$-48, %cl
	incq	%rbx
	cmpb	$9, %cl
	ja	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	1(%rax), %ecx
	cmpl	%esi, %eax
	movl	%ecx, %eax
	jl	LBB0_9
LBB0_11:
	decq	%rbx
LBB0_12:
	subl	%r14d, %ebx
	leal	1(%rbx), %esi
	movl	$1, %edi
	callq	_timelib_calloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoll
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_timelib_free
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_3:
	movq	_TIMELIB_UNSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMELIB_UNSET,4,2              ## @TIMELIB_UNSET
	.no_dead_strip	_timelib_get_nr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timelib_get_nr
_timelib_get_nr:                        ; @timelib_get_nr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x19, [x0]
	ldrb	w8, [x19]
	sub	w9, w8, #58
	cmn	w9, #11
	b.hi	LBB0_5
; %bb.1:
	add	x9, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w8, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x9, [x0]
	ldrb	w8, [x9], #1
	sub	w10, w8, #58
	cmn	w10, #10
	b.lo	LBB0_2
; %bb.4:
	sub	x19, x9, #1
LBB0_5:
	mov	x8, x19
	cmp	w1, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x8, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x19, x8
	add	x10, x9, #1
	str	x10, [x0]
	add	x8, x8, #1
	ldrb	w9, [x9, #1]
	sub	w9, w9, #48
	cmp	w9, #9
	ccmp	w8, w1, #0, ls
	b.lt	LBB0_7
; %bb.8:
	add	x8, x19, x8
LBB0_9:
	sub	w20, w8, w19
	add	w1, w20, #1
	mov	w0, #1
	bl	_timelib_calloc
	mov	x21, x0
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	mov	x0, x21
	mov	x1, #0
	mov	w2, #10
	bl	_strtoll
	mov	x19, x0
	mov	x0, x21
	bl	_timelib_free
	mov	x0, x19
	b	LBB0_11
LBB0_10:
Lloh0:
	adrp	x8, _TIMELIB_UNSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIMELIB_UNSET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMELIB_UNSET,4,2              ; @TIMELIB_UNSET
	.no_dead_strip	_timelib_get_nr
.subsections_via_symbols
