	.file	"661633.c"
	.intel_syntax noprefix
	.text
	.globl	mutex
	.bss
	.align 32
	.type	mutex, @object
	.size	mutex, 40
mutex:
	.zero	40
	.globl	id
	.align 8
	.type	id, @object
	.size	id, 8
id:
	.zero	8
	.globl	threads
	.align 4
	.type	threads, @object
	.size	threads, 4
threads:
	.zero	4
	.globl	info
	.align 8
	.type	info, @object
	.size	info, 8
info:
	.zero	8
	.globl	total
	.align 4
	.type	total, @object
	.size	total, 4
total:
	.zero	4
	.globl	passed
	.align 8
	.type	passed, @object
	.size	passed, 8
passed:
	.zero	8
	.section	.rodata
.LC1:
	.string	"Progress: %lf%\n"
	.text
	.globl	threadstp
	.type	threadstp, @function
threadstp:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR passed[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -8[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L3
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR total[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	threadstp, .-threadstp
	.globl	thread
	.type	thread, @function
thread:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -88[rbp], 0
	call	clock@PLT
	mov	rdx, rax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	srand48_r@PLT
	mov	DWORD PTR -92[rbp], 0
	mov	rdx, QWORD PTR passed[rip]
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 3
	add	rdx, rax
	lea	rax, -92[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L6
.L9:
	lea	rdx, -80[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	drand48_r@PLT
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	lea	rdx, -72[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lrand48_r@PLT
	mov	rax, QWORD PTR -72[rbp]
	cqo
	shr	rdx, 61
	add	rax, rdx
	and	eax, 7
	sub	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	lea	rdx, -80[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	drand48_r@PLT
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	lea	rdx, -72[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lrand48_r@PLT
	mov	rax, QWORD PTR -72[rbp]
	cqo
	shr	rdx, 58
	add	rax, rdx
	and	eax, 63
	sub	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -56[rbp]
	movsd	xmm1, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, xmm0
	comisd	xmm0, QWORD PTR -48[rbp]
	jbe	.L7
	add	DWORD PTR -88[rbp], 1
.L7:
	mov	eax, DWORD PTR -92[rbp]
	add	eax, 1
	mov	DWORD PTR -92[rbp], eax
.L6:
	mov	eax, DWORD PTR -92[rbp]
	cmp	DWORD PTR -84[rbp], eax
	jg	.L9
	mov	eax, DWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	thread, .-thread
	.section	.rodata
.LC2:
	.string	"the_stack_data/661633.c"
.LC3:
	.string	"argc == 3"
.LC4:
	.string	"%d %d\n"
.LC8:
	.string	"yx^2 = %0.8lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 208
	mov	DWORD PTR -196[rbp], edi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -196[rbp], 3
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 68
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L14:
	mov	edi, 1
	call	malloc@PLT
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rcx, -176[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR threads[rip], eax
	mov	rax, QWORD PTR -208[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -176[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR total[rip], eax
	mov	eax, DWORD PTR threads[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR id[rip], rax
	mov	eax, DWORD PTR threads[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR passed[rip], rax
	lea	rsi, threadstp[rip]
	mov	edi, 20
	call	signal@PLT
	lea	rax, -148[rbp]
	mov	rdi, rax
	call	pthread_mutexattr_init@PLT
	lea	rax, -148[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	pthread_mutexattr_settype@PLT
	lea	rax, -148[rbp]
	mov	rsi, rax
	lea	rdi, mutex[rip]
	call	pthread_mutex_init@PLT
	mov	eax, DWORD PTR total[rip]
	mov	ecx, DWORD PTR threads[rip]
	cdq
	idiv	ecx
	mov	DWORD PTR -180[rbp], edx
	mov	eax, DWORD PTR threads[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR info[rip], rax
	mov	DWORD PTR -192[rbp], 0
	jmp	.L15
.L16:
	mov	rdx, QWORD PTR info[rip]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR total[rip]
	mov	edi, DWORD PTR threads[rip]
	mov	rsi, QWORD PTR info[rip]
	mov	ecx, DWORD PTR -192[rbp]
	movsx	rcx, ecx
	sal	rcx, 3
	add	rcx, rsi
	cdq
	idiv	edi
	mov	DWORD PTR 4[rcx], eax
	mov	rdx, QWORD PTR info[rip]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	rcx, QWORD PTR info[rip]
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -192[rbp], 1
.L15:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -192[rbp], eax
	jl	.L16
	mov	rdx, QWORD PTR info[rip]
	mov	eax, DWORD PTR threads[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	ecx, DWORD PTR 4[rax]
	mov	rdx, QWORD PTR info[rip]
	mov	eax, DWORD PTR threads[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	edx, DWORD PTR -180[rbp]
	add	edx, ecx
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR -188[rbp], 0
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR info[rip]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	rcx, QWORD PTR id[rip]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, thread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -188[rbp], 1
.L17:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -188[rbp], eax
	jl	.L18
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	sigfillset@PLT
	lea	rax, -144[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	sigaddset@PLT
	lea	rax, -144[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 0
	call	sigprocmask@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	QWORD PTR -168[rbp], 0
	mov	DWORD PTR -184[rbp], 0
	jmp	.L19
.L20:
	mov	rdx, QWORD PTR id[rip]
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -168[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR -160[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	add	DWORD PTR -184[rbp], 1
.L19:
	mov	eax, DWORD PTR threads[rip]
	cmp	DWORD PTR -184[rbp], eax
	jl	.L20
	mov	eax, DWORD PTR total[rip]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	xmm0, QWORD PTR -160[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC6:
	.long	0
	.long	1075838976
	.align 8
.LC7:
	.long	0
	.long	1078984704
	.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	"661633.c"
	.text
	.comm	mutex,24,4
	.comm	id,4,4
	.comm	threads,4,4
	.comm	info,4,4
	.comm	total,4,4
	.global	passed
	.bss
	.align	2
	.type	passed, %object
	.size	passed, 4
passed:
	.space	4
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Progress: %lf%\012\000"
	.text
	.align	2
	.global	threadstp
	.syntax unified
	.arm
	.fpu softvfp
	.type	threadstp, %function
threadstp:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, .L5
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, .L5+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L3
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L5+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	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
	mov	r2, #0
	ldr	r3, .L5+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L5+16
	bl	printf
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L6:
	.align	2
.L5:
	.word	passed
	.word	threads
	.word	total
	.word	1079574528
	.word	.LC0
	.size	threadstp, .-threadstp
	.global	__aeabi_dadd
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	thread, %function
thread:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]
	bl	clock
	mov	r2, r0
	sub	r3, fp, #36
	mov	r1, r3
	mov	r0, r2
	bl	srand48_r
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #80
	str	r2, [r3]
	b	.L8
.L11:
	sub	r2, fp, #60
	sub	r3, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	drand48_r
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r2, fp, #84
	sub	r3, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	lrand48_r
	ldr	r3, [fp, #-84]
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-68]
	sub	r2, fp, #60
	sub	r3, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	drand48_r
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r2, fp, #84
	sub	r3, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	lrand48_r
	ldr	r3, [fp, #-84]
	rsbs	r2, r3, #0
	and	r3, r3, #63
	and	r2, r2, #63
	rsbpl	r3, r2, #0
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-68]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r0, [fp, #-64]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L9:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L8:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bgt	.L11
	ldr	r3, [fp, #-76]
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC1
	.word	passed
	.size	thread, .-thread
	.section	.rodata
	.align	2
.LC2:
	.ascii	"the_stack_data/661633.c\000"
	.align	2
.LC3:
	.ascii	"argc == 3\000"
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
.LC4:
	.ascii	"%d %d\012\000"
	.align	2
.LC5:
	.ascii	"yx^2 = %0.8lf\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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
	str	r0, [fp, #-184]
	str	r1, [fp, #-188]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-184]
	cmp	r3, #3
	beq	.L18
	ldr	r3, .L27+4
	mov	r2, #68
	ldr	r1, .L27+8
	ldr	r0, .L27+12
	bl	__assert_fail
.L18:
	mov	r0, #1
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-188]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r1, fp, #180
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L27+16
	str	r3, [r2]
	ldr	r3, [fp, #-188]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r1, fp, #180
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L27+20
	str	r3, [r2]
	ldr	r3, .L27+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+24
	str	r2, [r3]
	ldr	r3, .L27+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+28
	str	r2, [r3]
	ldr	r1, .L27+32
	mov	r0, #20
	bl	signal
	sub	r3, fp, #148
	mov	r0, r3
	bl	pthread_mutexattr_init
	sub	r3, fp, #148
	mov	r1, #3
	mov	r0, r3
	bl	pthread_mutexattr_settype
	sub	r3, fp, #148
	mov	r1, r3
	ldr	r0, .L27+36
	bl	pthread_mutex_init
	ldr	r3, .L27+20
	ldr	r3, [r3]
	ldr	r2, .L27+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-160]
	ldr	r3, .L27+16
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L27+40
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L19
.L20:
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-172]
	str	r2, [r3]
	ldr	r3, .L27+20
	ldr	r0, [r3]
	ldr	r3, .L27+16
	ldr	r1, [r3]
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #3
	add	r4, r2, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L27+44
	bl	printf
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L19:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-172]
	cmp	r2, r3
	blt	.L20
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, .L27+16
	ldr	r3, [r3]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, .L27+16
	ldr	r3, [r3]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-160]
	add	r2, r1, r2
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-168]
	b	.L21
.L22:
	ldr	r3, .L27+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r3, .L27+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, .L27+48
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L21:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-168]
	cmp	r2, r3
	blt	.L22
	sub	r3, fp, #144
	mov	r0, r3
	bl	sigfillset
	sub	r3, fp, #144
	mov	r1, #20
	mov	r0, r3
	bl	sigaddset
	sub	r3, fp, #144
	mov	r2, #0
	mov	r1, r3
	mov	r0, #0
	bl	sigprocmask
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L23
.L24:
	ldr	r3, .L27+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-164]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #176
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-176]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L23:
	ldr	r3, .L27+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-164]
	cmp	r2, r3
	blt	.L24
	ldr	r3, .L27+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L27+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L27+56
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L27+60
	bl	printf
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC6
	.word	__PRETTY_FUNCTION__.6040
	.word	.LC2
	.word	.LC3
	.word	threads
	.word	total
	.word	id
	.word	passed
	.word	threadstp
	.word	mutex
	.word	info
	.word	.LC4
	.word	thread
	.word	1075838976
	.word	1078984704
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6040, %object
	.size	__PRETTY_FUNCTION__.6040, 5
__PRETTY_FUNCTION__.6040:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
