	.file	"extr_time.c_os_idle_sleep.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	os_idle_sleep
	.type	os_idle_sleep, @function
os_idle_sleep:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	xor	edx, edx
	xor	ecx, ecx
	xor	esi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, rdi
	mov	edi, DWORD PTR CLOCK_MONOTONIC[rip]
	div	QWORD PTR UM_NSEC_PER_SEC[rip]
	mov	QWORD PTR 8[rsp], rdx
	mov	rdx, rsp
	mov	QWORD PTR [rsp], rax
	call	clock_nanosleep@PLT
	test	rax, rax
	jne	.L9
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	call	deliver_alarm@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	os_idle_sleep, .-os_idle_sleep
	.comm	UM_NSEC_PER_SEC,8,8
	.comm	CLOCK_MONOTONIC,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.c_os_idle_sleep.c"
	.text
	.global	__aeabi_uldivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	os_idle_sleep
	.syntax unified
	.arm
	.fpu softvfp
	.type	os_idle_sleep, %function
os_idle_sleep:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, .L11
	ldr	r3, .L11+4
	sub	sp, sp, #28
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	ldmia	r3, {r2-r3}
	bl	__aeabi_uldivmod
	mov	r5, r3
	mov	r3, #0
	mov	r4, r2
	ldr	r2, .L11+8
	stm	sp, {r0-r1}
	ldr	r0, [r2]
	mov	r1, r3
	mov	r2, sp
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	bl	clock_nanosleep
	cmp	r0, #0
	bne	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	bl	deliver_alarm
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	UM_NSEC_PER_SEC
	.word	CLOCK_MONOTONIC
	.size	os_idle_sleep, .-os_idle_sleep
	.comm	UM_NSEC_PER_SEC,8,8
	.comm	CLOCK_MONOTONIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
