	.file	"extr_dw_apb_timer.c_dw_apb_clocksource_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dw_apb_clocksource_start
	.type	dw_apb_clocksource_start, @function
dw_apb_clocksource_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR APBTMR_N_CONTROL[rip]
	call	apbt_readl@PLT
	mov	ebx, DWORD PTR APBTMR_CONTROL_ENABLE[rip]
	mov	edx, DWORD PTR APBTMR_N_CONTROL[rip]
	mov	rdi, rbp
	not	ebx
	and	ebx, eax
	mov	esi, ebx
	call	apbt_writel@PLT
	mov	edx, DWORD PTR APBTMR_N_LOAD_COUNT[rip]
	mov	rdi, rbp
	mov	esi, -1
	call	apbt_writel@PLT
	mov	esi, DWORD PTR APBTMR_CONTROL_MODE_PERIODIC[rip]
	mov	edx, DWORD PTR APBTMR_N_CONTROL[rip]
	mov	rdi, rbp
	not	esi
	and	ebx, esi
	mov	esi, DWORD PTR APBTMR_CONTROL_ENABLE[rip]
	or	esi, DWORD PTR APBTMR_CONTROL_INT[rip]
	or	esi, ebx
	call	apbt_writel@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	dw_apb_clocksource_read@PLT
	.cfi_endproc
.LFE0:
	.size	dw_apb_clocksource_start, .-dw_apb_clocksource_start
	.comm	APBTMR_N_LOAD_COUNT,4,4
	.comm	APBTMR_N_CONTROL,4,4
	.comm	APBTMR_CONTROL_MODE_PERIODIC,4,4
	.comm	APBTMR_CONTROL_INT,4,4
	.comm	APBTMR_CONTROL_ENABLE,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_dw_apb_timer.c_dw_apb_clocksource_start.c"
	.text
	.align	2
	.global	dw_apb_clocksource_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	dw_apb_clocksource_start, %function
dw_apb_clocksource_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L4
	mov	r4, r0
	ldr	r1, [r6]
	bl	apbt_readl
	mov	r5, r0
	ldr	r7, .L4+4
	ldr	r2, [r6]
	ldr	r1, [r7]
	mov	r0, r4
	bic	r5, r5, r1
	mov	r1, r5
	bl	apbt_writel
	ldr	r3, .L4+8
	mov	r0, r4
	ldr	r2, [r3]
	mvn	r1, #0
	bl	apbt_writel
	ldr	r2, .L4+12
	ldr	r3, .L4+16
	ldr	r1, [r7]
	ldr	r2, [r2]
	ldr	r3, [r3]
	bic	r5, r5, r2
	orr	r1, r1, r3
	mov	r0, r4
	ldr	r2, [r6]
	orr	r1, r1, r5
	bl	apbt_writel
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	dw_apb_clocksource_read
.L5:
	.align	2
.L4:
	.word	APBTMR_N_CONTROL
	.word	APBTMR_CONTROL_ENABLE
	.word	APBTMR_N_LOAD_COUNT
	.word	APBTMR_CONTROL_MODE_PERIODIC
	.word	APBTMR_CONTROL_INT
	.size	dw_apb_clocksource_start, .-dw_apb_clocksource_start
	.comm	APBTMR_N_LOAD_COUNT,4,4
	.comm	APBTMR_N_CONTROL,4,4
	.comm	APBTMR_CONTROL_MODE_PERIODIC,4,4
	.comm	APBTMR_CONTROL_INT,4,4
	.comm	APBTMR_CONTROL_ENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
