// File: /workspace/github_c_makefile_star2_O3/Cyan4973[P]FiniteStateEntropy/programs/bench.c
// Function: BMK_benchMem
void BMK_benchMem(chunkParameters_t* chunkP, int nbChunks,
                  const char* inFileName, int benchedSize,
                  U64* totalCompressedSize, double* totalCompressionTime, double* totalDecompressionTime,
                  int nbSymbols, int memLog)
{
    int trial, chunkNb;
    size_t cSize = 0;
    double fastestC = 100000000., fastestD = 100000000.;
    double ratio = 0.;
    U32 crcCheck = 0;
    int nbDecodeLoops = ((100 MB) / (benchedSize+1)) + 1;
    U32 const crcOrig = XXH32(chunkP[0].origBuffer, benchedSize,0);
    size_t (*compressor)(void* dst, size_t, const void* src, size_t, unsigned, unsigned);
    size_t (*decompressor)(void* dst, size_t maxDstSize, const void* cSrc, size_t cSrcSize);
    size_t const nameLength = strlen(inFileName);

    /* Init */
    if (nameLength > 17) inFileName += nameLength-17;   /* display last 17 characters */
    if (nbSymbols == 3) {   /* switch to special mode */
        BMK_benchMem285 (chunkP, nbChunks, inFileName, benchedSize, totalCompressedSize, totalCompressionTime, totalDecompressionTime, memLog);
        return;
    }
    switch(BMK_byteCompressor)
    {
    default:
    case 1:
        compressor = FSE_compress2;
        decompressor = FSE_decompress;
        break;
    case 2:
        compressor = HUF_compress2;
        decompressor = HUF_decompress;
        break;
    case 3:
        compressor = BMK_ZLIBH_compress;
        decompressor = BMK_ZLIBH_decompress;
        break;
    }

    DISPLAY("\r%79s\r", "");
    for (trial = 1; trial <= nbIterations; trial++) {
        int nbLoops = 0;
        clock_t clockStart, clockDuration;

        /* Compression */
        DISPLAY("%1i-%-15.15s : %9i ->\r", trial, inFileName, benchedSize);
        { int i; for (i=0; i<benchedSize; i++) chunkP[0].compressedBuffer[i]=(char)i; }    /* warming up memory */

        clockStart = clock();
        while(clock() == clockStart);
        clockStart = clock();
        while(BMK_clockSpan(clockStart) < TIMELOOP) {
            for (chunkNb=0; chunkNb<nbChunks; chunkNb++) {
                size_t const cBSize = compressor(
                            chunkP[chunkNb].compressedBuffer, FSE_compressBound(chunkP[chunkNb].origSize),
                            chunkP[chunkNb].origBuffer, chunkP[chunkNb].origSize,
                            nbSymbols, memLog);
                if (FSE_isError(cBSize)) {
                    DISPLAY("!!! Error compressing block %i  !!!!  => %s   \n",
                            chunkNb, FSE_getErrorName(cBSize));
                    return;
                }
                chunkP[chunkNb].compressedSize = cBSize;
            }
            nbLoops++;
        }
        clockDuration = BMK_clockSpan(clockStart);
        clockDuration += !clockDuration;  /* to avoid division by zero */

        if ((double)clockDuration < fastestC * nbLoops * CLOCKS_PER_SEC)
            fastestC = (double) clockDuration / CLOCKS_PER_SEC / nbLoops;
        cSize=0;
        for (chunkNb=0; chunkNb<nbChunks; chunkNb++)
            cSize += chunkP[chunkNb].compressedSize ? chunkP[chunkNb].compressedSize : chunkP[chunkNb].origSize;
        ratio = (double)cSize / (double)benchedSize * 100.;

        DISPLAY("%1i-%-15.15s : %9i -> %9i (%5.2f%%),%7.1f MB/s\r",
                 trial, inFileName, (int)benchedSize,
                 (int)cSize, ratio,
                 (double)benchedSize / (1 MB) / fastestC);

        //if (loopNb == nbIterations) DISPLAY("\n"); continue;   /* skip decompression */
        /* Decompression */
        { int i; for (i=0; i<benchedSize; i++) chunkP[0].destBuffer[i]=0; }     /* zeroing area, for CRC checking */

        clockStart = clock();
        while(clock() == clockStart);
        clockStart = clock();
        for (nbLoops=0; nbLoops < nbDecodeLoops; nbLoops++) {
            for (chunkNb=0; chunkNb<nbChunks; chunkNb++) {
                size_t regenSize;

                switch(chunkP[chunkNb].compressedSize)
                {
                case 0:   /* not compressed block; just memcpy() it */
                    regenSize = chunkP[chunkNb].origSize;
                    memcpy(chunkP[chunkNb].destBuffer, chunkP[chunkNb].origBuffer, regenSize);
                    break;
                case 1:   /* single value byte; just memset() it */
                    regenSize = chunkP[chunkNb].origSize;
                    memset(chunkP[chunkNb].destBuffer, chunkP[chunkNb].origBuffer[0], chunkP[chunkNb].origSize);
                    break;
                default:
                    regenSize = decompressor(chunkP[chunkNb].destBuffer, chunkP[chunkNb].origSize,
                                             chunkP[chunkNb].compressedBuffer, chunkP[chunkNb].compressedSize);
                }

                if (0) {  /* debugging => look for wrong bytes */
                    const char* src = chunkP[chunkNb].origBuffer;
                    const char* regen = chunkP[chunkNb].destBuffer;
                    size_t origSize = chunkP[chunkNb].origSize;
                    size_t n;
                    for (n=0; (n<origSize) && (src[n]==regen[n]); n++);
                    if (n<origSize) {
                        DISPLAY("\n!!! %15s : Invalid block %i !!! pos %u/%u\n",
                                inFileName, chunkNb, (U32)n, (U32)origSize);
                        break;
                }   }

                if (regenSize != chunkP[chunkNb].origSize) {
                    DISPLAY("!! Error decompressing block %i of cSize %u !! => (%s)  \n",
                             chunkNb, (U32)chunkP[chunkNb].compressedSize, FSE_getErrorName(regenSize));
                    return;
            }   }
        }
        clockDuration = BMK_clockSpan(clockStart);

        if (clockDuration > 0) {
            if ((double)clockDuration < fastestD * nbDecodeLoops * CLOCKS_PER_SEC)
                fastestD = (double)clockDuration / CLOCKS_PER_SEC / nbDecodeLoops;
            assert(fastestD > 1./1000000000);   /* avoid overflow */
            nbDecodeLoops = (U32)(1. / fastestD) + 1;   /* aims for ~1sec */
        } else {
            assert(nbDecodeLoops < 20000000);  /* avoid overflow */
            nbDecodeLoops *= 100;
        }
        DISPLAY("%1i-%-15.15s : %9i -> %9i (%5.2f%%),%7.1f MB/s ,%7.1f MB/s\r",
                 trial, inFileName, (int)benchedSize,
                 (int)cSize, ratio,
                 (double)benchedSize / (1 MB) / fastestC,
                 (double)benchedSize / (1 MB) / fastestD);

        /* CRC Checking */
        crcCheck = XXH32(chunkP[0].destBuffer, benchedSize, 0);
        if (crcOrig!=crcCheck) {
            const char* src = chunkP[0].origBuffer;
            const char* fin = chunkP[0].destBuffer;
            const char* const srcStart = src;
            while (*src==*fin)
                src++, fin++;
            DISPLAY("\n!!! %15s : Invalid Checksum !!! pos %i/%i\n",
                    inFileName, (int)(src-srcStart), benchedSize);
            break;
    }   }

    if (crcOrig==crcCheck) {
        if (ratio<100.)
            DISPLAY("%-17.17s : %9i -> %9i (%5.2f%%),%7.1f MB/s ,%7.1f MB/s\n",
                     inFileName, (int)benchedSize,
                     (int)cSize, ratio,
                     (double)benchedSize / (1 MB) / fastestC,
                     (double)benchedSize / (1 MB) / fastestD);
        else
            DISPLAY("%-17.17s : %9i -> %9i (%5.1f%%),%7.1f MB/s ,%7.1f MB/s \n",
                     inFileName, (int)benchedSize,
                     (int)cSize, ratio,
                     (double)benchedSize / (1 MB) / fastestC,
                     (double)benchedSize / (1 MB) / fastestD);
    }
    else DISPLAY("\n");
    *totalCompressedSize    += cSize;
    *totalCompressionTime   += fastestC;
    *totalDecompressionTime += fastestD;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r9, 0x48(%rsp)
movq %r8, 0x20(%rsp)
movl %ecx, %r12d
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbp
movl 0x140(%rsp), %eax
movq %rax, 0xc0(%rsp)
movl 0x138(%rsp), %r13d
movq 0x130(%rsp), %rbx
leal 0x1(%r12), %ecx
movl $0x6400000, %eax        # imm = 0x6400000
xorl %edx, %edx
divl %ecx
movq %rax, 0x18(%rsp)
movq 0x8(%rdi), %rdi
movslq %r12d, %rsi
movq %rsi, 0xf0(%rsp)
xorl %edx, %edx
callq 0x549a
movl %eax, 0x2c(%rsp)
movq %r15, %rdi
callq 0x1090
cmpq $0x12, %rax
leaq -0x11(%r15,%rax), %rdx
cmovbq %r15, %rdx
movl %r13d, 0xa4(%rsp)
cmpl $0x3, %r13d
jne 0x2dff
movq %rbp, %rdi
movl %r14d, %esi
movl %r12d, %ecx
movq 0x20(%rsp), %r8
movq 0x48(%rsp), %r9
pushq 0xc0(%rsp)
pushq %rbx
callq 0x11f3
addq $0x108, %rsp            # imm = 0x108
jmp 0x2f1d
movq 0x20(%rsp), %r13
movq %rbx, %rcx
movq 0x48(%rsp), %rbx
movq %rbp, 0xb8(%rsp)
movl %r14d, 0x4(%rsp)
movl 0x172c1(%rip), %eax     # 0x1a0e0
cmpl $0x3, %eax
movq %r12, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
je 0x2e4e
cmpl $0x2, %eax
movq %rbx, %rbp
jne 0x2e71
leaq 0xce2a(%rip), %rax      # 0xfc67
movq %rax, 0x90(%rsp)
leaq 0x9498(%rip), %rax      # 0xc2e4
jmp 0x2e87
leaq -0x129(%rip), %rax      # 0x2d2c
movq %rax, 0x90(%rsp)
leaq -0x147(%rip), %rax      # 0x2d1d
movq %rax, 0x98(%rsp)
movq %rbx, %rbp
jmp 0x2e8f
leaq 0x5c60(%rip), %rax      # 0x8ad8
movq %rax, 0x90(%rsp)
leaq 0x6e8d(%rip), %rax      # 0x9d14
movq %rax, 0x98(%rsp)
movq %rcx, %rbx
movq 0x1715f(%rip), %r14     # 0x19ff8
movq (%r14), %rdi
leaq 0x102a2(%rip), %rsi     # 0x13145
leaq 0x106bb(%rip), %rdx     # 0x13565
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x1110
cmpl $0x0, 0x17231(%rip)     # 0x1a0ec
jg 0x2f28
xorpd %xmm0, %xmm0
movsd 0x1013f(%rip), %xmm4    # 0x13008
movapd %xmm4, %xmm3
xorl %r15d, %r15d
cmpl %r12d, 0x2c(%rsp)
je 0x3429
movapd %xmm4, 0x60(%rsp)
movapd %xmm3, 0x50(%rsp)
movq (%r14), %rsi
movl $0xa, %edi
callq 0x10d0
addq %r15, (%r13)
movapd 0x60(%rsp), %xmm0
addsd (%rbp), %xmm0
movsd %xmm0, (%rbp)
movapd 0x50(%rsp), %xmm0
addsd (%rbx), %xmm0
movsd %xmm0, (%rbx)
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, 0x38(%rsp)
movq 0x18(%rsp), %rax
incl %eax
movq %rax, 0x18(%rsp)
movq 0x8(%rsp), %r12
cvtsi2sd %r12d, %xmm0
movq 0xb8(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0xc8(%rsp)
movsd 0x100c1(%rip), %xmm1    # 0x13020
movsd %xmm0, 0xe8(%rsp)
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
leaq 0x28(%rax), %rcx
movq %rcx, 0x40(%rsp)
movl %r12d, %r13d
movl 0x4(%rsp), %ebx
addq $0x20, %rax
movq %rax, 0xb0(%rsp)
imulq $0x38, %rbx, %rax
movq %rax, 0xe0(%rsp)
movsd 0x10063(%rip), %xmm3    # 0x13008
movl $0x1, %edx
leaq 0x102bb(%rip), %rsi     # 0x1326c
movapd %xmm3, %xmm4
movapd %xmm4, 0x60(%rsp)
movapd %xmm3, 0x50(%rsp)
movq (%r14), %rdi
movq %rdx, 0x30(%rsp)
movq 0x10(%rsp), %rcx
movl %r12d, %r8d
xorl %eax, %eax
callq 0x1110
testl %r12d, %r12d
movq 0xb8(%rsp), %rdx
jle 0x2ff6
xorl %eax, %eax
movq 0x18(%rdx), %rcx
movb %al, (%rcx,%rax)
incq %rax
cmpq %rax, %r13
jne 0x2fe7
callq 0x1070
movq %rax, %r15
callq 0x1070
cmpq %r15, %rax
je 0x2ffe
callq 0x1070
movq %rax, %r15
callq 0x1070
subq %r15, %rax
xorpd %xmm0, %xmm0
cmpq $0x1e847f, %rax         # imm = 0x1E847F
jg 0x30cc
xorl %r14d, %r14d
movq %r15, 0x88(%rsp)
cmpl $0x0, 0x4(%rsp)
jle 0x3099
movq 0xb0(%rsp), %r15
xorl %r12d, %r12d
movq -0x10(%r15), %rdi
movq -0x8(%r15), %rbp
callq 0x9aca
movq -0x18(%r15), %rdx
movq -0x10(%r15), %rcx
movq %rbp, %rdi
movq %rax, %rsi
movl 0xa4(%rsp), %r8d
movq 0xc0(%rsp), %r9
callq *0x98(%rsp)
movq %rax, %rbp
movq %rax, %rdi
callq 0x7712
testl %eax, %eax
jne 0x3475
movq %rbp, (%r15)
incq %r12
addq $0x38, %r15
cmpq %r12, %rbx
jne 0x3045
incl %r14d
callq 0x1070
movq 0x88(%rsp), %r15
subq %r15, %rax
cmpq $0x1e8480, %rax         # imm = 0x1E8480
jl 0x3033
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movq 0x8(%rsp), %r12
movq 0x16f2c(%rip), %r14     # 0x19ff8
movsd %xmm0, 0x70(%rsp)
callq 0x1070
subq %r15, %rax
cmpq $0x1, %rax
adcq $0x0, %rax
cmpl $0x0, 0x4(%rsp)
jle 0x312b
xorl %ecx, %ecx
xorl %r15d, %r15d
movapd 0x60(%rsp), %xmm3
movq 0xb0(%rsp), %rsi
movq 0xe0(%rsp), %rdi
movq 0x30(%rsp), %rdx
movsd 0x70(%rsp), %xmm5
movq (%rsi,%rcx), %r8
testq %r8, %r8
jne 0x311d
movq -0x10(%rsi,%rcx), %r8
addq %r8, %r15
addq $0x38, %rcx
cmpq %rcx, %rdi
jne 0x310f
jmp 0x313f
xorl %r15d, %r15d
movapd 0x60(%rsp), %xmm3
movq 0x30(%rsp), %rdx
movsd 0x70(%rsp), %xmm5
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movapd %xmm3, %xmm1
mulsd %xmm5, %xmm1
movsd 0xfed1(%rip), %xmm4     # 0x13028
mulsd %xmm4, %xmm1
movapd %xmm0, %xmm2
divsd %xmm4, %xmm2
divsd %xmm5, %xmm2
cmpltsd %xmm1, %xmm0
andpd %xmm0, %xmm2
andnpd %xmm3, %xmm0
orpd %xmm2, %xmm0
movapd %xmm0, %xmm3
movq %r15, %xmm2
punpckldq 0xfeb7(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0xfebf(%rip), %xmm2     # 0x13050
movapd %xmm2, %xmm0
unpckhpd %xmm2, %xmm0            # xmm0 = xmm0[1],xmm2[1]
addsd %xmm2, %xmm0
divsd 0xe8(%rsp), %xmm0
mulsd 0xfe6a(%rip), %xmm0     # 0x13018
movq (%r14), %rdi
movsd 0xa8(%rsp), %xmm1
movapd %xmm3, 0x60(%rsp)
divsd %xmm3, %xmm1
leaq 0x100e8(%rip), %rsi     # 0x132b3
movq 0x10(%rsp), %rcx
movl %r12d, %r8d
movl %r15d, %r9d
movapd %xmm0, 0x70(%rsp)
movsd %xmm1, 0xd0(%rsp)
movb $0x2, %al
callq 0x1110
testl %r12d, %r12d
movq 0x40(%rsp), %rdx
jle 0x3207
xorl %eax, %eax
movq (%rdx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
cmpq %rax, %r13
jne 0x31f8
callq 0x1070
movq %rax, %r12
callq 0x1070
cmpq %r12, %rax
je 0x320f
callq 0x1070
movq %rax, 0xd8(%rsp)
movq 0x18(%rsp), %r12
testl %r12d, %r12d
jle 0x32ca
xorl %eax, %eax
movl %eax, 0x88(%rsp)
cmpl $0x0, 0x4(%rsp)
jle 0x32b3
movq 0x40(%rsp), %r14
xorl %r12d, %r12d
movq -0x8(%r14), %rcx
cmpq $0x1, %rcx
je 0x3270
testq %rcx, %rcx
jne 0x3288
movq -0x20(%r14), %rsi
movq -0x18(%r14), %rbp
movq (%r14), %rdi
movq %rbp, %rdx
callq 0x1130
jmp 0x329d
movq -0x20(%r14), %rax
movq -0x18(%r14), %rbp
movq (%r14), %rdi
movzbl (%rax), %esi
movq %rbp, %rdx
callq 0x10c0
jmp 0x329d
movq (%r14), %rdi
movq -0x18(%r14), %rsi
movq -0x10(%r14), %rdx
callq *0x90(%rsp)
movq %rax, %rbp
cmpq -0x18(%r14), %rbp
jne 0x34d7
incq %r12
addq $0x38, %r14
cmpq %r12, %rbx
jne 0x324c
movl 0x88(%rsp), %eax
incl %eax
movq 0x18(%rsp), %r12
cmpl %r12d, %eax
jne 0x3236
callq 0x1070
subq 0xd8(%rsp), %rax
jle 0x3366
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r12d, %xmm1
movapd 0x50(%rsp), %xmm4
movapd %xmm4, %xmm2
mulsd %xmm1, %xmm2
movsd 0xfd25(%rip), %xmm5     # 0x13028
mulsd %xmm5, %xmm2
movapd %xmm0, %xmm3
divsd %xmm5, %xmm3
divsd %xmm1, %xmm3
cmpltsd %xmm2, %xmm0
andpd %xmm0, %xmm3
andnpd %xmm4, %xmm0
orpd %xmm3, %xmm0
ucomisd 0xfd04(%rip), %xmm0     # 0x13030
movq 0x48(%rsp), %rbp
movq 0x8(%rsp), %r8
movq 0x16cbb(%rip), %r14     # 0x19ff8
jbe 0x3574
movsd 0xfced(%rip), %xmm1     # 0x13038
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
incl %eax
movq %rax, 0x18(%rsp)
movapd %xmm0, %xmm1
movaps 0x70(%rsp), %xmm0
jmp 0x3398
cmpl $0x1312d00, %r12d       # imm = 0x1312D00
movq 0x48(%rsp), %rbp
movq 0x8(%rsp), %r8
movapd 0x50(%rsp), %xmm1
movq 0x16c74(%rip), %r14     # 0x19ff8
movaps 0x70(%rsp), %xmm0
jge 0x3555
imull $0x64, %r12d, %r12d
movq %r12, 0x18(%rsp)
movq (%r14), %rdi
movsd 0xa8(%rsp), %xmm2
movapd %xmm1, 0x50(%rsp)
divsd %xmm1, %xmm2
leaq 0x10006(%rip), %rsi     # 0x133bb
movq 0x30(%rsp), %rdx
movq 0x10(%rsp), %rcx
movl %r15d, %r9d
movsd 0xd0(%rsp), %xmm1
movb $0x3, %al
callq 0x1110
movq 0x40(%rsp), %rax
movq (%rax), %rdi
movq 0xf0(%rsp), %rsi
xorl %edx, %edx
callq 0x549a
cmpl %eax, 0x2c(%rsp)
jne 0x3518
movq 0x30(%rsp), %rcx
leal 0x1(%rcx), %eax
cmpl 0x16ceb(%rip), %ecx     # 0x1a0ec
movl %eax, %edx
movq 0x8(%rsp), %r12
movapd 0x50(%rsp), %xmm3
movapd 0x60(%rsp), %xmm4
leaq 0xfe51(%rip), %rsi      # 0x1326c
movapd 0x70(%rsp), %xmm0
jl 0x2fb5
jmp 0x3433
movq %rbx, 0x38(%rsp)
movq 0x8(%rsp), %r12
movsd 0xfbdd(%rip), %xmm1     # 0x13018
ucomisd %xmm0, %xmm1
xorps %xmm2, %xmm2
cvtsi2sd %r12d, %xmm2
mulsd 0xfbd1(%rip), %xmm2     # 0x13020
movq (%r14), %rdi
movapd %xmm2, %xmm1
movapd %xmm4, 0x60(%rsp)
divsd %xmm4, %xmm1
movapd %xmm3, 0x50(%rsp)
divsd %xmm3, %xmm2
jbe 0x34af
leaq 0xffb0(%rip), %rsi      # 0x13423
jmp 0x34b6
movq 0x16b7c(%rip), %rax     # 0x19ff8
movq (%rax), %rbx
movq %rbp, %rdi
callq 0x771c
leaq 0xfdf5(%rip), %rsi      # 0x13283
movq %rbx, %rdi
movl %r12d, %edx
movq %rax, %rcx
xorl %eax, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1110
leaq 0xffa5(%rip), %rsi      # 0x1345b
movq 0x10(%rsp), %rdx
movl %r12d, %ecx
movl %r15d, %r8d
movb $0x3, %al
callq 0x1110
movq 0x38(%rsp), %rbx
movq 0x20(%rsp), %r13
jmp 0x2ef4
movq 0x16b1a(%rip), %rax     # 0x19ff8
movq (%rax), %rbx
movl -0x8(%r14), %r14d
movq %rbp, %rdi
callq 0x771c
leaq 0xfdef(%rip), %rsi      # 0x132e3
movq %rbx, %rdi
movl %r12d, %edx
movl %r14d, %ecx
movq %rax, %r8
xorl %eax, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1110
movl %eax, %r12d
movq 0xc8(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rcx
callq 0x16f2
movq 0x38(%rsp), %rbx
movq 0x20(%rsp), %r13
movaps 0x50(%rsp), %xmm3
movaps 0x60(%rsp), %xmm4
movaps 0x70(%rsp), %xmm0
jmp 0x2ed0
leaq 0xfe46(%rip), %rdi      # 0x133a2
leaq 0xfdd3(%rip), %rsi      # 0x13336
leaq 0xfdd4(%rip), %rcx      # 0x1333e
movl $0x1b2, %edx            # imm = 0x1B2
callq 0x10b0
leaq 0xfda2(%rip), %rdi      # 0x1331d
leaq 0xfdb4(%rip), %rsi      # 0x13336
leaq 0xfdb5(%rip), %rcx      # 0x1333e
movl $0x1af, %edx            # imm = 0x1AF
callq 0x10b0