	.file	"559382.c"
	.intel_syntax noprefix
	.text
	.globl	SAXPY
	.type	SAXPY, @function
SAXPY:
.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -32[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L3
	mov	eax, DWORD PTR -32[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	SAXPY, .-SAXPY
	.section	.rodata
.LC0:
	.string	"w"
	.align 8
.LC1:
	.string	"/home/valery/Semestr/SAXPY/C/log_int.txt"
.LC2:
	.string	"%lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -36864[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3200
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -40052[rbp], eax
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -40056[rbp], eax
	mov	DWORD PTR -40060[rbp], 0
	jmp	.L6
.L7:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -40060[rbp]
	cdqe
	mov	DWORD PTR -40016[rbp+rax*4], edx
	add	DWORD PTR -40060[rbp], 1
.L6:
	cmp	DWORD PTR -40060[rbp], 9999
	jle	.L7
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -40048[rbp], rax
	mov	DWORD PTR -40060[rbp], 0
	jmp	.L8
.L9:
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40040[rbp], rax
	mov	eax, DWORD PTR -40060[rbp]
	cdqe
	mov	edx, DWORD PTR -40016[rbp+rax*4]
	mov	ecx, DWORD PTR -40056[rbp]
	mov	esi, DWORD PTR -40052[rbp]
	mov	eax, DWORD PTR -40060[rbp]
	mov	edi, eax
	call	SAXPY
	mov	DWORD PTR -40056[rbp], eax
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40032[rbp], rax
	movsd	xmm0, QWORD PTR -40032[rbp]
	subsd	xmm0, QWORD PTR -40040[rbp]
	movsd	QWORD PTR -40024[rbp], xmm0
	mov	rdx, QWORD PTR -40024[rbp]
	mov	rax, QWORD PTR -40048[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -40060[rbp], 100
.L8:
	cmp	DWORD PTR -40060[rbp], 9999
	jle	.L9
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"559382.c"
	.text
	.align	2
	.global	SAXPY
	.syntax unified
	.arm
	.fpu softvfp
	.type	SAXPY, %function
SAXPY:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-28]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	SAXPY, .-SAXPY
	.section	.rodata
	.align	2
.LC0:
	.ascii	"w\000"
	.align	2
.LC1:
	.ascii	"/home/valery/Semestr/SAXPY/C/log_int.txt\000"
	.global	__aeabi_dsub
	.align	2
.LC2:
	.ascii	"%lf\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 = 40048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #39936
	sub	sp, sp, #116
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r3, r0
	sub	r2, fp, #36864
	sub	r2, r2, #12
	mov	r1, r2
	ldr	r2, .L12+4
	smull	r0, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [r1, #-3176]
	bl	rand
	mov	r3, r0
	sub	r2, fp, #36864
	sub	r2, r2, #12
	mov	r1, r2
	ldr	r2, .L12+4
	smull	r0, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [r1, #-3180]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3184]
	b	.L6
.L7:
	bl	rand
	mov	r1, r0
	ldr	r3, .L12+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3184]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3184]
	add	r3, r3, #1
	str	r3, [r2, #-3184]
.L6:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3184]
	ldr	r2, .L12+8
	cmp	r3, r2
	ble	.L7
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L12+12
	ldr	r0, .L12+16
	bl	fopen
	str	r0, [r4, #-3172]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3184]
	b	.L8
.L9:
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #96
	mov	r4, r3
	bl	omp_get_wtime
	stm	r4, {r0-r1}
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3184]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	sub	r1, fp, #36864
	sub	r1, r1, #12
	sub	r0, fp, #36864
	sub	r0, r0, #12
	ldr	r3, [r3, #-3180]
	ldr	r1, [r1, #-3176]
	ldr	r0, [r0, #-3184]
	bl	SAXPY
	str	r0, [r4, #-3180]
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #80
	mov	r4, r3
	bl	omp_get_wtime
	stmdb	r4, {r0-r1}
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #80
	mov	r4, r3
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #96
	ldmia	r3, {r2-r3}
	ldmdb	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #80
	sub	r2, fp, #36864
	sub	r2, r2, #12
	mov	r0, r2
	ldmia	r3, {r2-r3}
	ldr	r1, .L12+20
	ldr	r0, [r0, #-3172]
	bl	fprintf
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3184]
	add	r3, r3, #100
	str	r3, [r2, #-3184]
.L8:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3184]
	ldr	r2, .L12+8
	cmp	r3, r2
	ble	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	1374389535
	.word	9999
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
