	.file	"87636637.c"
	.intel_syntax noprefix
	.text
	.globl	errct
	.bss
	.align 4
	.type	errct, @object
	.size	errct, 4
errct:
	.zero	4
	.globl	subtest
	.data
	.align 4
	.type	subtest, @object
	.size	subtest, 4
subtest:
	.long	-1
	.globl	got_signal
	.bss
	.align 4
	.type	got_signal, @object
	.size	got_signal, 4
got_signal:
	.zero	4
	.globl	fd_ap
	.align 8
	.type	fd_ap, @object
	.size	fd_ap, 8
fd_ap:
	.zero	8
	.text
	.globl	catch_signal
	.type	catch_signal, @function
catch_signal:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR got_signal[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	catch_signal, .-catch_signal
	.section	.rodata
.LC0:
	.string	"Subtest %d, error %d, %s\n"
.LC1:
	.string	"Too many errors; test aborted"
	.text
	.globl	e
	.type	e, @function
e:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR subtest[rip]
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR errct[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR errct[rip], edx
	cmp	eax, 5
	jle	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, DWORD PTR errct[rip]
	mov	edi, eax
	call	exit@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	e, .-e
	.globl	compute_diff
	.type	compute_diff, @function
compute_diff:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rsi
	mov	r8, rdi
	mov	rsi, r8
	mov	rdi, r9
	mov	rdi, rax
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -64[rbp], rdx
	mov	QWORD PTR -56[rbp], rcx
	movss	DWORD PTR -68[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	imul	rdx, rax, 1000000
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	sub	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR -8[rbp]
	movabs	rdx, 4835703278458516699
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	DWORD PTR -16[rbp], eax
	mov	rcx, QWORD PTR -8[rbp]
	movabs	rdx, 3777893186295716171
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 11
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, eax, -100
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	movsd	xmm2, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	subss	xmm0, DWORD PTR -68[rbp]
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L6
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC4[rip]
	xorps	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
.L6:
	movss	xmm0, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	compute_diff, .-compute_diff
	.section	.rodata
.LC5:
	.string	"Failed to send signal"
	.text
	.globl	do_child
	.type	do_child, @function
do_child:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 10
	mov	QWORD PTR -24[rbp], 0
	lea	rax, -32[rbp]
	mov	r8, rax
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	select@PLT
	mov	DWORD PTR -36[rbp], eax
	call	getppid@PLT
	mov	esi, 10
	mov	edi, eax
	call	kill@PLT
	test	eax, eax
	jns	.L11
	lea	rdi, .LC5[rip]
	call	perror@PLT
.L11:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	do_child, .-do_child
	.section	.rodata
.LC6:
	.string	"Should have timed out"
.LC9:
	.string	"Time difference too large"
.LC10:
	.string	"Should have been interrupted"
	.align 8
.LC12:
	.string	"Failed to get interrupted by a signal"
	.text
	.globl	do_parent
	.type	do_parent, @function
do_parent:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	DWORD PTR -244[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, catch_signal[rip]
	mov	edi, 10
	call	signal@PLT
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 90 "the_stack_data/87636637.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -224[rbp], edx
	mov	DWORD PTR -220[rbp], eax
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR fd_ap[rip]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	QWORD PTR -192[rbp], 3
	mov	QWORD PTR -184[rbp], 0
	lea	rax, -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edi, 1[rax]
	lea	rdx, -192[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -228[rbp], eax
	lea	rax, -160[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -228[rbp]
	test	eax, eax
	je	.L14
	lea	rsi, .LC6[rip]
	mov	edi, 1
	call	e
.L14:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rdi, QWORD PTR -176[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	mov	rcx, rdx
	mov	rdx, rax
	call	compute_diff
	movd	eax, xmm0
	movd	xmm2, eax
	comiss	xmm2, DWORD PTR .LC8[rip]
	jbe	.L15
	lea	rsi, .LC9[rip]
	mov	edi, 2
	call	e
.L15:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 109 "the_stack_data/87636637.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -216[rbp], edx
	mov	DWORD PTR -212[rbp], eax
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR fd_ap[rip]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 3000000
	lea	rax, -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edi, 1[rax]
	lea	rdx, -192[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -228[rbp], eax
	lea	rax, -160[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -228[rbp]
	test	eax, eax
	je	.L17
	lea	rsi, .LC6[rip]
	mov	edi, 3
	call	e
.L17:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rdi, QWORD PTR -176[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	mov	rcx, rdx
	mov	rdx, rax
	call	compute_diff
	movd	eax, xmm0
	movd	xmm3, eax
	comiss	xmm3, DWORD PTR .LC8[rip]
	jbe	.L18
	lea	rsi, .LC9[rip]
	mov	edi, 4
	call	e
.L18:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 124 "the_stack_data/87636637.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -208[rbp], edx
	mov	DWORD PTR -204[rbp], eax
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR fd_ap[rip]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	QWORD PTR -192[rbp], 2
	mov	rdx, QWORD PTR -192[rbp]
	mov	eax, 3
	sub	rax, rdx
	imul	rax, rax, 1000000
	mov	QWORD PTR -184[rbp], rax
	lea	rax, -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edi, 1[rax]
	lea	rdx, -192[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -228[rbp], eax
	lea	rax, -160[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -228[rbp]
	test	eax, eax
	je	.L20
	lea	rsi, .LC6[rip]
	mov	edi, 5
	call	e
.L20:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rdi, QWORD PTR -176[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	movss	xmm0, DWORD PTR .LC7[rip]
	mov	rcx, rdx
	mov	rdx, rax
	call	compute_diff
	movd	eax, xmm0
	movd	xmm4, eax
	comiss	xmm4, DWORD PTR .LC8[rip]
	jbe	.L21
	lea	rsi, .LC9[rip]
	mov	edi, 6
	call	e
.L21:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 138 "the_stack_data/87636637.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -200[rbp], edx
	mov	DWORD PTR -196[rbp], eax
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR fd_ap[rip]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -144[rbp+rax*8], rdx
	mov	QWORD PTR -192[rbp], 7
	mov	QWORD PTR -184[rbp], 0
	lea	rax, -176[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR fd_ap[rip]
	lea	edi, 1[rax]
	lea	rdx, -192[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	mov	DWORD PTR -228[rbp], eax
	lea	rax, -160[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	eax, DWORD PTR -228[rbp]
	cmp	eax, -1
	je	.L23
	lea	rsi, .LC10[rip]
	mov	edi, 7
	call	e
.L23:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rdi, QWORD PTR -176[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	movss	xmm0, DWORD PTR .LC11[rip]
	mov	rcx, rdx
	mov	rdx, rax
	call	compute_diff
	movss	xmm1, DWORD PTR .LC8[rip]
	comiss	xmm1, xmm0
	jbe	.L24
	lea	rsi, .LC12[rip]
	mov	edi, 8
	call	e
.L24:
	mov	eax, DWORD PTR got_signal[rip]
	test	eax, eax
	jne	.L26
	lea	rsi, .LC12[rip]
	mov	edi, 9
	call	e
.L26:
	lea	rcx, -228[rbp]
	mov	eax, DWORD PTR -244[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR errct[rip]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	do_parent, .-do_parent
	.section	.rodata
.LC13:
	.string	"Usage: %s subtest_no\n"
.LC14:
	.string	"%d"
	.align 8
.LC15:
	.string	"Could not create anonymous pipe"
.LC16:
	.string	"Unable to fork"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 2
	je	.L33
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -2
	call	exit@PLT
.L33:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, subtest[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L34
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -2
	call	exit@PLT
.L34:
	lea	rdi, fd_ap[rip]
	call	pipe@PLT
	test	eax, eax
	jns	.L35
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L35:
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L36
	call	do_child
	jmp	.L37
.L36:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L38
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	do_parent
	jmp	.L37
.L38:
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L37:
	mov	edi, -2
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1079574528
	.align 16
.LC4:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 4
.LC7:
	.long	1077936128
	.align 4
.LC8:
	.long	1056964608
	.align 4
.LC11:
	.long	1088421888
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"87636637.c"
	.text
	.global	errct
	.bss
	.align	2
	.type	errct, %object
	.size	errct, 4
errct:
	.space	4
	.global	subtest
	.data
	.align	2
	.type	subtest, %object
	.size	subtest, 4
subtest:
	.word	-1
	.global	got_signal
	.bss
	.align	2
	.type	got_signal, %object
	.size	got_signal, 4
got_signal:
	.space	4
	.comm	fd_ap,8,4
	.text
	.align	2
	.global	catch_signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	catch_signal, %function
catch_signal:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L2
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	got_signal
	.size	catch_signal, .-catch_signal
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Subtest %d, error %d, %s\012\000"
	.align	2
.LC1:
	.ascii	"Too many errors; test aborted\000"
	.text
	.align	2
	.global	e
	.syntax unified
	.arm
	.fpu softvfp
	.type	e, %function
e:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L7
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, .L7+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L7+8
	str	r2, [r1]
	cmp	r3, #5
	ble	.L6
	ldr	r0, .L7+12
	bl	puts
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L6:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	subtest
	.word	.LC0
	.word	errct
	.word	.LC1
	.size	e, .-e
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.global	__aeabi_fsub
	.global	__aeabi_fcmplt
	.align	2
	.global	compute_diff
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_diff, %function
compute_diff:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	sub	ip, fp, #36
	stm	ip, {r0, r1}
	sub	r1, fp, #44
	stm	r1, {r2, r3}
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-36]
	sub	r1, r2, r3
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	mov	r1, r3
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	add	r3, r1, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, .L14
	smull	r1, r2, r3, r2
	asr	r2, r2, #18
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r2, .L14+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #12
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-20]
	mvn	r1, #99
	mul	r3, r1, r3
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L14+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	ldr	r1, [fp, #4]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	mov	r1, #0
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-28]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-28]	@ float
.L10:
	ldr	r3, [fp, #-28]	@ float
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	1125899907
	.word	1759218605
	.word	1079574528
	.size	compute_diff, .-compute_diff
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Failed to send signal\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_child
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_child, %function
do_child:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	select
	str	r0, [fp, #-20]
	bl	getppid
	mov	r3, r0
	mov	r1, #10
	mov	r0, r3
	bl	kill
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L19+4
	bl	perror
.L17:
	mov	r0, #0
	bl	exit
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	.LC2
	.size	do_child, .-do_child
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Should have timed out\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC5:
	.ascii	"Time difference too large\000"
	.align	2
.LC6:
	.ascii	"Should have been interrupted\000"
	.align	2
.LC7:
	.ascii	"Failed to get interrupted by a signal\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_parent
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_parent, %function
do_parent:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #208
	str	r0, [fp, #-200]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L48+4
	mov	r0, #10
	bl	signal
	sub	r3, fp, #136
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-192]
	b	.L22
.L23:
	ldr	r3, [fp, #-176]
	ldr	r2, [fp, #-192]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L22:
	ldr	r3, [fp, #-192]
	cmp	r3, #31
	bls	.L23
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	mov	r3, #3
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-156]
	sub	r3, fp, #152
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #160
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	str	r3, [fp, #-196]
	sub	r3, fp, #144
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	beq	.L24
	ldr	r1, .L48+12
	mov	r0, #1
	bl	e
.L24:
	ldr	r3, .L48+16
	str	r3, [sp]	@ float
	sub	r3, fp, #144
	ldm	r3, {r2, r3}
	sub	r1, fp, #152
	ldm	r1, {r0, r1}
	bl	compute_diff
	mov	r3, r0
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r1, .L48+20
	mov	r0, #2
	bl	e
.L25:
	sub	r3, fp, #136
	str	r3, [fp, #-172]
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L27
.L28:
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-188]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L27:
	ldr	r3, [fp, #-188]
	cmp	r3, #31
	bls	.L28
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	mov	r3, #0
	str	r3, [fp, #-160]
	ldr	r3, .L48+24
	str	r3, [fp, #-156]
	sub	r3, fp, #152
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #160
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	str	r3, [fp, #-196]
	sub	r3, fp, #144
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	beq	.L29
	ldr	r1, .L48+12
	mov	r0, #3
	bl	e
.L29:
	ldr	r3, .L48+16
	str	r3, [sp]	@ float
	sub	r3, fp, #144
	ldm	r3, {r2, r3}
	sub	r1, fp, #152
	ldm	r1, {r0, r1}
	bl	compute_diff
	mov	r3, r0
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r1, .L48+20
	mov	r0, #4
	bl	e
.L30:
	sub	r3, fp, #136
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-184]
	b	.L32
.L33:
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-184]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-184]
	add	r3, r3, #1
	str	r3, [fp, #-184]
.L32:
	ldr	r3, [fp, #-184]
	cmp	r3, #31
	bls	.L33
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	mov	r3, #2
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-160]
	rsb	r1, r3, #3
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	str	r3, [fp, #-156]
	sub	r3, fp, #152
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #160
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	str	r3, [fp, #-196]
	sub	r3, fp, #144
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	beq	.L34
	ldr	r1, .L48+12
	mov	r0, #5
	bl	e
.L34:
	ldr	r3, .L48+16
	str	r3, [sp]	@ float
	sub	r3, fp, #144
	ldm	r3, {r2, r3}
	sub	r1, fp, #152
	ldm	r1, {r0, r1}
	bl	compute_diff
	mov	r3, r0
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r1, .L48+20
	mov	r0, #6
	bl	e
.L35:
	sub	r3, fp, #136
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L37
.L38:
	ldr	r3, [fp, #-164]
	ldr	r2, [fp, #-180]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L37:
	ldr	r3, [fp, #-180]
	cmp	r3, #31
	bls	.L38
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, .L48+8
	ldr	r3, [r3]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-132]
	mov	r3, #7
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-156]
	sub	r3, fp, #152
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, .L48+8
	ldr	r3, [r3]
	add	r0, r3, #1
	sub	r1, fp, #136
	sub	r3, fp, #160
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	str	r3, [fp, #-196]
	sub	r3, fp, #144
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-196]
	cmn	r3, #1
	beq	.L39
	ldr	r1, .L48+28
	mov	r0, #7
	bl	e
.L39:
	ldr	r3, .L48+32
	str	r3, [sp]	@ float
	sub	r3, fp, #144
	ldm	r3, {r2, r3}
	sub	r1, fp, #152
	ldm	r1, {r0, r1}
	bl	compute_diff
	mov	r3, r0
	mov	r1, #1056964608
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r1, .L48+36
	mov	r0, #8
	bl	e
.L40:
	ldr	r3, .L48+40
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L42
	ldr	r1, .L48+36
	mov	r0, #9
	bl	e
.L42:
	sub	r3, fp, #196
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-200]
	bl	waitpid
	ldr	r3, .L48+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L49:
	.align	2
.L48:
	.word	.LC8
	.word	catch_signal
	.word	fd_ap
	.word	.LC4
	.word	1077936128
	.word	.LC5
	.word	3000000
	.word	.LC6
	.word	1088421888
	.word	.LC7
	.word	got_signal
	.word	errct
	.size	do_parent, .-do_parent
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Usage: %s subtest_no\012\000"
	.align	2
.LC10:
	.ascii	"%d\000"
	.align	2
.LC11:
	.ascii	"Could not create anonymous pipe\000"
	.align	2
.LC12:
	.ascii	"Unable to fork\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L51
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L57
	bl	printf
	mvn	r0, #1
	bl	exit
.L51:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L57+4
	ldr	r1, .L57+8
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L52
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L57
	bl	printf
	mvn	r0, #1
	bl	exit
.L52:
	ldr	r0, .L57+12
	bl	pipe
	mov	r3, r0
	cmp	r3, #0
	bge	.L53
	ldr	r0, .L57+16
	bl	perror
	mvn	r0, #0
	bl	exit
.L53:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L54
	bl	do_child
	b	.L55
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L56
	ldr	r0, [fp, #-8]
	bl	do_parent
	b	.L55
.L56:
	ldr	r0, .L57+20
	bl	perror
	mvn	r0, #0
	bl	exit
.L55:
	mvn	r0, #1
	bl	exit
.L58:
	.align	2
.L57:
	.word	.LC9
	.word	subtest
	.word	.LC10
	.word	fd_ap
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
