// File: /workspace/github_c_makefile_star2_O3/mohuangrui[P]ArtraCFD/immersed_boundary.c
// Function: ComputeGeometricField
void ComputeGeometricField(Space *space, const Model *model)
{
    InitializeGeometricField(space);
    SetDomainField(space);
    SetInterfacialField(space, model);
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rsi, 0x110(%rsp)
movq %rdi, %r14
movq (%rdi), %rax
movq %rax, 0x8(%rsp)
movl 0xa0(%rdi), %ebp
movl 0xa4(%rdi), %eax
cmpl %eax, %ebp
jge 0x11304
movl 0x9c(%r14), %ecx
movl 0x98(%r14), %ebx
cmpl %ecx, %ebx
jge 0x112e9
movl 0x94(%r14), %eax
movl 0x90(%r14), %r15d
cmpl %eax, %r15d
jge 0x112d8
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %edi
movl %ebx, %esi
movl %r15d, %edx
callq 0x7d53
cltq
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rdx
movq 0x8(%rsp), %rsi
leaq (%rsi,%rdx), %rax
movslq (%rsi,%rdx), %rcx
movl %ecx, 0xc(%rsi,%rdx)
testq %rcx, %rcx
je 0x112bb
movq 0x18(%r14), %rdx
imulq $0x238, %rcx, %rcx      # imm = 0x238
cmpl $0x1, -0x22c(%rdx,%rcx)
je 0x112c2
cmpl $0x0, 0x8(%rax)
jle 0x112c2
movl $0x0, (%rax)
jmp 0x112c2
movl $0x0, 0x4(%rax)
incl %r15d
movl 0x94(%r14), %eax
cmpl %eax, %r15d
jl 0x11261
movl 0x9c(%r14), %ecx
incl %ebx
cmpl %ecx, %ebx
jl 0x11255
movl 0xa4(%r14), %eax
incl %ebp
cmpl %eax, %ebp
jl 0x1123f
movq (%r14), %rdx
movq %rdx, 0x8(%rsp)
movl 0xa0(%r14), %ebp
jmp 0x1130b
movl 0x9c(%r14), %ecx
movl 0x90(%r14), %edx
movl %edx, 0xb4(%rsp)
movl 0x98(%r14), %edx
movl %edx, 0xb8(%rsp)
movl %ebp, 0xbc(%rsp)
movl 0x94(%r14), %edx
movl %edx, 0xa8(%rsp)
movl %ecx, 0xac(%rsp)
movl %eax, 0xb0(%rsp)
movsd 0x3f0(%r14), %xmm0
movsd %xmm0, 0x28(%rsp)
movsd %xmm0, 0xe0(%rsp)
movsd 0x400(%r14), %xmm0
movsd %xmm0, 0x140(%rsp)
movsd %xmm0, 0xe8(%rsp)
movsd 0x410(%r14), %xmm0
movsd %xmm0, 0x138(%rsp)
movsd %xmm0, 0xf0(%rsp)
movsd 0x58(%r14), %xmm0
movsd %xmm0, 0x130(%rsp)
movsd 0x60(%r14), %xmm0
movsd %xmm0, 0x128(%rsp)
movsd 0x68(%r14), %xmm0
movsd %xmm0, 0x120(%rsp)
movups 0x70(%r14), %xmm0
movaps %xmm0, 0x70(%rsp)
movsd 0x80(%r14), %xmm0
movsd %xmm0, 0x80(%rsp)
movl 0x40(%r14), %ecx
movl %ecx, 0x6c(%rsp)
movl %ecx, 0x9c(%rsp)
movl 0x44(%r14), %ecx
movl %ecx, 0x68(%rsp)
movl %ecx, 0xa0(%rsp)
movl 0x48(%r14), %ecx
movl %ecx, 0x64(%rsp)
movl %ecx, 0xa4(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x40(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
movl $0x0, 0x1c(%rsp)
movq %rcx, 0xd0(%rsp)
movapd %xmm0, 0xc0(%rsp)
cmpl $0x0, 0x8(%r14)
jle 0x116f8
movl $0x1d8, %eax            # imm = 0x1D8
movq %rax, 0x88(%rsp)
xorl %ecx, %ecx
movq 0x18(%r14), %rbx
movq %rcx, 0x90(%rsp)
imulq $0x238, %rcx, %rax      # imm = 0x238
movq %rax, 0x10(%rsp)
cmpl $0x1, 0xc(%rbx,%rax)
je 0x116ba
addq %rbx, 0x10(%rsp)
addq 0x88(%rsp), %rbx
xorl %r13d, %r13d
movsd -0x8(%rbx,%r13,4), %xmm0
movsd 0xe0(%rsp,%r13,2), %xmm1
movsd %xmm1, 0x50(%rsp)
movsd 0x70(%rsp,%r13,2), %xmm2
movsd %xmm2, 0x20(%rsp)
movl 0x9c(%rsp,%r13), %ebp
movl %ebp, %edi
callq 0x7d83
movl 0xb4(%rsp,%r13), %r15d
movl 0xa8(%rsp,%r13), %r12d
movl %eax, %edi
movl %r15d, %esi
movl %r12d, %edx
callq 0x7d9a
movl %eax, 0x30(%rsp,%r13,2)
movsd (%rbx,%r13,4), %xmm0
movsd 0x50(%rsp), %xmm1
movsd 0x20(%rsp), %xmm2
movl %ebp, %edi
callq 0x7d83
movl %eax, %edi
movl %r15d, %esi
movl %r12d, %edx
callq 0x7d9a
incl %eax
movl %eax, 0x34(%rsp,%r13,2)
addq $0x4, %r13
cmpq $0xc, %r13
jne 0x11485
movl 0x40(%rsp), %ebp
movl 0x44(%rsp), %eax
movl %eax, 0x5c(%rsp)
cmpl %eax, %ebp
jge 0x116ba
movl 0x38(%rsp), %eax
movl %eax, 0x58(%rsp)
movl 0x3c(%rsp), %eax
movl %eax, 0x18(%rsp)
movl 0x30(%rsp), %eax
movl %eax, 0x60(%rsp)
movl 0x34(%rsp), %r13d
movq 0x10(%rsp), %rax
addq $0x20, %rax
movq %rax, 0x118(%rsp)
movq 0x90(%rsp), %rax
incl %eax
movl %eax, 0x20(%rsp)
movl 0x58(%rsp), %eax
movl %eax, %r15d
cmpl 0x18(%rsp), %eax
jge 0x116ae
movl 0x60(%rsp), %eax
movl %eax, %r12d
cmpl %r13d, %eax
jge 0x116a0
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %edi
movl %r15d, %esi
movl %r12d, %edx
callq 0x7d53
cltq
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rbx
movq 0x8(%rsp), %rax
cmpl $0x0, (%rax,%rbx)
jne 0x11694
addq 0x8(%rsp), %rbx
movl %r12d, %edi
movsd 0x28(%rsp), %xmm0
movsd 0x130(%rsp), %xmm1
movl 0x6c(%rsp), %esi
callq 0x7db8
movsd %xmm0, 0xc0(%rsp)
movl %r15d, %edi
movsd 0x140(%rsp), %xmm0
movsd 0x128(%rsp), %xmm1
movl 0x68(%rsp), %esi
callq 0x7db8
movsd %xmm0, 0xc8(%rsp)
movl %ebp, %edi
movsd 0x138(%rsp), %xmm0
movsd 0x120(%rsp), %xmm1
movl 0x64(%rsp), %esi
callq 0x7db8
movsd %xmm0, 0xd0(%rsp)
movq 0x10(%rsp), %rsi
cmpl $0x0, (%rsi)
jle 0x11659
leaq 0xc0(%rsp), %rdi
leaq 0x1c(%rsp), %rdx
callq 0xab3a
testl %eax, %eax
je 0x11694
movl 0x20(%rsp), %eax
movl %eax, (%rbx)
movl 0x1c(%rsp), %eax
jmp 0x11691
movsd 0x18(%rsi), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x50(%rsp)
movq 0x118(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x7e85
movsd 0x50(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0x11694
movl 0x20(%rsp), %eax
movl %eax, (%rbx)
xorl %eax, %eax
movl %eax, 0x4(%rbx)
incl %r12d
cmpl %r12d, %r13d
jne 0x11586
incl %r15d
cmpl 0x18(%rsp), %r15d
jne 0x11576
incl %ebp
cmpl 0x5c(%rsp), %ebp
jne 0x11565
movq 0x90(%rsp), %rcx
incq %rcx
movslq 0x8(%r14), %rax
addq $0x238, 0x88(%rsp) # imm = 0x238
cmpq %rax, %rcx
jl 0x11452
movq (%r14), %rax
movq %rax, 0x8(%rsp)
movl 0xa0(%r14), %ebp
movl 0xa4(%r14), %eax
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
movq $0x0, 0x80(%rsp)
movapd %xmm0, 0x100(%rsp)
movapd %xmm0, 0xf0(%rsp)
movapd %xmm0, 0xe0(%rsp)
cmpl %eax, %ebp
jge 0x1196f
leaq 0x28(%r14), %rcx
movq %rcx, 0x10(%rsp)
leaq 0x240(%r14), %rcx
movq %rcx, 0x28(%rsp)
movl 0x9c(%r14), %ecx
movl 0x98(%r14), %ebx
cmpl %ecx, %ebx
jge 0x11965
movl 0x94(%r14), %eax
movl 0x90(%r14), %r12d
cmpl %eax, %r12d
jge 0x11954
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %edi
movl %ebx, %esi
movl %r12d, %edx
callq 0x7d53
cltq
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rax
movq 0x8(%rsp), %rdx
leaq (%rdx,%rax), %r15
movl (%rdx,%rax), %r8d
testl %r8d, %r8d
setne %cl
cmpl $0x0, 0xc(%rdx,%rax)
sete %al
orb %cl, %al
jne 0x118c3
movl %r12d, 0x30(%rsp)
movl %ebx, 0x34(%rsp)
movl %ebp, 0x38(%rsp)
movsd 0x3f0(%r14), %xmm0
movsd 0x58(%r14), %xmm1
movl 0x40(%r14), %esi
movl %r12d, %edi
callq 0x7db8
movsd %xmm0, 0x70(%rsp)
movsd 0x400(%r14), %xmm0
movsd 0x60(%r14), %xmm1
movl 0x44(%r14), %esi
movl %ebx, %edi
callq 0x7db8
movsd %xmm0, 0x78(%rsp)
movsd 0x410(%r14), %xmm0
movsd 0x68(%r14), %xmm1
movl 0x48(%r14), %esi
movl %ebp, %edi
callq 0x7db8
movsd %xmm0, 0x80(%rsp)
movl (%r15), %r9d
xorl %edi, %edi
leaq 0x30(%rsp), %rsi
leaq 0x70(%rsp), %rdx
movl $0x2, %ecx
movl $0xfffffffe, %r8d       # imm = 0xFFFFFFFE
leaq 0xe0(%rsp), %r13
pushq %r13
movl %ebx, %r13d
movl %ebp, %ebx
movq 0x118(%rsp), %rbp
pushq %rbp
pushq 0x18(%rsp)
pushq 0x28(%rsp)
callq 0x12449
addq $0x20, %rsp
movl $0x6, %edi
leaq 0xe0(%rsp), %rsi
callq 0x8053
movsd 0x100(%rsp), %xmm0
movsd 0x108(%rsp), %xmm1
mulsd 0x48(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0xe0(%rsp)
movsd 0x40(%rbp), %xmm0
movl %ebx, %ebp
movl %r13d, %ebx
leaq 0x10(%r15), %rsi
leaq 0xe0(%rsp), %rdi
callq 0x7cd7
movl $0xffffffff, 0x4(%r15)  # imm = 0xFFFFFFFF
movl (%r15), %r8d
movq $0x0, 0x8(%r15)
testl %r8d, %r8d
je 0x1193a
movl 0x3a8(%r14), %r9d
subq $0x8, %rsp
xorl %edi, %edi
movl %ebp, %esi
movl %ebx, %edx
movl %r12d, %ecx
pushq 0x18(%rsp)
pushq 0x18(%rsp)
pushq 0x40(%rsp)
callq 0x127b4
addq $0x20, %rsp
movl %eax, 0x8(%r15)
testl %eax, %eax
jle 0x1193a
cmpl $0x0, (%r15)
je 0x1193a
movl 0x3a8(%r14), %r9d
subq $0x8, %rsp
movl $0x1, %edi
movl %ebp, %esi
movl %ebx, %edx
movl %r12d, %ecx
xorl %r8d, %r8d
pushq 0x18(%rsp)
pushq 0x18(%rsp)
pushq 0x40(%rsp)
callq 0x127b4
addq $0x20, %rsp
movl %eax, 0xc(%r15)
incl %r12d
movl 0x94(%r14), %eax
cmpl %eax, %r12d
jl 0x1176f
movl 0x9c(%r14), %ecx
incl %ebx
cmpl %ecx, %ebx
jl 0x1175f
movl 0xa4(%r14), %eax
incl %ebp
cmpl %eax, %ebp
jl 0x11749
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq