	.file	"extr_rtc-lpc24xx.c_lpc24xx_rtc_set_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lpc24xx_rtc_set_time, @function
lpc24xx_rtc_set_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	dev_get_drvdata@PLT
	mov	edx, DWORD PTR LPC178X_CCALEN[rip]
	mov	esi, DWORD PTR LPC24XX_CCR[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	rtc_writel@PLT
	mov	edx, DWORD PTR [rbx]
	mov	esi, DWORD PTR LPC24XX_SEC[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR LPC24XX_MIN[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR LPC24XX_HOUR[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR LPC24XX_DOW[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 16[rbx]
	mov	esi, DWORD PTR LPC24XX_DOM[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	esi, DWORD PTR LPC24XX_DOY[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 24[rbx]
	mov	esi, DWORD PTR LPC24XX_MONTH[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	edx, DWORD PTR 28[rbx]
	mov	esi, DWORD PTR LPC24XX_YEAR[rip]
	mov	rdi, rbp
	call	rtc_writel@PLT
	mov	esi, DWORD PTR LPC24XX_CCR[rip]
	mov	edx, DWORD PTR LPC24XX_CLKEN[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR LPC178X_CCALEN[rip]
	call	rtc_writel@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lpc24xx_rtc_set_time, .-lpc24xx_rtc_set_time
	.comm	LPC24XX_YEAR,4,4
	.comm	LPC24XX_SEC,4,4
	.comm	LPC24XX_MONTH,4,4
	.comm	LPC24XX_MIN,4,4
	.comm	LPC24XX_HOUR,4,4
	.comm	LPC24XX_DOY,4,4
	.comm	LPC24XX_DOW,4,4
	.comm	LPC24XX_DOM,4,4
	.comm	LPC24XX_CLKEN,4,4
	.comm	LPC24XX_CCR,4,4
	.comm	LPC178X_CCALEN,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-lpc24xx.c_lpc24xx_rtc_set_time.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpc24xx_rtc_set_time, %function
lpc24xx_rtc_set_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	bl	dev_get_drvdata
	mov	r4, r0
	ldr	r7, .L4
	ldr	r6, .L4+4
	ldr	r2, [r7]
	ldr	r1, [r6]
	bl	rtc_writel
	ldr	r3, .L4+8
	ldr	r2, [r5]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+12
	ldr	r2, [r5, #4]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+16
	ldr	r2, [r5, #8]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+20
	ldr	r2, [r5, #12]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+24
	ldr	r2, [r5, #16]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+28
	ldr	r2, [r5, #20]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+32
	ldr	r2, [r5, #24]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r3, .L4+36
	ldr	r2, [r5, #28]
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtc_writel
	ldr	r2, .L4+40
	ldr	r3, [r7]
	ldr	r2, [r2]
	mov	r0, r4
	ldr	r1, [r6]
	orr	r2, r2, r3
	bl	rtc_writel
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	LPC178X_CCALEN
	.word	LPC24XX_CCR
	.word	LPC24XX_SEC
	.word	LPC24XX_MIN
	.word	LPC24XX_HOUR
	.word	LPC24XX_DOW
	.word	LPC24XX_DOM
	.word	LPC24XX_DOY
	.word	LPC24XX_MONTH
	.word	LPC24XX_YEAR
	.word	LPC24XX_CLKEN
	.size	lpc24xx_rtc_set_time, .-lpc24xx_rtc_set_time
	.comm	LPC24XX_YEAR,4,4
	.comm	LPC24XX_SEC,4,4
	.comm	LPC24XX_MONTH,4,4
	.comm	LPC24XX_MIN,4,4
	.comm	LPC24XX_HOUR,4,4
	.comm	LPC24XX_DOY,4,4
	.comm	LPC24XX_DOW,4,4
	.comm	LPC24XX_DOM,4,4
	.comm	LPC24XX_CLKEN,4,4
	.comm	LPC24XX_CCR,4,4
	.comm	LPC178X_CCALEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
