	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function julian_adj
_julian_adj:                            ## @julian_adj
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	_SECS_PER_DAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rdx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rax
	cqto
	idivq	%rcx
	movq	%rdx, %rbx
	movq	%rax, %r12
	jmp	LBB0_3
LBB0_1:
	movl	%edx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %ebx
	movl	%eax, %r12d
LBB0_3:
	addl	%esi, %r12d
	imull	$3600, (%rdi), %eax             ## imm = 0xE10
	imull	$60, 4(%rdi), %edx
	addq	24(%rdi), %rbx
	addl	%eax, %edx
	addq	%rdx, %rbx
	movslq	%ebx, %rax
	cmpq	%rcx, %rax
	jge	LBB0_4
## %bb.5:
	testl	%ebx, %ebx
	jns	LBB0_7
## %bb.6:
	decl	%r12d
	addl	%ecx, %ebx
	jmp	LBB0_7
LBB0_4:
	incl	%r12d
	subl	%ecx, %ebx
LBB0_7:
	movl	$1900, %eax                     ## imm = 0x76C
	addl	8(%rdi), %eax
	movl	12(%rdi), %esi
	movl	16(%rdi), %edx
	incl	%esi
	movl	%eax, %edi
	callq	_date_to_julian
	movslq	%r12d, %rcx
	addq	%rax, %rcx
	js	LBB0_8
## %bb.9:
	movq	%rcx, (%r15)
	movl	%ebx, (%r14)
	movl	$1, %eax
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECS_PER_DAY,8,3               ## @SECS_PER_DAY
	.no_dead_strip	_julian_adj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function julian_adj
_julian_adj:                            ; @julian_adj
	.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, x4
	mov	x20, x3
	mov	w8, #3600
Lloh0:
	adrp	x9, _SECS_PER_DAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SECS_PER_DAY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sdiv	x10, x2, x9
	msub	x11, x10, x9, x2
	add	w10, w10, w1
	ldp	w12, w13, [x0]
	mul	w8, w12, w8
	mov	w12, #60
	madd	w8, w13, w12, w8
	ldr	x12, [x0, #24]
	add	x11, x12, x11
	add	x8, x11, x8
	sub	w11, w10, #1
	add	w12, w8, w9
	tst	w8, #0x80000000
	csel	w11, w10, w11, eq
	csel	w12, w8, w12, eq
	sub	w13, w8, w9
	cmp	x9, w8, sxtw
	csinc	w22, w11, w10, gt
	csel	w21, w12, w13, gt
	ldp	w8, w9, [x0, #8]
	add	w8, w8, #1900
	add	w1, w9, #1
	ldr	w2, [x0, #16]
	mov	x0, x8
	bl	_date_to_julian
	adds	x8, x0, w22, sxtw
	b.mi	LBB0_2
; %bb.1:
	str	x8, [x20]
	str	w21, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SECS_PER_DAY,8,3               ; @SECS_PER_DAY
	.no_dead_strip	_julian_adj
.subsections_via_symbols
