// File: /workspace/github_c_makefile_star2_O2/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 0x83c7(%rip), %rdi      # 0x1ee38
xorl %eax, %eax
callq 0x8643
leaq 0x83c5(%rip), %rdi      # 0x1ee44
xorl %eax, %eax
callq 0x8643
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x11a7c
leaq 0x83bc(%rip), %rdi      # 0x1ee57
xorl %eax, %eax
callq 0x8643
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 0x17023
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
cvtsi2sd %eax, %xmm3
movapd %xmm0, %xmm2
divsd %xmm3, %xmm2
movsd %xmm2, 0x120(%rsp)
xorpd %xmm3, %xmm3
andq $0x0, 0xa0(%rsp)
movapd %xmm3, 0x90(%rsp)
movapd %xmm3, 0x80(%rsp)
movsd %xmm0, 0x18(%rsp)
cmpl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
je 0x16b47
movsd %xmm2, 0x18(%rsp)
movapd 0x14f1(%rip), %xmm2     # 0x18040
xorpd %xmm3, %xmm3
movapd %xmm3, 0x50(%rsp)
movq %r12, 0x48(%rsp)
ucomisd %xmm1, %xmm0
jbe 0x17031
movl 0x8(%r12), %eax
cmpl 0x4(%r12), %eax
jge 0x17031
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, 0x30(%rsp)
andq $0x0, 0x40(%rsp)
xorl %r15d, %r15d
movslq 0x8(%r14), %rax
cmpq %rax, %r15
jge 0x16cf5
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 0x7665
movapd %xmm0, 0x20(%rsp)
movapd (%rsp), %xmm0
movhpd 0x88(%r13,%rbp), %xmm0  # xmm0 = xmm0[0],mem[0]
movapd 0x142c(%rip), %xmm2     # 0x18040
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 0x7665
movapd 0x20(%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 0x13a4(%rip), %xmm2     # 0x18040
andpd %xmm2, %xmm3
movapd %xmm3, (%rsp)
andpd %xmm2, %xmm0
andpd %xmm2, %xmm1
callq 0x7665
mulsd 0x18(%r13,%rbp), %xmm0
addsd (%rsp), %xmm0
movsd %xmm0, 0x70(%rsp)
xorl %eax, %eax
cmpq $0x3, %rax
je 0x16ce5
movsd 0x60(%rsp,%rax,8), %xmm0
ucomisd 0x30(%rsp,%rax,8), %xmm0
jbe 0x16ce0
movsd %xmm0, 0x30(%rsp,%rax,8)
incq %rax
jmp 0x16cc6
incq %r15
movapd 0x1350(%rip), %xmm2     # 0x18040
jmp 0x16bb0
movl 0xa0(%r14), %ebp
cmpl 0xa4(%r14), %ebp
jge 0x16dea
movl 0x98(%r14), %r13d
cmpl 0x9c(%r14), %r13d
jge 0x16de3
movl 0x90(%r14), %r15d
cmpl 0x94(%r14), %r15d
jge 0x16ddb
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %edi
movl %r13d, %esi
movl %r15d, %edx
callq 0x75ec
cltq
imulq $0x88, %rax, %rdi
cmpl $0x0, (%r12,%rdi)
je 0x16d5b
incl %r15d
jmp 0x16d24
addq %r12, %rdi
addq $0x10, %rdi
movsd 0x40(%rbx), %xmm0
movsd 0x48(%rbx), %xmm1
leaq 0xc0(%rsp), %rsi
callq 0x74af
movsd 0x40(%rbx), %xmm0
mulsd 0x48(%rbx), %xmm0
mulsd 0xe8(%rsp), %xmm0
ucomisd 0x127c(%rip), %xmm0     # 0x18010
jb 0x16d9c
sqrtsd %xmm0, %xmm0
jmp 0x16da1
callq 0x2220
xorl %eax, %eax
movapd 0x1295(%rip), %xmm2     # 0x18040
cmpq $0x3, %rax
je 0x16d56
movsd 0xc8(%rsp,%rax,8), %xmm1
andpd %xmm2, %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x60(%rsp,%rax,8)
ucomisd 0x30(%rsp,%rax,8), %xmm1
jbe 0x16dd6
movsd %xmm1, 0x30(%rsp,%rax,8)
incq %rax
jmp 0x16dab
incl %r13d
jmp 0x16d10
incl %ebp
jmp 0x16cfc
movsd 0x58(%r14), %xmm1
movsd 0x60(%r14), %xmm0
divsd 0x30(%rsp), %xmm1
movsd %xmm1, 0x20(%rsp)
divsd 0x38(%rsp), %xmm0
movq 0x48(%rsp), %r12
movsd 0x50(%r12), %xmm1
movsd %xmm1, (%rsp)
movsd 0x68(%r14), %xmm1
divsd 0x40(%rsp), %xmm1
callq 0x7660
movapd %xmm0, %xmm1
movsd 0x20(%rsp), %xmm0
callq 0x7660
movapd %xmm0, %xmm2
mulsd (%rsp), %xmm2
movapd 0x50(%rsp), %xmm1
movapd %xmm1, %xmm3
addsd %xmm2, %xmm3
movsd 0x18(%rsp), %xmm0
movapd %xmm3, 0x20(%rsp)
ucomisd %xmm0, %xmm3
jbe 0x16e6a
movapd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd 0x48(%r12), %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, 0x48(%r12)
movsd 0x40(%r12), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x16ea0
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 0x7fcd(%rip), %rdi      # 0x1ee82
movb $0x3, %al
callq 0x8643
leaq 0xf0(%rsp), %rdi
callq 0x17654
cmpl $0x0, 0x1c(%rbx)
je 0x16eee
movsd 0x48(%r12), %xmm0
movsd (%rsp), %xmm1
mulsd 0x45cd(%rip), %xmm1     # 0x1b4b0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x15494
movsd (%rsp), %xmm0
movq %r14, %rdi
movq %rbx, %rsi
callq 0xfb7c
cmpl $0x0, 0x1c(%rbx)
je 0x16f23
movsd 0x48(%r12), %xmm0
movsd (%rsp), %xmm1
mulsd 0x4598(%rip), %xmm1     # 0x1b4b0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x15494
movsd 0x18(%rsp), %xmm0
movapd 0x20(%rsp), %xmm1
cmpltsd %xmm1, %xmm0
andnpd %xmm1, %xmm0
movapd %xmm0, 0x50(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x1765b
leaq 0x7f5c(%rip), %rdi      # 0x1eeae
movb $0x1, %al
callq 0x8643
xorl %r15d, %r15d
movapd 0x10dc(%rip), %xmm2     # 0x18040
movsd (%rsp), %xmm1
cmpq $0x5, %r15
je 0x17010
movsd 0x80(%rsp,%r15,8), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x80(%rsp,%r15,8)
ucomisd 0x100(%rsp,%r15,8), %xmm0
jae 0x16fb5
movsd 0x48(%r12), %xmm0
ucomisd 0x40(%r12), %xmm0
jne 0x16fa9
jnp 0x16fb5
movl 0x8(%r12), %eax
cmpl 0x4(%r12), %eax
jne 0x17008
cmpl $0x4, %r15d
je 0x16fce
cmpl $0x3, %r15d
jne 0x16fe1
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1607f
jmp 0x16fe1
leaq 0x7eeb(%rip), %rdi      # 0x1eec0
xorl %eax, %eax
callq 0x8643
incl 0x38(%r12)
movl %r15d, %edi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0xbfe8
andq $0x0, 0x80(%rsp,%r15,8)
movapd 0x103d(%rip), %xmm2     # 0x18040
movsd (%rsp), %xmm1
incq %r15
jmp 0x16f69
movsd 0x40(%r12), %xmm0
movsd 0x48(%r12), %xmm1
jmp 0x16b5e
leaq 0x7e41(%rip), %rdi      # 0x1ee6b
xorl %eax, %eax
callq 0x84d1
leaq 0x12ed(%rip), %rdi      # 0x18325
xorl %eax, %eax
callq 0x8643
xorl %eax, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop