	.file	"65551.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"ratan"
.LC2:
	.string	"error opening file"
	.text
	.type	create_Result_file, @function
create_Result_file:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -159744[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -160032[rbp], rax
	mov	DWORD PTR -160040[rbp], 20000
	mov	eax, 2
	cdq
	idiv	DWORD PTR -160040[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -160024[rbp], xmm0
	mov	DWORD PTR -160044[rbp], 0
	jmp	.L2
.L3:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -160044[rbp]
	mulsd	xmm0, QWORD PTR -160024[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	atan@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -160044[rbp]
	movsx	rdx, edx
	mov	QWORD PTR -160016[rbp+rdx*8], rax
	add	DWORD PTR -160044[rbp], 1
.L2:
	mov	eax, DWORD PTR -160044[rbp]
	cmp	eax, DWORD PTR -160040[rbp]
	jl	.L3
	mov	rax, QWORD PTR -160032[rbp]
	mov	edx, 511
	mov	esi, 578
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -160036[rbp], eax
	cmp	DWORD PTR -160036[rbp], 0
	jne	.L4
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -160036[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L8
.L4:
	mov	DWORD PTR -160044[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -160016[rbp]
	mov	eax, DWORD PTR -160044[rbp]
	cdqe
	sal	rax, 3
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -160036[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -160044[rbp], 1
.L6:
	mov	eax, DWORD PTR -160044[rbp]
	cmp	eax, DWORD PTR -160040[rbp]
	jl	.L7
	mov	eax, DWORD PTR -160036[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_Result_file, .-create_Result_file
	.section	.rodata
.LC3:
	.string	"datan"
	.text
	.type	create_Data_file, @function
create_Data_file:
.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, -159744[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -160032[rbp], rax
	mov	DWORD PTR -160040[rbp], 20000
	mov	eax, 2
	cdq
	idiv	DWORD PTR -160040[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -160024[rbp], xmm0
	mov	DWORD PTR -160044[rbp], 0
	jmp	.L11
.L12:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -160044[rbp]
	mulsd	xmm0, QWORD PTR -160024[rbp]
	movsd	xmm1, QWORD PTR .LC1[rip]
	subsd	xmm0, xmm1
	mov	eax, DWORD PTR -160044[rbp]
	cdqe
	movsd	QWORD PTR -160016[rbp+rax*8], xmm0
	add	DWORD PTR -160044[rbp], 1
.L11:
	mov	eax, DWORD PTR -160044[rbp]
	cmp	eax, DWORD PTR -160040[rbp]
	jl	.L12
	mov	rax, QWORD PTR -160032[rbp]
	mov	edx, 511
	mov	esi, 578
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -160036[rbp], eax
	cmp	DWORD PTR -160036[rbp], 0
	jne	.L13
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -160036[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, -1
	jmp	.L17
.L13:
	mov	DWORD PTR -160044[rbp], 0
	jmp	.L15
.L16:
	lea	rdx, -160016[rbp]
	mov	eax, DWORD PTR -160044[rbp]
	cdqe
	sal	rax, 3
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -160036[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -160044[rbp], 1
.L15:
	mov	eax, DWORD PTR -160044[rbp]
	cmp	eax, DWORD PTR -160040[rbp]
	jl	.L16
	mov	eax, DWORD PTR -160036[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_Data_file, .-create_Data_file
	.section	.rodata
.LC4:
	.string	"Data file created"
	.align 8
.LC5:
	.string	"problem during atan data file creation"
.LC6:
	.string	"Result file created"
	.align 8
.LC7:
	.string	"problem during atan result file creation"
.LC8:
	.string	"Bad arglist code for: '%s'\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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jle	.L20
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cmp	eax, 1
	je	.L21
	cmp	eax, 2
	je	.L22
	jmp	.L32
.L21:
	call	create_Data_file
	test	eax, eax
	jne	.L24
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L30
.L24:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L30
.L22:
	call	create_Result_file
	test	eax, eax
	jne	.L27
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L30
.L27:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L30
.L32:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L29
.L20:
	call	create_Data_file
	test	eax, eax
	je	.L31
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L31:
	call	create_Result_file
	test	eax, eax
	je	.L30
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L30:
	mov	eax, 0
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.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	"65551.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ratan\000"
	.global	__aeabi_idiv
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.align	2
.LC1:
	.ascii	"error opening file\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_Result_file, %function
create_Result_file:
	@ args = 0, pretend = 0, frame = 160032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #159744
	sub	sp, sp, #292
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L10+4
	str	r3, [r2, #-284]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L10+8
	str	r3, [r2, #-280]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r1, [r3, #-280]
	mov	r0, #2
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	mov	r4, r3
	mov	r0, r2
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	b	.L2
.L3:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r0, [r3, #-288]
	bl	__aeabi_i2d
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L10+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	atan
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #159744
	sub	r1, r1, #12
	mov	r0, r1
	sub	r1, fp, #159744
	sub	r1, r1, #12
	ldr	r1, [r1, #-288]
	lsl	r1, r1, #3
	add	r1, r0, r1
	sub	r1, r1, #264
	stm	r1, {r2-r3}
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	add	r3, r3, #1
	str	r3, [r2, #-288]
.L2:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r2, #-288]
	ldr	r3, [r3, #-280]
	cmp	r2, r3
	blt	.L3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, .L10+16
	ldr	r1, .L10+20
	ldr	r0, [r3, #-284]
	bl	open
	str	r0, [r4, #-276]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-276]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L10+24
	bl	printf
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r0, [r3, #-276]
	bl	close
	mvn	r3, #0
	b	.L8
.L4:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	b	.L6
.L7:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #264
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-288]
	lsl	r2, r2, #3
	add	r3, r3, r2
	sub	r2, fp, #159744
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [r0, #-276]
	bl	write
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	add	r3, r3, #1
	str	r3, [r2, #-288]
.L6:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r2, #-288]
	ldr	r3, [r3, #-280]
	cmp	r2, r3
	blt	.L7
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r0, [r3, #-276]
	bl	close
	mov	r3, #0
.L8:
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC0
	.word	20000
	.word	1072693248
	.word	511
	.word	578
	.word	.LC1
	.size	create_Result_file, .-create_Result_file
	.section	.rodata
	.align	2
.LC3:
	.ascii	"datan\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_Data_file, %function
create_Data_file:
	@ args = 0, pretend = 0, frame = 160032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #159744
	sub	sp, sp, #292
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L21+4
	str	r3, [r2, #-284]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L21+8
	str	r3, [r2, #-280]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r1, [r3, #-280]
	mov	r0, #2
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	mov	r4, r3
	mov	r0, r2
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	b	.L13
.L14:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r0, [r3, #-288]
	bl	__aeabi_i2d
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #272
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L21+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #159744
	sub	r1, r1, #12
	mov	r0, r1
	sub	r1, fp, #159744
	sub	r1, r1, #12
	ldr	r1, [r1, #-288]
	lsl	r1, r1, #3
	add	r1, r0, r1
	sub	r1, r1, #264
	stm	r1, {r2-r3}
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	add	r3, r3, #1
	str	r3, [r2, #-288]
.L13:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r2, #-288]
	ldr	r3, [r3, #-280]
	cmp	r2, r3
	blt	.L14
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, .L21+16
	ldr	r1, .L21+20
	ldr	r0, [r3, #-284]
	bl	open
	str	r0, [r4, #-276]
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-276]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L21+24
	bl	printf
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r0, [r3, #-276]
	bl	close
	mvn	r3, #0
	b	.L19
.L15:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-288]
	b	.L17
.L18:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	sub	r3, r3, #264
	sub	r2, fp, #159744
	sub	r2, r2, #12
	ldr	r2, [r2, #-288]
	lsl	r2, r2, #3
	add	r3, r3, r2
	sub	r2, fp, #159744
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [r0, #-276]
	bl	write
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	add	r3, r3, #1
	str	r3, [r2, #-288]
.L17:
	sub	r3, fp, #159744
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r2, [r2, #-288]
	ldr	r3, [r3, #-280]
	cmp	r2, r3
	blt	.L18
	sub	r3, fp, #159744
	sub	r3, r3, #12
	ldr	r0, [r3, #-276]
	bl	close
	mov	r3, #0
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC4
	.word	.LC3
	.word	20000
	.word	1072693248
	.word	511
	.word	578
	.word	.LC1
	.size	create_Data_file, .-create_Data_file
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Data file created\000"
	.align	2
.LC6:
	.ascii	"problem during atan data file creation\000"
	.align	2
.LC7:
	.ascii	"Result file created\000"
	.align	2
.LC8:
	.ascii	"problem during atan result file creation\000"
	.align	2
.LC9:
	.ascii	"Bad arglist code for: '%s'\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L24
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #1
	beq	.L25
	cmp	r3, #2
	beq	.L26
	b	.L36
.L25:
	bl	create_Data_file
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r0, .L37
	bl	puts
	b	.L34
.L28:
	ldr	r0, .L37+4
	bl	puts
	b	.L34
.L26:
	bl	create_Result_file
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r0, .L37+8
	bl	puts
	b	.L34
.L31:
	ldr	r0, .L37+12
	bl	puts
	b	.L34
.L36:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L37+16
	bl	printf
	mvn	r3, #0
	b	.L33
.L24:
	bl	create_Data_file
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L37+4
	bl	puts
.L35:
	bl	create_Result_file
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L37+12
	bl	puts
.L34:
	mov	r3, #0
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
