	.file	"576370.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Number of threads = %d\n"
.LC1:
	.string	"Thread %d starting...\n"
.LC2:
	.string	"Thread %d exiting...\n"
	.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, 656
	mov	DWORD PTR -644[rbp], edi
	mov	QWORD PTR -656[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -640[rbp], 0
	jmp	.L2
.L3:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -640[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	DWORD PTR -416[rbp+rax*4], xmm0
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	DWORD PTR -624[rbp+rax*4], xmm0
	add	DWORD PTR -640[rbp], 1
.L2:
	cmp	DWORD PTR -640[rbp], 49
	jle	.L3
	call	omp_get_thread_num@PLT
	mov	DWORD PTR -636[rbp], eax
	cmp	DWORD PTR -636[rbp], 0
	jne	.L4
	call	omp_get_num_threads@PLT
	mov	DWORD PTR -632[rbp], eax
	mov	eax, DWORD PTR -632[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	eax, DWORD PTR -636[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -628[rbp], 1
	mov	DWORD PTR -640[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	xmm1, DWORD PTR -624[rbp+rax*4]
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	mulss	xmm0, xmm1
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	DWORD PTR -208[rbp+rax*4], xmm0
	add	DWORD PTR -640[rbp], 1
.L5:
	cmp	DWORD PTR -640[rbp], 49
	jle	.L6
	mov	edx, DWORD PTR -628[rbp]
	mov	ecx, DWORD PTR -636[rbp]
	lea	rax, -208[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	print_results
	mov	DWORD PTR -628[rbp], 2
	mov	DWORD PTR -640[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	xmm1, DWORD PTR -624[rbp+rax*4]
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	xmm0, DWORD PTR -416[rbp+rax*4]
	addss	xmm0, xmm1
	mov	eax, DWORD PTR -640[rbp]
	cdqe
	movss	DWORD PTR -208[rbp+rax*4], xmm0
	add	DWORD PTR -640[rbp], 1
.L7:
	cmp	DWORD PTR -640[rbp], 49
	jle	.L8
	mov	edx, DWORD PTR -628[rbp]
	mov	ecx, DWORD PTR -636[rbp]
	lea	rax, -208[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	print_results
	mov	eax, DWORD PTR -636[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.string	"\nThread %d did section %d. The results are:\n"
.LC4:
	.string	"%e  "
	.align 8
.LC5:
	.string	"Thread %d done and synchronized.\n"
	.text
	.globl	print_results
	.type	print_results, @function
print_results:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -4[rbp], 1
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 6
	jne	.L13
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -4[rbp], 1
.L13:
	add	DWORD PTR -8[rbp], 1
.L12:
	cmp	DWORD PTR -8[rbp], 49
	jle	.L14
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_results, .-print_results
	.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	"576370.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_d2f
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Number of threads = %d\012\000"
	.align	2
.LC1:
	.ascii	"Thread %d starting...\012\000"
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.align	2
.LC2:
	.ascii	"Thread %d exiting...\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	str	r0, [fp, #-632]
	str	r1, [fp, #-636]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-624]
	b	.L2
.L3:
	ldr	r0, [fp, #-624]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]	@ float
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-404]	@ float
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-604]	@ float
	ldr	r3, [fp, #-624]
	add	r3, r3, #1
	str	r3, [fp, #-624]
.L2:
	ldr	r3, [fp, #-624]
	cmp	r3, #49
	ble	.L3
	bl	omp_get_thread_num
	str	r0, [fp, #-620]
	ldr	r3, [fp, #-620]
	cmp	r3, #0
	bne	.L4
	bl	omp_get_num_threads
	str	r0, [fp, #-616]
	ldr	r1, [fp, #-616]
	ldr	r0, .L11+4
	bl	printf
.L4:
	ldr	r1, [fp, #-620]
	ldr	r0, .L11+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-612]
	mov	r3, #0
	str	r3, [fp, #-624]
	b	.L5
.L6:
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-604]	@ float
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-404]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-204]	@ float
	ldr	r3, [fp, #-624]
	add	r3, r3, #1
	str	r3, [fp, #-624]
.L5:
	ldr	r3, [fp, #-624]
	cmp	r3, #49
	ble	.L6
	sub	r3, fp, #208
	ldr	r2, [fp, #-612]
	ldr	r1, [fp, #-620]
	mov	r0, r3
	bl	print_results
	mov	r3, #2
	str	r3, [fp, #-612]
	mov	r3, #0
	str	r3, [fp, #-624]
	b	.L7
.L8:
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-604]	@ float
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-404]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-204]	@ float
	ldr	r3, [fp, #-624]
	add	r3, r3, #1
	str	r3, [fp, #-624]
.L7:
	ldr	r3, [fp, #-624]
	cmp	r3, #49
	ble	.L8
	sub	r3, fp, #208
	ldr	r2, [fp, #-612]
	ldr	r1, [fp, #-620]
	mov	r0, r3
	bl	print_results
	ldr	r1, [fp, #-620]
	ldr	r0, .L11+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012Thread %d did section %d. The results are:\012\000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"%e  \000"
	.align	2
.LC6:
	.ascii	"Thread %d done and synchronized.\012\000"
	.text
	.align	2
	.global	print_results
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_results, %function
print_results:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, .L17
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L14
.L16:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bne	.L15
	mov	r0, #10
	bl	putchar
	mov	r3, #1
	str	r3, [fp, #-8]
.L15:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L14:
	ldr	r3, [fp, #-12]
	cmp	r3, #49
	ble	.L16
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-20]
	ldr	r0, .L17+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	print_results, .-print_results
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
