	.file	"extr_clockevents.c_clockevents_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	clockevents_config, @function
clockevents_config:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR CLOCK_EVT_FEAT_ONESHOT[rip], eax
	jne	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12d, DWORD PTR 4[rdi]
	mov	rbx, rdi
	mov	edi, r12d
	call	do_div@PLT
	test	r12d, r12d
	je	.L4
	cmp	r12d, 600
	jle	.L3
	movsx	rax, DWORD PTR 4[rbx]
	cmp	rax, QWORD PTR UINT_MAX[rip]
	mov	eax, 600
	cmovg	r12d, eax
.L3:
	mov	edx, r12d
	mov	esi, ebp
	mov	rdi, rbx
	call	clockevents_calc_mult_shift@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rsi, rbx
	xor	edx, edx
	call	cev_delta2ns@PLT
	movsx	rdi, DWORD PTR 4[rbx]
	mov	rsi, rbx
	mov	edx, 1
	mov	QWORD PTR 24[rbx], rax
	call	cev_delta2ns@PLT
	mov	QWORD PTR 16[rbx], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	clockevents_config, .-clockevents_config
	.comm	UINT_MAX,8,8
	.comm	CLOCK_EVT_FEAT_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_clockevents.c_clockevents_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clockevents_config, %function
clockevents_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	bxeq	lr
	push	{r4, r5, r6, lr}
	ldr	r6, [r0, #4]
	mov	r4, r0
	mov	r0, r6
	mov	r5, r1
	bl	do_div
	cmp	r6, #0
	moveq	r6, #1
	beq	.L3
	cmp	r6, #600
	ble	.L3
	ldr	r3, .L13+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	movgt	r6, #600
.L3:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	clockevents_calc_mult_shift
	mov	r2, #0
	mov	r1, r4
	ldr	r0, [r4, #8]
	bl	cev_delta2ns
	mov	r2, #1
	str	r0, [r4, #16]
	mov	r1, r4
	ldr	r0, [r4, #4]
	bl	cev_delta2ns
	str	r0, [r4, #12]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	CLOCK_EVT_FEAT_ONESHOT
	.word	UINT_MAX
	.size	clockevents_config, .-clockevents_config
	.comm	UINT_MAX,4,4
	.comm	CLOCK_EVT_FEAT_ONESHOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
