	.file	"extr_rtc-pcf50633.c_pcf50633_rtc_read_time.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed to read time\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"PCF_TIME: %02x.%02x.%02x %02x:%02x:%02x\n"
	.section	.rodata.str1.1
.LC2:
	.string	"RTC_TIME: %ptRr\n"
	.text
	.p2align 4
	.type	pcf50633_rtc_read_time, @function
pcf50633_rtc_read_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rcx, QWORD PTR [rsp]
	mov	edx, DWORD PTR PCF50633_TI_EXTENT[rip]
	mov	esi, DWORD PTR PCF50633_REG_RTCSC[rip]
	mov	edi, DWORD PTR [rax]
	call	pcf50633_read_block@PLT
	cmp	DWORD PTR PCF50633_TI_EXTENT[rip], eax
	je	.L2
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L7
	add	rsp, 24
	.cfi_remember_state
	.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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR PCF50633_TI_HOUR[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR PCF50633_TI_SEC[rip]
	mov	r9d, DWORD PTR [rax+rdx*4]
	mov	rdx, QWORD PTR PCF50633_TI_YEAR[rip]
	mov	esi, DWORD PTR [rax+rsi*4]
	mov	r8d, DWORD PTR [rax+rdx*4]
	mov	rdx, QWORD PTR PCF50633_TI_MONTH[rip]
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rdx, QWORD PTR PCF50633_TI_DAY[rip]
	movsx	rdx, DWORD PTR [rax+rdx*4]
	push	rsi
	.cfi_def_cfa_offset 56
	mov	rsi, QWORD PTR PCF50633_TI_MIN[rip]
	mov	eax, DWORD PTR [rax+rsi*4]
	lea	rsi, .LC1[rip]
	push	rax
	.cfi_def_cfa_offset 64
	xor	eax, eax
	call	dev_dbg@PLT
	lea	rsi, 16[rsp]
	mov	rdi, r12
	call	pcf2rtc_time@PLT
	mov	rdx, r12
	mov	rdi, rbp
	xor	eax, eax
	lea	rsi, .LC2[rip]
	call	dev_dbg@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rdx
	.cfi_def_cfa_offset 48
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pcf50633_rtc_read_time, .-pcf50633_rtc_read_time
	.comm	PCF50633_TI_YEAR,8,8
	.comm	PCF50633_TI_SEC,8,8
	.comm	PCF50633_TI_MONTH,8,8
	.comm	PCF50633_TI_MIN,8,8
	.comm	PCF50633_TI_HOUR,8,8
	.comm	PCF50633_TI_EXTENT,4,4
	.comm	PCF50633_TI_DAY,8,8
	.comm	PCF50633_REG_RTCSC,4,4
	.comm	EIO,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-pcf50633.c_pcf50633_rtc_read_time.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to read time\012\000"
	.align	2
.LC1:
	.ascii	"PCF_TIME: %02x.%02x.%02x %02x:%02x:%02x\012\000"
	.align	2
.LC2:
	.ascii	"RTC_TIME: %ptRr\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcf50633_rtc_read_time, %function
pcf50633_rtc_read_time:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L8
	sub	sp, sp, #24
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, r0
	bl	dev_get_drvdata
	ldr	r6, .L8+4
	ldr	r3, .L8+8
	ldr	r0, [r0]
	ldr	r1, [r3]
	ldr	r2, [r6]
	ldr	r3, [sp, #16]
	bl	pcf50633_read_block
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L2
	mov	r0, r4
	ldr	r1, .L8+12
	bl	dev_err
	ldr	r3, .L8+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L8+20
	ldr	r1, [sp, #16]
	ldr	ip, [r3]
	ldr	r2, .L8+24
	ldr	r3, .L8+28
	ldr	r0, .L8+32
	ldr	ip, [r1, ip, lsl #2]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r0, [r0]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [r1, r2, lsl #2]
	str	ip, [sp, #12]
	ldr	ip, .L8+36
	ldr	r0, [r1, r0, lsl #2]
	ldr	ip, [ip]
	str	r0, [sp, #8]
	ldr	r0, .L8+40
	ldr	ip, [r1, ip, lsl #2]
	ldr	r0, [r0]
	str	ip, [sp, #4]
	ldr	r1, [r1, r0, lsl #2]
	mov	r0, r4
	str	r1, [sp]
	ldr	r1, .L8+44
	bl	dev_dbg
	add	r1, sp, #16
	mov	r0, r5
	bl	pcf2rtc_time
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L8+48
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC3
	.word	PCF50633_TI_EXTENT
	.word	PCF50633_REG_RTCSC
	.word	.LC0
	.word	EIO
	.word	PCF50633_TI_SEC
	.word	PCF50633_TI_DAY
	.word	PCF50633_TI_MONTH
	.word	PCF50633_TI_MIN
	.word	PCF50633_TI_HOUR
	.word	PCF50633_TI_YEAR
	.word	.LC1
	.word	.LC2
	.size	pcf50633_rtc_read_time, .-pcf50633_rtc_read_time
	.comm	PCF50633_TI_YEAR,4,4
	.comm	PCF50633_TI_SEC,4,4
	.comm	PCF50633_TI_MONTH,4,4
	.comm	PCF50633_TI_MIN,4,4
	.comm	PCF50633_TI_HOUR,4,4
	.comm	PCF50633_TI_EXTENT,4,4
	.comm	PCF50633_TI_DAY,4,4
	.comm	PCF50633_REG_RTCSC,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
