// File: /workspace/github_c_makefile_star2_O1/mohuangrui[P]ArtraCFD/solve.c
// Function: Solve
int Solve(Time *time, Space *space, const Model *model)
{
    ShowInfo("Solving...\n");
    ShowInfo("  initializing...\n");
    InitializeComputeDomain(time, space, model);
    ShowInfo("  time marching...\n");
    EvolveSolution(time, space, model);
    ShowInfo("Session");
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
leaq 0x8cdb(%rip), %rdi      # 0x20f28
xorl %eax, %eax
callq 0x9051
leaq 0x8cd9(%rip), %rdi      # 0x20f34
xorl %eax, %eax
callq 0x9051
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x12c98
leaq 0x8cd0(%rip), %rdi      # 0x20f47
xorl %eax, %eax
callq 0x9051
movsd 0x40(%r12), %xmm0
movsd 0x48(%r12), %xmm1
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
xorpd %xmm3, %xmm3
ucomisd %xmm2, %xmm3
jae 0x18826
xorps %xmm2, %xmm2
cvtsi2sdl 0x20(%r12), %xmm2
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
movsd %xmm3, 0xb0(%rsp)
xorps %xmm2, %xmm2
cvtsi2sdl 0x24(%r12), %xmm2
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
movsd %xmm3, 0xb8(%rsp)
xorps %xmm2, %xmm2
cvtsi2sdl 0x28(%r12), %xmm2
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
movsd %xmm3, 0xc0(%rsp)
xorps %xmm2, %xmm2
cvtsi2sdl 0x2c(%r12), %xmm2
movapd %xmm0, %xmm3
divsd %xmm2, %xmm3
movsd %xmm3, 0xc8(%rsp)
movl 0x30(%r12), %eax
xorps %xmm3, %xmm3
cvtsi2sd %eax, %xmm3
movapd %xmm0, %xmm2
divsd %xmm3, %xmm2
movsd %xmm2, 0xd0(%rsp)
xorpd %xmm3, %xmm3
movapd %xmm3, 0x90(%rsp)
movapd %xmm3, 0x80(%rsp)
movq $0x0, 0xa0(%rsp)
movapd %xmm0, %xmm3
cmpl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
je 0x1835c
movapd %xmm2, %xmm3
movsd %xmm3, 0x28(%rsp)
ucomisd %xmm1, %xmm0
jbe 0x18834
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
movq %r12, 0x68(%rsp)
movl 0x8(%r12), %eax
cmpl 0x4(%r12), %eax
jge 0x18834
incl %eax
movl %eax, 0x8(%r12)
movq (%r14), %r12
xorpd %xmm0, %xmm0
movapd %xmm0, 0x100(%rsp)
movapd %xmm0, 0xf0(%rsp)
movapd %xmm0, 0xe0(%rsp)
xorl %eax, %eax
movq %rax, 0x40(%rsp)
movapd %xmm0, 0x30(%rsp)
movq %rax, 0x20(%rsp)
movapd %xmm0, 0x10(%rsp)
cmpl $0x0, 0x8(%r14)
jle 0x184fe
xorl %r15d, %r15d
movq 0x18(%r14), %r13
imulq $0x238, %r15, %rbp      # imm = 0x238
movsd 0x80(%r13,%rbp), %xmm3
movsd 0xb8(%r13,%rbp), %xmm0
movsd 0xc0(%r13,%rbp), %xmm1
movapd 0x1c35(%rip), %xmm2     # 0x1a040
andpd %xmm2, %xmm3
movapd %xmm3, (%rsp)
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7f1c
mulsd 0x18(%r13,%rbp), %xmm0
addsd (%rsp), %xmm0
movsd %xmm0, 0x30(%rsp)
movsd 0x88(%r13,%rbp), %xmm3
movsd 0xb0(%r13,%rbp), %xmm1
movsd 0xc0(%r13,%rbp), %xmm0
movapd 0x1be7(%rip), %xmm2     # 0x1a040
andpd %xmm2, %xmm3
movapd %xmm3, (%rsp)
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7f1c
mulsd 0x18(%r13,%rbp), %xmm0
addsd (%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x90(%r13,%rbp), %xmm3
movsd 0xb0(%r13,%rbp), %xmm0
movsd 0xb8(%r13,%rbp), %xmm1
movapd 0x1b99(%rip), %xmm2     # 0x1a040
andpd %xmm2, %xmm3
movapd %xmm3, (%rsp)
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7f1c
mulsd 0x18(%r13,%rbp), %xmm0
addsd (%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
xorl %eax, %eax
movsd 0x30(%rsp,%rax,8), %xmm0
ucomisd 0x10(%rsp,%rax,8), %xmm0
jbe 0x184e5
movsd %xmm0, 0x10(%rsp,%rax,8)
incq %rax
cmpq $0x3, %rax
jne 0x184d1
incq %r15
movslq 0x8(%r14), %rax
cmpq %rax, %r15
jl 0x183da
movl 0xa0(%r14), %ebp
cmpl 0xa4(%r14), %ebp
jge 0x185f8
movl 0x98(%r14), %r13d
cmpl 0x9c(%r14), %r13d
jge 0x185f1
movl 0x90(%r14), %r15d
cmpl 0x94(%r14), %r15d
jge 0x185e9
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %edi
movl %r13d, %esi
movl %r15d, %edx
callq 0x7ea3
cltq
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rdi
cmpl $0x0, (%r12,%rdi)
jne 0x185e1
addq %r12, %rdi
addq $0x10, %rdi
movsd 0x40(%rbx), %xmm0
movsd 0x48(%rbx), %xmm1
leaq 0xe0(%rsp), %rsi
callq 0x7d63
movsd 0x40(%rbx), %xmm0
mulsd 0x48(%rbx), %xmm0
mulsd 0x108(%rsp), %xmm0
ucomisd 0x1a74(%rip), %xmm0     # 0x1a010
jb 0x185a4
sqrtsd %xmm0, %xmm0
jmp 0x185a9
callq 0x2210
xorl %eax, %eax
movapd 0x1a8d(%rip), %xmm2     # 0x1a040
movsd 0xe8(%rsp,%rax,8), %xmm1
andpd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rsp,%rax,8)
ucomisd 0x10(%rsp,%rax,8), %xmm1
jbe 0x185d8
movsd %xmm1, 0x10(%rsp,%rax,8)
incq %rax
cmpq $0x3, %rax
jne 0x185b3
incl %r15d
jmp 0x1852d
incl %r13d
jmp 0x18519
incl %ebp
jmp 0x18505
movsd 0x58(%r14), %xmm1
movsd 0x60(%r14), %xmm0
divsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x50(%rsp)
divsd 0x18(%rsp), %xmm0
movq 0x68(%rsp), %r12
movsd 0x50(%r12), %xmm1
movsd %xmm1, (%rsp)
movsd 0x68(%r14), %xmm1
divsd 0x20(%rsp), %xmm1
callq 0x7f17
movapd %xmm0, %xmm1
movsd 0x50(%rsp), %xmm0
callq 0x7f17
movapd %xmm0, %xmm2
mulsd (%rsp), %xmm2
movapd 0x70(%rsp), %xmm1
movapd %xmm1, %xmm3
addsd %xmm2, %xmm3
movsd 0x28(%rsp), %xmm0
ucomisd %xmm0, %xmm3
jbe 0x18672
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
leaq 0x118(%rsp), %r15
leaq 0x892f(%rip), %r13      # 0x20fb0
movsd 0x48(%r12), %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, 0x48(%r12)
movsd 0x40(%r12), %xmm1
ucomisd %xmm1, %xmm0
movapd %xmm3, 0x50(%rsp)
jbe 0x186b9
subsd %xmm2, %xmm0
movapd %xmm1, %xmm2
subsd %xmm0, %xmm2
movsd %xmm1, 0x48(%r12)
movl 0x8(%r12), %esi
movsd 0x48(%r12), %xmm0
subsd %xmm0, %xmm1
leaq 0x88a2(%rip), %rdi      # 0x20f72
movsd %xmm2, (%rsp)
movb $0x3, %al
callq 0x9051
movq %r15, %rdi
callq 0x18f3c
cmpl $0x0, 0x1c(%rbx)
je 0x18709
movsd 0x48(%r12), %xmm0
movsd (%rsp), %xmm1
mulsd 0x4ec2(%rip), %xmm1     # 0x1d5c0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x16a24
movsd (%rsp), %xmm0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x10b3c
cmpl $0x0, 0x1c(%rbx)
je 0x1873e
movsd 0x48(%r12), %xmm0
movsd (%rsp), %xmm1
mulsd 0x4e8d(%rip), %xmm1     # 0x1d5c0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x16a24
movsd 0x28(%rsp), %xmm0
movapd 0x50(%rsp), %xmm1
cmpltsd %xmm1, %xmm0
andnpd %xmm1, %xmm0
movapd %xmm0, 0x70(%rsp)
movq %r15, %rdi
callq 0x18f43
leaq 0x8836(%rip), %rdi      # 0x20f9e
movb $0x1, %al
callq 0x9051
xorl %r15d, %r15d
movsd (%rsp), %xmm1
movsd 0x80(%rsp,%r15,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp,%r15,8)
ucomisd 0xb0(%rsp,%r15,8), %xmm0
jae 0x187b9
movsd 0x48(%r12), %xmm0
ucomisd 0x40(%r12), %xmm0
jne 0x187ad
jnp 0x187b9
movl 0x8(%r12), %eax
cmpl 0x4(%r12), %eax
jne 0x18803
cmpl $0x4, %r15d
je 0x187d2
cmpl $0x3, %r15d
jne 0x187e1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x17762
jmp 0x187e1
movq %r13, %rdi
xorl %eax, %eax
callq 0x9051
incl 0x38(%r12)
movl %r15d, %edi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xcd40
movq $0x0, 0x80(%rsp,%r15,8)
movsd (%rsp), %xmm1
incq %r15
cmpq $0x5, %r15
jne 0x18777
movsd 0x40(%r12), %xmm0
ucomisd 0x48(%r12), %xmm0
ja 0x1837b
jmp 0x18834
leaq 0x872e(%rip), %rdi      # 0x20f5b
xorl %eax, %eax
callq 0x8f21
leaq 0x1aea(%rip), %rdi      # 0x1a325
xorl %eax, %eax
callq 0x9051
xorl %eax, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop