	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcf_to_unixtime
_dcf_to_unixtime:                       ## @dcf_to_unixtime
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movq	_YEAR_PIVOT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jge	LBB0_2
## %bb.1:
	addq	$100, %rdi
	movq	%rdi, (%r15)
LBB0_2:
	movq	_YEAR_BREAK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jge	LBB0_4
## %bb.3:
	addq	$1900, %rdi                     ## imm = 0x76C
	movq	%rdi, (%r15)
LBB0_4:
	movl	$1900, %ecx                     ## imm = 0x76C
	addq	(%rax), %rcx
	cmpq	%rcx, %rdi
	jl	LBB0_5
## %bb.8:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_julian0
	movl	%eax, %ebx
	movl	$1970, %edi                     ## imm = 0x7B2
	callq	_julian0
	movl	8(%r15), %ecx
	leal	-13(%rcx), %edx
	cmpl	$-12, %edx
	jb	LBB0_5
## %bb.9:
	subl	%eax, %ebx
	cmpl	$2, %ecx
	jb	LBB0_22
## %bb.10:
	leaq	-1(%rcx), %rsi
	leaq	-2(%rcx), %rdx
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_12
## %bb.11:
	movl	$1, %edx
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_18
LBB0_22:
	movl	12(%r15), %edx
	movl	$1, %ecx
	testl	%edx, %edx
	jg	LBB0_23
	jmp	LBB0_5
LBB0_12:
	andq	$-4, %rsi
	xorl	%edx, %edx
	leaq	_dcf_to_unixtime.days_of_month(%rip), %rdi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	addl	4(%rdi,%rdx,4), %ebx
	addl	8(%rdi,%rdx,4), %ebx
	addl	12(%rdi,%rdx,4), %ebx
	addl	16(%rdi,%rdx,4), %ebx
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_13
## %bb.14:
	incq	%rdx
	testq	%rax, %rax
	je	LBB0_18
LBB0_16:
	leaq	_dcf_to_unixtime.days_of_month(%rip), %rsi
	leaq	(%rsi,%rdx,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rdx,%rsi,4), %ebx
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_17
LBB0_18:
	movl	12(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.19:
	cmpl	$2, %ecx
	jne	LBB0_23
## %bb.20:
	movl	(%r15), %edi
	callq	_days_per_year
	movl	12(%r15), %edx
	cmpl	$366, %eax                      ## imm = 0x16E
	jne	LBB0_21
## %bb.24:
	cmpl	$29, %edx
	jg	LBB0_5
LBB0_25:
	cmpq	$24, 16(%r15)
	jae	LBB0_26
## %bb.28:
	leal	(%rbx,%rdx), %edi
	decl	%edi
	callq	_TIMES24
	cmpq	$60, 24(%r15)
	jae	LBB0_26
## %bb.29:
	addl	16(%r15), %eax
	movl	%eax, %edi
	callq	_TIMES60
	cmpq	$61, 40(%r15)
	jb	LBB0_30
LBB0_26:
	movl	$-1, %eax
	testq	%r14, %r14
	je	LBB0_31
## %bb.27:
	movq	_CVT_FAIL@GOTPCREL(%rip), %rcx
	movq	_CVT_BADTIME@GOTPCREL(%rip), %rdx
	jmp	LBB0_7
LBB0_21:
	movl	8(%r15), %ecx
LBB0_23:
	movslq	%ecx, %rax
	leaq	_dcf_to_unixtime.days_of_month(%rip), %rcx
	cmpl	(%rcx,%rax,4), %edx
	jle	LBB0_25
LBB0_5:
	movl	$-1, %eax
	testq	%r14, %r14
	je	LBB0_31
## %bb.6:
	movq	_CVT_FAIL@GOTPCREL(%rip), %rcx
	movq	_CVT_BADDATE@GOTPCREL(%rip), %rdx
LBB0_7:
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, (%r14)
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	addl	24(%r15), %eax
	addl	32(%r15), %eax
	movl	%eax, %edi
	callq	_TIMES60
	addl	40(%r15), %eax
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @dcf_to_unixtime.days_of_month
_dcf_to_unixtime.days_of_month:
	.long	0                               ## 0x0
	.long	31                              ## 0x1f
	.long	28                              ## 0x1c
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f
	.long	30                              ## 0x1e
	.long	31                              ## 0x1f

	.comm	_YEAR_PIVOT,8,3                 ## @YEAR_PIVOT
	.comm	_YEAR_BREAK,8,3                 ## @YEAR_BREAK
	.comm	_CVT_FAIL,4,2                   ## @CVT_FAIL
	.comm	_CVT_BADDATE,4,2                ## @CVT_BADDATE
	.comm	_CVT_BADTIME,4,2                ## @CVT_BADTIME
	.no_dead_strip	_dcf_to_unixtime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcf_to_unixtime
_dcf_to_unixtime:                       ; @dcf_to_unixtime
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _YEAR_PIVOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YEAR_PIVOT@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x0, x9
	b.ge	LBB0_2
; %bb.1:
	add	x0, x0, #100
	str	x0, [x20]
LBB0_2:
Lloh2:
	adrp	x9, _YEAR_BREAK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _YEAR_BREAK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ge	LBB0_4
; %bb.3:
	add	x0, x0, #1900
	str	x0, [x20]
LBB0_4:
	ldr	x8, [x8]
	add	x8, x8, #1900
	cmp	x0, x8
	b.lt	LBB0_16
; %bb.5:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_julian0
	mov	x21, x0
	mov	w0, #1970
	bl	_julian0
	ldr	w8, [x20, #8]
	sub	w9, w8, #13
	cmn	w9, #12
	b.lo	LBB0_16
; %bb.6:
	sub	w21, w21, w0
	cmp	w8, #2
	b.lo	LBB0_13
; %bb.7:
	sub	x9, x8, #1
Lloh5:
	adrp	x10, _dcf_to_unixtime.days_of_month@PAGE+4
Lloh6:
	add	x10, x10, _dcf_to_unixtime.days_of_month@PAGEOFF+4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	add	w21, w11, w21
	subs	x9, x9, #1
	b.ne	LBB0_8
; %bb.9:
	ldr	w9, [x20, #12]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.10:
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.11:
	ldr	w0, [x20]
	bl	_days_per_year
	ldr	w9, [x20, #12]
	cmp	w0, #366
	b.ne	LBB0_26
; %bb.12:
	cmp	w9, #29
	b.gt	LBB0_16
	b	LBB0_21
LBB0_13:
	ldr	w9, [x20, #12]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.14:
	mov	w8, #1
LBB0_15:
Lloh7:
	adrp	x10, _dcf_to_unixtime.days_of_month@PAGE
Lloh8:
	add	x10, x10, _dcf_to_unixtime.days_of_month@PAGEOFF
	ldr	w8, [x10, w8, sxtw #2]
	cmp	w9, w8
	b.le	LBB0_21
LBB0_16:
	cbz	x19, LBB0_19
; %bb.17:
Lloh9:
	adrp	x8, _CVT_FAIL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CVT_FAIL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _CVT_BADDATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CVT_BADDATE@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_21:
	ldr	x8, [x20, #16]
	cmp	x8, #24
	b.hs	LBB0_24
; %bb.22:
	add	w8, w21, w9
	sub	w0, w8, #1
	bl	_TIMES24
	ldr	x8, [x20, #24]
	cmp	x8, #60
	b.hs	LBB0_24
; %bb.23:
	ldr	w8, [x20, #16]
	add	w0, w0, w8
	bl	_TIMES60
	ldr	x8, [x20, #40]
	cmp	x8, #61
	b.lo	LBB0_27
LBB0_24:
	cbz	x19, LBB0_19
; %bb.25:
Lloh14:
	adrp	x8, _CVT_FAIL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CVT_FAIL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _CVT_BADTIME@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CVT_BADTIME@GOTPAGEOFF]
	b	LBB0_18
LBB0_26:
	ldr	w8, [x20, #8]
	b	LBB0_15
LBB0_27:
	ldr	w8, [x20, #24]
	ldr	w9, [x20, #32]
	add	w8, w0, w8
	add	w0, w8, w9
	bl	_TIMES60
	ldr	w8, [x20, #40]
	add	w0, w0, w8
	b	LBB0_20
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @dcf_to_unixtime.days_of_month
_dcf_to_unixtime.days_of_month:
	.long	0                               ; 0x0
	.long	31                              ; 0x1f
	.long	28                              ; 0x1c
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f
	.long	30                              ; 0x1e
	.long	31                              ; 0x1f

	.comm	_YEAR_PIVOT,8,3                 ; @YEAR_PIVOT
	.comm	_YEAR_BREAK,8,3                 ; @YEAR_BREAK
	.comm	_CVT_FAIL,4,2                   ; @CVT_FAIL
	.comm	_CVT_BADDATE,4,2                ; @CVT_BADDATE
	.comm	_CVT_BADTIME,4,2                ; @CVT_BADTIME
	.no_dead_strip	_dcf_to_unixtime
.subsections_via_symbols
