	.file	"extr_hp_sdc_rtc.c_hp_sdc_rtc_read_rt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hp_sdc_rtc_read_rt, @function
hp_sdc_rtc_read_rt:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	edi, DWORD PTR HP_SDC_CMD_LOAD_RT[rip]
	mov	esi, 5
	call	hp_sdc_rtc_read_i8042timer@PLT
	test	eax, eax
	js	.L3
	mov	ecx, eax
	sar	eax, 24
	and	ecx, 16777215
	imul	eax, eax, 86400
	mov	edx, ecx
	imul	rdx, rdx, 1374389535
	shr	rdx, 37
	imul	esi, edx, 100
	movsx	rdx, edx
	add	rax, rdx
	mov	QWORD PTR 8[rbx], rax
	xor	eax, eax
	sub	ecx, esi
	imul	ecx, ecx, 10000
	mov	DWORD PTR [rbx], ecx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L3:
	.cfi_restore_state
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hp_sdc_rtc_read_rt, .-hp_sdc_rtc_read_rt
	.comm	HP_SDC_CMD_LOAD_RT,4,4
	.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_hp_sdc_rtc.c_hp_sdc_rtc_read_rt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hp_sdc_rtc_read_rt, %function
hp_sdc_rtc_read_rt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, lr}
	mov	r1, #5
	mov	r4, r0
	ldr	r0, [r3]
	bl	hp_sdc_rtc_read_i8042timer
	subs	r3, r0, #0
	blt	.L3
	ldr	r1, .L6+4
	bic	r2, r3, #-16777216
	umull	r0, r1, r2, r1
	lsr	r1, r1, #5
	add	r0, r1, r1, lsl #2
	add	r0, r0, r0, lsl #2
	sub	r2, r2, r0, lsl #2
	asr	r3, r3, #24
	rsb	r0, r2, r2, lsl #5
	add	r3, r3, r3, lsl #1
	add	r2, r2, r0, lsl #2
	rsb	r3, r3, r3, lsl #4
	rsb	r3, r3, r3, lsl #4
	add	r2, r2, r2, lsl #2
	add	r3, r1, r3, lsl #7
	lsl	r2, r2, #4
	mov	r0, #0
	stm	r4, {r2, r3}
	pop	{r4, pc}
.L3:
	mvn	r0, #0
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	HP_SDC_CMD_LOAD_RT
	.word	1374389535
	.size	hp_sdc_rtc_read_rt, .-hp_sdc_rtc_read_rt
	.comm	HP_SDC_CMD_LOAD_RT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
