	.file	"extr_timer-keystone.c_keystone_timer_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	keystone_timer_config, @function
keystone_timer_config:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR TCR[rip]
	call	keystone_timer_readl@PLT
	mov	edi, DWORD PTR TCR_ENAMODE_MASK[rip]
	mov	esi, DWORD PTR TCR[rip]
	or	ebp, eax
	not	edi
	and	edi, eax
	call	keystone_timer_writel@PLT
	xor	eax, eax
	call	keystone_timer_barrier@PLT
	mov	esi, DWORD PTR TIM12[rip]
	xor	edi, edi
	call	keystone_timer_writel@PLT
	mov	esi, DWORD PTR TIM34[rip]
	xor	edi, edi
	call	keystone_timer_writel@PLT
	mov	esi, DWORD PTR PRD12[rip]
	mov	edi, ebx
	call	keystone_timer_writel@PLT
	mov	ecx, 32
	mov	esi, DWORD PTR PRD34[rip]
	sar	ebx, cl
	mov	edi, ebx
	call	keystone_timer_writel@PLT
	xor	eax, eax
	call	keystone_timer_barrier@PLT
	mov	esi, DWORD PTR TCR[rip]
	mov	edi, ebp
	call	keystone_timer_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	keystone_timer_config, .-keystone_timer_config
	.comm	TIM34,4,4
	.comm	TIM12,4,4
	.comm	TCR_ENAMODE_MASK,4,4
	.comm	TCR,4,4
	.comm	PRD34,4,4
	.comm	PRD12,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_timer-keystone.c_keystone_timer_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	keystone_timer_config, %function
keystone_timer_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L4
	mov	r5, r0
	ldr	r0, [r6]
	mov	r4, r1
	bl	keystone_timer_readl
	ldr	r3, .L4+4
	ldr	r1, [r6]
	ldr	r3, [r3]
	orr	r4, r0, r4
	bic	r0, r0, r3
	bl	keystone_timer_writel
	bl	keystone_timer_barrier
	ldr	r3, .L4+8
	mov	r0, #0
	ldr	r1, [r3]
	bl	keystone_timer_writel
	ldr	r3, .L4+12
	mov	r0, #0
	ldr	r1, [r3]
	bl	keystone_timer_writel
	ldr	r3, .L4+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	keystone_timer_writel
	mov	r0, #32
	ldr	r3, .L4+20
	asr	r0, r5, r0
	ldr	r1, [r3]
	bl	keystone_timer_writel
	bl	keystone_timer_barrier
	mov	r0, r4
	ldr	r1, [r6]
	bl	keystone_timer_writel
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	TCR
	.word	TCR_ENAMODE_MASK
	.word	TIM12
	.word	TIM34
	.word	PRD12
	.word	PRD34
	.size	keystone_timer_config, .-keystone_timer_config
	.comm	TIM34,4,4
	.comm	TIM12,4,4
	.comm	TCR_ENAMODE_MASK,4,4
	.comm	TCR,4,4
	.comm	PRD34,4,4
	.comm	PRD12,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
