	.file	"extr_tick-oneshot.c_tick_program_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tick_program_event
	.type	tick_program_event, @function
tick_program_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, DWORD PTR tick_cpu_device[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	__this_cpu_read@PLT
	xor	edi, edi
	cmp	QWORD PTR KTIME_MAX[rip], r12
	sete	dil
	mov	rbp, rax
	call	unlikely@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, rbp
	call	clockevent_state_oneshot_stopped@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L12
.L4:
	mov	edx, r13d
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	clockevents_program_event@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR CLOCK_EVT_STATE_ONESHOT[rip]
	mov	rdi, rbp
	call	clockevents_switch_state@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR CLOCK_EVT_STATE_ONESHOT_STOPPED[rip]
	mov	rdi, rbp
	call	clockevents_switch_state@PLT
	mov	rax, QWORD PTR KTIME_MAX[rip]
	mov	QWORD PTR 0[rbp], rax
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tick_program_event, .-tick_program_event
	.comm	tick_cpu_device,4,4
	.comm	KTIME_MAX,8,8
	.comm	CLOCK_EVT_STATE_ONESHOT_STOPPED,4,4
	.comm	CLOCK_EVT_STATE_ONESHOT,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_tick-oneshot.c_tick_program_event.c"
	.text
	.align	2
	.global	tick_program_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	tick_program_event, %function
tick_program_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r3]
	mov	r7, r1
	bl	__this_cpu_read
	ldr	r5, .L13+4
	mov	r4, r0
	ldr	r0, [r5]
	sub	r0, r0, r6
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L9
	mov	r0, r4
	bl	clockevent_state_oneshot_stopped
	bl	unlikely
	cmp	r0, #0
	bne	.L12
.L4:
	mov	r2, r7
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	clockevents_program_event
.L12:
	ldr	r3, .L13+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	clockevents_switch_state
	b	.L4
.L9:
	ldr	r3, .L13+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	clockevents_switch_state
	ldr	r3, [r5]
	mov	r0, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	tick_cpu_device
	.word	KTIME_MAX
	.word	CLOCK_EVT_STATE_ONESHOT
	.word	CLOCK_EVT_STATE_ONESHOT_STOPPED
	.size	tick_program_event, .-tick_program_event
	.comm	tick_cpu_device,4,4
	.comm	KTIME_MAX,4,4
	.comm	CLOCK_EVT_STATE_ONESHOT_STOPPED,4,4
	.comm	CLOCK_EVT_STATE_ONESHOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
