	.file	"extr_rtc-pcf50633.c_rtc2pcf_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtc2pcf_time, @function
rtc2pcf_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdx, QWORD PTR PCF50633_TI_SEC[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, rsi
	mov	edi, DWORD PTR [rsi]
	lea	r12, [rax+rdx*8]
	call	bin2bcd@PLT
	mov	rdx, QWORD PTR PCF50633_TI_MIN[rip]
	mov	edi, DWORD PTR 4[rbx]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	r12, [rax+rdx*8]
	call	bin2bcd@PLT
	mov	rdx, QWORD PTR PCF50633_TI_HOUR[rip]
	mov	edi, DWORD PTR 8[rbx]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	r12, [rax+rdx*8]
	call	bin2bcd@PLT
	mov	rdx, QWORD PTR PCF50633_TI_WKDAY[rip]
	mov	edi, DWORD PTR 12[rbx]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	r12, [rax+rdx*8]
	call	bin2bcd@PLT
	mov	rdx, QWORD PTR PCF50633_TI_DAY[rip]
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	r12, [rax+rdx*8]
	call	bin2bcd@PLT
	mov	rdx, QWORD PTR PCF50633_TI_MONTH[rip]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	r12, [rax+rdx*8]
	mov	eax, DWORD PTR 20[rbx]
	lea	edi, 1[rax]
	call	bin2bcd@PLT
	mov	rdx, QWORD PTR PCF50633_TI_YEAR[rip]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	rbp, [rax+rdx*8]
	movsx	rax, DWORD PTR 24[rbx]
	mov	rdi, rax
	imul	rax, rax, 1374389535
	mov	edx, edi
	sar	edx, 31
	sar	rax, 37
	sub	eax, edx
	imul	eax, eax, 100
	sub	edi, eax
	call	bin2bcd@PLT
	mov	QWORD PTR 0[rbp], rax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtc2pcf_time, .-rtc2pcf_time
	.comm	PCF50633_TI_YEAR,8,8
	.comm	PCF50633_TI_WKDAY,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_DAY,8,8
	.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_rtc2pcf_time.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtc2pcf_time, %function
rtc2pcf_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L4
	ldr	r0, [r1]
	mov	r5, r1
	ldr	r6, [r4]
	ldr	r7, [r3]
	bl	bin2bcd
	ldr	r3, .L4+4
	str	r0, [r6, r7, lsl #2]
	ldr	r0, [r5, #4]
	ldr	r6, [r4]
	ldr	r7, [r3]
	bl	bin2bcd
	ldr	r3, .L4+8
	str	r0, [r6, r7, lsl #2]
	ldr	r0, [r5, #8]
	ldr	r6, [r4]
	ldr	r7, [r3]
	bl	bin2bcd
	ldr	r3, .L4+12
	str	r0, [r6, r7, lsl #2]
	ldr	r0, [r5, #12]
	ldr	r6, [r4]
	ldr	r7, [r3]
	bl	bin2bcd
	ldr	r3, .L4+16
	str	r0, [r6, r7, lsl #2]
	ldr	r0, [r5, #16]
	ldr	r6, [r4]
	ldr	r7, [r3]
	bl	bin2bcd
	ldr	r2, [r5, #20]
	ldr	r3, .L4+20
	str	r0, [r6, r7, lsl #2]
	add	r0, r2, #1
	ldr	r6, [r4]
	ldr	r7, [r3]
	bl	bin2bcd
	ldr	r2, [r5, #24]
	ldr	r3, .L4+24
	str	r0, [r6, r7, lsl #2]
	smull	r1, r0, r3, r2
	asr	r3, r2, #31
	rsb	r3, r3, r0, asr #5
	add	r3, r3, r3, lsl #2
	ldr	r1, .L4+28
	add	r3, r3, r3, lsl #2
	sub	r0, r2, r3, lsl #2
	ldr	r4, [r4]
	ldr	r5, [r1]
	bl	bin2bcd
	str	r0, [r4, r5, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	PCF50633_TI_SEC
	.word	PCF50633_TI_MIN
	.word	PCF50633_TI_HOUR
	.word	PCF50633_TI_WKDAY
	.word	PCF50633_TI_DAY
	.word	PCF50633_TI_MONTH
	.word	1374389535
	.word	PCF50633_TI_YEAR
	.size	rtc2pcf_time, .-rtc2pcf_time
	.comm	PCF50633_TI_YEAR,4,4
	.comm	PCF50633_TI_WKDAY,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_DAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
