	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function computeJD
LCPI0_0:
	.quad	0xc097d20000000000              ## double -1524.5
LCPI0_1:
	.quad	0x4194997000000000              ## double 8.64E+7
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_computeJD:                             ## @computeJD
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, (%rdi)
	je	LBB0_1
LBB0_7:
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 48(%rdi)
	je	LBB0_2
## %bb.3:
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	movl	12(%rdi), %r8d
	addl	$2, %r8d
	jmp	LBB0_4
LBB0_2:
	movl	$2000, %edx                     ## imm = 0x7D0
	movl	$1, %esi
	movl	$3, %r8d
LBB0_4:
	leal	12(%rsi), %r9d
	xorl	%ecx, %ecx
	cmpl	$3, %esi
	setl	%cl
	cmovgel	%esi, %r9d
	subl	%ecx, %edx
	movslq	%edx, %rdx
	imulq	$-1374389535, %rdx, %rsi        ## imm = 0xAE147AE1
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$37, %rsi
	addl	%ecx, %esi
	addl	%r8d, %esi
	imulq	$1374389535, %rdx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$39, %rcx
	addl	%eax, %ecx
	addl	%esi, %ecx
	imull	$36525, %edx, %eax              ## imm = 0x8EAD
	addl	$172251900, %eax                ## imm = 0xA445AFC
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$37, %rax
	addl	%edx, %eax
	imull	$306001, %r9d, %edx             ## imm = 0x4AB51
	addl	$306001, %edx                   ## imm = 0x4AB51
	movslq	%edx, %rdx
	imulq	$1759218605, %rdx, %rdx         ## imm = 0x68DB8BAD
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$44, %rdx
	addl	%esi, %edx
	addl	%ecx, %edx
	addl	%eax, %edx
	cvtsi2sd	%edx, %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, 56(%rdi)
	movl	$1, (%rdi)
	cmpq	$0, 40(%rdi)
	je	LBB0_7
## %bb.5:
	movslq	16(%rdi), %rcx
	imulq	$3600000, %rcx, %rcx            ## imm = 0x36EE80
	movslq	20(%rdi), %rdx
	imulq	$60000, %rdx, %rdx              ## imm = 0xEA60
	addq	%rcx, %rdx
	movslq	24(%rdi), %rcx
	imulq	$1000, %rcx, %rcx               ## imm = 0x3E8
	addq	%rax, %rcx
	addq	%rdx, %rcx
	movq	%rcx, 56(%rdi)
	cmpq	$0, 32(%rdi)
	je	LBB0_7
## %bb.6:
	leaq	32(%rdi), %rax
	movslq	28(%rdi), %rdx
	imulq	$60000, %rdx, %rdx              ## imm = 0xEA60
	subq	%rdx, %rcx
	movq	%rcx, 56(%rdi)
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, (%rax)
	movq	$0, 16(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_computeJD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computeJD
_computeJD:                             ; @computeJD
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	ret
LBB0_2:
	ldr	x9, [x0, #48]
	mov	w8, #1
	cbz	x9, LBB0_4
; %bb.3:
	ldp	w10, w11, [x0, #4]
	ldr	w9, [x0, #12]
	add	w9, w9, #2
	b	LBB0_5
LBB0_4:
	mov	w10, #2000
	mov	w9, #3
	mov	w11, #1
LBB0_5:
	add	w12, w11, #12
	cmp	w11, #3
	csel	w11, w12, w11, lt
	cset	w12, lt
	sub	w10, w10, w12
	mov	w12, #31457
	movk	w12, #44564, lsl #16
	smull	x12, w10, w12
	lsr	x13, x12, #63
	asr	x12, x12, #37
	mov	w14, #34079
	movk	w14, #20971, lsl #16
	smull	x15, w10, w14
	mov	w16, #36525
	mov	w17, #23292
	movk	w17, #2628, lsl #16
	madd	w10, w10, w16, w17
	lsr	x16, x15, #63
	asr	x15, x15, #39
	smull	x10, w10, w14
	lsr	x14, x10, #63
	asr	x10, x10, #37
	mov	w17, #43857
	movk	w17, #4, lsl #16
	madd	w11, w11, w17, w17
	mov	w17, #35757
	movk	w17, #26843, lsl #16
	smull	x11, w11, w17
	lsr	x17, x11, #63
	asr	x11, x11, #44
	add	w12, w12, w13
	add	w9, w9, w12
	add	w12, w15, w16
	add	w9, w9, w12
	add	w11, w11, w17
	add	w9, w9, w11
	add	w10, w10, w14
	add	w9, w9, w10
	scvtf	d0, w9
	mov	x9, #230897441832960
	movk	x9, #49303, lsl #48
	fmov	d1, x9
	fadd	d0, d0, d1
	mov	x9, #168706315386880
	movk	x9, #16788, lsl #48
	fmov	d1, x9
	fmul	d0, d0, d1
	fcvtzs	x9, d0
	str	x9, [x0, #56]
	str	w8, [x0]
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_1
; %bb.6:
	mov	x8, x0
	ldr	x10, [x8, #32]!
	mov	w11, #61056
	movk	w11, #54, lsl #16
	ldpsw	x12, x13, [x8, #-16]
	mul	x11, x12, x11
	mov	w12, #60000
	madd	x11, x13, x12, x11
	ldursw	x12, [x8, #-8]
	mov	w13, #1000
	madd	x9, x12, x13, x9
	add	x9, x9, x11
	str	x9, [x8, #24]
	cbz	x10, LBB0_1
; %bb.7:
	ldrsw	x10, [x0, #28]
	mov	w11, #60000
	msub	x9, x10, x11, x9
	str	x9, [x0, #56]
	stp	xzr, xzr, [x8, #8]
	str	xzr, [x8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_computeJD
.subsections_via_symbols
