	.file	"542326.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC4:
	.string	"Error at A[%d], h = %lf, d = %lf\n"
.LC5:
	.string	"Failed"
.LC6:
	.string	"Succeeded"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -7680000[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -7680052[rbp], 0
	mov	DWORD PTR -7680048[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -7680048[rbp]
	cdqe
	pxor	xmm0, xmm0
	movsd	QWORD PTR -7680016[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -7680048[rbp]
	cdqe
	pxor	xmm0, xmm0
	movsd	QWORD PTR -5120016[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -7680048[rbp]
	cdqe
	movsd	xmm0, QWORD PTR .LC1[rip]
	movsd	QWORD PTR -2560016[rbp+rax*8], xmm0
	add	DWORD PTR -7680048[rbp], 1
.L2:
	cmp	DWORD PTR -7680048[rbp], 319999
	jle	.L3
	mov	DWORD PTR -7680028[rbp], 32
	mov	DWORD PTR -7680024[rbp], 64
	mov	eax, DWORD PTR -7680024[rbp]
	mov	DWORD PTR -7680020[rbp], eax
	mov	DWORD PTR -7680044[rbp], 0
	jmp	.L4
.L9:
	mov	DWORD PTR -7680040[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -7680040[rbp]
	mov	DWORD PTR -7680036[rbp], eax
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -7680036[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -7680016[rbp+rax*8]
	mov	eax, DWORD PTR -7680036[rbp]
	cdqe
	movsd	xmm2, QWORD PTR -5120016[rbp+rax*8]
	mov	eax, DWORD PTR -7680036[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -2560016[rbp+rax*8]
	addsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -7680036[rbp]
	cdqe
	movsd	QWORD PTR -7680016[rbp+rax*8], xmm0
	add	DWORD PTR -7680036[rbp], 1
.L6:
	mov	edx, DWORD PTR -7680040[rbp]
	mov	eax, DWORD PTR -7680020[rbp]
	add	eax, edx
	cmp	DWORD PTR -7680036[rbp], eax
	jl	.L7
	mov	eax, DWORD PTR -7680020[rbp]
	add	DWORD PTR -7680040[rbp], eax
.L5:
	cmp	DWORD PTR -7680040[rbp], 319999
	jle	.L8
	add	DWORD PTR -7680044[rbp], 1
.L4:
	cmp	DWORD PTR -7680044[rbp], 918
	jle	.L9
	mov	DWORD PTR -7680032[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -7680032[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -7680016[rbp+rax*8]
	ucomisd	xmm0, QWORD PTR .LC2[rip]
	jp	.L18
	comisd	xmm0, QWORD PTR .LC2[rip]
	je	.L11
.L18:
	mov	eax, DWORD PTR -7680032[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -7680016[rbp+rax*8]
	mov	rdx, QWORD PTR .LC3[rip]
	mov	eax, DWORD PTR -7680032[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 2
	call	printf@PLT
	mov	DWORD PTR -7680052[rbp], 1
.L11:
	add	DWORD PTR -7680032[rbp], 1
.L10:
	cmp	DWORD PTR -7680032[rbp], 319999
	jle	.L13
	cmp	DWORD PTR -7680052[rbp], 0
	je	.L14
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L15
.L14:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L15:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1082963968
	.align 8
.LC3:
	.long	0
	.long	1085403904
	.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	"542326.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error at A[%d], h = %lf, d = %lf\012\000"
	.align	2
.LC1:
	.ascii	"Failed\000"
	.align	2
.LC2:
	.ascii	"Succeeded\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 = 7680048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #7667712
	sub	sp, sp, #12288
	sub	sp, sp, #56
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	b	.L2
.L3:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #5111808
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #2555904
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r1, r3, #8
	mov	r2, #0
	ldr	r3, .L19+4
	stm	r1, {r2-r3}
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-40]
	add	r3, r3, #1
	str	r3, [r2, #-40]
.L2:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-40]
	ldr	r2, .L19+8
	cmp	r3, r2
	blt	.L3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #32
	str	r3, [r2, #-20]
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #64
	str	r3, [r2, #-16]
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-16]
	str	r3, [r2, #-12]
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	b	.L4
.L9:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L5
.L8:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-32]
	str	r3, [r2, #-28]
	b	.L6
.L7:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r4-r5}
	sub	r3, fp, #5111808
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #2555904
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L6:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-32]
	ldr	r3, [r3, #-12]
	add	r2, r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-28]
	cmp	r3, r2
	blt	.L7
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-32]
	ldr	r3, [r3, #-12]
	add	r3, r2, r3
	str	r3, [r1, #-32]
.L5:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-32]
	ldr	r2, .L19+8
	cmp	r3, r2
	blt	.L8
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-36]
	add	r3, r3, #1
	str	r3, [r2, #-36]
.L4:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-36]
	ldr	r2, .L19+12
	cmp	r3, r2
	ble	.L9
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L10
.L13:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L19+16
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	ip, r3
	stm	sp, {r0-r1}
	mov	r2, #0
	ldr	r3, .L19+20
	ldr	r1, [ip, #-24]
	ldr	r0, .L19+24
	bl	printf
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-44]
.L11:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L10:
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-24]
	ldr	r2, .L19+8
	cmp	r3, r2
	blt	.L13
	sub	r3, fp, #7667712
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	beq	.L14
	ldr	r0, .L19+28
	bl	puts
	b	.L15
.L14:
	ldr	r0, .L19+32
	bl	puts
.L15:
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	1072693248
	.word	320000
	.word	918
	.word	1082963968
	.word	1085403904
	.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
