// File: /workspace/github_cpp_makefile_star2_O3/manikandan5[P]Image-Matching-Stitching-Warping/./CImg.h
// Function: cimg_library::CImg<double>::_load_analyze(_IO_FILE*, char const*, float*)
CImg<T>& _load_analyze(std::FILE *const file, const char *const filename, float *const voxel_size=0) {
      if (!file && !filename)
        throw CImgArgumentException(_cimg_instance
                                    "load_analyze(): Specified filename is (null).",
                                    cimg_instance);

      std::FILE *nfile_header = 0, *nfile = 0;
      if (!file) {
        char body[1024] = { 0 };
        const char *const ext = cimg::split_filename(filename,body);
        if (!cimg::strcasecmp(ext,"hdr")) { // File is an Analyze header file.
          nfile_header = cimg::fopen(filename,"rb");
          std::sprintf(body + std::strlen(body),".img");
          nfile = cimg::fopen(body,"rb");
        } else if (!cimg::strcasecmp(ext,"img")) { // File is an Analyze data file.
          nfile = cimg::fopen(filename,"rb");
          std::sprintf(body + std::strlen(body),".hdr");
          nfile_header = cimg::fopen(body,"rb");
        } else nfile_header = nfile = cimg::fopen(filename,"rb"); // File is a Niftii file.
      } else nfile_header = nfile = file; // File is a Niftii file.
      if (!nfile || !nfile_header)
        throw CImgIOException(_cimg_instance
                              "load_analyze(): Invalid Analyze7.5 or NIFTI header in file '%s'.",
                              cimg_instance,
                              filename?filename:"(FILE*)");

      // Read header.
      bool endian = false;
      unsigned int header_size;
      cimg::fread(&header_size,1,nfile_header);
      if (!header_size)
        throw CImgIOException(_cimg_instance
                              "load_analyze(): Invalid zero-sized header in file '%s'.",
                              cimg_instance,
                              filename?filename:"(FILE*)");

      if (header_size>=4096) { endian = true; cimg::invert_endianness(header_size); }
      unsigned char *const header = new unsigned char[header_size];
      cimg::fread(header+4,header_size-4,nfile_header);
      if (!file && nfile_header!=nfile) cimg::fclose(nfile_header);
      if (endian) {
        cimg::invert_endianness((short*)(header+40),5);
        cimg::invert_endianness((short*)(header+70),1);
        cimg::invert_endianness((short*)(header+72),1);
        cimg::invert_endianness((float*)(header+76),4);
        cimg::invert_endianness((float*)(header+112),1);
      }
      unsigned short *dim = (unsigned short*)(header+40), dimx = 1, dimy = 1, dimz = 1, dimv = 1;
      if (!dim[0])
        cimg::warn(_cimg_instance
                   "load_analyze(): File '%s' defines an image with zero dimensions.",
                   cimg_instance,
                   filename?filename:"(FILE*)");

      if (dim[0]>4)
        cimg::warn(_cimg_instance
                   "load_analyze(): File '%s' defines an image with %u dimensions, reading only the 4 first.",
                   cimg_instance,
                   filename?filename:"(FILE*)",dim[0]);

      if (dim[0]>=1) dimx = dim[1];
      if (dim[0]>=2) dimy = dim[2];
      if (dim[0]>=3) dimz = dim[3];
      if (dim[0]>=4) dimv = dim[4];
      float scalefactor = *(float*)(header+112); if (scalefactor==0) scalefactor=1;
      const unsigned short datatype = *(short*)(header+70);
      if (voxel_size) {
        const float *vsize = (float*)(header+76);
        voxel_size[0] = vsize[1]; voxel_size[1] = vsize[2]; voxel_size[2] = vsize[3];
      }
      delete[] header;

      // Read pixel data.
      assign(dimx,dimy,dimz,dimv);
      switch (datatype) {
      case 2 : {
        unsigned char *const buffer = new unsigned char[dimx*dimy*dimz*dimv];
        cimg::fread(buffer,dimx*dimy*dimz*dimv,nfile);
        cimg_foroff(*this,off) _data[off] = (T)(buffer[off]*scalefactor);
        delete[] buffer;
      } break;
      case 4 : {
        short *const buffer = new short[dimx*dimy*dimz*dimv];
        cimg::fread(buffer,dimx*dimy*dimz*dimv,nfile);
        if (endian) cimg::invert_endianness(buffer,dimx*dimy*dimz*dimv);
        cimg_foroff(*this,off) _data[off] = (T)(buffer[off]*scalefactor);
        delete[] buffer;
      } break;
      case 8 : {
        int *const buffer = new int[dimx*dimy*dimz*dimv];
        cimg::fread(buffer,dimx*dimy*dimz*dimv,nfile);
        if (endian) cimg::invert_endianness(buffer,dimx*dimy*dimz*dimv);
        cimg_foroff(*this,off) _data[off] = (T)(buffer[off]*scalefactor);
        delete[] buffer;
      } break;
      case 16 : {
        float *const buffer = new float[dimx*dimy*dimz*dimv];
        cimg::fread(buffer,dimx*dimy*dimz*dimv,nfile);
        if (endian) cimg::invert_endianness(buffer,dimx*dimy*dimz*dimv);
        cimg_foroff(*this,off) _data[off] = (T)(buffer[off]*scalefactor);
        delete[] buffer;
      } break;
      case 64 : {
        double *const buffer = new double[dimx*dimy*dimz*dimv];
        cimg::fread(buffer,dimx*dimy*dimz*dimv,nfile);
        if (endian) cimg::invert_endianness(buffer,dimx*dimy*dimz*dimv);
        cimg_foroff(*this,off) _data[off] = (T)(buffer[off]*scalefactor);
        delete[] buffer;
      } break;
      default :
        if (!file) cimg::fclose(nfile);
        throw CImgIOException(_cimg_instance
                              "load_analyze(): Unable to load datatype %d in file '%s'",
                              cimg_instance,
                              datatype,filename?filename:"(FILE*)");
      }
      if (!file) cimg::fclose(nfile);
      return *this;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x458, %rsp            # imm = 0x458
movq %rcx, 0x30(%rsp)
movq %rdi, %r12
movq %rsi, %rax
movq %rdx, 0x8(%rsp)
orq %rdx, %rax
je 0x4b6a3
movq %rsi, %r13
movq %rsi, %r14
movq %rsi, %rbp
testq %rsi, %rsi
jne 0x4ad89
leaq 0x50(%rsp), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x4290
movq 0x8(%rsp), %r14
testq %r14, %r14
je 0x4ad74
movq %r14, %rax
movq %rax, %r15
movq %rax, %rdi
movl $0x2e, %esi
callq 0x41a0
incq %rax
cmpq %r14, %rax
jae 0x4ab4c
cmpq %r14, %r15
je 0x4ab88
movl %r14d, %ebx
notl %ebx
addl %r15d, %ebx
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x4440
movb $0x0, 0x50(%rsp,%rbx)
jmp 0x4aba3
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x44e0
movq %r14, %rdi
callq 0x41e0
movq %rax, %r15
addq %r14, %r15
movq %r15, %rdi
callq 0x41e0
movl %eax, %eax
cmpq $0x3, %rax
movl $0x3, %edx
cmovbq %rax, %rdx
incq %rdx
xorl %ecx, %ecx
leaq 0x456db(%rip), %rsi     # 0x902a1
movzbl (%r15,%rcx), %edi
leal -0x5b(%rdi), %r8d
leal 0x20(%rdi), %r9d
cmpb $-0x1a, %r8b
movzbl %r9b, %r8d
cmovbl %edi, %r8d
movzbl (%rcx,%rsi), %edi
leal -0x5b(%rdi), %r9d
leal 0x20(%rdi), %r10d
cmpb $-0x1a, %r9b
movzbl %r10b, %r9d
cmovbl %edi, %r9d
cmpb %r9b, %r8b
jne 0x4ac05
incq %rcx
cmpl %ecx, %edx
jne 0x4abc6
jmp 0x4ac1c
cmpq $0x3, %rax
movl $0x3, %ebx
cmovaeq %rbx, %rax
incl %eax
cmpl %ecx, %eax
jne 0x4acb0
leaq 0x446c2(%rip), %rsi     # 0x8f2e5
movq %r14, %rdi
callq 0x3b111
movq %rax, %rbp
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x41e0
movl $0x676d692e, 0x50(%rsp,%rax) # imm = 0x676D692E
movb $0x0, 0x54(%rsp,%rax)
cmpb $0x2d, (%rbx)
jne 0x4ac67
movzbl 0x51(%rsp), %eax
cmpl $0x2e, %eax
je 0x4ac5b
testl %eax, %eax
jne 0x4ac67
movq 0x5d346(%rip), %rax     # 0xa7fa8
movq (%rax), %rax
jmp 0x4ac78
leaq 0x44677(%rip), %rsi     # 0x8f2e5
leaq 0x50(%rsp), %rdi
callq 0x45d0
testq %rax, %rax
jne 0x4ad86
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x464ed(%rip), %rsi     # 0x91182
leaq 0x44649(%rip), %rcx     # 0x8f2e5
leaq 0x50(%rsp), %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x36908
jmp 0x4b7ed
movq %r15, %rdi
callq 0x41e0
movl %eax, %eax
cmpq $0x3, %rax
cmovbq %rax, %rbx
incq %rbx
xorl %ecx, %ecx
leaq 0x45659(%rip), %rdx     # 0x90327
movzbl (%r15,%rcx), %esi
leal -0x5b(%rsi), %edi
leal 0x20(%rsi), %r8d
cmpb $-0x1a, %dil
movzbl %r8b, %edi
cmovbl %esi, %edi
movzbl (%rcx,%rdx), %esi
leal -0x5b(%rsi), %r8d
leal 0x20(%rsi), %r9d
cmpb $-0x1a, %r8b
movzbl %r9b, %r8d
cmovbl %esi, %r8d
cmpb %r8b, %dil
jne 0x4ad0b
incq %rcx
cmpl %ecx, %ebx
jne 0x4acce
jmp 0x4ad1e
cmpq $0x3, %rax
movl $0x3, %edx
cmovbq %rax, %rdx
incl %edx
cmpl %ecx, %edx
jne 0x4ad74
leaq 0x445c0(%rip), %rsi     # 0x8f2e5
movq %r14, %rdi
callq 0x3b111
movq %rax, %r14
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x41e0
movl $0x7264682e, 0x50(%rsp,%rax) # imm = 0x7264682E
movb $0x0, 0x54(%rsp,%rax)
cmpb $0x2d, (%rbx)
jne 0x4b657
movzbl 0x51(%rsp), %eax
cmpl $0x2e, %eax
je 0x4ad65
testl %eax, %eax
jne 0x4b657
movq 0x5d23c(%rip), %rax     # 0xa7fa8
movq (%rax), %rbp
jmp 0x4b66b
leaq 0x4456a(%rip), %rsi     # 0x8f2e5
movq %r14, %rdi
callq 0x3b111
movq %rax, %rbp
movq %rax, %r14
movq %r14, 0x10(%rsp)
testq %r14, %r14
je 0x4b709
testq %rbp, %rbp
je 0x4b709
movl $0x1, %r15d
xorl %ebx, %ebx
leaq (,%r15,4), %rax
cmpq $0x3f00000, %rax        # imm = 0x3F00000
movl $0xfc0000, %r14d        # imm = 0xFC0000
cmovbq %r15, %r14
leaq 0x50(%rsp,%rbx,4), %rdi
movl $0x4, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %rbx
subq %rax, %r15
cmpq %rax, %r14
jne 0x4ade5
testq %r15, %r15
jne 0x4ada8
testq %r15, %r15
je 0x4ae00
leaq 0x44ac9(%rip), %rdi     # 0x8f8ba
movl $0x1, %edx
movq %rbx, %rsi
xorl %eax, %eax
callq 0xbb10
movl 0x50(%rsp), %eax
testl %eax, %eax
je 0x4b77c
movl %eax, %ebx
cmpl $0x1000, %eax           # imm = 0x1000
jb 0x4ae1d
movl %eax, %ebx
bswapl %ebx
movl %ebx, 0x50(%rsp)
movl %eax, 0x1c(%rsp)
movq %r13, 0x40(%rsp)
movq %r12, 0x38(%rsp)
movl %ebx, %edi
callq 0x4040
movq %rax, 0x20(%rsp)
leaq 0x4(%rax), %r15
addl $-0x4, %ebx
movq %rbx, %r13
je 0x4b7f6
xorl %r14d, %r14d
movl $0x3f00000, %ebx        # imm = 0x3F00000
movq %r13, 0x48(%rsp)
cmpq %rbx, %r13
movl $0x3f00000, %r12d       # imm = 0x3F00000
cmovbq %r13, %r12
leaq (%r15,%r14), %rdi
movl $0x1, %esi
movq %r12, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %r14
subq %rax, %r13
cmpq %rax, %r12
jne 0x4ae85
testq %r13, %r13
jne 0x4ae54
testq %r13, %r13
je 0x4aea0
leaq 0x44a29(%rip), %rdi     # 0x8f8ba
movq %r14, %rsi
movq 0x48(%rsp), %rdx
xorl %eax, %eax
callq 0xbb10
cmpq $0x0, 0x40(%rsp)
movq 0x38(%rsp), %r13
movl 0x1c(%rsp), %ebx
movq 0x20(%rsp), %rdi
jne 0x4aefb
cmpq 0x10(%rsp), %rbp
je 0x4aefb
movq 0x5d0e4(%rip), %rax     # 0xa7fa8
cmpq %rbp, (%rax)
je 0x4aefb
movq 0x5d0b8(%rip), %rax     # 0xa7f88
cmpq %rbp, (%rax)
je 0x4aefb
movq %rbp, %rdi
callq 0x4550
movq 0x20(%rsp), %rdi
testl %eax, %eax
je 0x4aefb
leaq 0x4410f(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
movq 0x20(%rsp), %rdi
cmpl $0x1000, %ebx           # imm = 0x1000
movq 0x8(%rsp), %r14
jb 0x4af61
movl $0x34, %eax
rolw $0x8, -0x4(%rdi,%rax)
addq $-0x2, %rax
cmpq $0x2a, %rax
ja 0x4af0d
rolw $0x8, 0x46(%rdi)
rolw $0x8, 0x48(%rdi)
movdqu 0x4c(%rdi), %xmm0
pxor %xmm1, %xmm1
movdqa %xmm0, %xmm2
punpckhbw %xmm1, %xmm2    # xmm2 = xmm2[8],xmm1[8],xmm2[9],xmm1[9],xmm2[10],xmm1[10],xmm2[11],xmm1[11],xmm2[12],xmm1[12],xmm2[13],xmm1[13],xmm2[14],xmm1[14],xmm2[15],xmm1[15]
pshuflw $0x1b, %xmm2, %xmm2     # xmm2 = xmm2[3,2,1,0,4,5,6,7]
pshufhw $0x1b, %xmm2, %xmm2     # xmm2 = xmm2[0,1,2,3,7,6,5,4]
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
pshuflw $0x1b, %xmm0, %xmm0     # xmm0 = xmm0[3,2,1,0,4,5,6,7]
pshufhw $0x1b, %xmm0, %xmm0     # xmm0 = xmm0[0,1,2,3,7,6,5,4]
packuswb %xmm2, %xmm0
movdqu %xmm0, 0x4c(%rdi)
movl 0x70(%rdi), %eax
bswapl %eax
movl %eax, 0x70(%rdi)
movzwl 0x28(%rdi), %ebx
testw %bx, %bx
jne 0x4afce
leaq 0x238f7(%rip), %rax     # 0x6e868
cmpb $0x0, 0x10(%r13)
leaq 0x24cc5(%rip), %r10     # 0x6fc42
cmovneq %rax, %r10
testq %r14, %r14
movl (%r13), %esi
movl 0x4(%r13), %edx
movl 0x8(%r13), %ecx
movl 0xc(%r13), %r8d
movq 0x18(%r13), %r9
leaq 0x44672(%rip), %r11     # 0x8f611
cmovneq %r14, %r11
subq $0x8, %rsp
leaq 0x44171(%rip), %rbx     # 0x8f11f
leaq 0x454a7(%rip), %rdi     # 0x9045c
xorl %eax, %eax
pushq %r11
pushq %rbx
pushq %r10
callq 0xbb10
movq 0x40(%rsp), %rdi
addq $0x20, %rsp
movzwl 0x28(%rdi), %ebx
cmpw $0x5, %bx
jb 0x4b039
leaq 0x2388d(%rip), %rax     # 0x6e868
leaq 0x24c60(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%r13)
cmovneq %rax, %r10
testq %r14, %r14
movl (%r13), %esi
movl 0x4(%r13), %edx
movl 0x8(%r13), %ecx
movl 0xc(%r13), %r8d
movq 0x18(%r13), %r9
leaq 0x44608(%rip), %r11     # 0x8f611
cmovneq %r14, %r11
movzwl %bx, %ebx
leaq 0x44108(%rip), %r14     # 0x8f11f
leaq 0x454ad(%rip), %rdi     # 0x904cb
xorl %eax, %eax
pushq %rbx
pushq %r11
pushq %r14
pushq %r10
callq 0xbb10
movq 0x40(%rsp), %rdi
addq $0x20, %rsp
movzwl 0x28(%rdi), %ebx
movl $0x1, %r14d
movw $0x1, %ax
testw %bx, %bx
je 0x4b06e
movzwl 0x2a(%rdi), %ecx
cmpw $0x1, %bx
je 0x4b072
movzwl 0x2c(%rdi), %edx
cmpw $0x3, %bx
jb 0x4b076
movzwl 0x2e(%rdi), %eax
movq 0x30(%rsp), %rsi
je 0x4b07b
movzwl 0x30(%rdi), %r14d
jmp 0x4b07b
movw $0x1, %cx
movw $0x1, %dx
movq 0x30(%rsp), %rsi
movzwl %dx, %r15d
movzwl %cx, %ebx
movzwl %ax, %r12d
movss 0x70(%rdi), %xmm0
pxor %xmm2, %xmm2
cmpeqss %xmm0, %xmm2
movss 0x23214(%rip), %xmm1    # 0x6e2b0
andps %xmm2, %xmm1
andnps %xmm0, %xmm2
orps %xmm1, %xmm2
movaps %xmm2, 0x20(%rsp)
movzwl 0x46(%rdi), %ebp
testq %rsi, %rsi
je 0x4b0c6
movsd 0x50(%rdi), %xmm0
movsd %xmm0, (%rsi)
movss 0x58(%rdi), %xmm0
movss %xmm0, 0x8(%rsi)
callq 0x4690
movq %r13, %rdi
movl %ebx, %esi
movl %r15d, %edx
movl %r12d, %ecx
movl %r14d, %r8d
callq 0xbbfc
cmpl $0x7, %ebp
jle 0x4b225
cmpl $0x8, %ebp
je 0x4b32c
cmpl $0x10, %ebp
je 0x4b42c
cmpl $0x40, %ebp
jne 0x4b848
imull %r12d, %ebx
imull %r14d, %r15d
imull %ebx, %r15d
leaq (,%r15,8), %rdi
callq 0x4040
movq %rax, %r12
testl %r15d, %r15d
je 0x4b8d4
xorl %ebx, %ebx
movq %r15, 0x8(%rsp)
movq 0x10(%rsp), %rbp
leaq (,%r15,8), %rax
cmpq $0x3f00000, %rax        # imm = 0x3F00000
movl $0x7e0000, %r14d        # imm = 0x7E0000
cmovbq %r15, %r14
leaq (%r12,%rbx,8), %rdi
movl $0x8, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %rbx
subq %rax, %r15
cmpq %rax, %r14
jne 0x4b16f
testq %r15, %r15
jne 0x4b133
testq %r15, %r15
movq 0x8(%rsp), %r14
je 0x4b18d
leaq 0x4473a(%rip), %rdi     # 0x8f8ba
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0xbb10
cmpl $0x1000, 0x1c(%rsp)     # imm = 0x1000
movaps 0x20(%rsp), %xmm0
jb 0x4b1da
leaq (%r12,%r14,8), %rcx
leaq (%r12,%r14,8), %rax
decq %rax
movq %rcx, %rdx
addq $-0x8, %rcx
movq $-0x8, %rsi
movq %rax, %rdi
movb (%rdx,%rsi), %r8b
movb (%rdi), %r9b
movb %r9b, (%rdx,%rsi)
movb %r8b, (%rdi)
incq %rsi
decq %rdi
cmpl $-0x4, %esi
jne 0x4b1b8
addq $-0x8, %rax
cmpq %r12, %rcx
ja 0x4b1a7
movl (%r13), %eax
movl 0x4(%r13), %ecx
imulq %rax, %rcx
movl 0x8(%r13), %edx
movl 0xc(%r13), %eax
imulq %rdx, %rax
imulq %rcx, %rax
testq %rax, %rax
je 0x4b5fc
cvtss2sd %xmm0, %xmm0
movq 0x18(%r13), %rcx
xorl %edx, %edx
movsd (%r12,%rdx,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x4b209
jmp 0x4b5fc
cmpl $0x2, %ebp
je 0x4b529
cmpl $0x4, %ebp
jne 0x4b848
imull %r12d, %ebx
imull %r14d, %r15d
imull %ebx, %r15d
leaq (%r15,%r15), %rdi
callq 0x4040
movq %rax, %r12
testl %r15d, %r15d
je 0x4b9e0
xorl %ebx, %ebx
movq %r15, 0x8(%rsp)
movq 0x10(%rsp), %rbp
leaq (%r15,%r15), %rax
cmpq $0x3f00000, %rax        # imm = 0x3F00000
movl $0x1f80000, %r14d       # imm = 0x1F80000
cmovbq %r15, %r14
leaq (%r12,%rbx,2), %rdi
movl $0x2, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %rbx
subq %rax, %r15
cmpq %rax, %r14
jne 0x4b29c
testq %r15, %r15
jne 0x4b264
testq %r15, %r15
movq 0x8(%rsp), %r14
je 0x4b2ba
leaq 0x4460d(%rip), %rdi     # 0x8f8ba
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0xbb10
cmpl $0x1000, 0x1c(%rsp)     # imm = 0x1000
jb 0x4b2d6
leaq (%r12,%r14,2), %rax
rolw $0x8, -0x2(%rax)
addq $-0x2, %rax
cmpq %r12, %rax
ja 0x4b2c8
movl (%r13), %eax
movl 0x4(%r13), %ecx
imulq %rax, %rcx
movl 0x8(%r13), %edx
movl 0xc(%r13), %eax
imulq %rdx, %rax
imulq %rcx, %rax
testq %rax, %rax
movaps 0x20(%rsp), %xmm1
je 0x4b5fc
movq 0x18(%r13), %rcx
xorl %edx, %edx
movswl (%r12,%rdx,2), %esi
xorps %xmm0, %xmm0
cvtsi2ss %esi, %xmm0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x4b306
jmp 0x4b5fc
imull %r12d, %ebx
imull %r14d, %r15d
imull %ebx, %r15d
leaq (,%r15,4), %rdi
callq 0x4040
movq %rax, %r12
testl %r15d, %r15d
je 0x4b917
xorl %ebx, %ebx
movq %r15, 0x8(%rsp)
movq 0x10(%rsp), %rbp
leaq (,%r15,4), %rax
cmpq $0x3f00000, %rax        # imm = 0x3F00000
movl $0xfc0000, %r14d        # imm = 0xFC0000
cmovbq %r15, %r14
leaq (%r12,%rbx,4), %rdi
movl $0x4, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %rbx
subq %rax, %r15
cmpq %rax, %r14
jne 0x4b399
testq %r15, %r15
jne 0x4b35d
testq %r15, %r15
movq 0x8(%rsp), %r14
je 0x4b3b7
leaq 0x44510(%rip), %rdi     # 0x8f8ba
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0xbb10
cmpl $0x1000, 0x1c(%rsp)     # imm = 0x1000
jb 0x4b3d9
leaq (%r12,%r14,4), %rax
movl -0x4(%rax), %ecx
bswapl %ecx
movl %ecx, -0x4(%rax)
leaq -0x4(%rax), %rcx
movq %rcx, %rax
cmpq %r12, %rcx
ja 0x4b3c5
movl (%r13), %eax
movl 0x4(%r13), %ecx
imulq %rax, %rcx
movl 0x8(%r13), %edx
movl 0xc(%r13), %eax
imulq %rdx, %rax
imulq %rcx, %rax
testq %rax, %rax
movaps 0x20(%rsp), %xmm1
je 0x4b5fc
movq 0x18(%r13), %rcx
xorl %edx, %edx
xorps %xmm0, %xmm0
cvtsi2ssl (%r12,%rdx,4), %xmm0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x4b409
jmp 0x4b5fc
imull %r12d, %ebx
imull %r14d, %r15d
imull %ebx, %r15d
leaq (,%r15,4), %rdi
callq 0x4040
movq %rax, %r12
testl %r15d, %r15d
je 0x4b95a
xorl %ebx, %ebx
movq %r15, 0x8(%rsp)
movq 0x10(%rsp), %rbp
leaq (,%r15,4), %rax
cmpq $0x3f00000, %rax        # imm = 0x3F00000
movl $0xfc0000, %r14d        # imm = 0xFC0000
cmovbq %r15, %r14
leaq (%r12,%rbx,4), %rdi
movl $0x4, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %rbx
subq %rax, %r15
cmpq %rax, %r14
jne 0x4b499
testq %r15, %r15
jne 0x4b45d
testq %r15, %r15
movq 0x8(%rsp), %r14
je 0x4b4b7
leaq 0x44410(%rip), %rdi     # 0x8f8ba
movq %rbx, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0xbb10
cmpl $0x1000, 0x1c(%rsp)     # imm = 0x1000
jb 0x4b4d9
leaq (%r12,%r14,4), %rax
movl -0x4(%rax), %ecx
bswapl %ecx
movl %ecx, -0x4(%rax)
leaq -0x4(%rax), %rcx
movq %rcx, %rax
cmpq %r12, %rcx
ja 0x4b4c5
movl (%r13), %eax
movl 0x4(%r13), %ecx
imulq %rax, %rcx
movl 0x8(%r13), %edx
movl 0xc(%r13), %eax
imulq %rdx, %rax
imulq %rcx, %rax
testq %rax, %rax
movaps 0x20(%rsp), %xmm1
je 0x4b5fc
movq 0x18(%r13), %rcx
xorl %edx, %edx
movss (%r12,%rdx,4), %xmm0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x4b509
jmp 0x4b5fc
imull %r12d, %ebx
imull %r14d, %r15d
imull %ebx, %r15d
movq %r15, %rdi
callq 0x4040
movq %rax, %r12
testl %r15d, %r15d
movq %r15, %r13
je 0x4b99d
xorl %ebx, %ebx
movl $0x3f00000, %r15d       # imm = 0x3F00000
movq %r13, 0x8(%rsp)
movq 0x10(%rsp), %rbp
cmpq %r15, %r13
movl $0x3f00000, %r14d       # imm = 0x3F00000
cmovbq %r13, %r14
leaq (%r12,%rbx), %rdi
movl $0x1, %esi
movq %r14, %rdx
movq %rbp, %rcx
callq 0x47d0
addq %rax, %rbx
subq %rax, %r13
cmpq %rax, %r14
jne 0x4b58f
testq %r13, %r13
jne 0x4b55e
testq %r13, %r13
je 0x4b5aa
leaq 0x4431f(%rip), %rdi     # 0x8f8ba
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0xbb10
movq 0x38(%rsp), %r13
movl (%r13), %eax
movl 0x4(%r13), %ecx
imulq %rax, %rcx
movl 0x8(%r13), %edx
movl 0xc(%r13), %eax
imulq %rdx, %rax
imulq %rcx, %rax
testq %rax, %rax
je 0x4b5fc
movq 0x18(%r13), %rcx
xorl %edx, %edx
movaps 0x20(%rsp), %xmm1
movzbl (%r12,%rdx), %esi
xorps %xmm0, %xmm0
cvtsi2ss %esi, %xmm0
mulss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x4b5db
movq %r12, %rdi
callq 0x4690
cmpq $0x0, 0x40(%rsp)
je 0x4b621
movq %r13, %rax
addq $0x458, %rsp            # imm = 0x458
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x5c980(%rip), %rax     # 0xa7fa8
cmpq %rbp, (%rax)
je 0x4b60c
movq 0x5c954(%rip), %rax     # 0xa7f88
cmpq %rbp, (%rax)
je 0x4b60c
movq %rbp, %rdi
callq 0x4550
testl %eax, %eax
je 0x4b60c
leaq 0x439b0(%rip), %rdi     # 0x8effc
movl %eax, %esi
xorl %eax, %eax
callq 0xbb10
jmp 0x4b60c
leaq 0x43c87(%rip), %rsi     # 0x8f2e5
leaq 0x50(%rsp), %rdi
callq 0x45d0
movq %rax, %rbp
testq %rbp, %rbp
jne 0x4ad89
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x45afa(%rip), %rsi     # 0x91182
leaq 0x43c56(%rip), %rcx     # 0x8f2e5
leaq 0x50(%rsp), %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x36908
jmp 0x4b7ed
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movl 0xc(%r12), %r9d
leaq 0x2319e(%rip), %rax     # 0x6e868
leaq 0x24571(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%r12)
cmovneq %rax, %r10
subq $0x8, %rsp
leaq 0x43a39(%rip), %r11     # 0x8f11f
leaq 0x44c3e(%rip), %rsi     # 0x9032b
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq 0x18(%r12)
callq 0xc16a
addq $0x20, %rsp
jmp 0x4b832
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x2314b(%rip), %rax     # 0x6e868
leaq 0x2451e(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%r12)
cmovneq %rax, %r10
movq 0x8(%rsp), %rax
testq %rax, %rax
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movl 0xc(%r12), %r9d
leaq 0x43ec1(%rip), %r11     # 0x8f611
cmovneq %rax, %r11
leaq 0x439c4(%rip), %rbx     # 0x8f11f
leaq 0x44c25(%rip), %rsi     # 0x90387
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %rbx
pushq %r10
pushq 0x18(%r12)
callq 0x36908
addq $0x20, %rsp
jmp 0x4b7ed
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x230d8(%rip), %rax     # 0x6e868
leaq 0x244ab(%rip), %r10     # 0x6fc42
cmpb $0x0, 0x10(%r12)
cmovneq %rax, %r10
movq 0x8(%rsp), %rax
testq %rax, %rax
movl (%r12), %edx
movl 0x4(%r12), %ecx
movl 0x8(%r12), %r8d
movl 0xc(%r12), %r9d
leaq 0x43e4e(%rip), %r11     # 0x8f611
cmovneq %rax, %r11
leaq 0x43951(%rip), %rbx     # 0x8f11f
leaq 0x44c21(%rip), %rsi     # 0x903f6
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %rbx
pushq %r10
pushq 0x18(%r12)
callq 0x36908
addq $0x20, %rsp
leaq 0x5c4fc(%rip), %rsi     # 0xa7cf0
jmp 0x4b839
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
subq $0x8, %rsp
leaq 0x4405f(%rip), %rsi     # 0x8f86d
leaq 0x2eff2(%rip), %rcx     # 0x7a807
leaq 0x2304c(%rip), %r8      # 0x6e868
movq %rax, %rdi
movq %r13, %rdx
movq %rbp, %r9
xorl %eax, %eax
pushq %r15
callq 0xc16a
addq $0x10, %rsp
leaq 0x5c417(%rip), %rsi     # 0xa7c50
movq 0x5c790(%rip), %rdx     # 0xa7fd0
movq %r14, %rdi
callq 0x4910
cmpq $0x0, 0x40(%rsp)
jne 0x4b85a
movq 0x10(%rsp), %rdi
callq 0x367a9
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
leaq 0x22ffa(%rip), %rax     # 0x6e868
leaq 0x243cd(%rip), %r10     # 0x6fc42
movq 0x38(%rsp), %r15
cmpb $0x0, 0x10(%r15)
cmovneq %rax, %r10
movq 0x8(%rsp), %rax
testq %rax, %rax
movl (%r15), %edx
movl 0x4(%r15), %ecx
movl 0x8(%r15), %r8d
movl 0xc(%r15), %r9d
leaq 0x43d70(%rip), %r11     # 0x8f611
cmovneq %rax, %r11
subq $0x8, %rsp
leaq 0x4386f(%rip), %rbx     # 0x8f11f
leaq 0x44c9b(%rip), %rsi     # 0x90552
movq %r14, %rdi
xorl %eax, %eax
pushq %r11
pushq %rbp
pushq %rbx
pushq %r10
pushq 0x18(%r15)
callq 0x36908
addq $0x30, %rsp
jmp 0x4b7ed
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
subq $0x8, %rsp
leaq 0x43f81(%rip), %rsi     # 0x8f86d
leaq 0x4382c(%rip), %rcx     # 0x8f11f
leaq 0x22f6e(%rip), %r8      # 0x6e868
movq %rax, %rdi
movq %r15, %rdx
movq 0x18(%rsp), %r9
xorl %eax, %eax
pushq %r12
callq 0xc16a
addq $0x10, %rsp
jmp 0x4b832
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
subq $0x8, %rsp
leaq 0x43f3e(%rip), %rsi     # 0x8f86d
leaq 0x42ca4(%rip), %rcx     # 0x8e5da
leaq 0x22f2b(%rip), %r8      # 0x6e868
movq %rax, %rdi
movq %r15, %rdx
movq 0x18(%rsp), %r9
xorl %eax, %eax
pushq %r12
callq 0xc16a
addq $0x10, %rsp
jmp 0x4b832
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
subq $0x8, %rsp
leaq 0x43efb(%rip), %rsi     # 0x8f86d
leaq 0x42c52(%rip), %rcx     # 0x8e5cb
leaq 0x22ee8(%rip), %r8      # 0x6e868
movq %rax, %rdi
movq %r15, %rdx
movq 0x18(%rsp), %r9
xorl %eax, %eax
pushq %r12
callq 0xc16a
addq $0x10, %rsp
jmp 0x4b832
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
subq $0x8, %rsp
leaq 0x43eb8(%rip), %rsi     # 0x8f86d
leaq 0x2ee4b(%rip), %rcx     # 0x7a807
leaq 0x22ea5(%rip), %r8      # 0x6e868
movq %rax, %rdi
movq %r13, %rdx
movq 0x18(%rsp), %r9
xorl %eax, %eax
pushq %r12
callq 0xc16a
addq $0x10, %rsp
jmp 0x4b832
movl $0x4008, %edi           # imm = 0x4008
callq 0x4210
movq %rax, %r14
subq $0x8, %rsp
leaq 0x43e75(%rip), %rsi     # 0x8f86d
leaq 0x4430b(%rip), %rcx     # 0x8fd0a
leaq 0x22e62(%rip), %r8      # 0x6e868
movq %rax, %rdi
movq %r15, %rdx
movq 0x18(%rsp), %r9
xorl %eax, %eax
pushq %r12
callq 0xc16a
addq $0x10, %rsp
jmp 0x4b832
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
jmp 0x4ba39
movq %rax, %rbx
movq %r14, %rdi
callq 0x43c0
movq %rbx, %rdi
callq 0x4960