	.file	"extr_sqlite3.c_localtimeOffset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"local time unavailable"
	.text
	.p2align 4
	.type	localtimeOffset, @function
localtimeOffset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	mov	edx, 32
	sub	rsp, 264
	.cfi_def_cfa_offset 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 248[rsp], rax
	xor	eax, eax
	lea	r13, 16[rsp]
	mov	rdi, r13
	call	memset@PLT
	movdqu	xmm1, XMMWORD PTR [r12]
	movdqu	xmm2, XMMWORD PTR 16[r12]
	movdqu	xmm3, XMMWORD PTR 32[r12]
	movdqu	xmm4, XMMWORD PTR 48[r12]
	movdqu	xmm5, XMMWORD PTR 64[r12]
	movdqu	xmm6, XMMWORD PTR 80[r12]
	lea	r12, 48[rsp]
	movaps	XMMWORD PTR 48[rsp], xmm1
	mov	rdi, r12
	movaps	XMMWORD PTR 64[rsp], xmm2
	movaps	XMMWORD PTR 80[rsp], xmm3
	movaps	XMMWORD PTR 96[rsp], xmm4
	movaps	XMMWORD PTR 112[rsp], xmm5
	movaps	XMMWORD PTR 128[rsp], xmm6
	call	computeYMD_HMS@PLT
	mov	eax, DWORD PTR 48[rsp]
	sub	eax, 1971
	cmp	eax, 66
	jbe	.L2
	movabs	rax, 4294969296
	mov	DWORD PTR 56[rsp], 1
	mov	QWORD PTR 48[rsp], rax
	mov	QWORD PTR 128[rsp], 0
	mov	QWORD PTR 120[rsp], 0
	mov	QWORD PTR 64[rsp], 0x000000000
.L3:
	mov	QWORD PTR 136[rsp], 0
	mov	rdi, r12
	mov	QWORD PTR 112[rsp], 0
	call	computeJD@PLT
	movsx	rax, DWORD PTR 72[rsp]
	lea	rdi, 8[rsp]
	mov	rsi, r13
	mov	rdx, rax
	imul	rax, rax, 274877907
	sar	edx, 31
	sar	rax, 38
	sub	eax, edx
	sub	eax, 413362496
	cdqe
	mov	QWORD PTR 8[rsp], rax
	call	osLocaltime@PLT
	test	rax, rax
	jne	.L9
	mov	eax, DWORD PTR 16[rsp]
	pxor	xmm0, xmm0
	lea	rdi, 144[rsp]
	mov	QWORD PTR 208[rsp], 0
	cvtsi2sd	xmm0, DWORD PTR 28[rsp]
	mov	QWORD PTR 200[rsp], 0
	add	eax, 1900
	mov	QWORD PTR 192[rsp], 0
	mov	DWORD PTR 144[rsp], eax
	mov	eax, DWORD PTR 20[rsp]
	mov	QWORD PTR 184[rsp], 0
	movsd	QWORD PTR 160[rsp], xmm0
	add	eax, 1
	mov	DWORD PTR 148[rsp], eax
	mov	eax, DWORD PTR 24[rsp]
	mov	DWORD PTR 152[rsp], eax
	mov	rax, QWORD PTR 40[rsp]
	mov	QWORD PTR 224[rsp], rax
	mov	rax, QWORD PTR 32[rsp]
	mov	QWORD PTR 216[rsp], rax
	movabs	rax, 4294967297
	mov	QWORD PTR 172[rsp], rax
	call	computeJD@PLT
	mov	eax, DWORD PTR SQLITE_OK[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 168[rsp]
	sub	eax, DWORD PTR 72[rsp]
.L1:
	mov	rcx, QWORD PTR 248[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 264
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movsd	xmm0, QWORD PTR .LC1[rip]
	addsd	xmm0, QWORD PTR 64[rsp]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR 64[rsp], xmm0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, -1
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	sqlite3_result_error@PLT
	mov	eax, DWORD PTR SQLITE_ERROR[rip]
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	localtimeOffset, .-localtimeOffset
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_ERROR,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1071644672
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sqlite3.c_localtimeOffset.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"local time unavailable\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	localtimeOffset, %function
localtimeOffset:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, #0
	sub	sp, sp, #172
	add	lr, sp, #32
	mov	r7, r1
	mov	r5, r2
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [sp, #164]
	mov	r3,#0
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #20]
	str	r4, [sp, #24]
	str	r4, [sp, #28]
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	add	r0, sp, #32
	bl	computeYMD_HMS
	ldr	r3, [sp, #32]
	sub	r3, r3, #1968
	sub	r3, r3, #3
	cmp	r3, #66
	bls	.L2
	mov	r0, #0
	mov	r1, #0
	mov	r3, #1
	mov	r2, #2000
	str	r0, [sp, #48]
	str	r1, [sp, #52]
	str	r4, [sp, #88]
	str	r4, [sp, #84]
	str	r2, [sp, #32]
	str	r3, [sp, #36]
	str	r3, [sp, #40]
.L3:
	mov	r4, #0
	add	r0, sp, #32
	str	r4, [sp, #92]
	str	r4, [sp, #80]
	bl	computeJD
	ldr	r3, [sp, #56]
	ldr	r0, .L11+4
	add	r1, sp, #8
	smull	r2, r0, r3, r0
	ldr	r2, .L11+8
	asr	r3, r3, #31
	rsb	r3, r3, r0, asr #6
	add	r2, r3, r2
	add	r0, sp, #4
	str	r2, [sp, #4]
	bl	osLocaltime
	subs	r6, r0, #0
	bne	.L9
	ldr	r3, [sp, #8]
	ldr	r2, [sp, #12]
	add	r3, r3, #1888
	add	r3, r3, #12
	ldr	ip, [sp, #16]
	ldr	r1, [sp, #28]
	str	r3, [sp, #96]
	ldr	r3, [sp, #24]
	add	r2, r2, #1
	ldr	r0, [sp, #20]
	str	r2, [sp, #100]
	str	ip, [sp, #104]
	str	r3, [sp, #148]
	str	r1, [sp, #152]
	bl	__aeabi_i2d
	mov	r3, #1
	mov	r8, r0
	mov	r9, r1
	add	r0, sp, #96
	str	r3, [sp, #124]
	str	r3, [sp, #128]
	str	r8, [sp, #112]
	str	r9, [sp, #116]
	str	r6, [sp, #144]
	str	r6, [sp, #140]
	str	r6, [sp, #136]
	str	r6, [sp, #132]
	bl	computeJD
	ldr	r3, .L11+12
	ldr	r0, [sp, #120]
	ldr	r3, [r3]
	ldr	r4, [sp, #56]
	str	r3, [r5]
	sub	r0, r0, r4
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #164]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #172
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r2, #0
	add	r1, sp, #48
	ldmia	r1, {r0-r1}
	ldr	r3, .L11+16
	bl	__aeabi_dadd
	bl	__aeabi_d2iz
	bl	__aeabi_i2d
	str	r0, [sp, #48]
	str	r1, [sp, #52]
	b	.L3
.L9:
	mov	r0, r7
	mvn	r2, #0
	ldr	r1, .L11+20
	bl	sqlite3_result_error
	ldr	r3, .L11+24
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r5]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	274877907
	.word	-413362496
	.word	SQLITE_OK
	.word	1071644672
	.word	.LC0
	.word	SQLITE_ERROR
	.size	localtimeOffset, .-localtimeOffset
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
