	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function localtimeOffset
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_localtimeOffset:                       ## @localtimeOffset
	.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
	subq	$232, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	32(%rbx), %xmm2
	movups	48(%rbx), %xmm3
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm1, -144(%rbp)
	movaps	%xmm2, -128(%rbp)
	movaps	%xmm3, -112(%rbp)
	movups	64(%rbx), %xmm0
	movaps	%xmm0, -96(%rbp)
	movupd	80(%rbx), %xmm0
	movapd	%xmm0, -80(%rbp)
	leaq	-160(%rbp), %rdi
	callq	_computeYMD_HMS
	movl	$-2038, %eax                    ## imm = 0xF80A
	addl	-160(%rbp), %eax
	cmpl	$-68, %eax
	ja	LBB0_2
## %bb.1:
	movabsq	$4294969296, %rax               ## imm = 0x1000007D0
	movq	%rax, -160(%rbp)
	movl	$1, -152(%rbp)
	movq	$0, -144(%rbp)
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, -88(%rbp)
	jmp	LBB0_3
LBB0_2:
	movsd	-144(%rbp), %xmm0               ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	cvttpd2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movlpd	%xmm0, -144(%rbp)
LBB0_3:
	movq	$0, -72(%rbp)
	movq	$0, -96(%rbp)
	leaq	-160(%rbp), %rdi
	callq	_computeJD
	movslq	-136(%rbp), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	sarq	$38, %rcx
	shrq	$63, %rax
	addl	%ecx, %eax
	addl	$-413362496, %eax               ## imm = 0xE75C96C0
	cltq
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_osLocaltime
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_sqlite3_result_error
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movl	$1900, %eax                     ## imm = 0x76C
	addl	-64(%rbp), %eax
	movl	%eax, -256(%rbp)
	movl	-60(%rbp), %eax
	movl	-56(%rbp), %ecx
	incl	%eax
	movl	%eax, -252(%rbp)
	movl	%ecx, -248(%rbp)
	movups	-48(%rbp), %xmm0
	movups	%xmm0, -184(%rbp)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	-52(%rbp), %xmm0
	movsd	%xmm0, -240(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -228(%rbp)
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, -216(%rbp)
	movupd	%xmm0, -200(%rbp)
	leaq	-256(%rbp), %rdi
	callq	_computeJD
	movq	_SQLITE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	-232(%rbp), %eax
	subl	-136(%rbp), %eax
LBB0_6:
	addq	$232, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"local time unavailable"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.no_dead_strip	_localtimeOffset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function localtimeOffset
lCPI0_0:
	.long	2000                            ; 0x7d0
	.long	1                               ; 0x1
lCPI0_1:
	.long	1900                            ; 0x76c
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_localtimeOffset:                       ; @localtimeOffset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	.cfi_offset w27, -56
	.cfi_offset w28, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x22, sp, #144
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldp	q0, q1, [x21, #32]
	stp	q0, q1, [x22, #32]
	ldp	q0, q1, [x21, #64]
	stp	q0, q1, [x22, #64]
	ldp	q0, q1, [x21]
	stp	q0, q1, [x22]
	add	x0, sp, #144
	bl	_computeYMD_HMS
	ldr	w8, [sp, #144]
	sub	w8, w8, #2038
	cmn	w8, #68
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #144]
	mov	w8, #1
	str	w8, [sp, #152]
	stp	xzr, xzr, [sp, #216]
	str	xzr, [sp, #160]
	b	LBB0_3
LBB0_2:
	ldr	d0, [sp, #160]
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	w8, d0
	scvtf	d0, w8
	str	d0, [sp, #160]
LBB0_3:
	str	xzr, [sp, #232]
	str	xzr, [sp, #208]
	add	x0, sp, #144
	bl	_computeJD
	ldrsw	x8, [sp, #168]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	mov	w10, #38592
	movk	w10, #59228, lsl #16
	add	w8, w8, w9
	add	w8, w8, w10
	sxtw	x8, w8
	str	x8, [sp, #40]
	add	x0, sp, #40
	add	x1, sp, #8
	bl	_osLocaltime
	cbz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #-1
	bl	_sqlite3_result_error
	mov	w0, #0
Lloh4:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
	ldr	d0, [sp, #8]
Lloh7:
	adrp	x8, lCPI0_1@PAGE
Lloh8:
	ldr	d1, [x8, lCPI0_1@PAGEOFF]
	add.2s	v0, v0, v1
	str	d0, [sp, #48]
	ldr	w8, [sp, #16]
	str	w8, [sp, #56]
	ldur	q0, [sp, #24]
	stur	q0, [sp, #120]
	ldr	s0, [sp, #20]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	str	d0, [sp, #64]
	movi.2s	v0, #1
	stur	d0, [sp, #76]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #88]
	stur	q0, [sp, #104]
	add	x0, sp, #48
	bl	_computeJD
Lloh9:
	adrp	x8, _SQLITE_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [sp, #72]
	ldr	w9, [sp, #168]
	sub	w0, w8, w9
LBB0_6:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdr	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"local time unavailable"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.no_dead_strip	_localtimeOffset
.subsections_via_symbols
