// File: /workspace/github_c_makefile_star2_O2/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 0xa019(%rip), %rsi      # 0x1d2c0
leaq 0x40(%rsp), %r13
movl $0x2f8, %edx            # imm = 0x2F8
movq %r13, %rdi
callq 0x2170
leaq 0x90(%rsp), %rbx
leaq 0x180(%rsp), %rdx
movl 0x38(%r15), %r8d
pushq $0x50
popq %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rcx
xorl %eax, %eax
callq 0x20b0
leaq 0xe0(%rsp), %r13
leaq 0xa8b8(%rip), %rdx      # 0x1dba8
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x20b0
leaq 0x828c(%rip), %rsi      # 0x1b593
movq %r13, %rdi
callq 0x8820
movq %rax, %rbp
leaq 0xa896(%rip), %rsi      # 0x1dbaf
movq %rax, %rdi
callq 0x8730
leaq 0x9029(%rip), %rdi      # 0x1c351
callq 0x8566
leaq 0x48(%r15), %rcx
pushq $0x1
popq %rbx
movq %rbp, %rdi
movl %ebx, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x89d6
addq $0x8, %r15
leaq 0x9017(%rip), %rdx      # 0x1c365
movq %rbp, %rdi
movl %ebx, %esi
movq %r15, %rcx
xorl %eax, %eax
callq 0x89d6
movq %rbp, %rdi
callq 0x2080
leaq 0x130(%rsp), %r8
leaq 0xa840(%rip), %rdx      # 0x1dbb4
movq %r13, %rdi
movq %r12, %rsi
leaq 0x90(%rsp), %rcx
xorl %eax, %eax
callq 0x20b0
movq %r13, %rdi
leaq 0x8200(%rip), %rsi      # 0x1b593
callq 0x8820
movq %rax, %rbx
leaq 0x8(%rsp), %rax
andq $0x0, (%rax)
leaq 0x863b(%rip), %rdi      # 0x1b9e6
callq 0x8566
movq %rax, 0x30(%rsp)
movq (%r14), %r13
leaq 0xa7fa(%rip), %rsi      # 0x1dbb9
movq %rbx, 0x18(%rsp)
movq %rbx, %rdi
callq 0x8730
leaq 0x90(%r14), %rax
movq %rax, 0x20(%rsp)
xorl %ebx, %ebx
movq %r14, 0x38(%rsp)
cmpl 0x2c0(%rsp), %ebx
jge 0x13642
movq 0x18(%rsp), %rdi
xorl %esi, %esi
leaq 0x9adc(%rip), %rdx      # 0x1ced6
xorl %eax, %eax
callq 0x89d6
movl 0x1f0(%r14), %r12d
movl %ebx, 0x10(%rsp)
cmpl 0x1f4(%r14), %r12d
jge 0x1360d
movl 0x1e8(%r14), %eax
movl %eax, 0x14(%rsp)
cmpl 0x1ec(%r14), %eax
jge 0x13605
movl 0x1e0(%r14), %r15d
cmpl 0x1e4(%r14), %r15d
jge 0x135fa
movl 0x34(%r14), %r8d
movl 0x38(%r14), %ecx
movl %r12d, %ebp
movl %r12d, %edi
movl 0x14(%rsp), %r12d
movl %r12d, %esi
movl %r15d, %edx
callq 0x75ec
movslq %eax, %r14
testl %ebx, %ebx
jne 0x134e8
imulq $0x88, %r14, %rbx
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, (%r13,%rbx)
movapd 0x873c(%rip), %xmm0     # 0x1bbc0
movupd %xmm0, 0x10(%r13,%rbx)
movupd %xmm0, 0x20(%r13,%rbx)
movupd %xmm0, 0x30(%r13,%rbx)
movupd %xmm0, 0x40(%r13,%rbx)
movupd %xmm0, 0x50(%r13,%rbx)
movupd %xmm0, 0x60(%r13,%rbx)
movupd %xmm0, 0x70(%r13,%rbx)
movabsq $0x101010101010101, %rax # imm = 0x101010101010101
movq %rax, 0x80(%r13,%rbx)
movl %ebp, %edi
movl %r12d, %esi
movl %r15d, %edx
movq 0x20(%rsp), %rcx
callq 0x75f9
testl %eax, %eax
je 0x134e8
addq %r13, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbx)
movl %r12d, %esi
movl %ebp, %r12d
movl %ebp, %edi
movl %r15d, %edx
movq 0x20(%rsp), %rcx
callq 0x75f9
testl %eax, %eax
movl 0x10(%rsp), %ebx
je 0x135ed
movq 0x18(%rsp), %rdi
pushq $0x1
popq %rsi
movq 0x30(%rsp), %rdx
leaq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x8880
cmpl $0x4, %ebx
ja 0x135ed
imulq $0x88, %r14, %rax
addq %r13, %rax
addq $0x10, %rax
movl %ebx, %ecx
leaq 0x9d6a(%rip), %rdx      # 0x1d2ac
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
jmp 0x135ed
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 0x7f2b(%rip), %xmm1     # 0x1b4b0
movq 0x28(%rsp), %rcx
movsd 0x40(%rcx), %xmm0
movhpd 0x8(%rsp), %xmm1        # xmm1 = xmm1[0],mem[0]
addsd 0x7f03(%rip), %xmm0     # 0x1b4a0
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 0x135ed
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%rax)
jmp 0x135ed
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x18(%rax)
jmp 0x135ed
movsd (%rax), %xmm0
mulsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x8(%rax)
incl %r15d
movq 0x38(%rsp), %r14
jmp 0x13438
movl 0x14(%rsp), %eax
incl %eax
jmp 0x13420
incl %r12d
jmp 0x1340c
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
leaq 0x98b8(%rip), %r15      # 0x1ced6
movq %r15, %rdx
xorl %eax, %eax
callq 0x89d6
movq %rbx, %rdi
movl 0x10(%rsp), %ebx
xorl %esi, %esi
movq %r15, %rdx
xorl %eax, %eax
callq 0x89d6
incl %ebx
jmp 0x133df
movq 0x18(%rsp), %rdi
callq 0x2080
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq