	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseDate
_ParseDate:                             ## @ParseDate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	$0, -52(%rbp)
	movq	%rdi, -24(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rdi)
	je	LBB0_25
## %bb.1:
	movl	%esi, %r14d
	movq	_LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LOCALE_IDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-52(%rbp), %rdx
	movl	$4, %ecx
	callq	_GetLocaleInfoW
	movl	-52(%rbp), %eax
	cmpl	$1, %eax
	je	LBB0_9
## %bb.2:
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.12:
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdi
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.13:
	leaq	-24(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_25
## %bb.14:
	leaq	-24(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.15:
	leaq	-24(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_25
## %bb.16:
	leaq	-44(%rbp), %rsi
	jmp	LBB0_17
LBB0_9:
	leaq	-44(%rbp), %rsi
	leaq	-24(%rbp), %rdi
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.10:
	leaq	-24(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_25
## %bb.11:
	leaq	-24(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	jmp	LBB0_6
LBB0_3:
	leaq	-24(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.4:
	leaq	-24(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_25
## %bb.5:
	leaq	-44(%rbp), %rsi
	leaq	-24(%rbp), %rdi
LBB0_6:
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.7:
	leaq	-24(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_25
## %bb.8:
	leaq	-40(%rbp), %rsi
LBB0_17:
	leaq	-24(%rbp), %rdi
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.18:
	movl	-40(%rbp), %eax
	cmpl	$99, %eax
	jg	LBB0_20
## %bb.19:
	leal	2000(%rax), %ecx
	leal	1900(%rax), %edx
	cmpl	$80, %eax
	cmovll	%ecx, %edx
	movl	%edx, -40(%rbp)
LBB0_20:
	leaq	-48(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_SystemTimeToFileTime
	testl	%eax, %eax
	je	LBB0_25
## %bb.21:
	leaq	-80(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_LocalFileTimeToFileTime
	testl	%eax, %eax
	je	LBB0_25
## %bb.22:
	movq	-72(%rbp), %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rdi
	movl	%r14d, %esi
	callq	_RtlTimeToSecondsSince1970
	testl	%eax, %eax
	jne	LBB0_23
## %bb.24:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_25
LBB0_23:
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_25:
	movl	(%rbx), %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_LOCALE_USER_DEFAULT,4,2        ## @LOCALE_USER_DEFAULT
	.comm	_LOCALE_IDATE,4,2               ## @LOCALE_IDATE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ParseDate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseDate
_ParseDate:                             ; @ParseDate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	stp	xzr, xzr, [x29, #-32]
	str	wzr, [sp, #20]
	str	x0, [sp, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_22
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _LOCALE_USER_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCALE_USER_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _LOCALE_IDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOCALE_IDATE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #20
	mov	w3, #4
	bl	_GetLocaleInfoW
	ldr	w8, [sp, #20]
	cmp	w8, #1
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #2
	b.ne	LBB0_11
; %bb.3:
	sub	x8, x29, #32
	add	x1, x8, #8
	add	x0, sp, #8
	bl	_ReadNumber
	cbz	w0, LBB0_22
; %bb.4:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_22
; %bb.5:
	add	x0, sp, #8
	sub	x1, x29, #32
	bl	_ReadNumber
	cbz	w0, LBB0_22
; %bb.6:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_22
; %bb.7:
	sub	x8, x29, #32
	orr	x1, x8, #0x4
	b	LBB0_16
LBB0_8:
	sub	x8, x29, #32
	orr	x1, x8, #0x4
	add	x0, sp, #8
	bl	_ReadNumber
	cbz	w0, LBB0_22
; %bb.9:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_22
; %bb.10:
	add	x0, sp, #8
	sub	x1, x29, #32
	bl	_ReadNumber
	cbnz	w0, LBB0_14
	b	LBB0_22
LBB0_11:
	add	x0, sp, #8
	sub	x1, x29, #32
	bl	_ReadNumber
	cbz	w0, LBB0_22
; %bb.12:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_22
; %bb.13:
	sub	x8, x29, #32
	orr	x1, x8, #0x4
	add	x0, sp, #8
	bl	_ReadNumber
	cbz	w0, LBB0_22
LBB0_14:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_22
; %bb.15:
	sub	x8, x29, #32
	add	x1, x8, #8
LBB0_16:
	add	x0, sp, #8
	bl	_ReadNumber
	cbz	w0, LBB0_22
; %bb.17:
	ldur	w8, [x29, #-24]
	cmp	w8, #99
	b.gt	LBB0_19
; %bb.18:
	mov	w9, #2000
	mov	w10, #1900
	cmp	w8, #79
	csel	w9, w10, w9, gt
	add	w8, w8, w9
	stur	w8, [x29, #-24]
LBB0_19:
	sub	x0, x29, #32
	add	x1, sp, #40
	bl	_SystemTimeToFileTime
	cbz	w0, LBB0_22
; %bb.20:
	add	x0, sp, #40
	add	x1, sp, #32
	bl	_LocalFileTimeToFileTime
Lloh6:
	adrp	x20, _FALSE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	cbz	w0, LBB0_23
; %bb.21:
	ldr	d0, [sp, #32]
	str	d0, [sp, #24]
	add	x0, sp, #24
	mov	x1, x19
	bl	_RtlTimeToSecondsSince1970
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x20, x20, x8, eq
	b	LBB0_23
LBB0_22:
Lloh10:
	adrp	x20, _FALSE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_LOCALE_USER_DEFAULT,4,2        ; @LOCALE_USER_DEFAULT
	.comm	_LOCALE_IDATE,4,2               ; @LOCALE_IDATE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ParseDate
.subsections_via_symbols
