	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_years
_do_years:                              ## @do_years
	.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
	movl	%edi, %r14d
	leal	38029(%r14), %eax
	xorl	%ebx, %ebx
	cmpl	$79999, %eax                    ## imm = 0x1387F
	jb	LBB0_2
## %bb.1:
	leal	-1970(%r14), %eax
	cltq
	imulq	$1759218605, %rax, %rax         ## imm = 0x68DB8BAD
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$46, %rax
	addl	%ecx, %eax
	imull	$-40000, %eax, %ecx             ## imm = 0xFFFF63C0
	addl	%r14d, %ecx
	movq	_SECS_PER_ERA@GOTPCREL(%rip), %rdx
	imull	(%rdx), %eax
	imull	$100, %eax, %ebx
	movl	%ecx, %r14d
LBB0_2:
	cmpl	$1969, %r14d                    ## imm = 0x7B1
	jle	LBB0_3
## %bb.7:
	cmpl	$1970, %r14d                    ## imm = 0x7B2
	jne	LBB0_8
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1970, %r15d                    ## imm = 0x7B2
	movq	_DAYS_PER_LYEAR@GOTPCREL(%rip), %r12
	movq	_SECS_PER_DAY@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %eax
	imull	(%rcx), %eax
	subl	%eax, %ebx
	cmpl	%r14d, %r15d
	jle	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r15d
	movl	%r15d, %edi
	callq	_timelib_is_leap
	movq	%r12, %rcx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_DAYS_PER_YEAR@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_8:
	incl	%r14d
	movq	_DAYS_PER_LYEAR@GOTPCREL(%rip), %r15
	movq	_DAYS_PER_YEAR@GOTPCREL(%rip), %r12
	movq	_SECS_PER_DAY@GOTPCREL(%rip), %r13
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13), %eax
	imull	(%rcx), %eax
	addl	%eax, %ebx
	decl	%r14d
	cmpl	$1971, %r14d                    ## imm = 0x7B3
	jbe	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r14), %edi
	callq	_timelib_is_leap
	movq	%r15, %rcx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rcx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SECS_PER_ERA,4,2               ## @SECS_PER_ERA
	.comm	_DAYS_PER_LYEAR,4,2             ## @DAYS_PER_LYEAR
	.comm	_SECS_PER_DAY,4,2               ## @SECS_PER_DAY
	.comm	_DAYS_PER_YEAR,4,2              ## @DAYS_PER_YEAR
	.no_dead_strip	_do_years
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_years
_do_years:                              ; @do_years
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	mov	w8, #38029
	mov	w9, #14463
	movk	w9, #1, lsl #16
	add	w8, w0, w8
	cmp	w8, w9
	b.hs	LBB0_4
; %bb.1:
	mov	w19, #0
	cmp	w20, #1969
	b.gt	LBB0_5
LBB0_2:
	mov	w21, #1970
Lloh0:
	adrp	x22, _DAYS_PER_YEAR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DAYS_PER_YEAR@GOTPAGEOFF]
Lloh2:
	adrp	x23, _DAYS_PER_LYEAR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DAYS_PER_LYEAR@GOTPAGEOFF]
Lloh4:
	adrp	x24, _SECS_PER_DAY@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SECS_PER_DAY@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	mov	x0, x21
	bl	_timelib_is_leap
	cmp	x0, #0
	csel	x8, x22, x23, eq
	ldr	w8, [x8]
	ldr	w9, [x24]
	msub	w19, w9, w8, w19
	cmp	w21, w20
	b.gt	LBB0_3
	b	LBB0_8
LBB0_4:
	sub	w8, w20, #1970
	mov	w9, #35757
	movk	w9, #26843, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #46
	add	w8, w8, w9
	mov	w9, #-40000
	madd	w20, w8, w9, w20
Lloh6:
	adrp	x9, _SECS_PER_ERA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SECS_PER_ERA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w8, w8, w9
	mov	w9, #100
	mul	w19, w8, w9
	cmp	w20, #1969
	b.le	LBB0_2
LBB0_5:
	cmp	w20, #1970
	b.eq	LBB0_8
; %bb.6:
	add	w20, w20, #1
Lloh9:
	adrp	x21, _DAYS_PER_YEAR@GOTPAGE
Lloh10:
	ldr	x21, [x21, _DAYS_PER_YEAR@GOTPAGEOFF]
Lloh11:
	adrp	x22, _DAYS_PER_LYEAR@GOTPAGE
Lloh12:
	ldr	x22, [x22, _DAYS_PER_LYEAR@GOTPAGEOFF]
Lloh13:
	adrp	x23, _SECS_PER_DAY@GOTPAGE
Lloh14:
	ldr	x23, [x23, _SECS_PER_DAY@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w0, w20, #2
	bl	_timelib_is_leap
	cmp	x0, #0
	csel	x8, x21, x22, eq
	ldr	w8, [x8]
	ldr	w9, [x23]
	madd	w19, w9, w8, w19
	sub	w20, w20, #1
	cmp	w20, #1971
	b.hi	LBB0_7
LBB0_8:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SECS_PER_ERA,4,2               ; @SECS_PER_ERA
	.comm	_DAYS_PER_LYEAR,4,2             ; @DAYS_PER_LYEAR
	.comm	_SECS_PER_DAY,4,2               ; @SECS_PER_DAY
	.comm	_DAYS_PER_YEAR,4,2              ; @DAYS_PER_YEAR
	.no_dead_strip	_do_years
.subsections_via_symbols
