	.file	"extr_asm9260_timer.c_asm9260_timer_set_periodic.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	asm9260_timer_set_periodic, @function
asm9260_timer_set_periodic:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	__asm9260_timer_shutdown@PLT
	xor	edi, edi
	mov	rbp, QWORD PTR HW_MCR[rip]
	add	rbp, QWORD PTR priv[rip+8]
	add	rbp, QWORD PTR CLR_REG[rip]
	call	BM_MCR_RES_EN@PLT
	xor	edi, edi
	mov	ebx, eax
	call	BM_MCR_STOP_EN@PLT
	mov	rsi, rbp
	or	ebx, eax
	mov	edi, ebx
	call	writel_relaxed@PLT
	mov	edi, DWORD PTR priv[rip]
	mov	rsi, QWORD PTR HW_MR0[rip]
	add	rsi, QWORD PTR priv[rip+8]
	call	writel_relaxed@PLT
	mov	edi, DWORD PTR BM_C0_EN[rip]
	mov	rsi, QWORD PTR HW_TCR[rip]
	add	rsi, QWORD PTR priv[rip+8]
	add	rsi, QWORD PTR SET_REG[rip]
	call	writel_relaxed@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	asm9260_timer_set_periodic, .-asm9260_timer_set_periodic
	.comm	priv,16,16
	.comm	SET_REG,8,8
	.comm	HW_TCR,8,8
	.comm	HW_MR0,8,8
	.comm	HW_MCR,8,8
	.comm	CLR_REG,8,8
	.comm	BM_C0_EN,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_asm9260_timer.c_asm9260_timer_set_periodic.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	asm9260_timer_set_periodic, %function
asm9260_timer_set_periodic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	__asm9260_timer_shutdown
	mov	r0, #0
	bl	BM_MCR_RES_EN
	mov	r5, r0
	mov	r0, #0
	bl	BM_MCR_STOP_EN
	ldr	r4, .L4
	ldr	r3, .L4+4
	ldr	r1, .L4+8
	ldr	r2, [r3]
	ldr	r3, [r4, #4]
	ldr	r1, [r1]
	add	r3, r3, r2
	add	r1, r3, r1
	orr	r0, r5, r0
	bl	writel_relaxed
	ldr	r3, .L4+12
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	ldr	r0, [r4]
	add	r1, r1, r3
	bl	writel_relaxed
	ldr	r1, .L4+16
	ldr	r2, .L4+20
	ldr	r0, [r1]
	ldr	r3, [r4, #4]
	ldr	r1, [r2]
	ldr	r2, .L4+24
	add	r3, r3, r0
	add	r1, r3, r1
	ldr	r0, [r2]
	bl	writel_relaxed
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	priv
	.word	HW_MCR
	.word	CLR_REG
	.word	HW_MR0
	.word	HW_TCR
	.word	SET_REG
	.word	BM_C0_EN
	.size	asm9260_timer_set_periodic, .-asm9260_timer_set_periodic
	.comm	priv,8,4
	.comm	SET_REG,4,4
	.comm	HW_TCR,4,4
	.comm	HW_MR0,4,4
	.comm	HW_MCR,4,4
	.comm	CLR_REG,4,4
	.comm	BM_C0_EN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
