	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_date                     ## -- Begin function parse_date
	.p2align	4, 0x90
_parse_date:                            ## @parse_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	movq	_NUMBER@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_1
## %bb.4:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r13), %eax
	jne	LBB0_5
## %bb.6:
	movq	-48(%rbp), %rdi
	callq	_atoi
	leal	-1900(%rax), %r12d
	cmpl	$1901, %eax                     ## imm = 0x76D
	cmovll	%eax, %r12d
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	movq	_SLASH@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_7
## %bb.8:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r13), %eax
	jne	LBB0_9
## %bb.10:
	movq	-48(%rbp), %rdi
	callq	_atoi
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r14), %eax
	jne	LBB0_11
## %bb.12:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r13), %eax
	jne	LBB0_13
## %bb.14:
	movq	-48(%rbp), %rdi
	callq	_atoi
	movq	%rax, %r14
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r13), %eax
	jne	LBB0_15
## %bb.16:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	callq	_atoi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	movq	_COLON@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_17
## %bb.18:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r13), %eax
	jne	LBB0_19
## %bb.20:
	movq	-48(%rbp), %rdi
	callq	_atoi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r14), %eax
	jne	LBB0_17
## %bb.21:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	cmpl	(%r13), %eax
	jne	LBB0_19
## %bb.22:
	movq	-48(%rbp), %rdi
	callq	_atoi
	movq	%rax, %r14
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_next_token
	movq	_SEMI@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.24:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	decq	%rsi
	imull	$365, %r12d, %eax               ## imm = 0x16D
	leal	-69(%r12), %ecx
	leal	-66(%r12), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	addl	%edx, %eax
	addl	$-25550, %eax                   ## imm = 0x9C32
	testl	%esi, %esi
	je	LBB0_25
## %bb.26:
	movq	%rsi, %rcx
	shlq	$32, %rcx
	movabsq	$-4294967296, %rdx              ## imm = 0xFFFFFFFF00000000
	addq	%rcx, %rdx
	sarq	$30, %rdx
	leaq	_parse_date.months(%rip), %rcx
	movl	(%rdx,%rcx), %ecx
	jmp	LBB0_27
LBB0_1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_5:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_7:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_2
LBB0_9:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_2
LBB0_11:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_2
LBB0_13:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_2
LBB0_15:
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_2
LBB0_17:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_2
LBB0_19:
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rdi
LBB0_2:
	callq	_parse_warn
	movq	_SEMI@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	(%rax), %ebx
	je	LBB0_28
## %bb.3:
	movq	%r15, %rdi
	callq	_skip_to_semi
LBB0_28:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.9(%rip), %rdi
	callq	_parse_warn
	movq	%r15, %rdi
	callq	_skip_to_semi
	xorl	%r14d, %r14d
	jmp	LBB0_28
LBB0_25:
	xorl	%ecx, %ecx
LBB0_27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	$2, %esi
	setge	%dl
	testb	$3, %r12b
	sete	%bl
	andb	%dl, %bl
	movzbl	%bl, %edx
	addl	%edx, %eax
	addl	%edi, %eax
	addl	%ecx, %eax
	leal	(%rax,%rax,2), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax,8), %eax
	imull	$60, %eax, %eax
	addl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	imull	$60, %eax, %eax
	addl	%eax, %r14d
	addl	$-86400, %r14d                  ## imm = 0xFFFEAE80
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @parse_date.months
_parse_date.months:
	.long	31                              ## 0x1f
	.long	59                              ## 0x3b
	.long	90                              ## 0x5a
	.long	120                             ## 0x78
	.long	151                             ## 0x97
	.long	181                             ## 0xb5
	.long	212                             ## 0xd4
	.long	243                             ## 0xf3
	.long	273                             ## 0x111
	.long	304                             ## 0x130
	.long	334                             ## 0x14e

	.comm	_NUMBER,4,2                     ## @NUMBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"numeric day of week expected."

	.comm	_SEMI,4,2                       ## @SEMI
L_.str.1:                               ## @.str.1
	.asciz	"numeric year expected."

	.comm	_SLASH,4,2                      ## @SLASH
L_.str.2:                               ## @.str.2
	.asciz	"expected slash separating year from month."

L_.str.3:                               ## @.str.3
	.asciz	"numeric month expected."

L_.str.4:                               ## @.str.4
	.asciz	"expected slash separating month from day."

L_.str.5:                               ## @.str.5
	.asciz	"numeric day of month expected."

L_.str.6:                               ## @.str.6
	.asciz	"numeric hour expected."

	.comm	_COLON,4,2                      ## @COLON
L_.str.7:                               ## @.str.7
	.asciz	"expected colon separating hour from minute."

L_.str.8:                               ## @.str.8
	.asciz	"numeric minute expected."

L_.str.9:                               ## @.str.9
	.asciz	"semicolon expected."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_date                     ; -- Begin function parse_date
	.p2align	2
_parse_date:                            ; @parse_date
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
Lloh0:
	adrp	x26, _NUMBER@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NUMBER@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.1:
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.2:
	ldr	x0, [sp, #8]
	bl	_atoi
	subs	w8, w0, #1900
	csel	w25, w8, w0, gt
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
Lloh2:
	adrp	x22, _SLASH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SLASH@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.3:
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_17
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_atoi
	mov	x20, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.5:
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_23
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_atoi
	mov	x21, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_atoi
	mov	x22, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
Lloh4:
	adrp	x27, _COLON@GOTPAGE
Lloh5:
	ldr	x27, [x27, _COLON@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_26
; %bb.8:
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.9:
	ldr	x0, [sp, #8]
	bl	_atoi
	mov	x23, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x27]
	cmp	w0, w8
	b.ne	LBB0_29
; %bb.10:
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.11:
	ldr	x0, [sp, #8]
	bl	_atoi
	mov	x24, x0
	add	x0, sp, #8
	mov	x1, x19
	bl	_next_token
Lloh6:
	adrp	x8, _SEMI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_32
; %bb.12:
	mov	w8, #365
	mul	w8, w25, w8
	sub	w9, w25, #69
	sub	w10, w25, #66
	cmp	w9, #0
	csel	w9, w10, w9, lt
	add	w8, w8, w9, asr #2
	mov	w9, #-25550
	add	w8, w8, w9
	sub	x9, x20, #1
	cbz	w9, LBB0_33
; %bb.13:
	mov	x10, #-4294967296
	add	x10, x10, x9, lsl #32
	asr	x10, x10, #30
Lloh9:
	adrp	x11, _parse_date.months@PAGE
Lloh10:
	add	x11, x11, _parse_date.months@PAGEOFF
	ldr	w10, [x11, x10]
	b	LBB0_34
LBB0_14:
	mov	x20, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_18
LBB0_15:
	mov	x20, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_16:
	mov	x20, x0
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_17:
	mov	x20, x0
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_18:
	bl	_parse_warn
Lloh19:
	adrp	x8, _SEMI@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w20, w8
	b.eq	LBB0_20
LBB0_19:
	mov	x0, x19
	bl	_skip_to_semi
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
	mov	x21, x0
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_23:
	mov	x21, x0
Lloh24:
	adrp	x0, l_.str.5@PAGE
Lloh25:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_24:
	bl	_parse_warn
Lloh26:
	adrp	x8, _SEMI@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_19
	b	LBB0_20
LBB0_25:
	mov	x22, x0
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_parse_warn
Lloh31:
	adrp	x8, _SEMI@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_19
	b	LBB0_20
LBB0_26:
	mov	x23, x0
Lloh34:
	adrp	x0, l_.str.7@PAGE
Lloh35:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_28
LBB0_27:
	mov	x23, x0
Lloh36:
	adrp	x0, l_.str.8@PAGE
Lloh37:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_28:
	bl	_parse_warn
Lloh38:
	adrp	x8, _SEMI@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_19
	b	LBB0_20
LBB0_29:
	mov	x24, x0
Lloh41:
	adrp	x0, l_.str.7@PAGE
Lloh42:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_31
LBB0_30:
	mov	x24, x0
Lloh43:
	adrp	x0, l_.str.8@PAGE
Lloh44:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_31:
	bl	_parse_warn
Lloh45:
	adrp	x8, _SEMI@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SEMI@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_19
	b	LBB0_20
LBB0_32:
Lloh48:
	adrp	x0, l_.str.9@PAGE
Lloh49:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_parse_warn
	b	LBB0_19
LBB0_33:
	mov	w10, #0
LBB0_34:
	tst	w25, #0x3
	ccmp	w9, #1, #4, eq
	cinc	w8, w8, gt
	add	w8, w8, w21
	add	w8, w8, w10
	mov	w9, #24
	madd	w8, w8, w9, w22
	mov	w9, #60
	madd	w8, w8, w9, w23
	sub	w8, w8, #1440
	madd	w0, w8, w9, w24
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @parse_date.months
_parse_date.months:
	.long	31                              ; 0x1f
	.long	59                              ; 0x3b
	.long	90                              ; 0x5a
	.long	120                             ; 0x78
	.long	151                             ; 0x97
	.long	181                             ; 0xb5
	.long	212                             ; 0xd4
	.long	243                             ; 0xf3
	.long	273                             ; 0x111
	.long	304                             ; 0x130
	.long	334                             ; 0x14e

	.comm	_NUMBER,4,2                     ; @NUMBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"numeric day of week expected."

	.comm	_SEMI,4,2                       ; @SEMI
l_.str.1:                               ; @.str.1
	.asciz	"numeric year expected."

	.comm	_SLASH,4,2                      ; @SLASH
l_.str.2:                               ; @.str.2
	.asciz	"expected slash separating year from month."

l_.str.3:                               ; @.str.3
	.asciz	"numeric month expected."

l_.str.4:                               ; @.str.4
	.asciz	"expected slash separating month from day."

l_.str.5:                               ; @.str.5
	.asciz	"numeric day of month expected."

l_.str.6:                               ; @.str.6
	.asciz	"numeric hour expected."

	.comm	_COLON,4,2                      ; @COLON
l_.str.7:                               ; @.str.7
	.asciz	"expected colon separating hour from minute."

l_.str.8:                               ; @.str.8
	.asciz	"numeric minute expected."

l_.str.9:                               ; @.str.9
	.asciz	"semicolon expected."

.subsections_via_symbols
