// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/voro++/src/v_compute.cc
// Function: voro::voro_compute<voro::container>::add_to_mask(int, int, int, int*&)
inline void voro_compute<c_class>::add_to_mask(int ei,int ej,int ek,int *&qu_e) {
	unsigned int *mijk=mask+ei+hx*(ej+hy*ek);
	if(ek>0) if(*(mijk-hxy)!=mv) {if(qu_e==qu_l) qu_e=qu;*(mijk-hxy)=mv;*(qu_e++)=ei;*(qu_e++)=ej;*(qu_e++)=ek-1;}
	if(ej>0) if(*(mijk-hx)!=mv) {if(qu_e==qu_l) qu_e=qu;*(mijk-hx)=mv;*(qu_e++)=ei;*(qu_e++)=ej-1;*(qu_e++)=ek;}
	if(ei>0) if(*(mijk-1)!=mv) {if(qu_e==qu_l) qu_e=qu;*(mijk-1)=mv;*(qu_e++)=ei-1;*(qu_e++)=ej;*(qu_e++)=ek;}
	if(ei<hx-1) if(*(mijk+1)!=mv) {if(qu_e==qu_l) qu_e=qu;*(mijk+1)=mv;*(qu_e++)=ei+1;*(qu_e++)=ej;*(qu_e++)=ek;}
	if(ej<hy-1) if(*(mijk+hx)!=mv) {if(qu_e==qu_l) qu_e=qu;*(mijk+hx)=mv;*(qu_e++)=ei;*(qu_e++)=ej+1;*(qu_e++)=ek;}
	if(ek<hz-1) if(*(mijk+hxy)!=mv) {if(qu_e==qu_l) qu_e=qu;*(mijk+hxy)=mv;*(qu_e++)=ei;*(qu_e++)=ej;*(qu_e++)=ek+1;}
}

// Assembly:
movslq %esi, %rax
shlq $0x2, %rax
addq 0x88(%rdi), %rax
movslq 0x38(%rdi), %r9
movl 0x3c(%rdi), %r10d
imull %ecx, %r10d
addl %edx, %r10d
movslq %r10d, %r10
imulq %r9, %r10
leaq (%rax,%r10,4), %rax
testl %ecx, %ecx
jle 0x18f27
movslq 0x44(%rdi), %r9
leaq (,%r9,4), %r10
movq %rax, %r11
subq %r10, %r11
movl 0x70(%rdi), %r10d
cmpl %r10d, (%r11)
je 0x18f27
negq %r9
movq (%r8), %r11
cmpq 0x98(%rdi), %r11
jne 0x18f0d
movq 0x90(%rdi), %r11
movl %r10d, (%rax,%r9,4)
movl %esi, (%r11)
movl %edx, 0x4(%r11)
leal -0x1(%rcx), %r9d
leaq 0xc(%r11), %r10
movq %r10, (%r8)
movl %r9d, 0x8(%r11)
testl %edx, %edx
jle 0x18f76
movslq 0x38(%rdi), %r9
leaq (,%r9,4), %r10
movq %rax, %r11
subq %r10, %r11
movl 0x70(%rdi), %r10d
cmpl %r10d, (%r11)
je 0x18f76
negq %r9
movq (%r8), %r11
cmpq 0x98(%rdi), %r11
jne 0x18f5c
movq 0x90(%rdi), %r11
movl %r10d, (%rax,%r9,4)
movl %esi, (%r11)
leal -0x1(%rdx), %r9d
movl %r9d, 0x4(%r11)
leaq 0xc(%r11), %r9
movq %r9, (%r8)
movl %ecx, 0x8(%r11)
testl %esi, %esi
jle 0x18fb1
movl 0x70(%rdi), %r10d
cmpl %r10d, -0x4(%rax)
je 0x18fb1
movq (%r8), %r9
cmpq 0x98(%rdi), %r9
jne 0x18f97
movq 0x90(%rdi), %r9
movl %r10d, -0x4(%rax)
leal -0x1(%rsi), %r10d
movl %r10d, (%r9)
movl %edx, 0x4(%r9)
leaq 0xc(%r9), %r10
movq %r10, (%r8)
movl %ecx, 0x8(%r9)
movl 0x38(%rdi), %r9d
decl %r9d
cmpl %esi, %r9d
jle 0x18ff4
movl 0x70(%rdi), %r10d
cmpl %r10d, 0x4(%rax)
je 0x18ff4
movq (%r8), %r9
cmpq 0x98(%rdi), %r9
jne 0x18fda
movq 0x90(%rdi), %r9
movl %r10d, 0x4(%rax)
leal 0x1(%rsi), %r10d
movl %r10d, (%r9)
movl %edx, 0x4(%r9)
leaq 0xc(%r9), %r10
movq %r10, (%r8)
movl %ecx, 0x8(%r9)
movl 0x3c(%rdi), %r9d
decl %r9d
cmpl %edx, %r9d
jle 0x1903b
movslq 0x38(%rdi), %r9
movl 0x70(%rdi), %r11d
cmpl %r11d, (%rax,%r9,4)
je 0x1903b
movq (%r8), %r10
cmpq 0x98(%rdi), %r10
jne 0x19021
movq 0x90(%rdi), %r10
movl %r11d, (%rax,%r9,4)
movl %esi, (%r10)
leal 0x1(%rdx), %r9d
movl %r9d, 0x4(%r10)
leaq 0xc(%r10), %r9
movq %r9, (%r8)
movl %ecx, 0x8(%r10)
movl 0x40(%rdi), %r9d
decl %r9d
cmpl %ecx, %r9d
jle 0x19080
movslq 0x44(%rdi), %r9
movl 0x70(%rdi), %r11d
cmpl %r11d, (%rax,%r9,4)
je 0x19080
movq (%r8), %r10
cmpq 0x98(%rdi), %r10
jne 0x19068
movq 0x90(%rdi), %r10
movl %r11d, (%rax,%r9,4)
movl %esi, (%r10)
movl %edx, 0x4(%r10)
incl %ecx
leaq 0xc(%r10), %rax
movq %rax, (%r8)
movl %ecx, 0x8(%r10)
retq
nop