	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cal_parse
_cal_parse:                             ## @cal_parse
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -200(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -192(%rbp)
	movq	_MAXCOUNT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%rbx), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movl	$0, -148(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -232(%rbp)
	movups	%xmm0, -216(%rbp)
	testq	%r12, %r12
	je	LBB0_1
## %bb.4:
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	leaq	-144(%rbp), %rdi
	leaq	-192(%rbp), %rsi
	movq	%r12, %rdx
	callq	_getline
	testl	%eax, %eax
	jle	LBB0_20
## %bb.5:
	movl	%eax, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -148(%rbp)
	je	LBB0_11
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-144(%rbp), %rdi
	leaq	-192(%rbp), %rsi
	movq	%r12, %rdx
	callq	_getline
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_20
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_37 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_48 Depth 2
	movq	-144(%rbp), %rdi
	cmpb	$35, (%rdi)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdi
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	leaq	-148(%rbp), %rdx
	callq	_token
	cmpl	$129, %eax
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$130, %eax
	jne	LBB0_10
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-144(%rbp), %r15
	movl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movzbl	-1(%r15,%rbx), %edi
	decq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %eax
	movb	$0, (%r15,%rax)
	cmpb	$0, (%r15)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_neaster@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	movl	$7, %esi
	callq	_REPLACE
	movq	_npaskha@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	$7, %esi
	callq	_REPLACE
	movq	_ncny@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rdi
	movl	$15, %esi
	callq	_REPLACE
	movq	_nnewmoon@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rdi
	movl	$8, %esi
	callq	_REPLACE
	movq	_nfullmoon@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rdi
	movl	$9, %esi
	callq	_REPLACE
	movq	_nmarequinox@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rdi
	movl	$11, %esi
	callq	_REPLACE
	movq	_nsepequinox@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rdi
	movl	$11, %esi
	callq	_REPLACE
	movq	_njunsolstice@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rdi
	movl	$12, %esi
	callq	_REPLACE
	movq	_ndecsolstice@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.9(%rip), %rdi
	movl	$12, %esi
	callq	_REPLACE
	movq	%r15, %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	$9, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	(%r15), %al
	cmpb	$9, %al
	jne	LBB0_25
## %bb.46:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, _cal_parse.count(%rip)
	jle	LBB0_19
## %bb.47:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_48:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_events@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r15, %rsi
	callq	_event_continue
	incq	%rbx
	movslq	_cal_parse.count(%rip), %rax
	cmpq	%rax, %rbx
	jl	LBB0_48
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_LC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$5, %r15
	movq	%r15, %rsi
	callq	_setlocale
	movq	_D_MD_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nl_langinfo
	xorl	%ecx, %ecx
	cmpb	$100, (%rax)
	sete	%cl
	movl	%ecx, _cal_parse.d_first(%rip)
	xorl	%eax, %eax
	callq	_setnnames
	jmp	LBB0_19
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$9, %r15
	movq	%r15, %rdi
	callq	_setnsequences
	jmp	LBB0_19
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%r15), %rbx
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movzbl	(%r15), %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	$9, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_19
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rax), %rbx
	decq	%rax
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r14
	movzbl	-2(%rbx), %edi
	callq	_isspace
	movq	%rax, %rcx
	decq	%rbx
	leaq	-1(%r14), %rax
	testq	%rcx, %rcx
	jne	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	(%rbx), %al
	movb	%al, -129(%rbp)                 ## 1-byte Spill
	movb	$0, (%rbx)
	movq	_extradata@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	leaq	-164(%rbp), %r8
	callq	_parsedaymonth
	movl	%eax, _cal_parse.count(%rip)
	testl	%eax, %eax
	je	LBB0_19
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	-129(%rbp), %cl                 ## 1-byte Reload
	movb	%cl, (%rbx)
	jns	LBB0_37
## %bb.33:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_debug@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdx
	callq	_fprintf
	movl	_cal_parse.count(%rip), %eax
LBB0_35:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$-1, %eax
	je	LBB0_19
## %bb.36:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %ecx
	subl	%eax, %ecx
	movl	%ecx, _cal_parse.count(%rip)
	movl	%ecx, %eax
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$9, 2(%r14)
	leaq	1(%r14), %r14
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	_cal_parse.d_first(%rip), %ecx
	testl	%ecx, %ecx
	jns	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_D_MD_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nl_langinfo
	xorl	%ecx, %ecx
	cmpb	$100, (%rax)
	sete	%cl
	movl	%ecx, _cal_parse.d_first(%rip)
	movl	_cal_parse.count(%rip), %eax
LBB0_40:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%eax, %eax
	jle	LBB0_19
## %bb.41:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-184(%rbp), %r15                ## 8-byte Reload
	movl	-4(%r15,%rbx,4), %eax
	decl	%eax
	movl	%eax, -248(%rbp)
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	-4(%rax,%rbx,4), %eax
	movl	%eax, -244(%rbp)
	movl	-4(%r13,%rbx,4), %eax
	movl	$-1900, %edx                    ## imm = 0xF894
	addl	%edx, %eax
	movl	%eax, -240(%rbp)
	testl	%ecx, %ecx
	leaq	L_.str.12(%rip), %rdx
	leaq	L_.str.13(%rip), %rax
	cmoveq	%rax, %rdx
	leaq	-128(%rbp), %rdi
	movl	$80, %esi
	leaq	-248(%rbp), %rcx
	callq	_strftime
	movq	_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=2
	movl	-4(%r13,%rbx,4), %edi
	movl	-4(%r15,%rbx,4), %esi
	movq	_F_VARIABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r8d, %r8d
	andl	%eax, -164(%rbp)
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	-4(%rax,%rbx,4), %edx
	setne	%r8b
	movq	_extradata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-4(%rax,%rbx,4), %eax
	subq	$8, %rsp
	leaq	-128(%rbp), %rcx
	movq	%r14, %r9
	pushq	%rax
	callq	_event_add
	addq	$16, %rsp
	movq	_events@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, -4(%rcx,%rbx,4)
	movslq	_cal_parse.count(%rip), %rax
	cmpq	%rax, %rbx
	jge	LBB0_19
## %bb.45:                              ##   in Loop: Header=BB0_42 Depth=2
	movl	_cal_parse.d_first(%rip), %ecx
	incq	%rbx
	jmp	LBB0_42
LBB0_20:
	movq	-144(%rbp), %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_fclose
	xorl	%eax, %eax
	movq	-176(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_2
LBB0_1:
	movl	$1, %eax
LBB0_2:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_3
## %bb.49:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-144(%rbp), %rdi
	callq	_free
	movl	$1, %eax
	movq	-176(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_2
LBB0_3:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @cal_parse.d_first
_cal_parse.d_first:
	.long	4294967295                      ## 0xffffffff

.zerofill __DATA,__bss,_cal_parse.count,4,2 ## @cal_parse.count
	.comm	_MAXCOUNT,4,2                   ## @MAXCOUNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LANG="

	.comm	_LC_ALL,4,2                     ## @LC_ALL
	.comm	_D_MD_ORDER,4,2                 ## @D_MD_ORDER
L_.str.1:                               ## @.str.1
	.asciz	"Easter="

	.comm	_neaster,4,2                    ## @neaster
L_.str.2:                               ## @.str.2
	.asciz	"Paskha="

	.comm	_npaskha,4,2                    ## @npaskha
L_.str.3:                               ## @.str.3
	.asciz	"ChineseNewYear="

	.comm	_ncny,4,2                       ## @ncny
L_.str.4:                               ## @.str.4
	.asciz	"NewMoon="

	.comm	_nnewmoon,4,2                   ## @nnewmoon
L_.str.5:                               ## @.str.5
	.asciz	"FullMoon="

	.comm	_nfullmoon,4,2                  ## @nfullmoon
L_.str.6:                               ## @.str.6
	.asciz	"MarEquinox="

	.comm	_nmarequinox,4,2                ## @nmarequinox
L_.str.7:                               ## @.str.7
	.asciz	"SepEquinox="

	.comm	_nsepequinox,4,2                ## @nsepequinox
L_.str.8:                               ## @.str.8
	.asciz	"JunSolstice="

	.comm	_njunsolstice,4,2               ## @njunsolstice
L_.str.9:                               ## @.str.9
	.asciz	"DecSolstice="

	.comm	_ndecsolstice,4,2               ## @ndecsolstice
L_.str.10:                              ## @.str.10
	.asciz	"SEQUENCE="

	.comm	_events,8,3                     ## @events
	.comm	_extradata,8,3                  ## @extradata
	.comm	_debug,8,3                      ## @debug
	.comm	_stderr,4,2                     ## @stderr
L_.str.11:                              ## @.str.11
	.asciz	"Ignored: %s\n"

L_.str.12:                              ## @.str.12
	.asciz	"%e %b"

L_.str.13:                              ## @.str.13
	.asciz	"%b %e"

L_.str.14:                              ## @.str.14
	.asciz	"got %s\n"

	.comm	_F_VARIABLE,4,2                 ## @F_VARIABLE
	.comm	_doall,4,2                      ## @doall
	.no_dead_strip	_cal_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cal_parse
_cal_parse:                             ; @cal_parse
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.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
	sub	sp, sp, #192
	mov	x20, x1
	mov	x19, x0
	mov	x13, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	stp	xzr, xzr, [x29, #-192]
Lloh3:
	adrp	x12, _MAXCOUNT@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MAXCOUNT@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	stur	wzr, [x29, #-196]
	movi.2d	v0, #0000000000000000
	stur	q0, [x29, #-232]
	stur	q0, [x29, #-216]
	cbz	x0, LBB0_45
; %bb.1:
	sub	x8, x29, #8
	stur	x13, [x8, #-256]                ; 8-byte Folded Spill
	sub	x0, x29, #184
	sub	x1, x29, #192
	mov	x2, x19
	bl	_getline
	cmp	w0, #1
	b.lt	LBB0_43
; %bb.2:
	mov	x25, x0
Lloh11:
	adrp	x24, _events@GOTPAGE
Lloh12:
	ldr	x24, [x24, _events@GOTPAGEOFF]
	adrp	x26, _cal_parse.count@PAGE
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x29, #-196]
	cbz	w8, LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x29, #184
	sub	x1, x29, #192
	mov	x2, x19
	bl	_getline
	mov	x25, x0
	cmp	w0, #0
	b.le	LBB0_43
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_34 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	ldur	x8, [x29, #-184]
	ldrb	w9, [x8]
	cmp	w9, #35
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x8, #1
	sub	x2, x29, #196
	mov	x1, x20
	bl	_token
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #130
	b.ne	LBB0_3
	b	LBB0_48
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	x28, [x29, #-184]
	mov	w8, w25
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	sub	x25, x8, #1
	add	x8, x28, x8
	ldurb	w0, [x8, #-1]
	bl	_isspace
	mov	x8, x25
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x25, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x28, w8, uxtw]
	ldrb	w8, [x28]
	cbz	w8, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh15:
	adrp	x8, _neaster@GOTPAGE
Lloh16:
	ldr	x8, [x8, _neaster@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #7
	bl	_REPLACE
Lloh20:
	adrp	x8, _npaskha@GOTPAGE
Lloh21:
	ldr	x8, [x8, _npaskha@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #7
	bl	_REPLACE
Lloh25:
	adrp	x8, _ncny@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ncny@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #15
	bl	_REPLACE
Lloh30:
	adrp	x8, _nnewmoon@GOTPAGE
Lloh31:
	ldr	x8, [x8, _nnewmoon@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #8
	bl	_REPLACE
Lloh35:
	adrp	x8, _nfullmoon@GOTPAGE
Lloh36:
	ldr	x8, [x8, _nfullmoon@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x0, l_.str.5@PAGE
Lloh39:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #9
	bl	_REPLACE
Lloh40:
	adrp	x8, _nmarequinox@GOTPAGE
Lloh41:
	ldr	x8, [x8, _nmarequinox@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x0, l_.str.6@PAGE
Lloh44:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #11
	bl	_REPLACE
Lloh45:
	adrp	x8, _nsepequinox@GOTPAGE
Lloh46:
	ldr	x8, [x8, _nsepequinox@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
Lloh48:
	adrp	x0, l_.str.7@PAGE
Lloh49:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w1, #11
	bl	_REPLACE
Lloh50:
	adrp	x8, _njunsolstice@GOTPAGE
Lloh51:
	ldr	x8, [x8, _njunsolstice@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
Lloh53:
	adrp	x0, l_.str.8@PAGE
Lloh54:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #12
	bl	_REPLACE
Lloh55:
	adrp	x8, _ndecsolstice@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ndecsolstice@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
Lloh58:
	adrp	x0, l_.str.9@PAGE
Lloh59:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	w1, #12
	bl	_REPLACE
	mov	x0, x28
Lloh60:
	adrp	x1, l_.str.10@PAGE
Lloh61:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w2, #9
	bl	_strncmp
	cbz	x0, LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w0, [x28]
	cmp	w0, #9
	b.ne	LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26, _cal_parse.count@PAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, #0
LBB0_19:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	w0, [x8, x25, lsl #2]
	mov	x1, x28
	bl	_event_continue
	add	x25, x25, #1
	ldrsw	x8, [x26, _cal_parse.count@PAGEOFF]
	cmp	x25, x8
	b.lt	LBB0_19
	b	LBB0_4
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh62:
	adrp	x8, _LC_ALL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _LC_ALL@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
	add	x1, x28, #5
	bl	_setlocale
Lloh65:
	adrp	x8, _D_MD_ORDER@GOTPAGE
Lloh66:
	ldr	x8, [x8, _D_MD_ORDER@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
	bl	_nl_langinfo
	ldrb	w8, [x0]
	cmp	w8, #100
	cset	w8, eq
	adrp	x9, _cal_parse.d_first@PAGE
	str	w8, [x9, _cal_parse.d_first@PAGEOFF]
	bl	_setnnames
	b	LBB0_4
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x28, #9
	bl	_setnsequences
	b	LBB0_4
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_isspace
	cbz	x0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x28, #1
LBB0_24:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	bl	_strlen
	mov	x2, x0
	mov	x0, x28
	mov	x1, x25
	bl	_memcpy
	ldrb	w0, [x28]
	bl	_isspace
	cbnz	x0, LBB0_24
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	mov	w1, #9
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x0, #1
	sub	x8, x0, #1
LBB0_27:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x25, x8
	ldurb	w0, [x27, #-2]
	bl	_isspace
	sub	x27, x27, #1
	sub	x8, x25, #1
	cbnz	x0, LBB0_27
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x27]
	sub	x9, x29, #12
	stur	w8, [x9, #-256]                 ; 4-byte Folded Spill
	strb	wzr, [x27]
Lloh68:
	adrp	x8, _extradata@GOTPAGE
Lloh69:
	ldr	x8, [x8, _extradata@GOTPAGEOFF]
Lloh70:
	ldr	x5, [x8]
	sub	x4, x29, #252
	mov	x0, x28
	mov	x1, x23
	mov	x2, x21
	mov	x3, x22
	bl	_parsedaymonth
	str	w0, [x26, _cal_parse.count@PAGEOFF]
	cbz	w0, LBB0_4
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x29, #12
	ldur	w8, [x8, #-256]                 ; 4-byte Folded Reload
	strb	w8, [x27]
	tbz	w0, #31, LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh71:
	adrp	x8, _debug@GOTPAGE
Lloh72:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh73:
	ldr	x8, [x8]
	cbz	x8, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh74:
	adrp	x8, _stderr@GOTPAGE
Lloh75:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.11@PAGE
Lloh78:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x28
	bl	_fprintf
	ldr	w0, [x26, _cal_parse.count@PAGEOFF]
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
	sub	w0, w8, w0
	str	w0, [x26, _cal_parse.count@PAGEOFF]
LBB0_34:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25, #2]
	add	x25, x25, #1
	cmp	w8, #9
	b.eq	LBB0_34
; %bb.35:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh79:
	adrp	x8, _cal_parse.d_first@PAGE
Lloh80:
	ldr	w8, [x8, _cal_parse.d_first@PAGEOFF]
	tbz	w8, #31, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh81:
	adrp	x8, _D_MD_ORDER@GOTPAGE
Lloh82:
	ldr	x8, [x8, _D_MD_ORDER@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	bl	_nl_langinfo
	ldrb	w8, [x0]
	cmp	w8, #100
	cset	w8, eq
	adrp	x9, _cal_parse.d_first@PAGE
	str	w8, [x9, _cal_parse.d_first@PAGEOFF]
	ldr	w0, [x26, _cal_parse.count@PAGEOFF]
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.38:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, #0
LBB0_39:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x27, x28, #2
	ldr	w9, [x21, x27]
	sub	w9, w9, #1
	ldr	w10, [x22, x27]
	stp	w9, w10, [x29, #-248]
	ldr	w9, [x23, x27]
	sub	w9, w9, #1900
	stur	w9, [x29, #-240]
	cmp	w8, #0
Lloh84:
	adrp	x8, l_.str.12@PAGE
Lloh85:
	add	x8, x8, l_.str.12@PAGEOFF
Lloh86:
	adrp	x9, l_.str.13@PAGE
Lloh87:
	add	x9, x9, l_.str.13@PAGEOFF
	csel	x2, x9, x8, eq
	sub	x0, x29, #176
	sub	x3, x29, #248
	mov	w1, #80
	bl	_strftime
Lloh88:
	adrp	x8, _debug@GOTPAGE
Lloh89:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh90:
	ldr	x8, [x8]
	cbz	x8, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
Lloh91:
	adrp	x8, _stderr@GOTPAGE
Lloh92:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh93:
	ldr	w0, [x8]
Lloh94:
	adrp	x1, l_.str.14@PAGE
Lloh95:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x2, x25
	bl	_fprintf
LBB0_41:                                ;   in Loop: Header=BB0_39 Depth=2
	ldr	w0, [x23, x27]
	ldr	w1, [x21, x27]
	ldr	w2, [x22, x27]
Lloh96:
	adrp	x8, _F_VARIABLE@GOTPAGE
Lloh97:
	ldr	x8, [x8, _F_VARIABLE@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	ldur	w9, [x29, #-252]
	ands	w8, w9, w8
	stur	w8, [x29, #-252]
	cset	w4, ne
Lloh99:
	adrp	x8, _extradata@GOTPAGE
Lloh100:
	ldr	x8, [x8, _extradata@GOTPAGEOFF]
Lloh101:
	ldr	x8, [x8]
	ldr	w6, [x8, x27]
	sub	x3, x29, #176
	mov	x5, x25
	bl	_event_add
	ldr	x8, [x24]
	str	w0, [x8, x27]
	add	x28, x28, #1
	ldrsw	x8, [x26, _cal_parse.count@PAGEOFF]
	cmp	x28, x8
	b.ge	LBB0_4
; %bb.42:                               ;   in Loop: Header=BB0_39 Depth=2
Lloh102:
	adrp	x8, _cal_parse.d_first@PAGE
Lloh103:
	ldr	w8, [x8, _cal_parse.d_first@PAGEOFF]
	b	LBB0_39
LBB0_43:
	ldur	x0, [x29, #-184]
	bl	_free
	mov	x0, x19
	bl	_fclose
	mov	w0, #0
LBB0_44:
	sub	x8, x29, #8
	ldur	x13, [x8, #-256]                ; 8-byte Folded Reload
	b	LBB0_46
LBB0_45:
	mov	w0, #1
LBB0_46:
	mov	sp, x13
	ldur	x8, [x29, #-96]
Lloh104:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh105:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh106:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.47:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_48:
	ldur	x0, [x29, #-184]
	bl	_free
	mov	w0, #1
	b	LBB0_44
LBB0_49:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdr	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdr	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @cal_parse.d_first
_cal_parse.d_first:
	.long	4294967295                      ; 0xffffffff

.zerofill __DATA,__bss,_cal_parse.count,4,2 ; @cal_parse.count
	.comm	_MAXCOUNT,4,2                   ; @MAXCOUNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LANG="

	.comm	_LC_ALL,4,2                     ; @LC_ALL
	.comm	_D_MD_ORDER,4,2                 ; @D_MD_ORDER
l_.str.1:                               ; @.str.1
	.asciz	"Easter="

	.comm	_neaster,4,2                    ; @neaster
l_.str.2:                               ; @.str.2
	.asciz	"Paskha="

	.comm	_npaskha,4,2                    ; @npaskha
l_.str.3:                               ; @.str.3
	.asciz	"ChineseNewYear="

	.comm	_ncny,4,2                       ; @ncny
l_.str.4:                               ; @.str.4
	.asciz	"NewMoon="

	.comm	_nnewmoon,4,2                   ; @nnewmoon
l_.str.5:                               ; @.str.5
	.asciz	"FullMoon="

	.comm	_nfullmoon,4,2                  ; @nfullmoon
l_.str.6:                               ; @.str.6
	.asciz	"MarEquinox="

	.comm	_nmarequinox,4,2                ; @nmarequinox
l_.str.7:                               ; @.str.7
	.asciz	"SepEquinox="

	.comm	_nsepequinox,4,2                ; @nsepequinox
l_.str.8:                               ; @.str.8
	.asciz	"JunSolstice="

	.comm	_njunsolstice,4,2               ; @njunsolstice
l_.str.9:                               ; @.str.9
	.asciz	"DecSolstice="

	.comm	_ndecsolstice,4,2               ; @ndecsolstice
l_.str.10:                              ; @.str.10
	.asciz	"SEQUENCE="

	.comm	_events,8,3                     ; @events
	.comm	_extradata,8,3                  ; @extradata
	.comm	_debug,8,3                      ; @debug
	.comm	_stderr,4,2                     ; @stderr
l_.str.11:                              ; @.str.11
	.asciz	"Ignored: %s\n"

l_.str.12:                              ; @.str.12
	.asciz	"%e %b"

l_.str.13:                              ; @.str.13
	.asciz	"%b %e"

l_.str.14:                              ; @.str.14
	.asciz	"got %s\n"

	.comm	_F_VARIABLE,4,2                 ; @F_VARIABLE
	.comm	_doall,4,2                      ; @doall
	.no_dead_strip	_cal_parse
.subsections_via_symbols
