	.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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -40(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %r15
	cmpl	$0, (%rdi)
	je	LBB0_32
## %bb.1:
	leaq	-56(%rbp), %rdi
	callq	_GetLocalTime
	movq	$0, -56(%rbp)
	leaq	-52(%rbp), %r14
	leaq	-48(%rbp), %r12
	movl	$0, -48(%rbp)
	movq	_nDateFormat@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-40(%rbp), %rdi
	cmpl	$1, %eax
	je	LBB0_9
## %bb.2:
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.12:
	leaq	-56(%rbp), %rsi
	callq	_ReadNumber
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.13:
	leaq	-40(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_33
## %bb.14:
	leaq	-40(%rbp), %rdi
	movq	%r12, %rsi
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_33
## %bb.15:
	leaq	-40(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_33
## %bb.16:
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	jmp	LBB0_17
LBB0_9:
	movq	%r14, %rsi
	callq	_ReadNumber
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.10:
	leaq	-40(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_33
## %bb.11:
	leaq	-40(%rbp), %rdi
	movq	%r12, %rsi
	jmp	LBB0_6
LBB0_3:
	movq	%r12, %rsi
	callq	_ReadNumber
	movq	_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.4:
	leaq	-40(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_33
## %bb.5:
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
LBB0_6:
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_33
## %bb.7:
	leaq	-40(%rbp), %rdi
	callq	_ReadSeparator
	testl	%eax, %eax
	je	LBB0_33
## %bb.8:
	leaq	-40(%rbp), %rdi
	leaq	-56(%rbp), %rsi
LBB0_17:
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_33
## %bb.18:
	movl	-56(%rbp), %eax
	cmpl	$99, %eax
	jg	LBB0_23
## %bb.19:
	cmpl	$80, %eax
	jl	LBB0_21
## %bb.20:
	addl	$1900, %eax                     ## imm = 0x76C
	jmp	LBB0_22
LBB0_21:
	addl	$2000, %eax                     ## imm = 0x7D0
LBB0_22:
	movl	%eax, -56(%rbp)
LBB0_23:
	testb	$3, %al
	jne	LBB0_25
## %bb.24:
	movslq	%eax, %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	imull	$100, %ecx, %edx
	movl	%eax, %esi
	movl	$1, %ecx
	subl	%edx, %esi
	jne	LBB0_26
LBB0_25:
	imull	$-1030792151, %eax, %edx        ## imm = 0xC28F5C29
	addl	$85899344, %edx                 ## imm = 0x51EB850
	rorl	$4, %edx
	xorl	%ecx, %ecx
	cmpl	$10737419, %edx                 ## imm = 0xA3D70B
	setb	%cl
LBB0_26:
	movl	-48(%rbp), %edx
	leal	-1(%rdx), %esi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	cmpl	$11, %esi
	ja	LBB0_33
## %bb.27:
	movl	-52(%rbp), %esi
	testl	%esi, %esi
	jle	LBB0_33
## %bb.28:
	movq	_awMonths@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi,%rcx,8), %rcx
	cmpl	(%rcx,%rdx,4), %esi
	jg	LBB0_33
## %bb.29:
	cmpl	$1980, %eax                     ## imm = 0x7BC
	jl	LBB0_33
## %bb.30:
	cmpl	$2099, %eax                     ## imm = 0x833
	jg	LBB0_33
## %bb.31:
	leaq	-56(%rbp), %rdi
	callq	_SetLocalTime
LBB0_32:
	movq	%r15, %rbx
LBB0_33:
	movl	(%rbx), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_nDateFormat,4,2                ## @nDateFormat
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_awMonths,8,3                   ## @awMonths
	.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, #64
	.cfi_def_cfa_offset 64
	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
	str	x0, [sp, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_32
; %bb.1:
	add	x20, sp, #16
	add	x0, sp, #16
	bl	_GetLocalTime
	orr	x19, x20, #0x4
	str	xzr, [sp, #16]
	add	x20, x20, #8
	str	wzr, [sp, #24]
Lloh0:
	adrp	x8, _nDateFormat@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nDateFormat@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x0, sp, #8
	cmp	w8, #1
	b.eq	LBB0_8
; %bb.2:
	cmp	w8, #2
	b.ne	LBB0_11
; %bb.3:
	add	x1, sp, #16
	bl	_ReadNumber
	cbz	w0, LBB0_19
; %bb.4:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_19
; %bb.5:
	add	x0, sp, #8
	mov	x1, x20
	bl	_ReadNumber
	cbz	w0, LBB0_19
; %bb.6:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_19
; %bb.7:
	add	x0, sp, #8
	mov	x1, x19
	bl	_ReadNumber
	cbnz	w0, LBB0_16
	b	LBB0_19
LBB0_8:
	mov	x1, x19
	bl	_ReadNumber
	cbz	w0, LBB0_19
; %bb.9:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_19
; %bb.10:
	add	x0, sp, #8
	mov	x1, x20
	bl	_ReadNumber
	cbnz	w0, LBB0_14
	b	LBB0_19
LBB0_11:
	mov	x1, x20
	bl	_ReadNumber
	cbz	w0, LBB0_19
; %bb.12:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_19
; %bb.13:
	add	x0, sp, #8
	mov	x1, x19
	bl	_ReadNumber
	cbz	w0, LBB0_19
LBB0_14:
	add	x0, sp, #8
	bl	_ReadSeparator
	cbz	w0, LBB0_19
; %bb.15:
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_ReadNumber
	cbz	w0, LBB0_19
LBB0_16:
	ldr	w9, [sp, #16]
	cmp	w9, #99
	b.gt	LBB0_22
; %bb.17:
	cmp	w9, #80
	b.lt	LBB0_20
; %bb.18:
	add	w9, w9, #1900
	b	LBB0_21
LBB0_19:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_33
LBB0_20:
	add	w9, w9, #2000
LBB0_21:
	str	w9, [sp, #16]
LBB0_22:
	tst	w9, #0x3
	b.ne	LBB0_25
; %bb.23:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w9, w8
	lsr	x10, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w10
	mov	w10, #100
	msub	w8, w8, w10, w9
	cbz	w8, LBB0_25
; %bb.24:
	mov	w10, #1
	b	LBB0_26
LBB0_25:
	mov	w8, #23593
	movk	w8, #49807, lsl #16
	mov	w10, #47184
	movk	w10, #1310, lsl #16
	madd	w8, w9, w8, w10
	ror	w8, w8, #4
	mov	w10, #55051
	movk	w10, #163, lsl #16
	cmp	w8, w10
	cset	w10, lo
LBB0_26:
	ldr	w11, [sp, #24]
	sub	w12, w11, #1
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cmp	w12, #11
	b.hi	LBB0_33
; %bb.27:
	ldr	w12, [sp, #20]
	cmp	w12, #1
	b.lt	LBB0_33
; %bb.28:
Lloh7:
	adrp	x8, _awMonths@GOTPAGE
Lloh8:
	ldr	x8, [x8, _awMonths@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x8, [x8, x10, lsl #3]
	ldr	w10, [x8, x11, lsl #2]
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	cmp	w12, w10
	b.gt	LBB0_33
; %bb.29:
	cmp	w9, #1980
	b.lt	LBB0_33
; %bb.30:
	cmp	w9, #2099
	b.gt	LBB0_33
; %bb.31:
	add	x0, sp, #16
	bl	_SetLocalTime
LBB0_32:
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_33:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_nDateFormat,4,2                ; @nDateFormat
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_awMonths,8,3                   ; @awMonths
	.no_dead_strip	_ParseDate
.subsections_via_symbols
