	.file	"extr_timer_call.c_timer_call_slop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	timer_call_slop
	.type	timer_call_slop, @function
timer_call_slop:
.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, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR mach_timer_coalescing_enabled[rip], 0
	mov	QWORD PTR 8[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	je	.L6
	mov	rbx, rdi
	mov	rbp, rsi
	cmp	rdi, rsi
	jle	.L6
	mov	rsi, QWORD PTR TIMER_CALL_URGENCY_MASK[rip]
	and	rsi, rdx
	cmp	QWORD PTR TIMER_CALL_SYS_CRITICAL[rip], rsi
	je	.L1
	mov	edi, ecx
	lea	rdx, 8[rsp]
	lea	rcx, 16[rsp]
	sub	rbx, rbp
	call	timer_compute_leeway@PLT
	mov	rcx, QWORD PTR 8[rsp]
	test	rcx, rcx
	js	.L3
	sar	rbx, cl
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbx
	call	MIN@PLT
	mov	rdx, rax
.L4:
	mov	rax, QWORD PTR timer_user_idle_level[rip]
	imul	rax, rdx
	sar	rax, 7
	add	rax, rdx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	neg	ecx
	mov	rsi, QWORD PTR 16[rsp]
	sal	rbx, cl
	mov	rdi, rbx
	call	MIN@PLT
	mov	rdx, rax
	jmp	.L4
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	timer_call_slop, .-timer_call_slop
	.comm	timer_user_idle_level,8,8
	.comm	mach_timer_coalescing_enabled,8,8
	.comm	TIMER_CALL_URGENCY_MASK,8,8
	.comm	TIMER_CALL_SYS_CRITICAL,8,8
	.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_timer_call.c_timer_call_slop.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	timer_call_slop
	.syntax unified
	.arm
	.fpu softvfp
	.type	timer_call_slop, %function
timer_call_slop:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	cmp	r0, r1
	mov	r5, r1
	ldr	r1, .L12
	mov	r4, r0
	ldr	r0, [r1]
	movle	ip, #0
	movgt	ip, #1
	cmp	r0, #0
	mov	lr, #0
	moveq	ip, #0
	ldr	r1, .L12+4
	sub	sp, sp, #28
	cmp	ip, lr
	ldr	r1, [r1]
	str	r1, [sp, #20]
	mov	r1,#0
	ldr	r0, [sp, #40]
	str	lr, [sp, #12]
	moveq	r0, ip
	str	lr, [sp, #16]
	bne	.L10
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L10:
	ldr	r1, .L12+8
	ldr	ip, .L12+12
	ldr	r1, [r1]
	ldr	ip, [ip]
	and	r1, r1, r2
	cmp	ip, r1
	moveq	r0, lr
	beq	.L1
	str	r0, [sp]
	add	r2, sp, #12
	mov	r0, r3
	add	r3, sp, #16
	bl	timer_compute_leeway
	ldr	r0, [sp, #12]
	sub	r4, r4, r5
	cmp	r0, #0
	rsblt	r0, r0, #0
	ldr	r1, [sp, #16]
	asrge	r0, r4, r0
	lsllt	r0, r4, r0
	bl	MIN
	ldr	r3, .L12+16
	ldr	ip, [r3]
	mul	ip, r0, ip
	add	r0, r0, ip, asr #7
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	mach_timer_coalescing_enabled
	.word	.LC0
	.word	TIMER_CALL_URGENCY_MASK
	.word	TIMER_CALL_SYS_CRITICAL
	.word	timer_user_idle_level
	.size	timer_call_slop, .-timer_call_slop
	.comm	timer_user_idle_level,4,4
	.comm	mach_timer_coalescing_enabled,4,4
	.comm	TIMER_CALL_URGENCY_MASK,4,4
	.comm	TIMER_CALL_SYS_CRITICAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
