	.file	"extr_netsend.c_wait_time.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"clock_gettime"
	.text
	.p2align 4
	.type	wait_time, @function
wait_time:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	QWORD PTR [rsp], rdi
	lea	rbp, 16[rsp]
	mov	edi, DWORD PTR CLOCK_REALTIME[rip]
	mov	QWORD PTR 8[rsp], rsi
	mov	rsi, rbp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	call	clock_gettime@PLT
	cmp	eax, -1
	je	.L5
	mov	r12, rsp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	test	rbx, rbx
	je	.L4
	add	QWORD PTR [rbx], 1
.L4:
	mov	edi, DWORD PTR CLOCK_REALTIME[rip]
	mov	rsi, rbp
	call	clock_gettime@PLT
	cmp	eax, -1
	je	.L5
.L2:
	mov	rsi, rbp
	mov	rdi, r12
	call	timespec_ge@PLT
	test	rax, rax
	jne	.L6
	test	r13, r13
	je	.L1
	movdqa	xmm0, XMMWORD PTR 16[rsp]
	movups	XMMWORD PTR 0[r13], xmm0
.L1:
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wait_time, .-wait_time
	.comm	CLOCK_REALTIME,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_netsend.c_wait_time.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"clock_gettime\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait_time, %function
wait_time:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #24
	mov	r5, sp
	mov	ip, #0
	stm	r5, {r0, r1}
	ldr	r6, .L21
	mov	r8, r3
	add	r4, sp, #12
	ldr	r3, .L21+4
	mov	r1, r4
	ldr	r0, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r7, r2
	str	ip, [sp, #16]
	str	ip, [sp, #12]
	bl	clock_gettime
	cmn	r0, #1
	bne	.L2
	b	.L5
.L6:
	cmp	r8, #0
	beq	.L4
	ldm	r8, {r1, r3}
	adds	r1, r1, #1
	adc	r3, r3, #0
	stm	r8, {r1, r3}
.L4:
	mov	r1, r4
	ldr	r0, [r6]
	bl	clock_gettime
	cmn	r0, #1
	beq	.L5
.L2:
	mov	r1, r4
	mov	r0, r5
	bl	timespec_ge
	subs	ip, r0, #0
	bne	.L6
	cmp	r7, #0
	ldmne	r4, {r0, r1}
	stmne	r7, {r0, r1}
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	mov	r0, ip
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, .L21+8
	bl	perror
	mvn	ip, #0
	b	.L1
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	CLOCK_REALTIME
	.word	.LC1
	.word	.LC0
	.size	wait_time, .-wait_time
	.comm	CLOCK_REALTIME,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
