// File: /workspace/github_cpp_makefile_star2_O2/Luthaf[P]zeopp/voro++/src/v_compute.cc
// Function: voro::voro_compute<voro::container_poly>::find_voronoi_cell(double, double, double, int, int, int, int, voro::particle_record&, double&)
void voro_compute<c_class>::find_voronoi_cell(double x,double y,double z,int ci,int cj,int ck,int ijk,particle_record &w,double &mrs) {
	double qx=0,qy=0,qz=0,rs;
	int i,j,k,di,dj,dk,ei,ej,ek,f,g,disp;
	double fx,fy,fz,mxs,mys,mzs,*radp;
	unsigned int q,*e,*mijk;

	// Init setup for parameters to return
	w.ijk=-1;mrs=large_number;

	con.initialize_search(ci,cj,ck,ijk,i,j,k,disp);

	// Test all particles in the particle's local region first
	scan_all(ijk,x,y,z,0,0,0,w,mrs);

	// Now compute the fractional position of the particle within its
	// region and store it in (fx,fy,fz). We use this to compute an index
	// (di,dj,dk) of which subregion the particle is within.
	unsigned int m1,m2;
	con.frac_pos(x,y,z,ci,cj,ck,fx,fy,fz);
	di=int(fx*xsp*wl_fgrid);dj=int(fy*ysp*wl_fgrid);dk=int(fz*zsp*wl_fgrid);

	// The indices (di,dj,dk) tell us which worklist to use, to test the
	// blocks in the optimal order. But we only store worklists for the
	// eighth of the region where di, dj, and dk are all less than half the
	// full grid. The rest of the cases are handled by symmetry. In this
	// section, we detect for these cases, by reflecting high values of di,
	// dj, and dk. For these cases, a mask is constructed in m1 and m2
	// which is used to flip the worklist information when it is loaded.
	if(di>=wl_hgrid) {
		mxs=boxx-fx;
		m1=127+(3<<21);m2=1+(1<<21);di=wl_fgrid-1-di;if(di<0) di=0;
	} else {m1=m2=0;mxs=fx;}
	if(dj>=wl_hgrid) {
		mys=boxy-fy;
		m1|=(127<<7)+(3<<24);m2|=(1<<7)+(1<<24);dj=wl_fgrid-1-dj;if(dj<0) dj=0;
	} else mys=fy;
	if(dk>=wl_hgrid) {
		mzs=boxz-fz;
		m1|=(127<<14)+(3<<27);m2|=(1<<14)+(1<<27);dk=wl_fgrid-1-dk;if(dk<0) dk=0;
	} else mzs=fz;

	// Do a quick test to account for the case when the minimum radius is
	// small enought that no other blocks need to be considered
	rs=con.r_max_add(mrs);
	if(mxs*mxs>rs&&mys*mys>rs&&mzs*mzs>rs) return;

	// Now compute which worklist we are going to use, and set radp and e to
	// point at the right offsets
	ijk=di+wl_hgrid*(dj+wl_hgrid*dk);
	radp=mrad+ijk*wl_seq_length;
	e=(const_cast<unsigned int*> (wl))+ijk*wl_seq_length;

	// Read in how many items in the worklist can be tested without having to
	// worry about writing to the mask
	f=e[0];g=0;
	do {

		// If mrs is less than the minimum distance to any untested
		// block, then we are done
		if(con.r_max_add(mrs)<radp[g]) return;
		g++;

		// Load in a block off the worklist, permute it with the
		// symmetry mask, and decode its position. These are all
		// integer bit operations so they should run very fast.
		q=e[g];q^=m1;q+=m2;
		di=q&127;di-=64;
		dj=(q>>7)&127;dj-=64;
		dk=(q>>14)&127;dk-=64;

		// Check that the worklist position is in range
		ei=di+i;if(ei<0||ei>=hx) continue;
		ej=dj+j;if(ej<0||ej>=hy) continue;
		ek=dk+k;if(ek<0||ek>=hz) continue;

		// Call the compute_min_max_radius() function. This returns
		// true if the minimum distance to the block is bigger than the
		// current mrs, in which case we skip this block and move on.
		// Otherwise, it computes the maximum distance to the block and
		// returns it in crs.
		if(compute_min_radius(di,dj,dk,fx,fy,fz,mrs)) continue;

		// Now compute which region we are going to loop over, adding a
		// displacement for the periodic cases
		ijk=con.region_index(ci,cj,ck,ei,ej,ek,qx,qy,qz,disp);

		// If mrs is bigger than the maximum distance to the block,
		// then we have to test all particles in the block for
		// intersections. Otherwise, we do additional checks and skip
		// those particles which can't possibly intersect the block.
		scan_all(ijk,x-qx,y-qy,z-qz,di,dj,dk,w,mrs);
	} while(g<f);

	// Update mask value and initialize queue
	mv++;
	if(mv==0) {reset_mask();mv=1;}
	int *qu_s=qu,*qu_e=qu;

	while(g<wl_seq_length-1) {

		// If mrs is less than the minimum distance to any untested
		// block, then we are done
		if(con.r_max_add(mrs)<radp[g]) return;
		g++;

		// Load in a block off the worklist, permute it with the
		// symmetry mask, and decode its position. These are all
		// integer bit operations so they should run very fast.
		q=e[g];q^=m1;q+=m2;
		di=q&127;di-=64;
		dj=(q>>7)&127;dj-=64;
		dk=(q>>14)&127;dk-=64;

		// Compute the position in the mask of the current block. If
		// this lies outside the mask, then skip it. Otherwise, mark
		// it.
		ei=di+i;if(ei<0||ei>=hx) continue;
		ej=dj+j;if(ej<0||ej>=hy) continue;
		ek=dk+k;if(ek<0||ek>=hz) continue;
		mijk=mask+ei+hx*(ej+hy*ek);
		*mijk=mv;

		// Skip this block if it is further away than the current
		// minimum radius
		if(compute_min_radius(di,dj,dk,fx,fy,fz,mrs)) continue;

		// Now compute which region we are going to loop over, adding a
		// displacement for the periodic cases
		ijk=con.region_index(ci,cj,ck,ei,ej,ek,qx,qy,qz,disp);
		scan_all(ijk,x-qx,y-qy,z-qz,di,dj,dk,w,mrs);

		if(qu_e>qu_l-18) add_list_memory(qu_s,qu_e);
		scan_bits_mask_add(q,mijk,ei,ej,ek,qu_e);
	}

	// Do a check to see if we've reached the radius cutoff
	if(con.r_max_add(mrs)<radp[g]) return;

	// We were unable to completely compute the cell based on the blocks in
	// the worklist, so now we have to go block by block, reading in items
	// off the list
	while(qu_s!=qu_e) {

		// Read the next entry of the queue
		if(qu_s==qu_l) qu_s=qu;
		ei=*(qu_s++);ej=*(qu_s++);ek=*(qu_s++);
		di=ei-i;dj=ej-j;dk=ek-k;
		if(compute_min_radius(di,dj,dk,fx,fy,fz,mrs)) continue;

		ijk=con.region_index(ci,cj,ck,ei,ej,ek,qx,qy,qz,disp);
		scan_all(ijk,x-qx,y-qy,z-qz,di,dj,dk,w,mrs);

		// Test the neighbors of the current block, and add them to the
		// block list if they haven't already been tested
		if((qu_s<=qu_e?(qu_l-qu_e)+(qu_s-qu):qu_s-qu_e)<18) add_list_memory(qu_s,qu_e);
		add_to_mask(ei,ej,ek,qu_e);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
andq $0x0, 0x50(%rsp)
movsd %xmm2, 0x78(%rsp)
andq $0x0, 0x48(%rsp)
movsd %xmm1, 0x70(%rsp)
andq $0x0, 0x40(%rsp)
movq %r9, 0xa0(%rsp)
orl $-0x1, (%r9)
movq 0x100(%rsp), %r10
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
movq %rax, (%r10)
movq (%rdi), %r9
cmpb $0x0, 0xa8(%r9)
movl (%r9), %eax
movl %esi, 0x18(%rsp)
cmovnel %eax, %esi
movl %esi, (%rsp)
cmpb $0x0, 0xa9(%r9)
movl 0x4(%r9), %esi
movl %edx, 0x1c(%rsp)
cmovnel %esi, %edx
movl %edx, 0x24(%rsp)
movsd %xmm0, 0x68(%rsp)
cmpb $0x0, 0xaa(%r9)
movl %ecx, 0x20(%rsp)
je 0x1c5bf
movl 0x8(%r9), %ecx
movl %ecx, 0x30(%rsp)
imull %ecx, %esi
addl 0x24(%rsp), %esi
imull %eax, %esi
addl (%rsp), %esi
movl %r8d, %eax
subl %esi, %eax
movl %eax, 0x34(%rsp)
subq $0x8, %rsp
movl %r8d, %esi
movsd 0x70(%rsp), %xmm0
movsd 0x78(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movq 0xa8(%rsp), %r9
pushq %r10
movq %rdi, 0x18(%rsp)
callq 0x1ce3a
movq 0x18(%rsp), %r10
addq $0x10, %rsp
cvtsi2sdl 0x18(%rsp), %xmm0
cvtsi2sdl 0x1c(%rsp), %xmm1
cvtsi2sdl 0x20(%rsp), %xmm2
movq (%r10), %rcx
movsd 0x68(%rsp), %xmm3
subsd 0x70(%rcx), %xmm3
mulsd 0x18(%rcx), %xmm0
movsd 0x70(%rsp), %xmm4
subsd 0x80(%rcx), %xmm4
mulsd 0x20(%rcx), %xmm1
subsd %xmm0, %xmm3
movsd 0x78(%rsp), %xmm5
subsd 0x90(%rcx), %xmm5
subsd %xmm1, %xmm4
mulsd 0x28(%rcx), %xmm2
subsd %xmm2, %xmm5
movsd 0x20(%r10), %xmm0
mulsd %xmm3, %xmm0
movsd 0x14c66(%rip), %xmm2    # 0x312e8
mulsd %xmm2, %xmm0
cvttsd2si %xmm0, %eax
movsd 0x28(%r10), %xmm0
movsd %xmm4, 0x88(%rsp)
mulsd %xmm4, %xmm0
mulsd %xmm2, %xmm0
cvttsd2si %xmm0, %edx
movsd 0x30(%r10), %xmm1
movsd %xmm5, 0x80(%rsp)
mulsd %xmm5, %xmm1
mulsd %xmm2, %xmm1
pushq $0x7
popq %rdi
cmpl $0x4, %eax
jl 0x1c6e6
movsd 0x8(%r10), %xmm0
subsd %xmm3, %xmm0
movl %edi, %esi
subl %eax, %esi
xorl %eax, %eax
testl %esi, %esi
cmovgl %esi, %eax
movl $0x200001, %ebx         # imm = 0x200001
movl $0x60007f, %r9d         # imm = 0x60007F
jmp 0x1c6ef
movapd %xmm3, %xmm0
xorl %ebx, %ebx
xorl %r9d, %r9d
cvttsd2si %xmm1, %esi
cmpl $0x4, %edx
movq 0x100(%rsp), %r11
jl 0x1c72d
movsd 0x10(%r10), %xmm1
subsd 0x88(%rsp), %xmm1
orl $0x3003f80, %r9d        # imm = 0x3003F80
orl $0x1000080, %ebx        # imm = 0x1000080
movl %edi, %r8d
subl %edx, %r8d
xorl %edx, %edx
testl %r8d, %r8d
cmovgl %r8d, %edx
jmp 0x1c736
movsd 0x88(%rsp), %xmm1
cmpl $0x4, %esi
movsd %xmm3, 0xa8(%rsp)
jl 0x1c772
movsd 0x18(%r10), %xmm2
subsd 0x80(%rsp), %xmm2
orl $0x181fc000, %r9d       # imm = 0x181FC000
movl %ebx, %r8d
orl $0x8004000, %r8d        # imm = 0x8004000
subl %esi, %edi
xorl %esi, %esi
testl %edi, %edi
cmovgl %edi, %esi
movl (%rsp), %edi
jmp 0x1c781
movsd 0x80(%rsp), %xmm2
movl (%rsp), %edi
movl %ebx, %r8d
movsd 0xe0(%rcx), %xmm3
mulsd %xmm3, %xmm3
addsd (%r11), %xmm3
mulsd %xmm0, %xmm0
ucomisd %xmm3, %xmm0
jbe 0x1c7c2
mulsd %xmm1, %xmm1
ucomisd %xmm3, %xmm1
jbe 0x1c7c2
mulsd %xmm2, %xmm2
ucomisd %xmm3, %xmm2
jbe 0x1c7c2
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
shll $0xa, %esi
shll $0x8, %edx
shll $0x6, %eax
addl %edx, %eax
addl %esi, %eax
cltq
leaq (,%rax,8), %rdx
addq 0x80(%r10), %rdx
movq 0x78(%r10), %rcx
leaq (%rcx,%rax,4), %rcx
addq $0x4, %rcx
movslq -0x4(%rcx), %rsi
xorl %r12d, %r12d
movl %r9d, 0x4(%rsp)
movl %r8d, 0x14(%rsp)
movq %rdx, 0x60(%rsp)
movq %rcx, 0x58(%rsp)
movq %rsi, 0x38(%rsp)
movq (%r10), %rax
movsd (%r11), %xmm3
movsd 0xe0(%rax), %xmm0
mulsd %xmm0, %xmm0
addsd %xmm3, %xmm0
movsd (%rdx,%r12,8), %xmm1
ucomisd %xmm0, %xmm1
ja 0x1c7b0
movl (%rcx,%r12,4), %ebx
xorl %r9d, %ebx
addl %r8d, %ebx
movl %ebx, %ebp
andl $0x7f, %ebp
addl $-0x40, %ebp
movl %ebp, %r15d
addl %edi, %r15d
js 0x1c9c1
cmpl 0x38(%r10), %r15d
jge 0x1c9c1
movl %ebx, %r14d
shrl $0x7, %r14d
andl $0x7f, %r14d
addl $-0x40, %r14d
movl %r14d, %r13d
addl 0x24(%rsp), %r13d
js 0x1c9c1
cmpl 0x3c(%r10), %r13d
jge 0x1c9c1
shrl $0xe, %ebx
andl $0x7f, %ebx
addl $-0x40, %ebx
movl %ebx, %eax
addl 0x30(%rsp), %eax
js 0x1c9c1
cmpl 0x40(%r10), %eax
jge 0x1c9c1
movq %r10, %rdi
movl %ebp, %esi
movl %r14d, %edx
movl %ebx, %ecx
movsd 0xa8(%rsp), %xmm0
movsd 0x88(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
movq %rax, 0x98(%rsp)
callq 0x1cf22
movq 0x38(%rsp), %rsi
movq 0x58(%rsp), %rcx
movq 0x60(%rsp), %rdx
movl 0x14(%rsp), %r8d
movl 0x4(%rsp), %r9d
movl (%rsp), %edi
movq 0x100(%rsp), %r11
movq 0x8(%rsp), %r10
testb %al, %al
movq 0x98(%rsp), %rax
jne 0x1c9c1
movq (%r10), %rdi
subq $0x8, %rsp
movl 0x20(%rsp), %esi
movl 0x24(%rsp), %edx
movl 0x28(%rsp), %ecx
movl %r15d, %r8d
movl %r13d, %r9d
movq %rax, %r10
leaq 0x3c(%rsp), %rax
pushq %rax
leaq 0x50(%rsp), %rax
pushq %rax
leaq 0x60(%rsp), %rax
pushq %rax
leaq 0x70(%rsp), %rax
pushq %rax
pushq %r10
callq 0x14066
addq $0x30, %rsp
movsd 0x68(%rsp), %xmm0
subsd 0x50(%rsp), %xmm0
movsd 0x70(%rsp), %xmm1
subsd 0x48(%rsp), %xmm1
movsd 0x78(%rsp), %xmm2
subsd 0x40(%rsp), %xmm2
subq $0x8, %rsp
movq 0x10(%rsp), %rdi
movl %eax, %esi
movl %ebp, %edx
movl %r14d, %ecx
movl %ebx, %r8d
movq 0xa8(%rsp), %r9
pushq 0x108(%rsp)
callq 0x1ce3a
movq 0x48(%rsp), %rsi
movq 0x68(%rsp), %rcx
movq 0x70(%rsp), %rdx
movl 0x24(%rsp), %r8d
movl 0x14(%rsp), %r9d
movl 0x10(%rsp), %edi
movq 0x110(%rsp), %r11
movq 0x18(%rsp), %r10
addq $0x10, %rsp
incq %r12
cmpq %rsi, %r12
jl 0x1c80c
incl 0x70(%r10)
jne 0x1ca07
movq %r10, %rdi
callq 0x12546
movq 0x58(%rsp), %rcx
movq 0x60(%rsp), %rdx
movl 0x14(%rsp), %r8d
movl 0x4(%rsp), %r9d
movl (%rsp), %edi
movq 0x100(%rsp), %r11
movq 0x8(%rsp), %r10
movl $0x1, 0x70(%r10)
movq 0x90(%r10), %rax
leaq 0x90(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x28(%rsp), %rsi
movq %rax, (%rsi)
movq (%r10), %rax
movsd (%r11), %xmm3
movsd 0xe0(%rax), %xmm0
mulsd %xmm0, %xmm0
addsd %xmm3, %xmm0
cmpq $0x3e, %r12
ja 0x1cc8c
movsd (%rdx,%r12,8), %xmm1
ucomisd %xmm0, %xmm1
ja 0x1c7b0
movl (%rcx,%r12,4), %r14d
xorl %r9d, %r14d
addl %r8d, %r14d
movl %r14d, %r13d
andl $0x7f, %r13d
addl $-0x40, %r13d
movl %r13d, %ebx
addl %edi, %ebx
js 0x1cc84
movl 0x38(%r10), %eax
cmpl %eax, %ebx
jge 0x1cc84
movl %r14d, %ebp
shrl $0x7, %ebp
andl $0x7f, %ebp
addl $-0x40, %ebp
movl %ebp, %r15d
addl 0x24(%rsp), %r15d
js 0x1cc84
movl 0x3c(%r10), %esi
cmpl %esi, %r15d
jge 0x1cc84
movl %r15d, 0x38(%rsp)
movl %r14d, %r15d
shrl $0xe, %r15d
andl $0x7f, %r15d
addl $-0x40, %r15d
movl %r15d, 0x98(%rsp)
addl 0x30(%rsp), %r15d
js 0x1cc84
cmpl 0x40(%r10), %r15d
jge 0x1cc84
movl %ebx, %ecx
shlq $0x2, %rcx
addq 0x88(%r10), %rcx
imull %r15d, %esi
addl 0x38(%rsp), %esi
imull %eax, %esi
movq %rsi, 0xc0(%rsp)
movl 0x70(%r10), %eax
movq %rcx, 0xb8(%rsp)
movl %eax, (%rcx,%rsi,4)
movq %r10, %rdi
movl %r13d, %esi
movl %ebp, %edx
movl 0x98(%rsp), %ecx
movsd 0xa8(%rsp), %xmm0
movsd 0x88(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
callq 0x1cf22
movq 0x58(%rsp), %rcx
movq 0x60(%rsp), %rdx
movl 0x14(%rsp), %r8d
movl 0x4(%rsp), %r9d
movl (%rsp), %edi
movq 0x100(%rsp), %r11
movq 0x8(%rsp), %r10
testb %al, %al
jne 0x1cc84
movq (%r10), %rdi
subq $0x8, %rsp
movl 0x20(%rsp), %esi
movl 0x24(%rsp), %edx
movl 0x28(%rsp), %ecx
movl %ebx, %r8d
movl 0x40(%rsp), %r9d
leaq 0x3c(%rsp), %rax
pushq %rax
leaq 0x50(%rsp), %rax
pushq %rax
leaq 0x60(%rsp), %rax
pushq %rax
leaq 0x70(%rsp), %rax
pushq %rax
movq %r15, 0xd8(%rsp)
pushq %r15
movq %r11, %r15
callq 0x14066
addq $0x30, %rsp
movsd 0x68(%rsp), %xmm0
subsd 0x50(%rsp), %xmm0
movsd 0x70(%rsp), %xmm1
subsd 0x48(%rsp), %xmm1
movsd 0x78(%rsp), %xmm2
subsd 0x40(%rsp), %xmm2
subq $0x8, %rsp
movq 0x10(%rsp), %rdi
movl %eax, %esi
movl %r13d, %edx
movl %ebp, %ecx
movl 0xa0(%rsp), %r8d
movq 0xa8(%rsp), %r9
pushq %r15
callq 0x1ce3a
movq 0x18(%rsp), %rdi
addq $0x10, %rsp
movq 0x98(%rdi), %rax
addq $-0x48, %rax
cmpq %rax, 0x28(%rsp)
jbe 0x1cc27
leaq 0x90(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x19850
movq 0x8(%rsp), %rdi
movq 0xc0(%rsp), %rax
movq 0xb8(%rsp), %rcx
leaq (%rcx,%rax,4), %rdx
subq $0x8, %rsp
movl %r14d, %esi
movl %ebx, %ecx
movl 0x40(%rsp), %r8d
movq 0xb8(%rsp), %r9
leaq 0x30(%rsp), %rax
pushq %rax
callq 0x1994e
movq 0x18(%rsp), %r10
addq $0x10, %rsp
movq 0x100(%rsp), %r11
movl (%rsp), %edi
movl 0x4(%rsp), %r9d
movl 0x14(%rsp), %r8d
movq 0x60(%rsp), %rdx
movq 0x58(%rsp), %rcx
incq %r12
jmp 0x1ca21
movsd (%rdx,%r12,8), %xmm1
ucomisd %xmm0, %xmm1
ja 0x1c7b0
movq 0x90(%rsp), %rax
cmpq 0x28(%rsp), %rax
movq 0x100(%rsp), %rdx
movl (%rsp), %esi
je 0x1c7b0
cmpq 0x98(%r10), %rax
jne 0x1ccca
movq 0x90(%r10), %rax
movl (%rax), %r12d
movl 0x4(%rax), %r13d
leaq 0xc(%rax), %rcx
movq %rcx, 0x90(%rsp)
movl 0x8(%rax), %ebx
movl %r12d, %r15d
subl %esi, %r15d
movl %r13d, %r14d
subl 0x24(%rsp), %r14d
movl %ebx, %ebp
subl 0x30(%rsp), %ebp
movsd (%rdx), %xmm3
movq %r10, %rdi
movl %r15d, %esi
movl %r14d, %edx
movl %ebp, %ecx
movsd 0xa8(%rsp), %xmm0
movsd 0x88(%rsp), %xmm1
movsd 0x80(%rsp), %xmm2
callq 0x1cf22
movq 0x8(%rsp), %r10
testb %al, %al
jne 0x1cc9c
movq (%r10), %rdi
subq $0x8, %rsp
movl 0x20(%rsp), %esi
movl 0x24(%rsp), %edx
movl 0x28(%rsp), %ecx
movl %r12d, 0xc(%rsp)
movl %r12d, %r8d
movl %r13d, %r9d
leaq 0x3c(%rsp), %rax
pushq %rax
leaq 0x50(%rsp), %rax
pushq %rax
leaq 0x60(%rsp), %rax
pushq %rax
leaq 0x70(%rsp), %rax
pushq %rax
pushq %rbx
movq %r10, %r12
callq 0x14066
addq $0x30, %rsp
movsd 0x68(%rsp), %xmm0
subsd 0x50(%rsp), %xmm0
movsd 0x70(%rsp), %xmm1
subsd 0x48(%rsp), %xmm1
movsd 0x78(%rsp), %xmm2
subsd 0x40(%rsp), %xmm2
subq $0x8, %rsp
movq %r12, %rdi
movl %eax, %esi
movl %r15d, %edx
movl %r14d, %ecx
movl %ebp, %r8d
movq 0xa8(%rsp), %r9
pushq 0x108(%rsp)
callq 0x1ce3a
popq %rax
popq %rcx
movq 0x90(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
jbe 0x1cddd
sarq $0x2, %rdx
movq %rdx, %rax
jmp 0x1cdfb
movq 0x98(%r12), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
subq 0x90(%r12), %rax
sarq $0x2, %rax
addq %rdx, %rax
movq %r12, %rdi
cmpq $0x11, %rax
movl 0x4(%rsp), %ebp
jg 0x1ce1f
leaq 0x90(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x19850
movq 0x8(%rsp), %rdi
movl %ebp, %esi
movl %r13d, %edx
movl %ebx, %ecx
leaq 0x28(%rsp), %r8
callq 0x1a4a2
movq 0x8(%rsp), %r10
jmp 0x1cc9c