	.file	"extr_timer-sp804.c_sp804_set_next_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sp804_set_next_event, @function
sp804_set_next_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rsi, QWORD PTR TIMER_LOAD[rip]
	mov	rbp, QWORD PTR TIMER_CTRL_32BIT[rip]
	add	rsi, QWORD PTR clkevt_base[rip]
	or	rbp, QWORD PTR TIMER_CTRL_IE[rip]
	or	rbp, QWORD PTR TIMER_CTRL_ONESHOT[rip]
	or	rbp, QWORD PTR TIMER_CTRL_ENABLE[rip]
	call	writel@PLT
	mov	rsi, QWORD PTR TIMER_CTRL[rip]
	mov	rdi, rbp
	add	rsi, QWORD PTR clkevt_base[rip]
	call	writel@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sp804_set_next_event, .-sp804_set_next_event
	.comm	clkevt_base,8,8
	.comm	TIMER_LOAD,8,8
	.comm	TIMER_CTRL_ONESHOT,8,8
	.comm	TIMER_CTRL_IE,8,8
	.comm	TIMER_CTRL_ENABLE,8,8
	.comm	TIMER_CTRL_32BIT,8,8
	.comm	TIMER_CTRL,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_timer-sp804.c_sp804_set_next_event.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sp804_set_next_event, %function
sp804_set_next_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L4
	ldr	r3, .L4+4
	ldr	r1, .L4+8
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r4, [ip]
	ldr	r5, .L4+12
	ldr	r1, [r1]
	ldr	r2, .L4+16
	orr	r4, r4, r3
	ldr	r3, .L4+20
	ldr	r2, [r2]
	orr	r4, r4, r1
	ldr	r1, [r5]
	ldr	r3, [r3]
	add	r1, r1, r2
	orr	r4, r4, r3
	bl	writel
	ldr	r3, .L4+24
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, r4
	add	r1, r1, r3
	bl	writel
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	TIMER_CTRL_32BIT
	.word	TIMER_CTRL_IE
	.word	TIMER_CTRL_ONESHOT
	.word	clkevt_base
	.word	TIMER_LOAD
	.word	TIMER_CTRL_ENABLE
	.word	TIMER_CTRL
	.size	sp804_set_next_event, .-sp804_set_next_event
	.comm	clkevt_base,4,4
	.comm	TIMER_LOAD,4,4
	.comm	TIMER_CTRL_ONESHOT,4,4
	.comm	TIMER_CTRL_IE,4,4
	.comm	TIMER_CTRL_ENABLE,4,4
	.comm	TIMER_CTRL_32BIT,4,4
	.comm	TIMER_CTRL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
