	.file	"174632.c"
	.intel_syntax noprefix
	.text
	.globl	test_funcs
	.bss
	.align 32
	.type	test_funcs, @object
	.size	test_funcs, 80
test_funcs:
	.zero	80
	.globl	num_tests
	.align 4
	.type	num_tests, @object
	.size	num_tests, 4
num_tests:
	.zero	4
	.globl	data
	.align 32
	.type	data, @object
	.size	data, 40000
data:
	.zero	40000
	.section	.rodata
.LC0:
	.string	"exceeded max possible tests"
	.text
	.globl	add_test
	.type	add_test, @function
add_test:
.LFB6:
	.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	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR num_tests[rip]
	cmp	eax, 10
	jne	.L2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	eax, DWORD PTR num_tests[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, test_funcs[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR num_tests[rip]
	add	eax, 1
	mov	DWORD PTR num_tests[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	add_test, .-add_test
	.section	.rodata
.LC1:
	.string	"starting setup"
	.text
	.globl	setup
	.type	setup, @function
setup:
.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
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L7:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	DWORD PTR [rdx+rax], 77
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L6
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 99
	jle	.L7
	mov	edi, 3000000
	call	usleep@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	setup, .-setup
	.globl	timeout
	.type	timeout, @function
timeout:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 2
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	timeout, .-timeout
	.section	.rodata
.LC2:
	.string	"Test Crashed"
.LC3:
	.string	"Test Passed"
.LC4:
	.string	"Test Failed: %s\n"
.LC5:
	.string	"Test Time Outa"
	.text
	.globl	run_all_tests
	.type	run_all_tests, @function
run_all_tests:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 248
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, 0
	call	setup
	lea	rsi, timeout[rip]
	mov	edi, 14
	call	signal@PLT
	mov	eax, DWORD PTR num_tests[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -232[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -272[rbp], rdx
	mov	QWORD PTR -264[rbp], 0
	movsx	rdx, eax
	mov	QWORD PTR -288[rbp], rdx
	mov	QWORD PTR -280[rbp], 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -224[rbp], rax
	mov	eax, DWORD PTR num_tests[rip]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -216[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L13:
	cmp	rsp, rdx
	je	.L14
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L13
.L14:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L15
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L15:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -208[rbp], rax
	mov	DWORD PTR -244[rbp], 0
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -224[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR -236[rbp], eax
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR -236[rbp]
	mov	DWORD PTR [rax+rdx*4], ecx
	cmp	DWORD PTR -236[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	edi, 3
	call	alarm@PLT
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, test_funcs[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, 0
	call	rdx
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -224[rbp]
	mov	ecx, DWORD PTR -244[rbp]
	movsx	rcx, ecx
	mov	eax, DWORD PTR 4[rax+rcx*8]
	mov	rcx, QWORD PTR -200[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	add	DWORD PTR -244[rbp], 1
.L16:
	mov	eax, DWORD PTR num_tests[rip]
	cmp	DWORD PTR -244[rbp], eax
	jl	.L19
	mov	DWORD PTR -248[rbp], 0
	jmp	.L20
.L25:
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -248[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -248[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	lea	rcx, -192[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -240[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -248[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -248[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	lea	rcx, -252[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	waitpid@PLT
	mov	eax, DWORD PTR -252[rbp]
	and	eax, 127
	test	eax, eax
	je	.L21
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L22
.L21:
	mov	eax, DWORD PTR -252[rbp]
	sar	eax, 8
	movzx	eax, al
	test	eax, eax
	jne	.L23
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L22
.L23:
	mov	eax, DWORD PTR -252[rbp]
	sar	eax, 8
	movzx	eax, al
	cmp	eax, 1
	jne	.L24
	lea	rax, -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -252[rbp]
	sar	eax, 8
	movzx	eax, al
	cmp	eax, 2
	jne	.L22
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L22:
	add	DWORD PTR -248[rbp], 1
.L20:
	mov	eax, DWORD PTR num_tests[rip]
	cmp	DWORD PTR -248[rbp], eax
	jl	.L25
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	run_all_tests, .-run_all_tests
	.section	.rodata
.LC6:
	.string	"starting test 1"
	.align 8
.LC7:
	.string	"test 1 data not initialized properly"
.LC8:
	.string	"test 1 data not set properly"
.LC9:
	.string	"ending test 1"
	.text
	.globl	test1
	.type	test1, @function
test1:
.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, 32
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L28
.L33:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L29
.L32:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 77
	je	.L30
	lea	rax, .LC7[rip]
	jmp	.L31
.L30:
	add	DWORD PTR -20[rbp], 1
.L29:
	cmp	DWORD PTR -20[rbp], 99
	jle	.L32
	add	DWORD PTR -24[rbp], 1
.L28:
	cmp	DWORD PTR -24[rbp], 99
	jle	.L33
	mov	DWORD PTR -16[rbp], 0
	jmp	.L34
.L37:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	DWORD PTR [rdx+rax], 1
	add	DWORD PTR -12[rbp], 1
.L35:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L36
	add	DWORD PTR -16[rbp], 1
.L34:
	cmp	DWORD PTR -16[rbp], 99
	jle	.L37
	mov	DWORD PTR -8[rbp], 0
	jmp	.L38
.L42:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L39
.L41:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	je	.L40
	lea	rax, .LC8[rip]
	jmp	.L31
.L40:
	add	DWORD PTR -4[rbp], 1
.L39:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L41
	add	DWORD PTR -8[rbp], 1
.L38:
	cmp	DWORD PTR -8[rbp], 99
	jle	.L42
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 0
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	test1, .-test1
	.section	.rodata
.LC10:
	.string	"starting test 2"
	.align 8
.LC11:
	.string	"test 2 data not initialized properly"
.LC12:
	.string	"test 2 data not set properly"
.LC13:
	.string	"ending test 2"
	.text
	.globl	test2
	.type	test2, @function
test2:
.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
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -24[rbp], 0
	jmp	.L44
.L49:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L45
.L48:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 77
	je	.L46
	lea	rax, .LC11[rip]
	jmp	.L47
.L46:
	add	DWORD PTR -20[rbp], 1
.L45:
	cmp	DWORD PTR -20[rbp], 99
	jle	.L48
	add	DWORD PTR -24[rbp], 1
.L44:
	cmp	DWORD PTR -24[rbp], 99
	jle	.L49
	mov	DWORD PTR -16[rbp], 0
	jmp	.L50
.L53:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	DWORD PTR [rdx+rax], 2
	add	DWORD PTR -12[rbp], 1
.L51:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L52
	add	DWORD PTR -16[rbp], 1
.L50:
	cmp	DWORD PTR -16[rbp], 99
	jle	.L53
	mov	DWORD PTR -8[rbp], 0
	jmp	.L54
.L58:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L55
.L57:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, data[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L56
	lea	rax, .LC12[rip]
	jmp	.L47
.L56:
	add	DWORD PTR -4[rbp], 1
.L55:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L57
	add	DWORD PTR -8[rbp], 1
.L54:
	cmp	DWORD PTR -8[rbp], 99
	jle	.L58
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 0
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	test2, .-test2
	.section	.rodata
.LC14:
	.string	"starting test 3"
.LC15:
	.string	"test 3 always fails"
	.text
	.globl	test3
	.type	test3, @function
test3:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rax, .LC15[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	test3, .-test3
	.section	.rodata
.LC16:
	.string	"starting test 4"
.LC17:
	.string	"data at val is %d"
.LC18:
	.string	"ending test 4"
	.text
	.globl	test4
	.type	test4, @function
test4:
.LFB13:
	.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
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	test4, .-test4
	.section	.rodata
.LC19:
	.string	"starting test 5"
	.text
	.globl	test5
	.type	test5, @function
test5:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L64:
	jmp	.L64
	.cfi_endproc
.LFE14:
	.size	test5, .-test5
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, test1[rip]
	call	add_test
	lea	rdi, test2[rip]
	call	add_test
	lea	rdi, test3[rip]
	call	add_test
	lea	rdi, test4[rip]
	call	add_test
	lea	rdi, test5[rip]
	call	add_test
	mov	eax, 0
	call	run_all_tests
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.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	"174632.c"
	.text
	.comm	test_funcs,40,4
	.global	num_tests
	.bss
	.align	2
	.type	num_tests, %object
	.size	num_tests, 4
num_tests:
	.space	4
	.comm	data,40000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"exceeded max possible tests\000"
	.text
	.align	2
	.global	add_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_test, %function
add_test:
	@ 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]
	ldr	r3, .L3
	ldr	r3, [r3]
	cmp	r3, #10
	bne	.L2
	ldr	r0, .L3+4
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, .L3
	ldr	r3, [r3]
	ldr	r1, .L3+8
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L3
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	num_tests
	.word	.LC0
	.word	test_funcs
	.size	add_test, .-add_test
	.section	.rodata
	.align	2
.LC1:
	.ascii	"starting setup\000"
	.text
	.align	2
	.global	setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup, %function
setup:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L10
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r1, .L10+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	mov	r2, #77
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L8
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L9
	ldr	r0, .L10+8
	bl	usleep
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	data
	.word	3000000
	.size	setup, .-setup
	.align	2
	.global	timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	timeout, %function
timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #2
	bl	exit
	.size	timeout, .-timeout
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Test Crashed\000"
	.align	2
.LC3:
	.ascii	"Test Passed\000"
	.align	2
.LC4:
	.ascii	"Test Failed: %s\012\000"
	.align	2
.LC5:
	.ascii	"Test Time Outa\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run_all_tests
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_all_tests, %function
run_all_tests:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #180
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	bl	setup
	ldr	r1, .L25+4
	mov	r0, #14
	bl	signal
	ldr	r3, .L25+8
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-172]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-168]
	ldr	r3, .L25+8
	ldr	ip, [r3]
	sub	r3, ip, #1
	str	r3, [fp, #-164]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-160]
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L14
.L17:
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	mov	r0, r3
	bl	pipe
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-160]
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-152]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-176]
	ldr	r3, [r3, r2, lsl #3]
	mov	r0, r3
	bl	close
	mov	r0, #3
	bl	alarm
	ldr	r2, .L25+12
	ldr	r3, [fp, #-176]
	ldr	r3, [r2, r3, lsl #2]
	blx	r3
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L16
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	exit
.L16:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r4, [r3, #4]
	ldr	r0, [fp, #-148]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-148]
	mov	r0, r4
	bl	write
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L14:
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	blt	.L17
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L18
.L23:
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-180]
	ldr	r3, [r3, r2, lsl #3]
	sub	r1, fp, #144
	mov	r2, #128
	mov	r0, r3
	bl	read
	str	r0, [fp, #-156]
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-180]
	ldr	r3, [r3, r2, lsl #3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-160]
	ldr	r2, [fp, #-180]
	ldr	r3, [r3, r2, lsl #2]
	sub	r1, fp, #184
	mov	r2, #0
	mov	r0, r3
	bl	waitpid
	ldr	r3, [fp, #-184]
	and	r3, r3, #127
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L25+16
	bl	puts
	b	.L20
.L19:
	ldr	r3, [fp, #-184]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L25+20
	bl	puts
	b	.L20
.L21:
	ldr	r3, [fp, #-184]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #1
	bne	.L22
	sub	r3, fp, #144
	mov	r1, r3
	ldr	r0, .L25+24
	bl	printf
	b	.L20
.L22:
	ldr	r3, [fp, #-184]
	asr	r3, r3, #8
	and	r3, r3, #255
	cmp	r3, #2
	bne	.L20
	ldr	r0, .L25+28
	bl	puts
.L20:
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L18:
	ldr	r3, .L25+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-180]
	cmp	r2, r3
	blt	.L23
	mov	sp, r4
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC6
	.word	timeout
	.word	num_tests
	.word	test_funcs
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	run_all_tests, .-run_all_tests
	.section	.rodata
	.align	2
.LC7:
	.ascii	"starting test 1\000"
	.align	2
.LC8:
	.ascii	"test 1 data not initialized properly\000"
	.align	2
.LC9:
	.ascii	"test 1 data not set properly\000"
	.align	2
.LC10:
	.ascii	"ending test 1\000"
	.text
	.align	2
	.global	test1
	.syntax unified
	.arm
	.fpu softvfp
	.type	test1, %function
test1:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r0, .L43
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L28
.L33:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L29
.L32:
	ldr	r1, .L43+4
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #77
	beq	.L30
	ldr	r3, .L43+8
	b	.L31
.L30:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L29:
	ldr	r3, [fp, #-24]
	cmp	r3, #99
	ble	.L32
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L28:
	ldr	r3, [fp, #-28]
	cmp	r3, #99
	ble	.L33
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L34
.L37:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L35
.L36:
	ldr	r1, .L43+4
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #1
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #99
	ble	.L36
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L37
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L38
.L42:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L39
.L41:
	ldr	r1, .L43+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #1
	beq	.L40
	ldr	r3, .L43+12
	b	.L31
.L40:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L41
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L38:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L42
	ldr	r0, .L43+16
	bl	puts
	mov	r3, #0
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC7
	.word	data
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	test1, .-test1
	.section	.rodata
	.align	2
.LC11:
	.ascii	"starting test 2\000"
	.align	2
.LC12:
	.ascii	"test 2 data not initialized properly\000"
	.align	2
.LC13:
	.ascii	"test 2 data not set properly\000"
	.align	2
.LC14:
	.ascii	"ending test 2\000"
	.text
	.align	2
	.global	test2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test2, %function
test2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r0, .L61
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L46
.L51:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L47
.L50:
	ldr	r1, .L61+4
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #77
	beq	.L48
	ldr	r3, .L61+8
	b	.L49
.L48:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L47:
	ldr	r3, [fp, #-24]
	cmp	r3, #99
	ble	.L50
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L46:
	ldr	r3, [fp, #-28]
	cmp	r3, #99
	ble	.L51
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L52
.L55:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L53
.L54:
	ldr	r1, .L61+4
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #2
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L53:
	ldr	r3, [fp, #-16]
	cmp	r3, #99
	ble	.L54
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L52:
	ldr	r3, [fp, #-20]
	cmp	r3, #99
	ble	.L55
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L56
.L60:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L57
.L59:
	ldr	r1, .L61+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #2
	beq	.L58
	ldr	r3, .L61+12
	b	.L49
.L58:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L57:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L59
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L60
	ldr	r0, .L61+16
	bl	puts
	mov	r3, #0
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC11
	.word	data
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	test2, .-test2
	.section	.rodata
	.align	2
.LC15:
	.ascii	"starting test 3\000"
	.align	2
.LC16:
	.ascii	"test 3 always fails\000"
	.text
	.align	2
	.global	test3
	.syntax unified
	.arm
	.fpu softvfp
	.type	test3, %function
test3:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L65
	bl	puts
	ldr	r3, .L65+4
	mov	r0, r3
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC15
	.word	.LC16
	.size	test3, .-test3
	.section	.rodata
	.align	2
.LC17:
	.ascii	"starting test 4\000"
	.align	2
.LC18:
	.ascii	"data at val is %d\000"
	.align	2
.LC19:
	.ascii	"ending test 4\000"
	.text
	.align	2
	.global	test4
	.syntax unified
	.arm
	.fpu softvfp
	.type	test4, %function
test4:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L69
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L69+4
	bl	printf
	ldr	r0, .L69+8
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	test4, .-test4
	.section	.rodata
	.align	2
.LC20:
	.ascii	"starting test 5\000"
	.text
	.align	2
	.global	test5
	.syntax unified
	.arm
	.fpu softvfp
	.type	test5, %function
test5:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L73
	bl	puts
.L72:
	b	.L72
.L74:
	.align	2
.L73:
	.word	.LC20
	.size	test5, .-test5
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L76
	bl	add_test
	ldr	r0, .L76+4
	bl	add_test
	ldr	r0, .L76+8
	bl	add_test
	ldr	r0, .L76+12
	bl	add_test
	ldr	r0, .L76+16
	bl	add_test
	bl	run_all_tests
	nop
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	test1
	.word	test2
	.word	test3
	.word	test4
	.word	test5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
