	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_raw_date
_validate_raw_date:                     ## @validate_raw_date
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	movl	$-1, %r14d
	cmpq	$0, (%r13)
	je	LBB0_1
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-48(%rbp), %r12
	cmpq	%rbx, %r12
	je	LBB0_10
## %bb.2:
	cmpb	$32, (%r12)
	jne	LBB0_10
## %bb.3:
	movb	1(%r12), %al
	cmpb	$45, %al
	je	LBB0_5
## %bb.4:
	cmpb	$43, %al
	jne	LBB0_10
LBB0_5:
	addq	$2, %r12
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movl	$10, %edx
	callq	_strtoul
	cmpq	$0, (%r13)
	jne	LBB0_10
## %bb.6:
	movq	-48(%rbp), %rcx
	cmpq	%r12, %rcx
	je	LBB0_10
## %bb.7:
	cmpb	$0, (%rcx)
	jne	LBB0_10
## %bb.8:
	cmpq	$1400, %rax                     ## imm = 0x578
	ja	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_addstr
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	_validate_raw_date
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_raw_date
_validate_raw_date:                     ; @validate_raw_date
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtoul
	ldr	x8, [x22]
	cbz	x8, LBB0_3
LBB0_1:
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	ldr	x8, [sp, #8]
	cmp	x8, x19
	b.eq	LBB0_1
; %bb.4:
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_1
; %bb.5:
	ldrb	w9, [x8, #1]
	cmp	w9, #45
	b.eq	LBB0_7
; %bb.6:
	cmp	w9, #43
	b.ne	LBB0_1
LBB0_7:
	add	x21, x8, #2
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtoul
	ldr	x9, [x22]
	cbnz	x9, LBB0_1
; %bb.8:
	ldr	x9, [sp, #8]
	cmp	x9, x21
	b.eq	LBB0_1
; %bb.9:
	mov	x8, x0
	ldrb	w9, [x9]
	mov	w0, #-1
	cbnz	w9, LBB0_2
; %bb.10:
	cmp	x8, #1400
	b.hi	LBB0_2
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_strbuf_addstr
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	_validate_raw_date
.subsections_via_symbols
