	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function date_get_num
_date_get_num:                          ## @date_get_num
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.1:
	movl	%ecx, %ebx
	movq	%rdi, %r13
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12), %r15d
	movl	%r15d, %edi
	callq	_av_isdigit
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r14,%r14,4), %eax
	leal	(%r15,%rax,2), %r14d
	addl	$-48, %r14d
	incq	%r12
	decl	%ebx
	jne	LBB0_2
LBB0_4:
	cmpq	(%r13), %r12
	je	LBB0_9
## %bb.5:
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jl	LBB0_9
## %bb.6:
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movl	$-1, %eax
	jg	LBB0_10
## %bb.7:
	movq	%r12, (%r13)
	movl	%r14d, %eax
	jmp	LBB0_10
LBB0_9:
	movl	$-1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_date_get_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function date_get_num
_date_get_num:                          ; @date_get_num
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w3, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w24, #0
	ldr	x25, [x0]
	mov	w26, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w23, [x25]
	mov	x0, x23
	bl	_av_isdigit
	cbz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	madd	w8, w24, w26, w23
	sub	w24, w8, #48
	add	x25, x25, #1
	subs	w22, w22, #1
	b.ne	LBB0_2
LBB0_4:
	ldr	x8, [x19]
	mov	w0, #-1
	cmp	x25, x8
	b.eq	LBB0_9
; %bb.5:
	cmp	w24, w21
	b.lt	LBB0_9
; %bb.6:
	cmp	w24, w20
	b.gt	LBB0_9
; %bb.7:
	str	x25, [x19]
	mov	x0, x24
	b	LBB0_9
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_date_get_num
.subsections_via_symbols
