// File: /workspace/github_c_makefile_star2_O3/mohuangrui[P]ArtraCFD/paraview_reader.c
// Function: ReadStructuredDataParaview
void ReadStructuredDataParaview(Time *time, Space *space, const Model *model)
{
    PvSet pvSet = { /* initialize environment */
        .rname = "field",
        .bname = {'\0'},
        .fname = {'\0'},
        .fext = ".vts",
        .fmt = "%s%05d",
        .intType = "Int32",
        .floatType = "Float32",
        .byteOrder = "LittleEndian",
        .scaN = 5,
        .sca = {"rho", "u", "v", "w", "p"},
        .vecN = 0,
        .vec = {{'\0'}},
    };
    snprintf(pvSet.bname, sizeof(PvStr), pvSet.fmt, pvSet.rname, time->dataC);
    ReadCaseFile(time, &pvSet);
    ReadStructuredData(space, model, &pvSet);
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp            # imm = 0x338
movq %rdx, 0x28(%rsp)
movq %rsi, %r14
movq %rdi, %r15
leaq 0xa1c9(%rip), %rsi      # 0x1e468
leaq 0x40(%rsp), %r12
movl $0x2f8, %edx            # imm = 0x2F8
movq %r12, %rdi
callq 0x2170
leaq 0x90(%rsp), %rbx
leaq 0x180(%rsp), %rdx
movl 0x38(%r15), %r8d
movl $0x50, %esi
movq %rbx, %rdi
movq %r12, %rcx
xorl %eax, %eax
callq 0x20b0
leaq 0xe0(%rsp), %r12
leaq 0xaa6a(%rip), %rdx      # 0x1ed50
movl $0x50, %esi
movq %r12, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x20b0
leaq 0x83a4(%rip), %r13      # 0x1c6a3
movq %r12, %rdi
movq %r13, %rsi
callq 0x9026
movq %rax, %rbp
leaq 0xaa43(%rip), %rsi      # 0x1ed57
movq %rax, %rdi
callq 0x8f0d
leaq 0x914e(%rip), %rdi      # 0x1d471
callq 0x8d7a
leaq 0x48(%r15), %rcx
movq %rbp, %rdi
movl $0x1, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x91dc
addq $0x8, %r15
leaq 0x913c(%rip), %rdx      # 0x1d485
movq %rbp, %rdi
movl $0x1, %esi
movq %r15, %rcx
xorl %eax, %eax
callq 0x91dc
movq %rbp, %rdi
callq 0x2080
leaq 0x130(%rsp), %r15
leaq 0xa9ea(%rip), %rdx      # 0x1ed5c
movl $0x50, %esi
movq %r12, %rdi
movq %rbx, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x20b0
movq %r12, %rdi
movq %r13, %rsi
callq 0x9026
movq %rax, %rbx
movq $0x0, 0x8(%rsp)
leaq 0x8759(%rip), %rdi      # 0x1cafe
callq 0x8d7a
movq %rax, 0x30(%rsp)
movq (%r14), %rax
movq %rax, 0x10(%rsp)
leaq 0xa9a3(%rip), %rsi      # 0x1ed61
movq %rbx, %rdi
callq 0x8f0d
cmpl $0x0, 0x190(%r15)
jle 0x1468c
leaq 0x90(%r14), %rax
movq %rax, 0x20(%rsp)
leaq 0x9c0f(%rip), %r15      # 0x1dff6
xorl %r13d, %r13d
movq %rbx, 0x18(%rsp)
movq %r14, 0x38(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %eax, %eax
callq 0x91dc
movl 0x1f0(%r14), %ebp
movl 0x1f4(%r14), %ecx
cmpl %ecx, %ebp
jge 0x14651
movl 0x1ec(%r14), %eax
movl 0x1e8(%r14), %edx
movl %edx, 0x4(%rsp)
cmpl %eax, %edx
jge 0x14647
movl 0x1e4(%r14), %ecx
movl 0x1e0(%r14), %r15d
cmpl %ecx, %r15d
jge 0x1462e
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %ebp, %r12d
movl %ebp, %edi
movl 0x4(%rsp), %ebp
movl %ebp, %esi
movl %r15d, %edx
callq 0x7d53
movslq %eax, %r14
movl %r13d, %ebx
testl %r13d, %r13d
jne 0x144fe
movq %r14, %rax
shlq $0x7, %rax
leaq (%rax,%r14,8), %r13
pcmpeqd %xmm0, %xmm0
movq 0x10(%rsp), %rcx
movdqu %xmm0, (%rcx,%r13)
movapd 0x884a(%rip), %xmm0     # 0x1cce0
movupd %xmm0, 0x10(%rcx,%r13)
movupd %xmm0, 0x20(%rcx,%r13)
movupd %xmm0, 0x30(%rcx,%r13)
movupd %xmm0, 0x40(%rcx,%r13)
movupd %xmm0, 0x50(%rcx,%r13)
movupd %xmm0, 0x60(%rcx,%r13)
movupd %xmm0, 0x70(%rcx,%r13)
movabsq $0x101010101010101, %rax # imm = 0x101010101010101
movq %rax, 0x80(%rcx,%r13)
movl %r12d, %edi
movl %ebp, %esi
movl %r15d, %edx
movq 0x20(%rsp), %rcx
callq 0x7d60
testl %eax, %eax
je 0x144fe
addq 0x10(%rsp), %r13
xorpd %xmm0, %xmm0
movupd %xmm0, (%r13)
movl %ebp, %esi
movl %r12d, %ebp
movl %r12d, %edi
movl %r15d, %edx
movq 0x20(%rsp), %rcx
callq 0x7d60
testl %eax, %eax
movl %ebx, %r13d
je 0x1460f
movq 0x18(%rsp), %rdi
movl $0x1, %esi
movq 0x30(%rsp), %rdx
leaq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x9086
cmpl $0x4, %r13d
ja 0x1460f
movq %r14, %rax
shlq $0x7, %rax
leaq (%rax,%r14,8), %rax
movq 0x10(%rsp), %rcx
addq %rcx, %rax
addq $0x10, %rax
movl %r13d, %ecx
leaq 0x9ef0(%rip), %rdx      # 0x1e454
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x1460f
movsd 0x8(%rax), %xmm0
movsd 0x10(%rax), %xmm1
mulsd %xmm1, %xmm1
mulsd %xmm0, %xmm0
addsd %xmm1, %xmm0
movsd 0x18(%rax), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm0, %xmm1
mulsd 0x8019(%rip), %xmm1     # 0x1c5c0
movq 0x28(%rsp), %rcx
movsd 0x40(%rcx), %xmm0
movhpd 0x8(%rsp), %xmm1        # xmm1 = xmm1[0],mem[0]
addsd 0x7ff1(%rip), %xmm0     # 0x1c5b0
movsd (%rax), %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
divpd %xmm2, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movsd %xmm0, 0x20(%rax)
jmp 0x1460f
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%rax)
jmp 0x1460f
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x18(%rax)
jmp 0x1460f
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rax)
incl %r15d
movq 0x38(%rsp), %r14
movl 0x1e4(%r14), %ecx
cmpl %ecx, %r15d
jl 0x1444a
movl 0x1ec(%r14), %eax
movl 0x4(%rsp), %edx
incl %edx
movl %edx, 0x4(%rsp)
cmpl %eax, %edx
jl 0x1443a
movl 0x1f4(%r14), %ecx
incl %ebp
cmpl %ecx, %ebp
jl 0x14420
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
leaq 0x9994(%rip), %r15      # 0x1dff6
movq %r15, %rdx
xorl %eax, %eax
callq 0x91dc
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %eax, %eax
callq 0x91dc
incl %r13d
cmpl 0x2c0(%rsp), %r13d
jl 0x143f4
movq %rbx, %rdi
callq 0x2080
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq