	.file	"extr_timer.c_timer_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	timer_init
	.type	timer_init, @function
timer_init:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR TIMER_LOAD_VAL[rip]
	mov	rsi, QWORD PTR TIMER_LOAD[rip]
	add	rsi, QWORD PTR CONFIG_SYS_TIMERBASE[rip]
	call	writel@PLT
	mov	ecx, DWORD PTR TIMER_PRESCALE_SHIFT[rip]
	mov	edi, DWORD PTR CONFIG_TIMER_PRESCALE[rip]
	mov	eax, DWORD PTR TIMER_MODE_PERIODIC[rip]
	mov	rsi, QWORD PTR TIMER_CTRL[rip]
	sal	edi, cl
	mov	ecx, DWORD PTR TIMER_MODE_SHIFT[rip]
	add	rsi, QWORD PTR CONFIG_SYS_TIMERBASE[rip]
	sal	eax, cl
	mov	ecx, DWORD PTR TIMER_ENABLE_SHIFT[rip]
	or	edi, eax
	mov	eax, DWORD PTR TIMER_ENABLE[rip]
	sal	eax, cl
	or	edi, eax
	call	writel@PLT
	mov	rax, QWORD PTR gd[rip]
	mov	edx, DWORD PTR READ_TIMER[rip]
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR 8[rax], edx
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	timer_init, .-timer_init
	.comm	gd,8,8
	.comm	TIMER_PRESCALE_SHIFT,4,4
	.comm	TIMER_MODE_SHIFT,4,4
	.comm	TIMER_MODE_PERIODIC,4,4
	.comm	TIMER_LOAD_VAL,4,4
	.comm	TIMER_LOAD,8,8
	.comm	TIMER_ENABLE_SHIFT,4,4
	.comm	TIMER_ENABLE,4,4
	.comm	TIMER_CTRL,8,8
	.comm	READ_TIMER,4,4
	.comm	CONFIG_TIMER_PRESCALE,4,4
	.comm	CONFIG_SYS_TIMERBASE,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.c_timer_init.c"
	.text
	.align	2
	.global	timer_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_init, %function
timer_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L4
	ldr	r4, .L4+4
	ldr	r2, [r3]
	ldr	r1, [r4]
	ldr	r3, .L4+8
	add	r1, r1, r2
	ldr	r0, [r3]
	bl	writel
	ldr	r3, .L4+12
	ldr	r0, .L4+16
	ldr	r1, .L4+20
	ldr	r0, [r0]
	ldr	r2, .L4+24
	ldr	r3, [r3]
	ldr	ip, .L4+28
	ldr	lr, [r1]
	lsl	r3, r3, r0
	ldr	r1, [r2]
	ldr	r0, .L4+32
	ldr	r2, .L4+36
	ldr	r5, [ip]
	ldr	r2, [r2]
	ldr	ip, [r4]
	ldr	r0, [r0]
	orr	r3, r3, r5, lsl lr
	orr	r0, r3, r0, lsl r2
	add	r1, ip, r1
	bl	writel
	mov	r0, #0
	ldr	r3, .L4+40
	ldr	r2, .L4+44
	ldr	r3, [r3]
	ldr	r2, [r2]
	stm	r3, {r0, r2}
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	TIMER_LOAD
	.word	CONFIG_SYS_TIMERBASE
	.word	TIMER_LOAD_VAL
	.word	TIMER_MODE_PERIODIC
	.word	TIMER_MODE_SHIFT
	.word	TIMER_PRESCALE_SHIFT
	.word	TIMER_CTRL
	.word	CONFIG_TIMER_PRESCALE
	.word	TIMER_ENABLE
	.word	TIMER_ENABLE_SHIFT
	.word	gd
	.word	READ_TIMER
	.size	timer_init, .-timer_init
	.comm	gd,4,4
	.comm	TIMER_PRESCALE_SHIFT,4,4
	.comm	TIMER_MODE_SHIFT,4,4
	.comm	TIMER_MODE_PERIODIC,4,4
	.comm	TIMER_LOAD_VAL,4,4
	.comm	TIMER_LOAD,4,4
	.comm	TIMER_ENABLE_SHIFT,4,4
	.comm	TIMER_ENABLE,4,4
	.comm	TIMER_CTRL,4,4
	.comm	READ_TIMER,4,4
	.comm	CONFIG_TIMER_PRESCALE,4,4
	.comm	CONFIG_SYS_TIMERBASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
