	.file	"extr_rtc-rv3028.c_timestamp0_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%llu\n"
	.text
	.p2align 4
	.type	timestamp0_show, @function
timestamp0_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 96
	.cfi_def_cfa_offset 128
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	esi, DWORD PTR RV3028_TS_COUNT[rip]
	lea	rdx, 12[rsp]
	mov	edi, DWORD PTR [rax]
	mov	rbx, rax
	call	regmap_read@PLT
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L9
.L1:
	mov	rcx, QWORD PTR 88[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 96
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR RV3028_TS_SEC[rip]
	mov	edi, DWORD PTR [rbx]
	lea	rdx, 64[rsp]
	mov	ecx, 24
	call	regmap_bulk_read@PLT
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR 64[rsp]
	lea	r12, 16[rsp]
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 68[rsp]
	mov	QWORD PTR 56[rsp], rax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 72[rsp]
	mov	QWORD PTR 48[rsp], rax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 76[rsp]
	mov	QWORD PTR 40[rsp], rax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 80[rsp]
	mov	QWORD PTR 32[rsp], rax
	call	bcd2bin@PLT
	mov	edi, DWORD PTR 84[rsp]
	sub	rax, 1
	mov	QWORD PTR 24[rsp], rax
	call	bcd2bin@PLT
	mov	rdi, r12
	add	rax, 100
	mov	QWORD PTR 16[rsp], rax
	call	rtc_valid_tm@PLT
	test	eax, eax
	jne	.L1
	mov	rdi, r12
	call	rtc_tm_to_time64@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	rdx, rax
	call	sprintf@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	timestamp0_show, .-timestamp0_show
	.comm	RV3028_TS_SEC,4,4
	.comm	RV3028_TS_COUNT,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_rtc-rv3028.c_timestamp0_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%llu\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	timestamp0_show, %function
timestamp0_show:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L11
	sub	sp, sp, #60
	ldr	r0, [r0]
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	bl	dev_get_drvdata
	ldr	r3, .L11+4
	mov	r4, r0
	mov	r2, sp
	ldr	r0, [r0]
	ldr	r1, [r3]
	bl	regmap_read
	cmp	r0, #0
	bne	.L1
	ldr	r0, [sp]
	cmp	r0, #0
	bne	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	ldr	r3, .L11+8
	ldr	r0, [r4]
	ldr	r1, [r3]
	add	r2, sp, #28
	mov	r3, #24
	bl	regmap_bulk_read
	cmp	r0, #0
	bne	.L1
	ldr	r0, [sp, #28]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [sp, #32]
	str	r3, [sp, #24]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [sp, #36]
	str	r3, [sp, #20]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [sp, #40]
	str	r3, [sp, #16]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [sp, #44]
	str	r3, [sp, #12]
	bl	bcd2bin
	mov	r3, r0
	ldr	r0, [sp, #48]
	sub	r3, r3, #1
	str	r3, [sp, #8]
	bl	bcd2bin
	add	r3, r0, #100
	add	r0, sp, #4
	str	r3, [sp, #4]
	bl	rtc_valid_tm
	cmp	r0, #0
	bne	.L1
	add	r0, sp, #4
	bl	rtc_tm_to_time64
	mov	r2, r0
	ldr	r1, .L11+12
	mov	r0, r5
	asr	r3, r2, #31
	bl	sprintf
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	RV3028_TS_COUNT
	.word	RV3028_TS_SEC
	.word	.LC0
	.size	timestamp0_show, .-timestamp0_show
	.comm	RV3028_TS_SEC,4,4
	.comm	RV3028_TS_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
