// File: /workspace/github_c_makefile_star2_O1/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 0xad79(%rip), %rsi      # 0x1f3d8
leaq 0x40(%rsp), %r12
movl $0x2f8, %edx            # imm = 0x2F8
movq %r12, %rdi
callq 0x2160
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 0xb61a(%rip), %rdx      # 0x1fcc0
movl $0x50, %esi
movq %r12, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x20b0
leaq 0x8fa4(%rip), %r13      # 0x1d663
movq %r12, %rdi
movq %r13, %rsi
callq 0x9269
movq %rax, %rbp
leaq 0xb5f3(%rip), %rsi      # 0x1fcc7
movq %rax, %rdi
callq 0x9150
leaq 0x9cfe(%rip), %rdi      # 0x1e3e1
callq 0x8fb6
leaq 0x48(%r15), %rcx
movq %rbp, %rdi
movl $0x1, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x941f
addq $0x8, %r15
leaq 0x9cec(%rip), %rdx      # 0x1e3f5
movq %rbp, %rdi
movl $0x1, %esi
movq %r15, %rcx
xorl %eax, %eax
callq 0x941f
movq %rbp, %rdi
callq 0x2080
leaq 0x130(%rsp), %r15
leaq 0xb59a(%rip), %rdx      # 0x1fccc
movl $0x50, %esi
movq %r12, %rdi
movq %rbx, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x20b0
movq %r12, %rdi
movq %r13, %rsi
callq 0x9269
movq %rax, %rbx
movq $0x0, 0x8(%rsp)
leaq 0x9319(%rip), %rdi      # 0x1da7e
callq 0x8fb6
movq %rax, 0x30(%rsp)
movq (%r14), %rax
movq %rax, 0x10(%rsp)
leaq 0xb553(%rip), %rsi      # 0x1fcd1
movq %rbx, %rdi
callq 0x9150
cmpl $0x0, 0x190(%r15)
jle 0x14a1a
leaq 0x90(%r14), %rax
movq %rax, 0x20(%rsp)
leaq 0xa7bf(%rip), %r15      # 0x1ef66
xorl %r13d, %r13d
movq %rbx, 0x18(%rsp)
movq %r14, 0x38(%rsp)
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %eax, %eax
callq 0x941f
movl 0x1f0(%r14), %r12d
cmpl 0x1f4(%r14), %r12d
jge 0x149df
movl 0x1e8(%r14), %eax
movl %eax, 0x4(%rsp)
cmpl 0x1ec(%r14), %eax
jge 0x149d7
movl 0x1e0(%r14), %r15d
jmp 0x149bf
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %r12d, %ebp
movl %r12d, %edi
movl 0x4(%rsp), %r12d
movl %r12d, %esi
movl %r15d, %edx
callq 0x7ea3
movslq %eax, %r14
movl %r13d, %ebx
testl %r13d, %r13d
jne 0x148b2
movq %r14, %rax
shlq $0x7, %rax
leaq (%rax,%r14,8), %r13
pcmpeqd %xmm0, %xmm0
movq 0x10(%rsp), %rcx
movdqu %xmm0, (%rcx,%r13)
movapd 0x9406(%rip), %xmm0     # 0x1dc50
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 %ebp, %edi
movl %r12d, %esi
movl %r15d, %edx
movq 0x20(%rsp), %rcx
callq 0x7eb0
testl %eax, %eax
je 0x148b2
addq 0x10(%rsp), %r13
xorpd %xmm0, %xmm0
movupd %xmm0, (%r13)
movl %r12d, %esi
movl %ebp, %r12d
movl %ebp, %edi
movl %r15d, %edx
movq 0x20(%rsp), %rcx
callq 0x7eb0
testl %eax, %eax
movl %ebx, %r13d
je 0x149b7
movq 0x18(%rsp), %rdi
movl $0x1, %esi
movq 0x30(%rsp), %rdx
leaq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x92c9
cmpl $0x4, %r13d
ja 0x149b7
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 0xaaac(%rip), %rdx      # 0x1f3c4
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x149b7
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 0x8c65(%rip), %xmm1     # 0x1d5c0
divsd (%rax), %xmm1
movsd 0x8(%rsp), %xmm0
movq 0x28(%rsp), %rcx
movsd 0x40(%rcx), %xmm2
addsd 0x8c39(%rip), %xmm2     # 0x1d5b0
divsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x20(%rax)
jmp 0x149b7
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%rax)
jmp 0x149b7
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x18(%rax)
jmp 0x149b7
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rax)
incl %r15d
movq 0x38(%rsp), %r14
cmpl 0x1e4(%r14), %r15d
jl 0x147fb
movl 0x4(%rsp), %eax
incl %eax
jmp 0x147de
incl %r12d
jmp 0x147ca
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
leaq 0xa576(%rip), %r15      # 0x1ef66
movq %r15, %rdx
xorl %eax, %eax
callq 0x941f
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
xorl %eax, %eax
callq 0x941f
incl %r13d
cmpl 0x2c0(%rsp), %r13d
jl 0x147b4
movq %rbx, %rdi
callq 0x2080
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq