	.file	"extr_time-ns9360.c_ns9360_clockevent_setnextevent.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ns9360_clockevent_setnextevent, @function
ns9360_clockevent_setnextevent:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR TIMER_CLOCKEVENT[rip]
	call	SYS_TC@PLT
	mov	edi, eax
	call	__raw_readl@PLT
	mov	edx, DWORD PTR TEN[rip]
	mov	esi, DWORD PTR SYS_TCx[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	REGGET@PLT
	test	rax, rax
	jne	.L8
.L2:
	mov	ecx, DWORD PTR EN[rip]
	mov	edx, DWORD PTR TEN[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR SYS_TCx[rip]
	call	REGSET@PLT
	mov	edi, DWORD PTR TIMER_CLOCKEVENT[rip]
	call	SYS_TRC@PLT
	mov	rdi, r12
	mov	esi, eax
	call	__raw_writel@PLT
	mov	edi, DWORD PTR TIMER_CLOCKEVENT[rip]
	call	SYS_TC@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	__raw_writel@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	ecx, DWORD PTR DIS[rip]
	mov	edx, DWORD PTR TEN[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR SYS_TCx[rip]
	call	REGSET@PLT
	mov	edi, DWORD PTR TIMER_CLOCKEVENT[rip]
	call	SYS_TC@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	__raw_writel@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ns9360_clockevent_setnextevent, .-ns9360_clockevent_setnextevent
	.comm	TIMER_CLOCKEVENT,4,4
	.comm	TEN,4,4
	.comm	SYS_TCx,4,4
	.comm	EN,4,4
	.comm	DIS,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_time-ns9360.c_ns9360_clockevent_setnextevent.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ns9360_clockevent_setnextevent, %function
ns9360_clockevent_setnextevent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L9
	mov	r6, r0
	ldr	r0, [r5]
	bl	SYS_TC
	bl	__raw_readl
	ldr	r8, .L9+4
	ldr	r7, .L9+8
	ldr	r2, [r8]
	ldr	r1, [r7]
	mov	r4, r0
	bl	REGGET
	cmp	r0, #0
	bne	.L8
.L2:
	ldr	r3, .L9+12
	ldr	r2, [r8]
	ldr	r3, [r3]
	ldr	r1, [r7]
	mov	r0, r4
	bl	REGSET
	ldr	r0, [r5]
	bl	SYS_TRC
	mov	r1, r0
	mov	r0, r6
	bl	__raw_writel
	ldr	r0, [r5]
	bl	SYS_TC
	mov	r1, r0
	mov	r0, r4
	bl	__raw_writel
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+16
	ldr	r1, [r7]
	ldr	r2, [r8]
	ldr	r3, [r3]
	mov	r0, r4
	bl	REGSET
	ldr	r0, [r5]
	bl	SYS_TC
	mov	r1, r0
	mov	r0, r4
	bl	__raw_writel
	b	.L2
.L10:
	.align	2
.L9:
	.word	TIMER_CLOCKEVENT
	.word	TEN
	.word	SYS_TCx
	.word	EN
	.word	DIS
	.size	ns9360_clockevent_setnextevent, .-ns9360_clockevent_setnextevent
	.comm	TIMER_CLOCKEVENT,4,4
	.comm	TEN,4,4
	.comm	SYS_TCx,4,4
	.comm	EN,4,4
	.comm	DIS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
