	.file	"218823.c"
	.intel_syntax noprefix
	.text
	.local	file_count
	.comm	file_count,4,4
	.local	domain_1d
	.comm	domain_1d,8,8
	.local	NGrid_x
	.comm	NGrid_x,4,4
	.local	NGrid_y
	.comm	NGrid_y,4,4
	.local	NGrid_z
	.comm	NGrid_z,4,4
	.local	domain_3d
	.comm	domain_3d,8,8
	.local	grid_version
	.comm	grid_version,4,4
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s -o <out_name.vtk> file1.vtk file2.vtk ...\n"
.LC1:
	.string	"-o"
	.align 8
.LC2:
	.string	"out_name = my_strdup(\"%s\") failed\n"
.LC3:
	.string	"Output filename is \"%s\"\n"
	.align 8
.LC4:
	.string	"Found %d files on the command line\n"
	.align 8
.LC5:
	.string	"calloc returned a NULL pointer for domain_1d\n"
	.align 8
.LC6:
	.string	"domain_1d[%d].fname = my_strdup(\"%s\") failed\n"
	.align 8
.LC7:
	.string	"calloc_3d_array() returned a NULL pointer\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
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -24[rbp], 0
	cmp	DWORD PTR -52[rbp], 4
	jg	.L2
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	join_error
.L2:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 3
	mov	DWORD PTR file_count[rip], eax
	mov	DWORD PTR -40[rbp], 1
	jmp	.L3
.L7:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	add	DWORD PTR -40[rbp], 1
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	my_strdup
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L27
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	join_error
	jmp	.L27
.L4:
	add	DWORD PTR -40[rbp], 1
.L3:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jl	.L7
	jmp	.L6
.L27:
	nop
.L6:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	join_error
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR file_count[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR file_count[rip]
	cdqe
	mov	esi, 112
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR domain_1d[rip], rax
	mov	rax, QWORD PTR domain_1d[rip]
	test	rax, rax
	jne	.L9
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	join_error
.L9:
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	add	DWORD PTR -40[rbp], 1
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	lea	rbx, [rsi+rax]
	mov	rdi, rdx
	call	my_strdup
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L13
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	join_error
.L13:
	add	DWORD PTR -28[rbp], 1
.L12:
	add	DWORD PTR -40[rbp], 1
.L10:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L14
	call	init_domain_1d
	call	sort_domain_1d
	mov	eax, DWORD PTR NGrid_x[rip]
	movsx	rdx, eax
	mov	eax, DWORD PTR NGrid_y[rip]
	movsx	rsi, eax
	mov	eax, DWORD PTR NGrid_z[rip]
	cdqe
	mov	ecx, 112
	mov	rdi, rax
	call	calloc_3d_array
	mov	QWORD PTR domain_3d[rip], rax
	mov	rax, QWORD PTR domain_3d[rip]
	test	rax, rax
	jne	.L15
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	join_error
.L15:
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L16
.L21:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L17
.L20:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L18
.L19:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	mov	rcx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	add	rax, rsi
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	rbx, QWORD PTR 72[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR 80[rdx]
	mov	rbx, QWORD PTR 88[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR 96[rdx]
	mov	rbx, QWORD PTR 104[rdx]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	add	DWORD PTR -40[rbp], 1
.L18:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L19
	add	DWORD PTR -36[rbp], 1
.L17:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L20
	add	DWORD PTR -32[rbp], 1
.L16:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	write_joined_vtk
	mov	DWORD PTR -40[rbp], 0
	jmp	.L22
.L23:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 88[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR 88[rax], 0
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 96[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR 96[rax], 0
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 104[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR 104[rax], 0
	add	DWORD PTR -40[rbp], 1
.L22:
	mov	eax, DWORD PTR file_count[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L23
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdi, rax
	call	free_3d_array
	mov	QWORD PTR domain_3d[rip], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L24
.L25:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	fclose@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR [rax], 0
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	QWORD PTR 8[rax], 0
	add	DWORD PTR -40[rbp], 1
.L24:
	mov	eax, DWORD PTR file_count[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L25
	mov	rax, QWORD PTR domain_1d[rip]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR domain_1d[rip], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -24[rbp], 0
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.type	join_error, @function
join_error:
.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, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L29
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L29:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	join_error, .-join_error
	.type	strip_trail_white, @function
strip_trail_white:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L32
.L33:
	add	QWORD PTR -8[rbp], 1
.L32:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L33
	jmp	.L34
.L37:
	sub	QWORD PTR -8[rbp], 1
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L39
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L34:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	ja	.L37
	jmp	.L36
.L39:
	nop
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	strip_trail_white, .-strip_trail_white
	.globl	IsBigEndian
	.type	IsBigEndian, @function
IsBigEndian:
.LFB9:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -18[rbp], 1
	lea	rax, -18[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	sete	al
	movzx	eax, al
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	IsBigEndian, .-IsBigEndian
	.type	Swap4Bytes, @function
Swap4Bytes:
.LFB10:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 3[rax]
	movzx	eax, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 2[rax]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 2[rax]
	movzx	eax, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Swap4Bytes, .-Swap4Bytes
	.section	.rodata
.LC8:
	.string	"Is it big Endian? %d\n"
.LC9:
	.string	"r"
.LC10:
	.string	"Error opening file \"%s\"\n"
.LC11:
	.string	"\ndomain_1d[%d].fname = \"%s\"\n"
.LC12:
	.string	"# vtk DataFile Version 3.0"
.LC13:
	.string	"# vtk DataFile Version 2.0"
.LC14:
	.string	"First Line is \"%s\"\n"
.LC15:
	.string	"Comment Field: \"%s\"\n"
	.align 8
.LC16:
	.string	"domain_1d[%d].comment = my_strdup(\"%s\") failed\n"
.LC17:
	.string	"BINARY"
.LC18:
	.string	"Unsupported file type: %s"
.LC19:
	.string	"DATASET STRUCTURED_POINTS"
.LC20:
	.string	"DATASET RECTILINEAR_GRID"
.LC21:
	.string	"DIMENSIONS %d %d %d\n"
.LC22:
	.string	"ORIGIN %le %le %le\n"
.LC23:
	.string	"ORIGIN %e %e %e\n"
.LC24:
	.string	"SPACING %le %le %le\n"
.LC25:
	.string	"SPACING %e %e %e\n"
.LC26:
	.string	"X_COORDINATES %d float\n"
.LC27:
	.string	"reading X_COORDINATES error\n"
.LC28:
	.string	"\nY_COORDINATES %d float\n"
.LC29:
	.string	"Y_COORDINATES %d float\n"
.LC30:
	.string	"reading Y_COORDINATES error\n"
.LC31:
	.string	"\nZ_COORDINATES %d float\n"
.LC32:
	.string	"Z_COORDINATES %d float\n"
.LC33:
	.string	"reading Z_COORDINATES error\n"
.LC36:
	.string	"\nCELL_DATA %d\n"
.LC37:
	.string	"CELL_DATA %d\n"
.LC38:
	.string	"Nx*Ny*Nz = %d\n"
	.text
	.type	init_domain_1d, @function
init_domain_1d:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 328
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	call	IsBigEndian
	mov	DWORD PTR -308[rbp], eax
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -316[rbp], 0
	jmp	.L45
.L76:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR [rax]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	lea	rbx, [rsi+rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rdx
	call	fopen@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L46
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	join_error
.L46:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -316[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strip_trail_white
	lea	rax, -288[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L47
	lea	rax, -288[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L47
	lea	rax, -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	join_error
.L47:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strip_trail_white
	lea	rax, -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	lea	rbx, [rcx+rax]
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	my_strdup
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	jne	.L48
	lea	rdx, -288[rbp]
	mov	eax, DWORD PTR -316[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	join_error
.L48:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strip_trail_white
	lea	rax, -288[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L49
	lea	rax, -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	join_error
.L49:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -288[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strip_trail_white
	lea	rax, -288[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L50
	mov	DWORD PTR grid_version[rip], 1
	jmp	.L51
.L50:
	lea	rax, -288[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	mov	DWORD PTR grid_version[rip], 2
	jmp	.L51
.L52:
	lea	rax, -288[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	join_error
.L51:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rsi, 32[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rcx, 28[rax]
	mov	rdi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rdi
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	r8, rsi
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	ecx, DWORD PTR 32[rax]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rsi
	mov	edx, DWORD PTR 28[rax]
	mov	rdi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 3
	sub	rax, rsi
	sal	rax, 4
	add	rax, rdi
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 1
	jle	.L53
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	edx, DWORD PTR 24[rax]
	sub	edx, 1
	mov	DWORD PTR 24[rax], edx
.L53:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 28[rax]
	cmp	eax, 1
	jle	.L54
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	edx, DWORD PTR 28[rax]
	sub	edx, 1
	mov	DWORD PTR 28[rax], edx
.L54:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 32[rax]
	cmp	eax, 1
	jle	.L55
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	edx, DWORD PTR 32[rax]
	sub	edx, 1
	mov	DWORD PTR 32[rax], edx
.L55:
	mov	eax, DWORD PTR grid_version[rip]
	cmp	eax, 1
	jne	.L56
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rsi, 56[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rcx, 48[rax]
	mov	rdi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rdi
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	r8, rsi
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 56[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 48[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 40[rax]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC23[rip]
	mov	eax, 3
	call	printf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rsi, 80[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rcx, 72[rax]
	mov	rdi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rdi
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	r8, rsi
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 80[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 72[rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 64[rax]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC25[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L57
.L56:
	mov	eax, DWORD PTR grid_version[rip]
	cmp	eax, 2
	jne	.L57
	lea	rdx, -332[rbp]
	mov	rax, QWORD PTR -296[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -332[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	lea	rbx, [rsi+rax]
	mov	rdi, rdx
	call	malloc@PLT
	mov	QWORD PTR 88[rbx], rax
	mov	DWORD PTR -312[rbp], 0
	jmp	.L58
.L61:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 1
	je	.L59
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	join_error
.L59:
	cmp	DWORD PTR -308[rbp], 0
	jne	.L60
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L60:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR 88[rax]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR -320[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -312[rbp], 1
.L58:
	mov	eax, DWORD PTR -332[rbp]
	cmp	DWORD PTR -312[rbp], eax
	jl	.L61
	lea	rdx, -328[rbp]
	mov	rax, QWORD PTR -296[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -328[rbp]
	mov	esi, eax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	lea	rbx, [rsi+rax]
	mov	rdi, rdx
	call	malloc@PLT
	mov	QWORD PTR 96[rbx], rax
	mov	DWORD PTR -312[rbp], 0
	jmp	.L62
.L65:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 1
	je	.L63
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	join_error
.L63:
	cmp	DWORD PTR -308[rbp], 0
	jne	.L64
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L64:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR 96[rax]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR -320[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -312[rbp], 1
.L62:
	mov	eax, DWORD PTR -328[rbp]
	cmp	DWORD PTR -312[rbp], eax
	jl	.L65
	lea	rdx, -324[rbp]
	mov	rax, QWORD PTR -296[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -324[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	sal	rax, 4
	lea	rbx, [rsi+rax]
	mov	rdi, rdx
	call	malloc@PLT
	mov	QWORD PTR 104[rbx], rax
	mov	DWORD PTR -312[rbp], 0
	jmp	.L66
.L69:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -320[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], 1
	je	.L67
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	join_error
.L67:
	cmp	DWORD PTR -308[rbp], 0
	jne	.L68
	lea	rax, -320[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L68:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR 104[rax]
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR -320[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -312[rbp], 1
.L66:
	mov	eax, DWORD PTR -324[rbp]
	cmp	DWORD PTR -312[rbp], eax
	jl	.L69
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 88[rax]
	movss	xmm0, DWORD PTR [rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR 40[rax], xmm0
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 96[rax]
	movss	xmm0, DWORD PTR [rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR 48[rax], xmm0
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 104[rax]
	movss	xmm0, DWORD PTR [rax]
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR 56[rax], xmm0
	mov	eax, DWORD PTR -332[rbp]
	cmp	eax, 1
	jle	.L70
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC34[rip]
	movsd	QWORD PTR 64[rax], xmm0
	jmp	.L71
.L70:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR 64[rax], xmm0
.L71:
	mov	eax, DWORD PTR -328[rbp]
	cmp	eax, 1
	jle	.L72
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC34[rip]
	movsd	QWORD PTR 72[rax], xmm0
	jmp	.L73
.L72:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR 72[rax], xmm0
.L73:
	mov	eax, DWORD PTR -324[rbp]
	cmp	eax, 1
	jle	.L74
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC34[rip]
	movsd	QWORD PTR 80[rax], xmm0
	jmp	.L57
.L74:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	pxor	xmm0, xmm0
	movsd	QWORD PTR 80[rax], xmm0
.L57:
	lea	rdx, -336[rbp]
	mov	rax, QWORD PTR -296[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -336[rbp]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	ecx, DWORD PTR 24[rax]
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rsi
	mov	eax, DWORD PTR 28[rax]
	imul	ecx, eax
	mov	rsi, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rsi
	mov	eax, DWORD PTR 32[rax]
	imul	eax, ecx
	mov	DWORD PTR -300[rbp], eax
	mov	eax, DWORD PTR -336[rbp]
	cmp	DWORD PTR -300[rbp], eax
	je	.L75
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	join_error
.L75:
	add	DWORD PTR -316[rbp], 1
.L45:
	mov	eax, DWORD PTR file_count[rip]
	cmp	DWORD PTR -316[rbp], eax
	jl	.L76
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	init_domain_1d, .-init_domain_1d
	.type	compare_ox, @function
compare_ox:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 40[rax]
	comisd	xmm0, xmm1
	jbe	.L87
	mov	eax, -1
	jmp	.L82
.L87:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR 40[rax]
	comisd	xmm0, xmm1
	jbe	.L88
	mov	eax, 1
	jmp	.L82
.L88:
	mov	eax, 0
.L82:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	compare_ox, .-compare_ox
	.type	compare_oy, @function
compare_oy:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 48[rax]
	comisd	xmm0, xmm1
	jbe	.L97
	mov	eax, -1
	jmp	.L92
.L97:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR 48[rax]
	comisd	xmm0, xmm1
	jbe	.L98
	mov	eax, 1
	jmp	.L92
.L98:
	mov	eax, 0
.L92:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	compare_oy, .-compare_oy
	.type	compare_oz, @function
compare_oz:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR 56[rax]
	comisd	xmm0, xmm1
	jbe	.L107
	mov	eax, -1
	jmp	.L102
.L107:
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm1, QWORD PTR 56[rax]
	comisd	xmm0, xmm1
	jbe	.L108
	mov	eax, 1
	jmp	.L102
.L108:
	mov	eax, 0
.L102:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	compare_oz, .-compare_oz
	.section	.rodata
.LC39:
	.string	"zcount = 1 @ oz = %e\n"
.LC40:
	.string	"zcount = %d @ oz = %e\n"
.LC41:
	.string	"file_count%%zcount = %d\n"
.LC42:
	.string	"ycount = 1 @ oy = %e\n"
.LC43:
	.string	"ycount = %d @ oy = %e\n"
.LC44:
	.string	"xy_cnt%%ycount = %d\n"
.LC45:
	.string	"xcount = %d\n"
	.text
	.type	sort_domain_1d, @function
sort_domain_1d:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	eax, DWORD PTR file_count[rip]
	movsx	rsi, eax
	mov	rax, QWORD PTR domain_1d[rip]
	lea	rcx, compare_oz[rip]
	mov	edx, 112
	mov	rdi, rax
	call	qsort@PLT
	mov	rax, QWORD PTR domain_1d[rip]
	movsd	xmm0, QWORD PTR 56[rax]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC39[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -52[rbp], 1
	jmp	.L110
.L113:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 56[rax]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L111
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 56[rax]
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -40[rbp], 1
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 1
	call	printf@PLT
.L111:
	add	DWORD PTR -52[rbp], 1
.L110:
	mov	eax, DWORD PTR file_count[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L113
	mov	eax, DWORD PTR file_count[rip]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	div@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	test	eax, eax
	je	.L114
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	join_error
.L114:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L115
.L121:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rsi, eax
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rcx, compare_oy[rip]
	mov	edx, 112
	mov	rdi, rax
	call	qsort@PLT
	cmp	DWORD PTR -52[rbp], 0
	jne	.L116
	mov	rax, QWORD PTR domain_1d[rip]
	movsd	xmm0, QWORD PTR 48[rax]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -44[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC42[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -48[rbp], 1
	jmp	.L117
.L120:
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 48[rax]
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L118
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 48[rax]
	movsd	QWORD PTR -24[rbp], xmm0
	add	DWORD PTR -44[rbp], 1
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC43[rip]
	mov	eax, 1
	call	printf@PLT
.L118:
	add	DWORD PTR -48[rbp], 1
.L117:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L120
.L116:
	add	DWORD PTR -52[rbp], 1
.L115:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L121
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	div@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	test	eax, eax
	je	.L122
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	join_error
.L122:
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -44[rbp]
	imul	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L123
.L124:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rsi, eax
	mov	rcx, QWORD PTR domain_1d[rip]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	lea	rcx, compare_ox[rip]
	mov	edx, 112
	mov	rdi, rax
	call	qsort@PLT
	add	DWORD PTR -52[rbp], 1
.L123:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L124
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR NGrid_x[rip], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR NGrid_y[rip], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR NGrid_z[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	sort_domain_1d, .-sort_domain_1d
	.section	.rodata
.LC46:
	.string	"read_write_scalar error\n"
	.text
	.type	read_write_scalar, @function
read_write_scalar:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L129
.L141:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L130
.L140:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L131
.L139:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L132
.L138:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L133
.L137:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L134
.L136:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 1
	je	.L135
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	join_error
.L135:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -44[rbp], 1
.L134:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L136
	add	DWORD PTR -32[rbp], 1
.L133:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L137
	add	DWORD PTR -40[rbp], 1
.L132:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L138
	add	DWORD PTR -28[rbp], 1
.L131:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L139
	add	DWORD PTR -36[rbp], 1
.L130:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L140
	add	DWORD PTR -24[rbp], 1
.L129:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L141
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L143
	call	__stack_chk_fail@PLT
.L143:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	read_write_scalar, .-read_write_scalar
	.section	.rodata
.LC47:
	.string	"read_write_vector error\n"
	.text
	.type	read_write_vector, @function
read_write_vector:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L145
.L157:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L146
.L156:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L147
.L155:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L148
.L154:
	mov	DWORD PTR -48[rbp], 0
	jmp	.L149
.L153:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L150
.L152:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 3
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 3
	je	.L151
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	join_error
.L151:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 3
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -60[rbp], 1
.L150:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L152
	add	DWORD PTR -48[rbp], 1
.L149:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L153
	add	DWORD PTR -56[rbp], 1
.L148:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L154
	add	DWORD PTR -44[rbp], 1
.L147:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L155
	add	DWORD PTR -52[rbp], 1
.L146:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L156
	add	DWORD PTR -40[rbp], 1
.L145:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L157
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L159
	call	__stack_chk_fail@PLT
.L159:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	read_write_vector, .-read_write_vector
	.type	read_write_tensor, @function
read_write_tensor:
.LFB18:
	.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	DWORD PTR -64[rbp], 0
	jmp	.L161
.L173:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L162
.L172:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L163
.L171:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L164
.L170:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L165
.L169:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L166
.L168:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 9
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 9
	je	.L167
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	join_error
.L167:
	mov	rdx, QWORD PTR -104[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	edx, 9
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -84[rbp], 1
.L166:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -84[rbp], eax
	jl	.L168
	add	DWORD PTR -72[rbp], 1
.L165:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L169
	add	DWORD PTR -80[rbp], 1
.L164:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L170
	add	DWORD PTR -68[rbp], 1
.L163:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -68[rbp], eax
	jl	.L171
	add	DWORD PTR -76[rbp], 1
.L162:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L172
	add	DWORD PTR -64[rbp], 1
.L161:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L173
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L175
	call	__stack_chk_fail@PLT
.L175:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	read_write_tensor, .-read_write_tensor
	.section	.rodata
.LC48:
	.string	"w"
	.align 8
.LC49:
	.string	"Error opening the output file \"%s\"\n"
.LC50:
	.string	"# vtk DataFile Version 3.0\n"
.LC51:
	.string	"%s\n"
.LC52:
	.string	"BINARY\n"
.LC53:
	.string	"DATASET STRUCTURED_POINTS\n"
.LC54:
	.string	"DATASET RECTILINEAR_GRID\n"
.LC55:
	.string	"\nCELL_DATA %d"
.LC56:
	.string	"%s %s %s\n"
.LC57:
	.string	"float"
	.align 8
.LC58:
	.string	"Expected \"float\" format, found \"%s\"\n"
	.align 8
.LC59:
	.string	"[join_vtk_dump]: EOF returned for file \"%s\"\n"
	.align 8
.LC60:
	.string	"mismatch in input file positions\n"
.LC61:
	.string	"SCALARS"
.LC62:
	.string	"%s %s\n"
.LC63:
	.string	"LOOKUP_TABLE"
.LC64:
	.string	"default"
	.align 8
.LC65:
	.string	"Expected \"LOOKUP_TABLE default\"\n"
.LC66:
	.string	"Found \"%s %s\"\n"
.LC67:
	.string	"the_stack_data/218823.c"
	.align 8
.LC68:
	.string	"fseek(domain_3d[k][j][i].fp, -1, SEEK_CUR) == 0"
	.align 8
.LC69:
	.string	"fseek(domain_3d[k][j][i].fp, -2, SEEK_CUR) == 0"
	.align 8
.LC70:
	.string	"fgetc(domain_3d[k][j][i].fp) == '\\n'"
.LC71:
	.string	"Reading: \"%s %s %s\"\n"
.LC72:
	.string	"\n%s %s %s\n"
.LC73:
	.string	"LOOKUP_TABLE default\n"
.LC74:
	.string	"VECTORS"
.LC75:
	.string	"TENSORS"
.LC76:
	.string	"Input type = \"%s\"\n"
	.text
	.type	write_joined_vtk, @function
write_joined_vtk:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 936
	.cfi_offset 3, -24
	mov	QWORD PTR -936[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	call	IsBigEndian
	mov	DWORD PTR -864[rbp], eax
	mov	DWORD PTR -904[rbp], 0
	mov	eax, DWORD PTR -904[rbp]
	mov	DWORD PTR -908[rbp], eax
	mov	eax, DWORD PTR -908[rbp]
	mov	DWORD PTR -912[rbp], eax
	mov	DWORD PTR -888[rbp], 0
	jmp	.L177
.L178:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 24[rax]
	add	DWORD PTR -912[rbp], eax
	add	DWORD PTR -888[rbp], 1
.L177:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -888[rbp], eax
	jl	.L178
	mov	DWORD PTR -884[rbp], 0
	jmp	.L179
.L180:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	add	DWORD PTR -908[rbp], eax
	add	DWORD PTR -884[rbp], 1
.L179:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -884[rbp], eax
	jl	.L180
	mov	DWORD PTR -880[rbp], 0
	jmp	.L181
.L182:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	add	DWORD PTR -904[rbp], eax
	add	DWORD PTR -880[rbp], 1
.L181:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -880[rbp], eax
	jl	.L182
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 40[rax]
	movsd	QWORD PTR -856[rbp], xmm0
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 48[rax]
	movsd	QWORD PTR -848[rbp], xmm0
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 56[rax]
	movsd	QWORD PTR -840[rbp], xmm0
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 64[rax]
	movsd	QWORD PTR -832[rbp], xmm0
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 72[rax]
	movsd	QWORD PTR -824[rbp], xmm0
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 80[rax]
	movsd	QWORD PTR -816[rbp], xmm0
	cmp	DWORD PTR -912[rbp], 0
	jle	.L183
	movsd	xmm0, QWORD PTR -832[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L183
	mov	eax, DWORD PTR -912[rbp]
	add	eax, 1
	mov	DWORD PTR -900[rbp], eax
	jmp	.L185
.L183:
	mov	eax, DWORD PTR -912[rbp]
	mov	DWORD PTR -900[rbp], eax
.L185:
	cmp	DWORD PTR -908[rbp], 0
	jle	.L186
	movsd	xmm0, QWORD PTR -824[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L186
	mov	eax, DWORD PTR -908[rbp]
	add	eax, 1
	mov	DWORD PTR -896[rbp], eax
	jmp	.L188
.L186:
	mov	eax, DWORD PTR -908[rbp]
	mov	DWORD PTR -896[rbp], eax
.L188:
	cmp	DWORD PTR -904[rbp], 1
	jle	.L189
	movsd	xmm0, QWORD PTR -816[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L189
	mov	eax, DWORD PTR -904[rbp]
	add	eax, 1
	mov	DWORD PTR -892[rbp], eax
	jmp	.L191
.L189:
	mov	eax, DWORD PTR -904[rbp]
	mov	DWORD PTR -892[rbp], eax
.L191:
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -808[rbp], rax
	cmp	QWORD PTR -808[rbp], 0
	jne	.L192
	mov	rax, QWORD PTR -936[rbp]
	mov	rsi, rax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	join_error
.L192:
	mov	rax, QWORD PTR -808[rbp]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC50[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -808[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC52[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR grid_version[rip]
	cmp	eax, 1
	jne	.L193
	mov	rax, QWORD PTR -808[rbp]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC53[rip]
	call	fwrite@PLT
	mov	esi, DWORD PTR -892[rbp]
	mov	ecx, DWORD PTR -896[rbp]
	mov	edx, DWORD PTR -900[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	r8d, esi
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	movsd	xmm1, QWORD PTR -840[rbp]
	movsd	xmm0, QWORD PTR -848[rbp]
	mov	rdx, QWORD PTR -856[rbp]
	mov	rax, QWORD PTR -808[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	movsd	xmm1, QWORD PTR -816[rbp]
	movsd	xmm0, QWORD PTR -824[rbp]
	mov	rdx, QWORD PTR -832[rbp]
	mov	rax, QWORD PTR -808[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	mov	eax, DWORD PTR -912[rbp]
	imul	eax, DWORD PTR -908[rbp]
	imul	eax, DWORD PTR -904[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L239
.L193:
	mov	eax, DWORD PTR grid_version[rip]
	cmp	eax, 2
	jne	.L239
	mov	rax, QWORD PTR -808[rbp]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC54[rip]
	call	fwrite@PLT
	mov	esi, DWORD PTR -892[rbp]
	mov	ecx, DWORD PTR -896[rbp]
	mov	edx, DWORD PTR -900[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	r8d, esi
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR -900[rbp]
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -888[rbp], 0
	jmp	.L195
.L199:
	mov	DWORD PTR -876[rbp], 0
	jmp	.L196
.L198:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR 88[rax]
	mov	eax, DWORD PTR -876[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -916[rbp], xmm0
	cmp	DWORD PTR -864[rbp], 0
	jne	.L197
	lea	rax, -916[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L197:
	mov	rdx, QWORD PTR -808[rbp]
	lea	rax, -916[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -876[rbp], 1
.L196:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -876[rbp], eax
	jl	.L198
	add	DWORD PTR -888[rbp], 1
.L195:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -888[rbp], eax
	jl	.L199
	cmp	DWORD PTR -900[rbp], 1
	je	.L200
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR NGrid_x[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	sub	rax, 112
	add	rax, rcx
	mov	rcx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR NGrid_x[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	sub	rax, 112
	add	rax, rsi
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sal	rax, 2
	add	rax, rcx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -916[rbp], xmm0
	cmp	DWORD PTR -864[rbp], 0
	jne	.L201
	lea	rax, -916[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L201:
	mov	rdx, QWORD PTR -808[rbp]
	lea	rax, -916[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
.L200:
	mov	edx, DWORD PTR -896[rbp]
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -884[rbp], 0
	jmp	.L202
.L206:
	mov	DWORD PTR -872[rbp], 0
	jmp	.L203
.L205:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 96[rax]
	mov	eax, DWORD PTR -872[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -916[rbp], xmm0
	cmp	DWORD PTR -864[rbp], 0
	jne	.L204
	lea	rax, -916[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L204:
	mov	rdx, QWORD PTR -808[rbp]
	lea	rax, -916[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -872[rbp], 1
.L203:
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	cmp	DWORD PTR -872[rbp], eax
	jl	.L205
	add	DWORD PTR -884[rbp], 1
.L202:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -884[rbp], eax
	jl	.L206
	cmp	DWORD PTR -896[rbp], 1
	je	.L207
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR NGrid_y[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 96[rax]
	mov	rax, QWORD PTR domain_3d[rip]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR NGrid_y[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 28[rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -916[rbp], xmm0
	cmp	DWORD PTR -864[rbp], 0
	jne	.L208
	lea	rax, -916[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L208:
	mov	rdx, QWORD PTR -808[rbp]
	lea	rax, -916[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
.L207:
	mov	edx, DWORD PTR -892[rbp]
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -880[rbp], 0
	jmp	.L209
.L213:
	mov	DWORD PTR -868[rbp], 0
	jmp	.L210
.L212:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 104[rax]
	mov	eax, DWORD PTR -868[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -916[rbp], xmm0
	cmp	DWORD PTR -864[rbp], 0
	jne	.L211
	lea	rax, -916[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L211:
	mov	rdx, QWORD PTR -808[rbp]
	lea	rax, -916[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -868[rbp], 1
.L210:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	cmp	DWORD PTR -868[rbp], eax
	jl	.L212
	add	DWORD PTR -880[rbp], 1
.L209:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -880[rbp], eax
	jl	.L213
	cmp	DWORD PTR -892[rbp], 1
	je	.L214
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR NGrid_z[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 104[rax]
	mov	rcx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR NGrid_z[rip]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 32[rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -916[rbp], xmm0
	cmp	DWORD PTR -864[rbp], 0
	jne	.L215
	lea	rax, -916[rbp]
	mov	rdi, rax
	call	Swap4Bytes
.L215:
	mov	rdx, QWORD PTR -808[rbp]
	lea	rax, -916[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
.L214:
	mov	eax, DWORD PTR -912[rbp]
	imul	eax, DWORD PTR -908[rbp]
	imul	eax, DWORD PTR -904[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L239:
	mov	DWORD PTR -880[rbp], 0
	jmp	.L216
.L234:
	mov	DWORD PTR -884[rbp], 0
	jmp	.L217
.L233:
	mov	DWORD PTR -888[rbp], 0
	jmp	.L218
.L232:
	cmp	DWORD PTR -888[rbp], 0
	jne	.L219
	cmp	DWORD PTR -884[rbp], 0
	jne	.L219
	cmp	DWORD PTR -880[rbp], 0
	jne	.L219
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	lea	rsi, -544[rbp]
	lea	rcx, -672[rbp]
	lea	rdx, -800[rbp]
	mov	r8, rsi
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -860[rbp], eax
	cmp	DWORD PTR -860[rbp], -1
	jne	.L220
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L176
.L220:
	lea	rax, -544[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L223
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -544[rbp]
	mov	rsi, rax
	lea	rdi, .LC58[rip]
	mov	eax, 0
	call	join_error
	jmp	.L223
.L219:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	lea	rsi, -160[rbp]
	lea	rcx, -288[rbp]
	lea	rdx, -416[rbp]
	mov	r8, rsi
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -860[rbp], eax
	cmp	DWORD PTR -860[rbp], -1
	jne	.L224
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC59[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L176
.L224:
	lea	rdx, -416[rbp]
	lea	rax, -800[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L225
	lea	rdx, -288[rbp]
	lea	rax, -672[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L225
	lea	rdx, -160[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L223
.L225:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	join_error
.L223:
	lea	rax, -800[rbp]
	lea	rsi, .LC61[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L226
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	lea	rcx, -160[rbp]
	lea	rdx, -416[rbp]
	lea	rsi, .LC62[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rax, -416[rbp]
	lea	rsi, .LC63[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L227
	lea	rax, -160[rbp]
	lea	rsi, .LC64[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L226
.L227:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
	lea	rdx, -160[rbp]
	lea	rax, -416[rbp]
	mov	rsi, rax
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	join_error
.L226:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	edx, 1
	mov	rsi, -1
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L229
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 760
	lea	rsi, .LC67[rip]
	lea	rdi, .LC68[rip]
	call	__assert_fail@PLT
.L230:
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	edx, 1
	mov	rsi, -2
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L229
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 762
	lea	rsi, .LC67[rip]
	lea	rdi, .LC69[rip]
	call	__assert_fail@PLT
.L229:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	fgetc@PLT
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L230
	mov	rdx, QWORD PTR domain_3d[rip]
	mov	eax, DWORD PTR -880[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -884[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -888[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 10
	je	.L231
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 763
	lea	rsi, .LC67[rip]
	lea	rdi, .LC70[rip]
	call	__assert_fail@PLT
.L231:
	add	DWORD PTR -888[rbp], 1
.L218:
	mov	eax, DWORD PTR NGrid_x[rip]
	cmp	DWORD PTR -888[rbp], eax
	jl	.L232
	add	DWORD PTR -884[rbp], 1
.L217:
	mov	eax, DWORD PTR NGrid_y[rip]
	cmp	DWORD PTR -884[rbp], eax
	jl	.L233
	add	DWORD PTR -880[rbp], 1
.L216:
	mov	eax, DWORD PTR NGrid_z[rip]
	cmp	DWORD PTR -880[rbp], eax
	jl	.L234
	lea	rcx, -544[rbp]
	lea	rdx, -672[rbp]
	lea	rax, -800[rbp]
	mov	rsi, rax
	lea	rdi, .LC71[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, -544[rbp]
	lea	rcx, -672[rbp]
	lea	rdx, -800[rbp]
	mov	rax, QWORD PTR -808[rbp]
	mov	r8, rsi
	lea	rsi, .LC72[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -800[rbp]
	lea	rsi, .LC61[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L235
	mov	rax, QWORD PTR -808[rbp]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC73[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	read_write_scalar
	jmp	.L239
.L235:
	lea	rax, -800[rbp]
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L237
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	read_write_vector
	jmp	.L239
.L237:
	lea	rax, -800[rbp]
	lea	rsi, .LC75[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L238
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	read_write_tensor
	jmp	.L239
.L238:
	lea	rax, -800[rbp]
	mov	rsi, rax
	lea	rdi, .LC76[rip]
	mov	eax, 0
	call	join_error
	jmp	.L239
.L176:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L241
	call	__stack_chk_fail@PLT
.L241:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	write_joined_vtk, .-write_joined_vtk
	.section	.rodata
	.align 8
.LC77:
	.string	"my_strdup: failed to allocate %d\n"
	.text
	.type	my_strdup, @function
my_strdup:
.LFB20:
	.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L246
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC77[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L247
.L246:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L247:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	my_strdup, .-my_strdup
	.type	free_3d_array, @function
free_3d_array:
.LFB21:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	free_3d_array, .-free_3d_array
	.section	.rodata
.LC78:
	.string	"failed calloc_3d 1(%d)"
.LC79:
	.string	"failed calloc_3d 2(%d)"
.LC80:
	.string	"failed calloc_3d(%d,%d,%d,%d)"
	.text
	.type	calloc_3d_array, @function
calloc_3d_array:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L250
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L251
.L250:
	mov	rax, QWORD PTR -56[rbp]
	imul	rax, QWORD PTR -64[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L252
	mov	rax, QWORD PTR -56[rbp]
	imul	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC79[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L251
.L252:
	mov	QWORD PTR -40[rbp], 1
	jmp	.L253
.L254:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	imul	rax, QWORD PTR -64[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -40[rbp], 1
.L253:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jb	.L254
	mov	rax, QWORD PTR -56[rbp]
	imul	rax, QWORD PTR -64[rbp]
	imul	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	jne	.L255
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, QWORD PTR -80[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC80[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L251
.L255:
	mov	QWORD PTR -32[rbp], 1
	jmp	.L256
.L257:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	imul	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	add	rax, rsi
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -32[rbp], 1
.L256:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jb	.L257
	mov	QWORD PTR -40[rbp], 1
	jmp	.L258
.L261:
	mov	rax, QWORD PTR -40[rbp]
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	imul	rax, QWORD PTR -72[rbp]
	imul	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR -32[rbp], 1
	jmp	.L259
.L260:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	imul	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	sal	rax, 3
	add	rax, rsi
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	QWORD PTR -32[rbp], 1
.L259:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jb	.L260
	add	QWORD PTR -40[rbp], 1
.L258:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jb	.L261
	mov	rax, QWORD PTR -24[rbp]
.L251:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	calloc_3d_array, .-calloc_3d_array
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 17
__PRETTY_FUNCTION__.0:
	.string	"write_joined_vtk"
	.align 8
.LC34:
	.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	"218823.c"
	.text
	.local	file_count
	.comm	file_count,4,4
	.local	domain_1d
	.comm	domain_1d,4,4
	.local	NGrid_x
	.comm	NGrid_x,4,4
	.local	NGrid_y
	.comm	NGrid_y,4,4
	.local	NGrid_z
	.comm	NGrid_z,4,4
	.local	domain_3d
	.comm	domain_3d,4,4
	.local	grid_version
	.comm	grid_version,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s -o <out_name.vtk> file1.vtk file2.vtk ..."
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"-o\000"
	.align	2
.LC2:
	.ascii	"out_name = my_strdup(\"%s\") failed\012\000"
	.align	2
.LC3:
	.ascii	"Output filename is \"%s\"\012\000"
	.align	2
.LC4:
	.ascii	"Found %d files on the command line\012\000"
	.align	2
.LC5:
	.ascii	"calloc returned a NULL pointer for domain_1d\012\000"
	.align	2
.LC6:
	.ascii	"domain_1d[%d].fname = my_strdup(\"%s\") failed\012\000"
	.align	2
.LC7:
	.ascii	"calloc_3d_array() returned a NULL pointer\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	bgt	.L2
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28
	bl	join_error
.L2:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #3
	ldr	r2, .L28+4
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L3
.L7:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L28+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	my_strdup
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+12
	bl	join_error
	b	.L27
.L4:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L7
	b	.L6
.L27:
	nop
.L6:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28
	bl	join_error
.L8:
	ldr	r1, [fp, #-16]
	ldr	r0, .L28+16
	bl	printf
	ldr	r3, .L28+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+20
	bl	printf
	ldr	r3, .L28+4
	ldr	r3, [r3]
	mov	r1, #88
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L28+24
	str	r2, [r3]
	ldr	r3, .L28+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L28+28
	bl	join_error
.L9:
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L10
.L14:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L28+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L12
.L11:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	my_strdup
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L28+32
	bl	join_error
.L13:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L12:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L10:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L14
	bl	init_domain_1d
	bl	sort_domain_1d
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	ldr	r3, .L28+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L28+44
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, #88
	bl	calloc_3d_array
	mov	r3, r0
	ldr	r2, .L28+48
	str	r3, [r2]
	ldr	r3, .L28+48
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r0, .L28+52
	bl	join_error
.L15:
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L16
.L21:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L17
.L20:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L18
.L19:
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r0, r1, r3
	ldr	r3, .L28+48
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	ip, r3
	mov	r1, r0
	mov	r3, #88
	mov	r2, r3
	mov	r0, ip
	bl	memcpy
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L18:
	ldr	r3, .L28+44
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L17:
	ldr	r3, .L28+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L16:
	ldr	r3, .L28+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L21
	ldr	r0, [fp, #-16]
	bl	write_joined_vtk
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L22
.L23:
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #72]
	mov	r0, r3
	bl	free
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #72]
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #76]
	mov	r0, r3
	bl	free
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #76]
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #80]
	mov	r0, r3
	bl	free
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #80]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L22:
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L23
	ldr	r3, .L28+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	free_3d_array
	ldr	r3, .L28+48
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L24
.L25:
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, .L28+24
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L24:
	ldr	r3, .L28+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L25
	ldr	r3, .L28+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L28+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC0
	.word	file_count
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	domain_1d
	.word	.LC5
	.word	.LC6
	.word	NGrid_z
	.word	NGrid_y
	.word	NGrid_x
	.word	domain_3d
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	join_error, %function
join_error:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, .L32+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, .L32+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #1
	bl	exit
.L33:
	.align	2
.L32:
	.word	.LC8
	.word	stderr
	.size	join_error, .-join_error
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strip_trail_white, %function
strip_trail_white:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L35
.L36:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L35:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
	b	.L37
.L40:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
.L37:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bhi	.L40
	b	.L39
.L42:
	nop
.L39:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strip_trail_white, .-strip_trail_white
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	IsBigEndian
	.syntax unified
	.arm
	.fpu softvfp
	.type	IsBigEndian, %function
IsBigEndian:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	strh	r3, [fp, #-14]	@ movhi
	sub	r3, fp, #14
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC9
	.size	IsBigEndian, .-IsBigEndian
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Swap4Bytes, %function
Swap4Bytes:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #1]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	ldrb	r2, [r2, #2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	Swap4Bytes, .-Swap4Bytes
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Is it big Endian? %d\012\000"
	.align	2
.LC11:
	.ascii	"r\000"
	.align	2
.LC12:
	.ascii	"Error opening file \"%s\"\012\000"
	.align	2
.LC13:
	.ascii	"\012domain_1d[%d].fname = \"%s\"\012\000"
	.align	2
.LC14:
	.ascii	"# vtk DataFile Version 3.0\000"
	.align	2
.LC15:
	.ascii	"# vtk DataFile Version 2.0\000"
	.align	2
.LC16:
	.ascii	"First Line is \"%s\"\012\000"
	.align	2
.LC17:
	.ascii	"Comment Field: \"%s\"\012\000"
	.align	2
.LC18:
	.ascii	"domain_1d[%d].comment = my_strdup(\"%s\") failed\012"
	.ascii	"\000"
	.align	2
.LC19:
	.ascii	"BINARY\000"
	.align	2
.LC20:
	.ascii	"Unsupported file type: %s\000"
	.align	2
.LC21:
	.ascii	"DATASET STRUCTURED_POINTS\000"
	.align	2
.LC22:
	.ascii	"DATASET RECTILINEAR_GRID\000"
	.align	2
.LC23:
	.ascii	"DIMENSIONS %d %d %d\012\000"
	.align	2
.LC24:
	.ascii	"ORIGIN %le %le %le\012\000"
	.align	2
.LC25:
	.ascii	"ORIGIN %e %e %e\012\000"
	.align	2
.LC26:
	.ascii	"SPACING %le %le %le\012\000"
	.align	2
.LC27:
	.ascii	"SPACING %e %e %e\012\000"
	.align	2
.LC28:
	.ascii	"X_COORDINATES %d float\012\000"
	.align	2
.LC29:
	.ascii	"reading X_COORDINATES error\012\000"
	.align	2
.LC30:
	.ascii	"\012Y_COORDINATES %d float\012\000"
	.align	2
.LC31:
	.ascii	"Y_COORDINATES %d float\012\000"
	.align	2
.LC32:
	.ascii	"reading Y_COORDINATES error\012\000"
	.align	2
.LC33:
	.ascii	"\012Z_COORDINATES %d float\012\000"
	.align	2
.LC34:
	.ascii	"Z_COORDINATES %d float\012\000"
	.align	2
.LC35:
	.ascii	"reading Z_COORDINATES error\012\000"
	.global	__aeabi_f2d
	.align	2
.LC36:
	.ascii	"\012CELL_DATA %d\012\000"
	.align	2
.LC37:
	.ascii	"CELL_DATA %d\012\000"
	.align	2
.LC38:
	.ascii	"Nx*Ny*Nz = %d\012\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_domain_1d, %function
init_domain_1d:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #320
	ldr	r3, .L84
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	IsBigEndian
	str	r0, [fp, #-288]
	ldr	r1, [fp, #-288]
	ldr	r0, .L84+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-296]
	b	.L50
.L81:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3]
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	ldr	r1, .L84+12
	bl	fopen
	mov	r3, r0
	str	r3, [r4, #8]
	ldr	r3, [r4, #8]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L84+16
	bl	join_error
.L51:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-296]
	ldr	r0, .L84+20
	bl	printf
	sub	r3, fp, #272
	ldr	r2, [fp, #-284]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #272
	mov	r0, r3
	bl	strip_trail_white
	sub	r3, fp, #272
	ldr	r1, .L84+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	sub	r3, fp, #272
	ldr	r1, .L84+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L84+32
	bl	join_error
.L52:
	sub	r3, fp, #272
	ldr	r2, [fp, #-284]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #272
	mov	r0, r3
	bl	strip_trail_white
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L84+36
	bl	printf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	sub	r3, fp, #272
	mov	r0, r3
	bl	my_strdup
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L53
	sub	r3, fp, #272
	mov	r2, r3
	ldr	r1, [fp, #-296]
	ldr	r0, .L84+40
	bl	join_error
.L53:
	sub	r3, fp, #272
	ldr	r2, [fp, #-284]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #272
	mov	r0, r3
	bl	strip_trail_white
	sub	r3, fp, #272
	ldr	r1, .L84+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L54
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L84+48
	bl	join_error
.L54:
	sub	r3, fp, #272
	ldr	r2, [fp, #-284]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #272
	mov	r0, r3
	bl	strip_trail_white
	sub	r3, fp, #272
	ldr	r1, .L84+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, .L84+56
	mov	r2, #1
	str	r2, [r3]
	b	.L56
.L55:
	sub	r3, fp, #272
	ldr	r1, .L84+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L84+56
	mov	r2, #2
	str	r2, [r3]
	b	.L56
.L57:
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L84+48
	bl	join_error
.L56:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r0, r3, #12
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	ip, r3, #16
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #20
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L84+64
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3, #12]
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	ip, [r3, #16]
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #20]
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L84+64
	bl	printf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	cmp	r3, #1
	ble	.L58
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #12]
	sub	r2, r2, #1
	str	r2, [r3, #12]
.L58:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	cmp	r3, #1
	ble	.L59
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #16]
	sub	r2, r2, #1
	str	r2, [r3, #16]
.L59:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #20]
	cmp	r3, #1
	ble	.L60
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #20]
	sub	r2, r2, #1
	str	r2, [r3, #20]
.L60:
	ldr	r3, .L84+56
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L61
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r0, r3, #24
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	ip, r3, #32
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #40
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L84+68
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r5, r3, #24
	ldmia	r5, {r4-r5}
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r3, .L84+8
	ldr	ip, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r0-r1}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L84+72
	bl	printf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r0, r3, #48
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	ip, r3, #56
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #64
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L84+76
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r5, r3, #48
	ldmia	r5, {r4-r5}
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r1, r3, #56
	ldmia	r1, {r0-r1}
	ldr	r3, .L84+8
	ldr	ip, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r0-r1}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L84+80
	bl	printf
	b	.L62
.L61:
	ldr	r3, .L84+56
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L62
	sub	r3, fp, #312
	mov	r2, r3
	ldr	r1, .L84+84
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-312]
	mov	r1, r3
	ldr	r0, .L84+84
	bl	printf
	ldr	r3, [fp, #-312]
	lsl	r0, r3, #2
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #72]
	mov	r3, #0
	str	r3, [fp, #-292]
	b	.L63
.L66:
	sub	r0, fp, #300
	ldr	r3, [fp, #-284]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #1
	beq	.L64
	ldr	r0, .L84+88
	bl	join_error
.L64:
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L65
	sub	r3, fp, #300
	mov	r0, r3
	bl	Swap4Bytes
.L65:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #72]
	ldr	r3, [fp, #-292]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-300]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L63:
	ldr	r3, [fp, #-312]
	ldr	r2, [fp, #-292]
	cmp	r2, r3
	blt	.L66
	sub	r3, fp, #308
	mov	r2, r3
	ldr	r1, .L84+92
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-308]
	mov	r1, r3
	ldr	r0, .L84+96
	bl	printf
	ldr	r3, [fp, #-308]
	lsl	r0, r3, #2
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #76]
	mov	r3, #0
	str	r3, [fp, #-292]
	b	.L67
.L70:
	sub	r0, fp, #300
	ldr	r3, [fp, #-284]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #1
	beq	.L68
	ldr	r0, .L84+100
	bl	join_error
.L68:
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L69
	sub	r3, fp, #300
	mov	r0, r3
	bl	Swap4Bytes
.L69:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #76]
	ldr	r3, [fp, #-292]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-300]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L67:
	ldr	r3, [fp, #-308]
	ldr	r2, [fp, #-292]
	cmp	r2, r3
	blt	.L70
	sub	r3, fp, #304
	mov	r2, r3
	ldr	r1, .L84+104
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-304]
	mov	r1, r3
	ldr	r0, .L84+108
	bl	printf
	ldr	r3, [fp, #-304]
	lsl	r0, r3, #2
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #80]
	mov	r3, #0
	str	r3, [fp, #-292]
	b	.L71
.L74:
	sub	r0, fp, #300
	ldr	r3, [fp, #-284]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #1
	beq	.L72
	ldr	r0, .L84+112
	bl	join_error
.L72:
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L73
	sub	r3, fp, #300
	mov	r0, r3
	bl	Swap4Bytes
.L73:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #80]
	ldr	r3, [fp, #-292]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-300]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-292]
	add	r3, r3, #1
	str	r3, [fp, #-292]
.L71:
	ldr	r3, [fp, #-304]
	ldr	r2, [fp, #-292]
	cmp	r2, r3
	blt	.L74
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #72]
	ldr	r0, [r3]	@ float
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #24]
	str	r3, [r4, #28]
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #76]
	ldr	r0, [r3]	@ float
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #32]
	str	r3, [r4, #36]
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #80]
	ldr	r0, [r3]	@ float
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r4, r1, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #40]
	str	r3, [r4, #44]
	ldr	r3, [fp, #-312]
	cmp	r3, #1
	ble	.L75
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	ldr	r3, .L84+116
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	b	.L76
.L75:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #48]
	str	r3, [r1, #52]
.L76:
	ldr	r3, [fp, #-308]
	cmp	r3, #1
	ble	.L77
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	ldr	r3, .L84+116
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	b	.L78
.L77:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #56]
	str	r3, [r1, #60]
.L78:
	ldr	r3, [fp, #-304]
	cmp	r3, #1
	ble	.L79
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	ldr	r3, .L84+116
	str	r2, [r1, #64]
	str	r3, [r1, #68]
	b	.L62
.L79:
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #64]
	str	r3, [r1, #68]
.L62:
	sub	r3, fp, #316
	mov	r2, r3
	ldr	r1, .L84+120
	ldr	r0, [fp, #-284]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-316]
	mov	r1, r3
	ldr	r0, .L84+124
	bl	printf
	ldr	r3, .L84+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r1, [r3, #12]
	ldr	r3, .L84+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #16]
	mul	r1, r3, r1
	ldr	r3, .L84+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-296]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #20]
	mul	r3, r1, r3
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-316]
	ldr	r2, [fp, #-276]
	cmp	r2, r3
	beq	.L80
	ldr	r1, [fp, #-276]
	ldr	r0, .L84+128
	bl	join_error
.L80:
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L50:
	ldr	r3, .L84+132
	ldr	r3, [r3]
	ldr	r2, [fp, #-296]
	cmp	r2, r3
	blt	.L81
	nop
	ldr	r3, .L84
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L83
	bl	__stack_chk_fail
.L83:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L85:
	.align	2
.L84:
	.word	.LC39
	.word	.LC10
	.word	domain_1d
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	grid_version
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	1072693248
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	file_count
	.size	init_domain_1d, .-init_domain_1d
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_ox, %function
compare_ox:
	@ 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]
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
	mvn	r3, #0
	b	.L89
.L94:
	ldr	r3, [fp, #-8]
	add	r1, r3, #24
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L95
	mov	r3, #1
	b	.L89
.L95:
	mov	r3, #0
.L89:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_ox, .-compare_ox
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_oy, %function
compare_oy:
	@ 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]
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L104
	mvn	r3, #0
	b	.L99
.L104:
	ldr	r3, [fp, #-8]
	add	r1, r3, #32
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L105
	mov	r3, #1
	b	.L99
.L105:
	mov	r3, #0
.L99:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_oy, .-compare_oy
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_oz, %function
compare_oz:
	@ 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]
	add	r1, r3, #40
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L114
	mvn	r3, #0
	b	.L109
.L114:
	ldr	r3, [fp, #-8]
	add	r1, r3, #40
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L115
	mov	r3, #1
	b	.L109
.L115:
	mov	r3, #0
.L109:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	compare_oz, .-compare_oz
	.section	.rodata
	.align	2
.LC40:
	.ascii	"zcount = 1 @ oz = %e\012\000"
	.align	2
.LC41:
	.ascii	"zcount = %d @ oz = %e\012\000"
	.align	2
.LC42:
	.ascii	"file_count%%zcount = %d\012\000"
	.align	2
.LC43:
	.ascii	"ycount = 1 @ oy = %e\012\000"
	.align	2
.LC44:
	.ascii	"ycount = %d @ oy = %e\012\000"
	.align	2
.LC45:
	.ascii	"xy_cnt%%ycount = %d\012\000"
	.align	2
.LC46:
	.ascii	"xcount = %d\012\000"
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_domain_1d, %function
sort_domain_1d:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L136
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L136+4
	ldr	r0, [r3]
	ldr	r3, .L136+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L136+12
	mov	r2, #88
	bl	qsort
	ldr	r3, .L136+4
	ldr	r3, [r3]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-52]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L136+16
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-64]
	b	.L117
.L120:
	ldr	r3, .L136+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	ldr	r3, .L136+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-52]
	ldr	r0, .L136+20
	bl	printf
.L118:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L117:
	ldr	r3, .L136+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L120
	ldr	r3, .L136+8
	ldr	r1, [r3]
	sub	r3, fp, #16
	ldr	r2, [fp, #-52]
	mov	r0, r3
	bl	div
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L121
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L136+24
	bl	join_error
.L121:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L122
.L128:
	ldr	r3, .L136+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-48]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r0, r1, r3
	ldr	r1, [fp, #-48]
	ldr	r3, .L136+28
	mov	r2, #88
	bl	qsort
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L123
	ldr	r3, .L136+4
	ldr	r3, [r3]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-56]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L136+32
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L124
.L127:
	ldr	r3, .L136+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L125
	ldr	r3, .L136+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-56]
	ldr	r0, .L136+36
	bl	printf
.L125:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L124:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L127
.L123:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L122:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L128
	sub	r3, fp, #76
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	div
	sub	r3, fp, #16
	sub	r2, fp, #76
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L129
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L136+40
	bl	join_error
.L129:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-44]
	ldr	r1, [fp, #-44]
	ldr	r0, .L136+44
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-52]
	mul	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L130
.L131:
	ldr	r3, .L136+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-44]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r0, r1, r3
	ldr	r1, [fp, #-44]
	ldr	r3, .L136+48
	mov	r2, #88
	bl	qsort
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L130:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L131
	ldr	r2, .L136+52
	ldr	r3, [fp, #-44]
	str	r3, [r2]
	ldr	r2, .L136+56
	ldr	r3, [fp, #-56]
	str	r3, [r2]
	ldr	r2, .L136+60
	ldr	r3, [fp, #-52]
	str	r3, [r2]
	nop
	ldr	r3, .L136
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L133
	bl	__stack_chk_fail
.L133:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L137:
	.align	2
.L136:
	.word	.LC47
	.word	domain_1d
	.word	file_count
	.word	compare_oz
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	compare_oy
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	compare_ox
	.word	NGrid_x
	.word	NGrid_y
	.word	NGrid_z
	.size	sort_domain_1d, .-sort_domain_1d
	.section	.rodata
	.align	2
.LC48:
	.ascii	"read_write_scalar error\012\000"
	.align	2
.LC49:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_write_scalar, %function
read_write_scalar:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L154
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L139
.L151:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L140
.L150:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L141
.L149:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L142
.L148:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L143
.L147:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L144
.L146:
	ldr	r3, .L154+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	sub	r0, fp, #44
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L145
	ldr	r0, .L154+8
	bl	join_error
.L145:
	sub	r0, fp, #44
	ldr	r3, [fp, #-48]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L144:
	ldr	r3, .L154+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L146
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L143:
	ldr	r3, .L154+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L147
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L142:
	ldr	r3, .L154+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L148
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L141:
	ldr	r3, .L154+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L149
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L140:
	ldr	r3, .L154+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L150
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L139:
	ldr	r3, .L154+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L151
	nop
	ldr	r3, .L154
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L153
	bl	__stack_chk_fail
.L153:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L155:
	.align	2
.L154:
	.word	.LC49
	.word	domain_3d
	.word	.LC48
	.word	NGrid_x
	.word	NGrid_y
	.word	NGrid_z
	.size	read_write_scalar, .-read_write_scalar
	.section	.rodata
	.align	2
.LC50:
	.ascii	"read_write_vector error\012\000"
	.align	2
.LC51:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_write_vector, %function
read_write_vector:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L172
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L157
.L169:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L158
.L168:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L159
.L167:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L160
.L166:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L161
.L165:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L162
.L164:
	ldr	r3, .L172+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-28]
	sub	r0, fp, #20
	ldr	r3, [fp, #-28]
	mov	r2, #3
	mov	r1, #4
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	beq	.L163
	ldr	r0, .L172+8
	bl	join_error
.L163:
	sub	r0, fp, #20
	ldr	r3, [fp, #-56]
	mov	r2, #3
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L162:
	ldr	r3, .L172+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L164
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L161:
	ldr	r3, .L172+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L165
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L160:
	ldr	r3, .L172+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L166
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L159:
	ldr	r3, .L172+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L167
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L158:
	ldr	r3, .L172+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L168
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L157:
	ldr	r3, .L172+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L169
	nop
	ldr	r3, .L172
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L171
	bl	__stack_chk_fail
.L171:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L173:
	.align	2
.L172:
	.word	.LC51
	.word	domain_3d
	.word	.LC50
	.word	NGrid_x
	.word	NGrid_y
	.word	NGrid_z
	.size	read_write_vector, .-read_write_vector
	.section	.rodata
	.align	2
.LC52:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_write_tensor, %function
read_write_tensor:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L190
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L175
.L187:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L176
.L186:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L177
.L185:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L178
.L184:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L179
.L183:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L180
.L182:
	ldr	r3, .L190+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-52]
	sub	r0, fp, #44
	ldr	r3, [fp, #-52]
	mov	r2, #9
	mov	r1, #4
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #9
	beq	.L181
	ldr	r0, .L190+8
	bl	join_error
.L181:
	sub	r0, fp, #44
	ldr	r3, [fp, #-80]
	mov	r2, #9
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L180:
	ldr	r3, .L190+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L182
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L179:
	ldr	r3, .L190+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L183
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L178:
	ldr	r3, .L190+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L184
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L177:
	ldr	r3, .L190+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L185
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L176:
	ldr	r3, .L190+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L186
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L175:
	ldr	r3, .L190+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L187
	nop
	ldr	r3, .L190
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L189
	bl	__stack_chk_fail
.L189:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L191:
	.align	2
.L190:
	.word	.LC52
	.word	domain_3d
	.word	.LC50
	.word	NGrid_x
	.word	NGrid_y
	.word	NGrid_z
	.size	read_write_tensor, .-read_write_tensor
	.section	.rodata
	.align	2
.LC53:
	.ascii	"w\000"
	.align	2
.LC54:
	.ascii	"Error opening the output file \"%s\"\012\000"
	.align	2
.LC55:
	.ascii	"# vtk DataFile Version 3.0\012\000"
	.align	2
.LC56:
	.ascii	"%s\012\000"
	.align	2
.LC57:
	.ascii	"BINARY\012\000"
	.align	2
.LC58:
	.ascii	"DATASET STRUCTURED_POINTS\012\000"
	.align	2
.LC59:
	.ascii	"DATASET RECTILINEAR_GRID\012\000"
	.align	2
.LC60:
	.ascii	"\012CELL_DATA %d\000"
	.align	2
.LC61:
	.ascii	"%s %s %s\012\000"
	.align	2
.LC62:
	.ascii	"float\000"
	.align	2
.LC63:
	.ascii	"Expected \"float\" format, found \"%s\"\012\000"
	.align	2
.LC64:
	.ascii	"[join_vtk_dump]: EOF returned for file \"%s\"\012\000"
	.align	2
.LC65:
	.ascii	"mismatch in input file positions\012\000"
	.align	2
.LC66:
	.ascii	"SCALARS\000"
	.align	2
.LC67:
	.ascii	"%s %s\012\000"
	.align	2
.LC68:
	.ascii	"LOOKUP_TABLE\000"
	.align	2
.LC69:
	.ascii	"default\000"
	.align	2
.LC70:
	.ascii	"Expected \"LOOKUP_TABLE default\"\012\000"
	.align	2
.LC71:
	.ascii	"Found \"%s %s\"\012\000"
	.align	2
.LC72:
	.ascii	"the_stack_data/218823.c\000"
	.align	2
.LC73:
	.ascii	"fseek(domain_3d[k][j][i].fp, -1, SEEK_CUR) == 0\000"
	.align	2
.LC74:
	.ascii	"fseek(domain_3d[k][j][i].fp, -2, SEEK_CUR) == 0\000"
	.align	2
.LC75:
	.ascii	"fgetc(domain_3d[k][j][i].fp) == '\\n'\000"
	.align	2
.LC76:
	.ascii	"Reading: \"%s %s %s\"\012\000"
	.align	2
.LC77:
	.ascii	"\012%s %s %s\012\000"
	.align	2
.LC78:
	.ascii	"LOOKUP_TABLE default\012\000"
	.align	2
.LC79:
	.ascii	"VECTORS\000"
	.align	2
.LC80:
	.ascii	"TENSORS\000"
	.align	2
.LC81:
	.ascii	"Input type = \"%s\"\012\000"
	.align	2
.LC82:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_joined_vtk, %function
write_joined_vtk:
	@ args = 0, pretend = 0, frame = 896
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #916
	str	r0, [fp, #-904]
	ldr	r3, .L261
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	IsBigEndian
	str	r0, [fp, #-848]
	mov	r3, #0
	str	r3, [fp, #-888]
	ldr	r3, [fp, #-888]
	str	r3, [fp, #-892]
	ldr	r3, [fp, #-892]
	str	r3, [fp, #-896]
	mov	r3, #0
	str	r3, [fp, #-872]
	b	.L193
.L194:
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-896]
	add	r3, r2, r3
	str	r3, [fp, #-896]
	ldr	r3, [fp, #-872]
	add	r3, r3, #1
	str	r3, [fp, #-872]
.L193:
	ldr	r3, .L261+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-872]
	cmp	r2, r3
	blt	.L194
	mov	r3, #0
	str	r3, [fp, #-868]
	b	.L195
.L196:
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-892]
	add	r3, r2, r3
	str	r3, [fp, #-892]
	ldr	r3, [fp, #-868]
	add	r3, r3, #1
	str	r3, [fp, #-868]
.L195:
	ldr	r3, .L261+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-868]
	cmp	r2, r3
	blt	.L196
	mov	r3, #0
	str	r3, [fp, #-864]
	b	.L197
.L198:
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-888]
	add	r3, r2, r3
	str	r3, [fp, #-888]
	ldr	r3, [fp, #-864]
	add	r3, r3, #1
	str	r3, [fp, #-864]
.L197:
	ldr	r3, .L261+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-864]
	cmp	r2, r3
	blt	.L198
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-836]
	str	r3, [fp, #-832]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-828]
	str	r3, [fp, #-824]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-820]
	str	r3, [fp, #-816]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-812]
	str	r3, [fp, #-808]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-804]
	str	r3, [fp, #-800]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-796]
	str	r3, [fp, #-792]
	ldr	r3, [fp, #-896]
	cmp	r3, #0
	ble	.L199
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #812
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L199
	ldr	r3, [fp, #-896]
	add	r3, r3, #1
	str	r3, [fp, #-884]
	b	.L201
.L199:
	ldr	r3, [fp, #-896]
	str	r3, [fp, #-884]
.L201:
	ldr	r3, [fp, #-892]
	cmp	r3, #0
	ble	.L202
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #804
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L202
	ldr	r3, [fp, #-892]
	add	r3, r3, #1
	str	r3, [fp, #-880]
	b	.L204
.L202:
	ldr	r3, [fp, #-892]
	str	r3, [fp, #-880]
.L204:
	ldr	r3, [fp, #-888]
	cmp	r3, #1
	ble	.L205
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #796
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L205
	ldr	r3, [fp, #-888]
	add	r3, r3, #1
	str	r3, [fp, #-876]
	b	.L207
.L205:
	ldr	r3, [fp, #-888]
	str	r3, [fp, #-876]
.L207:
	ldr	r1, .L261+20
	ldr	r0, [fp, #-904]
	bl	fopen
	str	r0, [fp, #-844]
	ldr	r3, [fp, #-844]
	cmp	r3, #0
	bne	.L208
	ldr	r1, [fp, #-904]
	ldr	r0, .L261+24
	bl	join_error
.L208:
	ldr	r3, [fp, #-844]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L261+28
	bl	fwrite
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, .L261+32
	ldr	r0, [fp, #-844]
	bl	fprintf
	ldr	r3, [fp, #-844]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L261+36
	bl	fwrite
	ldr	r3, .L261+40
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L209
	ldr	r3, [fp, #-844]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L261+44
	bl	fwrite
	ldr	r3, [fp, #-876]
	str	r3, [sp]
	ldr	r3, [fp, #-880]
	ldr	r2, [fp, #-884]
	ldr	r1, .L261+48
	ldr	r0, [fp, #-844]
	bl	fprintf
	sub	r3, fp, #820
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #828
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #836
	ldmia	r3, {r2-r3}
	ldr	r1, .L261+52
	ldr	r0, [fp, #-844]
	bl	fprintf
	sub	r3, fp, #796
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #804
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #812
	ldmia	r3, {r2-r3}
	ldr	r1, .L261+56
	ldr	r0, [fp, #-844]
	bl	fprintf
	ldr	r3, [fp, #-896]
	ldr	r2, [fp, #-892]
	mul	r3, r2, r3
	ldr	r2, [fp, #-888]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L261+60
	ldr	r0, [fp, #-844]
	bl	fprintf
	b	.L255
.L209:
	ldr	r3, .L261+40
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L255
	ldr	r3, [fp, #-844]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L261+64
	bl	fwrite
	ldr	r3, [fp, #-876]
	str	r3, [sp]
	ldr	r3, [fp, #-880]
	ldr	r2, [fp, #-884]
	ldr	r1, .L261+48
	ldr	r0, [fp, #-844]
	bl	fprintf
	ldr	r2, [fp, #-884]
	ldr	r1, .L261+68
	ldr	r0, [fp, #-844]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-872]
	b	.L211
.L215:
	mov	r3, #0
	str	r3, [fp, #-860]
	b	.L212
.L214:
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r2, [r3, #72]
	ldr	r3, [fp, #-860]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-900]	@ float
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L213
	sub	r3, fp, #900
	mov	r0, r3
	bl	Swap4Bytes
.L213:
	sub	r0, fp, #900
	ldr	r3, [fp, #-844]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-860]
	add	r3, r3, #1
	str	r3, [fp, #-860]
.L212:
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-860]
	cmp	r2, r3
	blt	.L214
	ldr	r3, [fp, #-872]
	add	r3, r3, #1
	str	r3, [fp, #-872]
.L211:
	ldr	r3, .L261+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-872]
	cmp	r2, r3
	blt	.L215
	ldr	r3, [fp, #-884]
	cmp	r3, #1
	beq	.L216
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, .L261+8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #88
	add	r3, r1, r3
	ldr	r1, [r3, #72]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r0, [r3]
	ldr	r3, .L261+8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, #88
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-900]	@ float
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L217
	sub	r3, fp, #900
	mov	r0, r3
	bl	Swap4Bytes
.L217:
	sub	r0, fp, #900
	ldr	r3, [fp, #-844]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
.L216:
	ldr	r2, [fp, #-880]
	ldr	r1, .L261+72
	ldr	r0, [fp, #-844]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-868]
	b	.L218
.L222:
	mov	r3, #0
	str	r3, [fp, #-856]
	b	.L219
.L221:
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #76]
	ldr	r3, [fp, #-856]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-900]	@ float
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L220
	sub	r3, fp, #900
	mov	r0, r3
	bl	Swap4Bytes
.L220:
	sub	r0, fp, #900
	ldr	r3, [fp, #-844]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-856]
	add	r3, r3, #1
	str	r3, [fp, #-856]
.L219:
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-856]
	cmp	r2, r3
	blt	.L221
	ldr	r3, [fp, #-868]
	add	r3, r3, #1
	str	r3, [fp, #-868]
.L218:
	ldr	r3, .L261+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-868]
	cmp	r2, r3
	blt	.L222
	ldr	r3, [fp, #-880]
	cmp	r3, #1
	beq	.L223
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L261+12
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [r3, #76]
	ldr	r3, .L261+4
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, .L261+12
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-900]	@ float
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L224
	sub	r3, fp, #900
	mov	r0, r3
	bl	Swap4Bytes
.L224:
	sub	r0, fp, #900
	ldr	r3, [fp, #-844]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
.L223:
	ldr	r2, [fp, #-876]
	ldr	r1, .L261+76
	ldr	r0, [fp, #-844]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-864]
	b	.L225
.L229:
	mov	r3, #0
	str	r3, [fp, #-852]
	b	.L226
.L228:
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [r3, #80]
	ldr	r3, [fp, #-852]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-900]	@ float
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L227
	sub	r3, fp, #900
	mov	r0, r3
	bl	Swap4Bytes
.L227:
	sub	r0, fp, #900
	ldr	r3, [fp, #-844]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-852]
	add	r3, r3, #1
	str	r3, [fp, #-852]
.L226:
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-852]
	cmp	r2, r3
	blt	.L228
	ldr	r3, [fp, #-864]
	add	r3, r3, #1
	str	r3, [fp, #-864]
.L225:
	ldr	r3, .L261+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-864]
	cmp	r2, r3
	blt	.L229
	ldr	r3, [fp, #-876]
	cmp	r3, #1
	beq	.L230
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, .L261+16
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, [r3, #80]
	ldr	r3, .L261+4
	ldr	r1, [r3]
	ldr	r3, .L261+16
	ldr	r3, [r3]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-900]	@ float
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L231
	sub	r3, fp, #900
	mov	r0, r3
	bl	Swap4Bytes
.L231:
	sub	r0, fp, #900
	ldr	r3, [fp, #-844]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
.L230:
	ldr	r3, [fp, #-896]
	ldr	r2, [fp, #-892]
	mul	r3, r2, r3
	ldr	r2, [fp, #-888]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L261+80
	ldr	r0, [fp, #-844]
	bl	fprintf
.L255:
	mov	r3, #0
	str	r3, [fp, #-864]
	b	.L232
.L250:
	mov	r3, #0
	str	r3, [fp, #-868]
	b	.L233
.L249:
	mov	r3, #0
	str	r3, [fp, #-872]
	b	.L234
.L248:
	ldr	r3, [fp, #-872]
	cmp	r3, #0
	bne	.L235
	ldr	r3, [fp, #-868]
	cmp	r3, #0
	bne	.L235
	ldr	r3, [fp, #-864]
	cmp	r3, #0
	bne	.L235
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3, #8]
	sub	r1, fp, #656
	sub	r2, fp, #784
	sub	r3, fp, #528
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L261+84
	bl	__isoc99_fscanf
	str	r0, [fp, #-840]
	ldr	r3, [fp, #-840]
	cmn	r3, #1
	bne	.L236
	ldr	r0, [fp, #-844]
	bl	fclose
	b	.L192
.L236:
	sub	r3, fp, #528
	ldr	r1, .L261+88
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L239
	ldr	r0, [fp, #-844]
	bl	fclose
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, .L261+92
	bl	join_error
	b	.L239
.L235:
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3, #8]
	sub	r1, fp, #272
	sub	r2, fp, #400
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L261+84
	bl	__isoc99_fscanf
	str	r0, [fp, #-840]
	ldr	r3, [fp, #-840]
	cmn	r3, #1
	bne	.L240
	ldr	r0, [fp, #-844]
	bl	fclose
	ldr	r3, .L261+96
	ldr	r0, [r3]
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L261+100
	bl	fprintf
	b	.L192
.L240:
	sub	r2, fp, #400
	sub	r3, fp, #784
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L241
	sub	r2, fp, #272
	sub	r3, fp, #656
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L241
	sub	r2, fp, #144
	sub	r3, fp, #528
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L239
.L241:
	ldr	r0, [fp, #-844]
	bl	fclose
	ldr	r0, .L261+104
	bl	join_error
.L239:
	sub	r3, fp, #784
	ldr	r1, .L261+108
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L242
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r0, [r3, #8]
	sub	r3, fp, #144
	sub	r2, fp, #400
	ldr	r1, .L261+112
	bl	__isoc99_fscanf
	sub	r3, fp, #400
	ldr	r1, .L261+116
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L243
	sub	r3, fp, #144
	ldr	r1, .L261+120
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L242
.L243:
	ldr	r0, [fp, #-844]
	bl	fclose
	ldr	r3, .L261+96
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L261+124
	bl	fwrite
	sub	r2, fp, #144
	sub	r3, fp, #400
	mov	r1, r3
	ldr	r0, .L261+128
	bl	join_error
.L242:
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	mov	r2, #1
	mvn	r1, #0
	mov	r0, r3
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L245
	ldr	r3, .L261+132
	mov	r2, #760
	ldr	r1, .L261+136
	ldr	r0, .L261+140
	bl	__assert_fail
.L246:
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	mov	r2, #1
	mvn	r1, #1
	mov	r0, r3
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L245
	ldr	r3, .L261+132
	ldr	r2, .L261+144
	ldr	r1, .L261+136
	ldr	r0, .L261+148
	bl	__assert_fail
.L245:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L246
	ldr	r3, .L261+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-864]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-868]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r2, [fp, #-872]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	cmp	r3, #10
	beq	.L247
	ldr	r3, .L261+132
	ldr	r2, .L261+152
	ldr	r1, .L261+136
	ldr	r0, .L261+156
	bl	__assert_fail
.L247:
	ldr	r3, [fp, #-872]
	add	r3, r3, #1
	str	r3, [fp, #-872]
.L234:
	ldr	r3, .L261+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-872]
	cmp	r2, r3
	blt	.L248
	ldr	r3, [fp, #-868]
	add	r3, r3, #1
	str	r3, [fp, #-868]
.L233:
	ldr	r3, .L261+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-868]
	cmp	r2, r3
	blt	.L249
	ldr	r3, [fp, #-864]
	add	r3, r3, #1
	str	r3, [fp, #-864]
.L232:
	ldr	r3, .L261+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-864]
	cmp	r2, r3
	blt	.L250
	sub	r3, fp, #528
	sub	r2, fp, #656
	sub	r1, fp, #784
	ldr	r0, .L261+160
	bl	printf
	sub	r1, fp, #656
	sub	r2, fp, #784
	sub	r3, fp, #528
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L261+164
	ldr	r0, [fp, #-844]
	bl	fprintf
	sub	r3, fp, #784
	ldr	r1, .L261+108
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L251
	ldr	r3, [fp, #-844]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L261+168
	bl	fwrite
	ldr	r0, [fp, #-844]
	bl	read_write_scalar
	b	.L255
.L251:
	sub	r3, fp, #784
	ldr	r1, .L261+172
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L253
	ldr	r0, [fp, #-844]
	bl	read_write_vector
	b	.L255
.L253:
	sub	r3, fp, #784
	ldr	r1, .L261+176
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L254
	ldr	r0, [fp, #-844]
	bl	read_write_tensor
	b	.L255
.L254:
	sub	r3, fp, #784
	mov	r1, r3
	ldr	r0, .L261+180
	bl	join_error
	b	.L255
.L192:
	ldr	r3, .L261
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L257
	bl	__stack_chk_fail
.L257:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L262:
	.align	2
.L261:
	.word	.LC82
	.word	domain_3d
	.word	NGrid_x
	.word	NGrid_y
	.word	NGrid_z
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	grid_version
	.word	.LC58
	.word	.LC23
	.word	.LC25
	.word	.LC27
	.word	.LC37
	.word	.LC59
	.word	.LC28
	.word	.LC30
	.word	.LC33
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	stderr
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	__PRETTY_FUNCTION__.5719
	.word	.LC72
	.word	.LC73
	.word	762
	.word	.LC74
	.word	763
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.size	write_joined_vtk, .-write_joined_vtk
	.section	.rodata
	.align	2
.LC83:
	.ascii	"my_strdup: failed to allocate %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	my_strdup, %function
my_strdup:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L264
	ldr	r3, .L266
	ldr	r4, [r3]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L266+4
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L265
.L264:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	strcpy
	mov	r3, r0
.L265:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L267:
	.align	2
.L266:
	.word	stderr
	.word	.LC83
	.size	my_strdup, .-my_strdup
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_3d_array, %function
free_3d_array:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_3d_array, .-free_3d_array
	.section	.rodata
	.align	2
.LC84:
	.ascii	"failed calloc_3d 1(%d)\000"
	.align	2
.LC85:
	.ascii	"failed calloc_3d 2(%d)\000"
	.align	2
.LC86:
	.ascii	"failed calloc_3d(%d,%d,%d,%d)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calloc_3d_array, %function
calloc_3d_array:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r1, #4
	ldr	r0, [fp, #-32]
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L270
	ldr	r3, .L282
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L282+4
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L271
.L270:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L272
	ldr	r3, .L282
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L282+8
	bl	fprintf
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	b	.L271
.L272:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L273
.L274:
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	lsl	r2, r3, #2
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L273:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bcc	.L274
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	ldr	r2, [fp, #-40]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r4, [r3]
	ldr	r1, [fp, #-44]
	mov	r0, r2
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L275
	ldr	r3, .L282
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, .L282+12
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	b	.L271
.L275:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L276
.L277:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	mul	r2, r3, r2
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L276:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L277
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L278
.L281:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	ldr	r2, [fp, #-44]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	ldr	r3, [r3]
	add	r2, r1, r2
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L279
.L280:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L279:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L280
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L278:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bcc	.L281
	ldr	r3, [fp, #-16]
.L271:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L283:
	.align	2
.L282:
	.word	stderr
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.size	calloc_3d_array, .-calloc_3d_array
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5719, %object
	.size	__PRETTY_FUNCTION__.5719, 17
__PRETTY_FUNCTION__.5719:
	.ascii	"write_joined_vtk\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
