// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/voro++/src/container.cc
// Function: voro::container_base::container_base(double, double, double, double, double, double, int, int, int, bool, bool, bool, int, int)
container_base::container_base(double ax_,double bx_,double ay_,double by_,double az_,double bz_,
		int nx_,int ny_,int nz_,bool xperiodic_,bool yperiodic_,bool zperiodic_,int init_mem,int ps_)
	: voro_base(nx_,ny_,nz_,(bx_-ax_)/nx_,(by_-ay_)/ny_,(bz_-az_)/nz_),
	ax(ax_), bx(bx_), ay(ay_), by(by_), az(az_), bz(bz_),
	max_len_sq((bx-ax)*(bx-ax)*(xperiodic_?0.25:1)+(by-ay)*(by-ay)*(yperiodic_?0.25:1)
		  +(bz-az)*(bz-az)*(zperiodic_?0.25:1)),
	xperiodic(xperiodic_), yperiodic(yperiodic_), zperiodic(zperiodic_),
	id(new int*[nxyz]), p(new double*[nxyz]), co(new int[nxyz]), mem(new int[nxyz]), ps(ps_) {

	int l;
	for(l=0;l<nxyz;l++) co[l]=0;
	for(l=0;l<nxyz;l++) mem[l]=init_mem;
	for(l=0;l<nxyz;l++) id[l]=new int[init_mem];
	for(l=0;l<nxyz;l++) p[l]=new double[ps*init_mem];
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, %ebp
movl %r8d, %r14d
movq %rdi, %rbx
movsd %xmm1, 0x8(%rsp)
movapd %xmm1, %xmm6
movsd %xmm0, (%rsp)
subsd %xmm0, %xmm6
xorps %xmm1, %xmm1
cvtsi2sd %esi, %xmm1
movsd %xmm6, 0x40(%rsp)
movapd %xmm6, %xmm0
divsd %xmm1, %xmm0
movsd %xmm3, 0x18(%rsp)
movapd %xmm3, %xmm1
movsd %xmm2, 0x10(%rsp)
subsd %xmm2, %xmm1
xorps %xmm2, %xmm2
cvtsi2sd %edx, %xmm2
movsd %xmm1, 0x30(%rsp)
divsd %xmm2, %xmm1
movsd %xmm5, 0x28(%rsp)
movapd %xmm5, %xmm2
movsd %xmm4, 0x20(%rsp)
subsd %xmm4, %xmm2
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
movsd %xmm2, 0x38(%rsp)
divsd %xmm3, %xmm2
callq 0x2ebc0
movl $0x100, %edi            # imm = 0x100
callq 0x2030
movq %rax, 0x50(%rbx)
movq %rax, 0x58(%rbx)
addq $0x100, %rax            # imm = 0x100
movq %rax, 0x60(%rbx)
movl $0x20, 0x68(%rbx)
movsd (%rsp), %xmm0
movsd %xmm0, 0x70(%rbx)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x78(%rbx)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x80(%rbx)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x88(%rbx)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x90(%rbx)
movsd 0x28(%rsp), %xmm0
movsd %xmm0, 0x98(%rbx)
movsd 0x2528e(%rip), %xmm0    # 0x389e8
movsd 0x238a6(%rip), %xmm1    # 0x37008
movapd %xmm0, %xmm2
testb %r14b, %r14b
jne 0x1376f
movapd %xmm1, %xmm2
movb 0x80(%rsp), %al
movsd 0x40(%rsp), %xmm4
mulsd %xmm4, %xmm4
movsd 0x30(%rsp), %xmm5
mulsd %xmm5, %xmm5
movapd %xmm0, %xmm3
testb %bpl, %bpl
jne 0x13797
movapd %xmm1, %xmm3
mulsd %xmm3, %xmm5
mulsd %xmm2, %xmm4
addsd %xmm5, %xmm4
movsd 0x38(%rsp), %xmm2
mulsd %xmm2, %xmm2
testb %al, %al
jne 0x137b5
movapd %xmm1, %xmm0
mulsd %xmm0, %xmm2
addsd %xmm4, %xmm2
movsd %xmm2, 0xa0(%rbx)
movb %r14b, 0xa8(%rbx)
movb %bpl, 0xa9(%rbx)
movb %al, 0xaa(%rbx)
movslq 0x10(%rbx), %r15
leaq (,%r15,8), %rax
testq %r15, %r15
movq $-0x1, %r14
cmovnsq %rax, %r14
movq %r14, %rdi
callq 0x2030
movq %rax, 0xb0(%rbx)
movq %r14, %rdi
callq 0x2030
movq %r15, %rcx
shlq $0x2, %rcx
testl %r15d, %r15d
movq %rax, 0xb8(%rbx)
movq $-0x1, %r14
cmovnsq %rcx, %r14
movq %r14, %rdi
callq 0x2030
movq %rax, %r15
movq %rax, 0xc0(%rbx)
movq %r14, %rdi
callq 0x2030
movq %rax, %r14
movl 0x90(%rsp), %ebp
movq %rax, 0xc8(%rbx)
movl %ebp, 0xd0(%rbx)
movslq 0x10(%rbx), %rdx
testq %rdx, %rdx
jle 0x1386e
shlq $0x2, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x20c0
movl 0x88(%rsp), %r12d
movslq 0x10(%rbx), %r15
testq %r15, %r15
jle 0x1388d
xorl %eax, %eax
movl %r12d, (%r14,%rax,4)
incq %rax
cmpq %rax, %r15
jne 0x13881
testl %r15d, %r15d
jle 0x138c5
movslq %r12d, %rax
shlq $0x2, %rax
testl %r12d, %r12d
movq $-0x1, %r14
cmovnsq %rax, %r14
xorl %r13d, %r13d
movq %r14, %rdi
callq 0x2030
movq 0xb0(%rbx), %rcx
movq %rax, (%rcx,%r13,8)
incq %r13
cmpq %r13, %r15
jne 0x138aa
testl %r15d, %r15d
jle 0x13904
imull %r12d, %ebp
movslq %ebp, %rax
leaq (,%rax,8), %rcx
testl %eax, %eax
movq $-0x1, %r14
cmovnsq %rcx, %r14
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x2030
movq 0xb8(%rbx), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
cmpq %r12, %r15
jne 0x138e9
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x1392d
jmp 0x1391c
jmp 0x1391c
movq %rax, %r14
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
je 0x1392d
callq 0x2180
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x1393b
callq 0x2180
movq %r14, %rdi
callq 0x2230
nop