// File: /workspace/github_c_makefile_star2_O3/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 0x8173(%rip), %rdi      # 0x1ffd8
xorl %eax, %eax
callq 0x8e15
leaq 0x8171(%rip), %rdi      # 0x1ffe4
xorl %eax, %eax
callq 0x8e15
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x128d0
leaq 0x8168(%rip), %rdi      # 0x1fff7
xorl %eax, %eax
callq 0x8e15
movupd 0x40(%r12), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
xorpd %xmm3, %xmm3
ucomisd %xmm2, %xmm3
jae 0x18455
cvtdq2pd 0x20(%r12), %xmm2
movapd %xmm0, %xmm3
unpcklpd %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
movapd %xmm3, %xmm4
divpd %xmm2, %xmm4
movapd %xmm4, 0x100(%rsp)
cvtdq2pd 0x28(%r12), %xmm2
divpd %xmm2, %xmm3
movapd %xmm3, 0x110(%rsp)
movl 0x30(%r12), %eax
xorps %xmm3, %xmm3
cvtsi2sd %eax, %xmm3
movapd %xmm0, %xmm2
divsd %xmm3, %xmm2
movsd %xmm2, 0x120(%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 0x17f3d
movapd %xmm2, %xmm3
movsd %xmm3, 0x40(%rsp)
ucomisd %xmm1, %xmm0
jbe 0x18463
movapd 0x10eb(%rip), %xmm2     # 0x19040
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
movq %r12, 0x48(%rsp)
movl 0x8(%r12), %eax
cmpl 0x4(%r12), %eax
jge 0x18463
incl %eax
movl %eax, 0x8(%r12)
movq (%r14), %r12
xorpd %xmm0, %xmm0
movapd %xmm0, 0xe0(%rsp)
movapd %xmm0, 0xd0(%rsp)
movapd %xmm0, 0xc0(%rsp)
movapd %xmm0, 0x20(%rsp)
movq $0x0, 0x30(%rsp)
cmpl $0x0, 0x8(%r14)
jle 0x180f8
xorl %r15d, %r15d
movq 0x18(%r14), %r13
imulq $0x238, %r15, %rbp      # imm = 0x238
movsd 0x80(%r13,%rbp), %xmm0
movaps %xmm0, (%rsp)
movsd 0xb8(%r13,%rbp), %xmm0
movsd 0xc0(%r13,%rbp), %xmm1
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7dcc
movapd %xmm0, 0x10(%rsp)
movapd (%rsp), %xmm0
movhpd 0x88(%r13,%rbp), %xmm0  # xmm0 = xmm0[0],mem[0]
movapd 0x102f(%rip), %xmm2     # 0x19040
andpd %xmm2, %xmm0
movapd %xmm0, (%rsp)
movsd 0x18(%r13,%rbp), %xmm0
movaps %xmm0, 0xb0(%rsp)
movsd 0xb0(%r13,%rbp), %xmm1
movsd 0xc0(%r13,%rbp), %xmm0
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7dcc
movapd 0x10(%rsp), %xmm1
unpcklpd %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0]
movapd 0xb0(%rsp), %xmm0
movhpd 0x18(%r13,%rbp), %xmm0  # xmm0 = xmm0[0],mem[0]
mulpd %xmm1, %xmm0
addpd (%rsp), %xmm0
movapd %xmm0, 0x60(%rsp)
movsd 0x90(%r13,%rbp), %xmm3
movsd 0xb0(%r13,%rbp), %xmm0
movsd 0xb8(%r13,%rbp), %xmm1
movapd 0xfa7(%rip), %xmm2      # 0x19040
andpd %xmm2, %xmm3
movapd %xmm3, (%rsp)
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7dcc
mulsd 0x18(%r13,%rbp), %xmm0
addsd (%rsp), %xmm0
movsd %xmm0, 0x70(%rsp)
xorl %eax, %eax
movsd 0x60(%rsp,%rax,8), %xmm0
ucomisd 0x20(%rsp,%rax,8), %xmm0
jbe 0x180d7
movsd %xmm0, 0x20(%rsp,%rax,8)
incq %rax
cmpq $0x3, %rax
jne 0x180c3
incq %r15
movslq 0x8(%r14), %rax
cmpq %rax, %r15
movapd 0xf4e(%rip), %xmm2      # 0x19040
jl 0x17fba
movl 0xa0(%r14), %ebp
movl 0xa4(%r14), %ecx
cmpl %ecx, %ebp
jge 0x1821a
movl 0x9c(%r14), %eax
movl 0x98(%r14), %r13d
cmpl %eax, %r13d
jge 0x18210
movl 0x94(%r14), %ecx
movl 0x90(%r14), %r15d
cmpl %ecx, %r15d
jge 0x181fd
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %edi
movl %r13d, %esi
movl %r15d, %edx
callq 0x7d53
cltq
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rdi
cmpl $0x0, (%r12,%rdi)
jne 0x181e3
addq %r12, %rdi
addq $0x10, %rdi
movsd 0x40(%rbx), %xmm0
movsd 0x48(%rbx), %xmm1
leaq 0xc0(%rsp), %rsi
callq 0x7c16
movsd 0x40(%rbx), %xmm0
mulsd 0x48(%rbx), %xmm0
mulsd 0xe8(%rsp), %xmm0
ucomisd 0xe72(%rip), %xmm0      # 0x19010
jb 0x181a6
sqrtsd %xmm0, %xmm0
jmp 0x181ab
callq 0x2210
xorl %eax, %eax
movapd 0xe8b(%rip), %xmm2      # 0x19040
movsd 0xc8(%rsp,%rax,8), %xmm1
andpd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x60(%rsp,%rax,8)
ucomisd 0x20(%rsp,%rax,8), %xmm1
jbe 0x181da
movsd %xmm1, 0x20(%rsp,%rax,8)
incq %rax
cmpq $0x3, %rax
jne 0x181b5
incl %r15d
movl 0x94(%r14), %ecx
cmpl %ecx, %r15d
jl 0x1813c
movl 0x9c(%r14), %eax
incl %r13d
cmpl %eax, %r13d
jl 0x1812c
movl 0xa4(%r14), %ecx
incl %ebp
cmpl %ecx, %ebp
jl 0x18115
movsd 0x58(%r14), %xmm1
movsd 0x60(%r14), %xmm0
divsd 0x20(%rsp), %xmm1
movsd %xmm1, 0x10(%rsp)
divsd 0x28(%rsp), %xmm0
movq 0x48(%rsp), %r12
movsd 0x50(%r12), %xmm1
movsd %xmm1, (%rsp)
movsd 0x68(%r14), %xmm1
divsd 0x30(%rsp), %xmm1
callq 0x7dc7
movapd %xmm0, %xmm1
movsd 0x10(%rsp), %xmm0
callq 0x7dc7
movapd %xmm0, %xmm2
mulsd (%rsp), %xmm2
movapd 0x50(%rsp), %xmm1
movapd %xmm1, %xmm3
addsd %xmm2, %xmm3
movsd 0x40(%rsp), %xmm0
ucomisd %xmm0, %xmm3
jbe 0x18294
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
leaq 0xf0(%rsp), %r15
leaq 0x7dbd(%rip), %r13      # 0x20060
movsd 0x48(%r12), %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, 0x48(%r12)
movsd 0x40(%r12), %xmm1
ucomisd %xmm1, %xmm0
movapd %xmm3, 0x10(%rsp)
jbe 0x182df
subsd %xmm2, %xmm0
movapd %xmm1, %xmm2
subsd %xmm0, %xmm2
movsd %xmm1, 0x48(%r12)
movapd %xmm1, %xmm0
movsd %xmm2, (%rsp)
movl 0x8(%r12), %esi
subsd %xmm0, %xmm1
leaq 0x7d2e(%rip), %rdi      # 0x20022
movb $0x3, %al
callq 0x8e15
movq %r15, %rdi
callq 0x18b44
cmpl $0x0, 0x1c(%rbx)
je 0x18328
movsd 0x48(%r12), %xmm0
movsd (%rsp), %xmm1
mulsd 0x42a3(%rip), %xmm1     # 0x1c5c0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1671c
movsd (%rsp), %xmm0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x107c8
cmpl $0x0, 0x1c(%rbx)
je 0x1835d
movsd 0x48(%r12), %xmm0
movsd (%rsp), %xmm1
mulsd 0x426e(%rip), %xmm1     # 0x1c5c0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1671c
movsd 0x40(%rsp), %xmm0
movapd 0x10(%rsp), %xmm1
cmpltsd %xmm1, %xmm0
andnpd %xmm1, %xmm0
movapd %xmm0, 0x50(%rsp)
movq %r15, %rdi
callq 0x18b4b
leaq 0x7cc7(%rip), %rdi      # 0x2004e
movb $0x1, %al
callq 0x8e15
xorl %r15d, %r15d
movapd 0xca7(%rip), %xmm2      # 0x19040
movsd (%rsp), %xmm1
movsd 0x80(%rsp,%r15,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp,%r15,8)
ucomisd 0x100(%rsp,%r15,8), %xmm0
jae 0x183e0
movsd 0x48(%r12), %xmm0
ucomisd 0x40(%r12), %xmm0
jne 0x183d4
jnp 0x183e0
movl 0x8(%r12), %eax
cmpl 0x4(%r12), %eax
jne 0x18432
cmpl $0x4, %r15d
je 0x183f9
cmpl $0x3, %r15d
jne 0x18408
movq %r14, %rdi
movq %rbx, %rsi
callq 0x173d2
jmp 0x18408
movq %r13, %rdi
xorl %eax, %eax
callq 0x8e15
incl 0x38(%r12)
movl %r15d, %edi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xc890
movq $0x0, 0x80(%rsp,%r15,8)
movapd 0xc13(%rip), %xmm2      # 0x19040
movsd (%rsp), %xmm1
incq %r15
cmpq $0x5, %r15
jne 0x1839e
movsd 0x40(%r12), %xmm0
ucomisd 0x48(%r12), %xmm0
ja 0x17f64
jmp 0x18463
leaq 0x7baf(%rip), %rdi      # 0x2000b
xorl %eax, %eax
callq 0x8ce5
leaq 0xebb(%rip), %rdi       # 0x19325
xorl %eax, %eax
callq 0x8e15
xorl %eax, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)