	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function date_to_julian
_date_to_julian:                        ## @date_to_julian
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
                                        ## kill: def $edi killed $edi def $rdi
	leal	-14(%rsi), %eax
	cltq
	imulq	$715827883, %rax, %r9           ## imm = 0x2AAAAAAB
	movq	%r9, %rax
	shrq	$63, %rax
	sarq	$33, %r9
	addl	%eax, %r9d
	leal	(%r9,%rdi), %eax
	imull	$1461, %eax, %eax               ## imm = 0x5B5
	leal	7012800(%rax), %r8d
	addl	$7012803, %eax                  ## imm = 0x6B01C3
	testl	%r8d, %r8d
	cmovnsl	%r8d, %eax
	sarl	$2, %eax
	leal	(,%r9,4), %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %esi
	imull	$367, %esi, %ecx                ## imm = 0x16F
	addl	$-734, %ecx                     ## imm = 0xFD22
	movslq	%ecx, %rcx
	imulq	$715827883, %rcx, %rsi          ## imm = 0x2AAAAAAB
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$33, %rsi
	addl	%ecx, %esi
	leal	(%rdi,%r9), %ecx
	addl	$4900, %ecx                     ## imm = 0x1324
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdi
	shrq	$63, %rdi
	sarq	$37, %rcx
	addl	%edi, %ecx
	leal	(%rcx,%rcx,2), %edi
	leal	(%rcx,%rcx,2), %ecx
	addl	$3, %ecx
	testl	%edi, %edi
	cmovnsl	%edi, %ecx
	sarl	$2, %ecx
	addl	%edx, %eax
	subl	%ecx, %eax
	addl	%esi, %eax
	addl	$-32075, %eax                   ## imm = 0x82B5
	cltq
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_date_to_julian
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function date_to_julian
_date_to_julian:                        ; @date_to_julian
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #14
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x8, w8, w9
	lsr	x10, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w10
	add	w10, w8, w0
	mov	w11, #1461
	mul	w11, w10, w11
	add	w12, w11, #1712, lsl #12        ; =7012352
	add	w12, w12, #448
	add	w11, w11, #1712, lsl #12        ; =7012352
	add	w11, w11, #451
	cmp	w12, #0
	csel	w11, w11, w12, lt
	mov	w12, #-12
	madd	w8, w8, w12, w1
	mov	w12, #367
	mul	w8, w8, w12
	sub	w8, w8, #734
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	mov	w12, #4900
	add	w10, w10, w12
	mov	w12, #34079
	movk	w12, #20971, lsl #16
	smull	x10, w10, w12
	lsr	x12, x10, #63
	asr	x10, x10, #37
	add	w10, w10, w12
	add	w10, w10, w10, lsl #1
	add	w12, w10, #3
	cmp	w10, #0
	csel	w10, w12, w10, lt
	add	w11, w2, w11, asr #2
	sub	w10, w11, w10, asr #2
	add	w8, w8, w9
	add	w8, w10, w8
	mov	w9, #-32075
	add	w8, w8, w9
	sxtw	x0, w8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_date_to_julian
.subsections_via_symbols
