	.file	"473255.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Number of CPUs: %u\n"
.LC1:
	.string	"%lu iterations requested\n"
.LC4:
	.string	"%f"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -16[rbp], 1000000
	call	get_nprocs@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -20[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -52[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L2:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L3
.L8:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	je	.L5
	mov	ecx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	RunTest
	movd	eax, xmm0
	jmp	.L6
.L5:
	mov	eax, DWORD PTR .LC2[rip]
.L6:
	mov	edx, DWORD PTR -36[rbp]
	mov	ecx, edx
	imul	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -32[rbp]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -32[rbp], 1
.L4:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L7
	add	DWORD PTR -36[rbp], 1
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L8
	mov	DWORD PTR -28[rbp], 0
	jmp	.L9
.L15:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L10
.L14:
	cmp	DWORD PTR -24[rbp], 0
	je	.L11
	mov	edi, 44
	call	putchar@PLT
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jne	.L12
	mov	edi, 120
	call	putchar@PLT
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR .LC3[rip]
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
.L13:
	add	DWORD PTR -24[rbp], 1
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L14
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L9:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L15
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC5:
	.string	"Could not create threads\n"
	.text
	.globl	TimeThreads
	.type	TimeThreads, @function
TimeThreads:
.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, 176
	mov	DWORD PTR -132[rbp], edi
	mov	DWORD PTR -136[rbp], esi
	mov	QWORD PTR -144[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -160[rbp], r8
	mov	QWORD PTR -168[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -80[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rcx, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -168[rbp]
	lea	rcx, -32[rbp]
	lea	rdi, 8[rcx]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	call	pthread_create@PLT
	mov	DWORD PTR -112[rbp], eax
	cmp	DWORD PTR -116[rbp], 0
	jne	.L18
	cmp	DWORD PTR -112[rbp], 0
	je	.L19
.L18:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	pxor	xmm0, xmm0
	jmp	.L25
.L19:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	lea	rdx, -72[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	sub	rax, rdx
	imul	rsi, rax, 1000
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	sub	rax, rdx
	mov	rcx, rax
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	add	rax, rsi
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	test	rax, rax
	js	.L21
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L22
.L21:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L22:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -144[rbp]
	test	rax, rax
	js	.L23
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L24
.L23:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L24:
	cvtss2sd	xmm0, xmm0
	divsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, xmm1
	movss	DWORD PTR -108[rbp], xmm0
	movss	xmm0, DWORD PTR -108[rbp]
.L25:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	TimeThreads, .-TimeThreads
	.section	.rodata
.LC7:
	.string	"%d to %d: %f ns\n"
	.text
	.globl	RunTest
	.type	RunTest, @function
RunTest:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	QWORD PTR -112[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -88[rbp], 0
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -80[rbp], 1
	lea	rax, -88[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -48[rbp], 2
	lea	rax, -88[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -24[rbp], eax
	lea	rdi, -48[rbp]
	lea	rcx, -80[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	esi, DWORD PTR -104[rbp]
	mov	eax, DWORD PTR -100[rbp]
	lea	r9, LatencyTestThread[rip]
	mov	r8, rdi
	mov	edi, eax
	call	TimeThreads
	movd	eax, xmm0
	mov	DWORD PTR -92[rbp], eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -92[rbp]
	movq	rsi, xmm1
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -104[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movq	xmm0, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	movss	xmm0, DWORD PTR -92[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	RunTest, .-RunTest
	.globl	LatencyTestThread
	.type	LatencyTestThread, @function
LatencyTestThread:
.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, 192
	mov	QWORD PTR -184[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -168[rbp], rax
	lea	rax, -144[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 16
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	rax, QWORD PTR -160[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	eax, eax
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 1023
	ja	.L32
	mov	rax, QWORD PTR -152[rbp]
	shr	rax, 6
	lea	rdx, 0[0+rax*8]
	lea	rcx, -144[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -152[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	lea	rcx, 0[0+rax*8]
	lea	rax, -144[rbp]
	add	rax, rcx
	or	rdx, rsi
	mov	QWORD PTR [rax], rdx
.L32:
	mov	edi, 186
	mov	eax, 0
	call	syscall@PLT
	mov	ecx, eax
	lea	rax, -144[rbp]
	mov	rdx, rax
	mov	esi, 128
	mov	edi, ecx
	call	sched_setaffinity@PLT
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -168[rbp]
	lea	rsi, -1[rax]
	mov	rax, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rcx, QWORD PTR -168[rbp]
	mov	rax, rsi
	lock cmpxchg	QWORD PTR [rdx], rcx
	sete	al
	test	al, al
	je	.L33
	add	QWORD PTR -168[rbp], 2
.L33:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, rax
	cmp	QWORD PTR -168[rbp], rax
	jbe	.L34
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE9:
	.size	LatencyTestThread, .-LatencyTestThread
	.section	.rodata
	.align 4
.LC2:
	.long	0
	.align 4
.LC3:
	.long	1073741824
	.align 8
.LC6:
	.long	0
	.long	1093567616
	.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	"473255.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Number of CPUs: %u\012\000"
	.align	2
.LC1:
	.ascii	"%lu iterations requested\012\000"
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC2:
	.ascii	"%f\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r2, .L17
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	bl	get_nprocs
	str	r0, [fp, #-20]
	ldr	r3, .L17+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L17+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, .L17+4
	ldr	r0, [r3]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r1, .L17+12
	bl	fprintf
.L2:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L3
.L8:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L7:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L5
	ldr	r0, [fp, #-36]
	ldr	r1, [fp, #-32]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	RunTest
	mov	r3, r0
	b	.L6
.L5:
	mov	r3, #0
.L6:
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-20]
	mul	r1, r2, r1
	ldr	r2, [fp, #-32]
	add	r2, r1, r2
	lsl	r2, r2, #2
	ldr	r1, [fp, #-16]
	add	r2, r1, r2
	str	r3, [r2]	@ float
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L3:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L9
.L15:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L10
.L14:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L11
	mov	r0, #44
	bl	putchar
.L11:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L12
	mov	r0, #120
	bl	putchar
	b	.L13
.L12:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+16
	bl	printf
.L13:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L10:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L14
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L9:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	1000000
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Could not create threads\012\000"
	.global	__aeabi_ul2f
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	TimeThreads
	.syntax unified
	.arm
	.fpu softvfp
	.type	TimeThreads, %function
TimeThreads:
	@ args = 12, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #112
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-120]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r2, fp, #40
	sub	r3, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	gettimeofday
	sub	r0, fp, #24
	ldr	r3, [fp, #-112]
	ldr	r2, [fp, #-120]
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-80]
	sub	r3, fp, #24
	add	r0, r3, #4
	ldr	r3, [fp, #-116]
	ldr	r2, [fp, #-120]
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L21
.L20:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L25+8
	bl	fwrite
	mov	r3, #0
	b	.L23
.L21:
	ldr	r3, [fp, #-24]
	sub	r2, fp, #88
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-20]
	sub	r2, fp, #84
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	sub	r2, fp, #32
	sub	r3, fp, #48
	mov	r1, r2
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-56]
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	ldr	r2, .L25+12
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r1, r3
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L25+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-72]	@ float
	ldr	r3, [fp, #-72]	@ float
.L23:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC4
	.word	stderr
	.word	.LC3
	.word	274877907
	.word	1093567616
	.size	TimeThreads, .-TimeThreads
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d to %d: %f ns\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	RunTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	RunTest, %function
RunTest:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #108
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #76
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-48]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #2
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #76
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-24]
	ldr	r3, .L30+4
	str	r3, [sp, #8]
	sub	r3, fp, #44
	str	r3, [sp, #4]
	sub	r3, fp, #68
	str	r3, [sp]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-88]
	bl	TimeThreads
	str	r0, [fp, #-80]	@ float
	ldr	r3, .L30+8
	ldr	r4, [r3]
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-88]
	ldr	r1, .L30+12
	mov	r0, r4
	bl	fprintf
	ldr	r3, [fp, #-80]	@ float
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC6
	.word	LatencyTestThread
	.word	stderr
	.word	.LC5
	.size	RunTest, .-RunTest
	.global	__sync_val_compare_and_swap_8
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	LatencyTestThread
	.syntax unified
	.arm
	.fpu softvfp
	.type	LatencyTestThread, %function
LatencyTestThread:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #168
	str	r0, [fp, #-184]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, [fp, #-184]
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-180]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	sub	r3, fp, #160
	mov	r0, r3
	mov	r3, #128
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-180]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-176]
	ldr	r3, [fp, #-176]
	cmp	r3, #1024
	bcs	.L34
	ldr	r3, [fp, #-176]
	lsr	r3, r3, #5
	lsl	r2, r3, #2
	sub	r1, fp, #160
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-176]
	and	r2, r2, #31
	mov	r0, #1
	lsl	r2, r0, r2
	lsl	r3, r3, #2
	sub	r0, fp, #160
	add	r3, r0, r3
	orr	r2, r1, r2
	str	r2, [r3]
.L34:
	mov	r0, #224
	bl	syscall
	sub	r3, fp, #160
	mov	r2, r3
	mov	r1, #128
	bl	sched_setaffinity
	b	.L35
.L36:
	ldr	r3, [fp, #-180]
	ldr	r1, [r3, #16]
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	subs	r4, r2, #1
	sbc	r5, r3, #0
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r0, r1
	bl	__sync_val_compare_and_swap_8
	mov	r2, r0
	mov	r3, r1
	cmp	r3, r5
	cmpeq	r2, r4
	moveq	r3, #1
	movne	r3, #0
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	adds	r6, r2, #2
	adc	r7, r3, #0
	str	r6, [fp, #-172]
	str	r7, [fp, #-168]
.L35:
	ldr	r3, [fp, #-180]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	adds	r8, r2, r2
	adc	r9, r3, r3
	mov	r0, r8
	mov	r1, r9
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bls	.L36
	mov	r0, #0
	bl	pthread_exit
.L39:
	.align	2
.L38:
	.word	.LC7
	.size	LatencyTestThread, .-LatencyTestThread
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
