	.file	"extr_rtc-bq4802.c_bq4802_read_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bq4802_read_time, @function
bq4802_read_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	to_platform_device@PLT
	mov	rdi, rax
	call	platform_get_drvdata@PLT
	mov	rsi, r15
	lea	r14, 8[rax]
	mov	rbp, rax
	mov	rdi, r14
	call	spin_lock_irqsave@PLT
	mov	rdi, rbp
	mov	esi, 14
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 14
	mov	edx, eax
	mov	r12d, eax
	or	edx, 8
	call	[QWORD PTR 16[rbp]]
	xor	esi, esi
	mov	rdi, rbp
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 2
	mov	DWORD PTR [rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 4
	mov	DWORD PTR 4[rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 6
	mov	DWORD PTR 8[rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 9
	mov	DWORD PTR 12[rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 10
	mov	DWORD PTR 16[rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 8
	mov	DWORD PTR 20[rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	rdi, rbp
	mov	esi, 15
	mov	DWORD PTR 24[rbx], eax
	call	[QWORD PTR 0[rbp]]
	mov	edx, r12d
	mov	rdi, rbp
	mov	esi, 14
	mov	r13d, eax
	call	[QWORD PTR 16[rbp]]
	mov	rsi, r15
	mov	rdi, r14
	call	spin_unlock_irqrestore@PLT
	mov	edi, DWORD PTR [rbx]
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	DWORD PTR [rbx], eax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	DWORD PTR 4[rbx], eax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	DWORD PTR 8[rbx], eax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	DWORD PTR 12[rbx], eax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 20[rbx]
	mov	DWORD PTR 16[rbx], eax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 24[rbx]
	mov	DWORD PTR 20[rbx], eax
	call	bcd2bin@PLT
	mov	edi, r13d
	mov	DWORD PTR 24[rbx], eax
	call	bcd2bin@PLT
	sub	DWORD PTR 16[rbx], 1
	imul	eax, eax, 100
	add	eax, DWORD PTR 20[rbx]
	sub	eax, 1900
	mov	DWORD PTR 20[rbx], eax
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bq4802_read_time, .-bq4802_read_time
	.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_rtc-bq4802.c_bq4802_read_time.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bq4802_read_time, %function
bq4802_read_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	bl	to_platform_device
	bl	platform_get_drvdata
	mov	r8, #0
	mov	r5, r0
	add	r7, r0, #4
	mov	r1, r8
	mov	r0, r7
	bl	spin_lock_irqsave
	ldr	r3, [r5]
	mov	r0, r5
	mov	r1, #14
	blx	r3
	ldr	r3, [r5, #8]
	orr	r2, r0, #8
	mov	r6, r0
	mov	r1, #14
	mov	r0, r5
	blx	r3
	mov	r1, r8
	ldr	r3, [r5]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #2
	str	r0, [r4]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #4
	str	r0, [r4, #4]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #6
	str	r0, [r4, #8]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #9
	str	r0, [r4, #12]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #10
	str	r0, [r4, #16]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #8
	str	r0, [r4, #20]
	mov	r0, r5
	blx	r3
	ldr	r3, [r5]
	mov	r1, #15
	str	r0, [r4, #24]
	mov	r0, r5
	blx	r3
	mov	ip, r0
	mov	r2, r6
	ldr	r3, [r5, #8]
	mov	r0, r5
	mov	r1, #14
	mov	r5, ip
	blx	r3
	mov	r1, r8
	mov	r0, r7
	bl	spin_unlock_irqrestore
	ldr	r0, [r4]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r4]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [r4, #8]
	str	r3, [r4, #4]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [r4, #12]
	str	r3, [r4, #8]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [r4, #16]
	str	r3, [r4, #12]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [r4, #20]
	str	r3, [r4, #16]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [r4, #24]
	str	r3, [r4, #20]
	bl	bcd2bin
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #24]
	bl	bcd2bin
	ldr	r3, [r4, #20]
	add	r0, r0, r0, lsl #2
	add	r0, r0, r0, lsl #2
	ldr	r2, [r4, #16]
	add	r3, r3, r0, lsl #2
	sub	r3, r3, #1888
	sub	r3, r3, #12
	sub	r2, r2, #1
	mov	r0, r8
	str	r3, [r4, #20]
	str	r2, [r4, #16]
	pop	{r4, r5, r6, r7, r8, pc}
	.size	bq4802_read_time, .-bq4802_read_time
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
