	.file	"extr_sqlite3.c_computeHMS.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	computeHMS, @function
computeHMS:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	je	.L8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	computeJD@PLT
	mov	eax, DWORD PTR 4[rbx]
	pxor	xmm0, xmm0
	mov	DWORD PTR [rbx], 1
	add	eax, 43200000
	movsx	rdx, eax
	mov	ecx, eax
	imul	rdx, rdx, 833999931
	sar	ecx, 31
	sar	rdx, 56
	sub	edx, ecx
	imul	edx, edx, 86400000
	sub	eax, edx
	cvtsi2sd	xmm0, eax
	divsd	xmm0, QWORD PTR .LC0[rip]
	cvttsd2si	edx, xmm0
	movsx	rax, edx
	mov	ecx, edx
	imul	rax, rax, -1851608123
	sar	ecx, 31
	shr	rax, 32
	add	eax, edx
	sar	eax, 11
	sub	eax, ecx
	mov	DWORD PTR 12[rbx], eax
	imul	eax, eax, -3600
	add	eax, edx
	movsx	rdx, eax
	mov	ecx, eax
	imul	rdx, rdx, -2004318071
	sar	ecx, 31
	shr	rdx, 32
	add	edx, eax
	sar	edx, 5
	sub	edx, ecx
	mov	ecx, edx
	mov	DWORD PTR 16[rbx], edx
	sal	ecx, 4
	sub	edx, ecx
	lea	eax, [rax+rdx*4]
	mov	DWORD PTR 8[rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	computeHMS, .-computeHMS
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1083129856
	.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_computeHMS.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	computeHMS, %function
computeHMS:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	bxne	lr
	push	{r4, lr}
	mov	r4, r0
	bl	computeJD
	ldr	r2, [r4, #4]
	ldr	r0, .L8
	ldr	r3, .L8+4
	add	r0, r2, r0
	smull	r1, r2, r3, r0
	ldr	r1, .L8+8
	asr	r3, r0, #31
	rsb	r3, r3, r2, asr #24
	mul	r3, r1, r3
	sub	r0, r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L8+12
	bl	__aeabi_ddiv
	bl	__aeabi_d2iz
	mov	ip, #1
	ldr	r3, .L8+16
	asr	r2, r0, #31
	smull	r1, r3, r0, r3
	add	r3, r3, r0
	rsb	r2, r2, r3, asr #11
	rsb	r3, r2, r2, lsl #20
	add	r3, r2, r3, lsl #3
	ldr	r1, .L8+20
	rsb	r3, r2, r3, lsl #5
	add	r3, r0, r3, lsl #4
	smull	r0, r1, r3, r1
	add	r0, r1, r3
	asr	r1, r3, #31
	rsb	r1, r1, r0, asr #5
	sub	r0, r1, r1, lsl #4
	add	r3, r3, r0, lsl #2
	str	r2, [r4, #12]
	str	r1, [r4, #16]
	str	r3, [r4, #8]
	str	ip, [r4]
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	43200000
	.word	833999931
	.word	86400000
	.word	1083129856
	.word	-1851608123
	.word	-2004318071
	.size	computeHMS, .-computeHMS
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
