	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function julian_to_date
_julian_to_date:                        ## @julian_to_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	%rbx
	.cfi_offset %rbx, -24
	movq	%rdx, %r8
	leaq	274276(,%rdi,4), %rax
	addq	$68569, %rdi                    ## imm = 0x10BD9
	movabsq	$4137408090565272301, %rdx      ## imm = 0x396B06BCC8F862ED
	imulq	%rdx
	movq	%rdx, %r9
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$15, %r9
	addq	%rax, %r9
	imulq	$146097, %r9, %rax              ## imm = 0x23AB1
	leaq	3(%rax), %rdx
	addq	$6, %rax
	testq	%rdx, %rdx
	cmovnsq	%rdx, %rax
	sarq	$2, %rax
	subq	%rax, %rdi
	imulq	$4000, %rdi, %rax               ## imm = 0xFA0
	addq	$4000, %rax                     ## imm = 0xFA0
	movabsq	$1654928120671552141, %rdx      ## imm = 0x16F77C5B896EC28D
	imulq	%rdx
	movq	%rdx, %r10
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$17, %r10
	addq	%rax, %r10
	imulq	$1461, %r10, %rax               ## imm = 0x5B5
	leaq	3(%rax), %rdx
	testq	%rax, %rax
	cmovnsq	%rax, %rdx
	sarq	$2, %rdx
	negq	%rdx
	leaq	(%rdi,%rdx), %rbx
	addq	$31, %rbx
	movq	%rbx, %rax
	shlq	$4, %rax
	leaq	(%rax,%rax,4), %r11
	movabsq	$-3007867137478590557, %rdx     ## imm = 0xD641E8C65B047FA3
	movq	%r11, %rax
	imulq	%rdx
	movq	%rdx, %rdi
	addq	%r11, %rdi
	movq	%rdi, %rax
	shrq	$63, %rax
	sarq	$11, %rdi
	addq	%rax, %rdi
	imulq	$2447, %rdi, %rax               ## imm = 0x98F
	movabsq	$-7378697629483820647, %rdx     ## imm = 0x9999999999999999
	imulq	%rdx
	movq	%rdx, %rax
	shrq	$63, %rax
	shrq	$5, %rdx
	addl	%eax, %edx
	addl	%edx, %ebx
	movl	%ebx, (%rcx)
	movabsq	$1403534266930087369, %rcx      ## imm = 0x137A5AFAC274C5C9
	movq	%r11, %rax
	imulq	%rcx
	movq	%rdx, %rax
	shrq	$63, %rax
	shrq	$11, %rdx
	addl	%eax, %edx
	leal	(,%rdx,4), %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %edi
	addl	$2, %edi
	movl	%edi, (%r8)
	imull	$100, %r9d, %eax
	movl	$4294962396, %ecx               ## imm = 0xFFFFECDC
	addl	%eax, %ecx
	addl	%ecx, %r10d
	addl	%edx, %r10d
	movl	%r10d, (%rsi)
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_julian_to_date
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function julian_to_date
_julian_to_date:                        ; @julian_to_date
	.cfi_startproc
; %bb.0:
	add	x8, x0, #16, lsl #12            ; =65536
	add	x9, x8, #3033
	lsl	x8, x9, #2
	mov	x10, #25325
	movk	x10, #51448, lsl #16
	movk	x10, #1724, lsl #32
	movk	x10, #14699, lsl #48
	smulh	x8, x8, x10
	asr	x10, x8, #15
	add	x8, x10, x8, lsr #63
	mov	w10, #15025
	movk	w10, #2, lsl #16
	mul	x10, x8, x10
	add	x11, x10, #3
	add	x10, x10, #6
	cmp	x11, #0
	csel	x10, x10, x11, lt
	sub	x9, x9, x10, asr #2
	mov	w10, #4000
	mul	x10, x9, x10
	add	x10, x10, #4000
	mov	x11, #49805
	movk	x11, #35182, lsl #16
	movk	x11, #31835, lsl #32
	movk	x11, #5879, lsl #48
	smulh	x10, x10, x11
	asr	x11, x10, #17
	add	x10, x11, x10, lsr #63
	mov	w11, #1461
	mul	x11, x10, x11
	add	x12, x11, #3
	cmp	x11, #0
	csel	x11, x12, x11, lt
	sub	x9, x9, x11, asr #2
	add	x9, x9, #31
	add	x11, x9, x9, lsl #2
	lsl	x11, x11, #4
	mov	x12, #32675
	movk	x12, #23300, lsl #16
	movk	x12, #59590, lsl #32
	movk	x12, #54849, lsl #48
	smulh	x12, x11, x12
	add	x12, x12, x11
	asr	x13, x12, #11
	add	x12, x13, x12, lsr #63
	mov	w13, #2447
	mul	x13, x12, x13
	mov	x14, #-7378697629483820647
	smulh	x13, x13, x14
	lsr	x14, x13, #63
	lsr	x13, x13, #5
	add	w13, w13, w14
	add	w9, w13, w9
	str	w9, [x3]
	mov	x9, #50633
	movk	x9, #49780, lsl #16
	movk	x9, #23290, lsl #32
	movk	x9, #4986, lsl #48
	smulh	x9, x11, x9
	lsr	x11, x9, #63
	lsr	x9, x9, #11
	mov	w13, #-12
	mov	w14, #100
	madd	w8, w8, w14, w10
	add	w9, w9, w11
	add	w8, w8, w9
	madd	w9, w9, w13, w12
	add	w9, w9, #2
	str	w9, [x2]
	mov	w9, #-4900
	add	w8, w8, w9
	str	w8, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_julian_to_date
.subsections_via_symbols
