	.file	"extr_pps_gen_parport.c_next_intr_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	next_intr_time, @function
next_intr_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rdi, rsp
	call	ktime_get_real_ts64@PLT
	mov	edx, DWORD PTR SAFETY_INTERVAL[rip]
	mov	rax, QWORD PTR send_delay[rip]
	xor	edi, edi
	add	rax, QWORD PTR [rbx]
	mov	rsi, QWORD PTR NSEC_PER_SEC[rip]
	lea	edx, [rdx+rdx*2]
	movsx	rdx, edx
	add	rax, rdx
	sub	rsi, rax
	imul	eax, DWORD PTR NSEC_PER_MSEC[rip], 990
	cmp	DWORD PTR [rsp], eax
	setg	dil
	add	rdi, QWORD PTR 8[rsp]
	call	ktime_set@PLT
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	next_intr_time, .-next_intr_time
	.comm	send_delay,8,8
	.comm	SAFETY_INTERVAL,4,4
	.comm	NSEC_PER_SEC,8,8
	.comm	NSEC_PER_MSEC,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_pps_gen_parport.c_next_intr_time.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_intr_time, %function
next_intr_time:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	sub	sp, sp, #16
	ldr	r3, .L6
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ktime_get_real_ts64
	ldr	r2, .L6+4
	ldr	r1, .L6+8
	ldr	r3, .L6+12
	ldr	r0, [r2]
	ldr	ip, [r1]
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r3, .L6+16
	rsb	r0, r0, r0, lsl #4
	add	r2, r2, ip
	ldr	lr, [r3]
	ldr	ip, [sp, #4]
	add	r3, r0, r0, lsl #5
	add	r1, r1, r1, lsl #1
	ldr	r0, [sp, #8]
	add	r1, r2, r1
	lsl	r3, r3, #1
	cmp	r3, ip
	addlt	r0, r0, #1
	sub	r1, lr, r1
	bl	ktime_set
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	NSEC_PER_MSEC
	.word	send_delay
	.word	SAFETY_INTERVAL
	.word	NSEC_PER_SEC
	.size	next_intr_time, .-next_intr_time
	.comm	send_delay,4,4
	.comm	SAFETY_INTERVAL,4,4
	.comm	NSEC_PER_SEC,4,4
	.comm	NSEC_PER_MSEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
