// File: /workspace/github_c_makefile_star2_O2/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, 0x68(%rsp)
movq %r8, 0xb8(%rsp)
movl %ecx, %ebx
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %rbp
movl 0x140(%rsp), %eax
movq %rax, 0xc8(%rsp)
movl 0x138(%rsp), %r13d
movq 0x130(%rsp), %rax
movq %rax, 0xc0(%rsp)
leal 0x1(%rbx), %ecx
movl $0x6400000, %eax        # imm = 0x6400000
xorl %edx, %edx
divl %ecx
movq %rax, 0x8(%rsp)
movq 0x8(%rdi), %rdi
movslq %ebx, %r12
movq %r12, %rsi
xorl %edx, %edx
callq 0x4968
movl %eax, 0x10(%rsp)
movq %r15, %rdi
callq 0x1090
cmpq $0x12, %rax
leaq -0x11(%r15,%rax), %rdx
cmovbq %r15, %rdx
cmpl $0x3, %r13d
jne 0x1820
movq %rbp, %rdi
movl %r14d, %esi
movl %ebx, %ecx
movq 0xb8(%rsp), %r8
movq 0x68(%rsp), %r9
pushq 0xc8(%rsp)
pushq 0xc8(%rsp)
callq 0x12f0
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rsi
movq %r12, 0xf0(%rsp)
movq %rbx, 0x30(%rsp)
movl 0x148a8(%rip), %eax     # 0x160e0
cmpl $0x3, %eax
movq %rdx, 0x18(%rsp)
movl %r13d, 0x7c(%rsp)
je 0x1864
cmpl $0x2, %eax
movq %rsi, %rax
jne 0x1881
leaq 0xb186(%rip), %rcx      # 0xc9dc
movq %rcx, 0x58(%rsp)
leaq 0x880e(%rip), %rcx      # 0xa070
jmp 0x1894
leaq -0x127(%rip), %rax      # 0x1744
movq %rax, 0x58(%rsp)
leaq -0x142(%rip), %rax      # 0x1735
movq %rax, 0x70(%rsp)
movq %rsi, %rax
jmp 0x1899
leaq 0x5be6(%rip), %rcx      # 0x746e
movq %rcx, 0x58(%rsp)
leaq 0x6ac8(%rip), %rcx      # 0x835c
movq %rcx, 0x70(%rsp)
incl %eax
movq %rax, 0x8(%rsp)
movq 0x14751(%rip), %rax     # 0x15ff8
movq (%rax), %rdi
leaq 0xd7d4(%rip), %rsi      # 0xf085
leaq 0xdbed(%rip), %rdx      # 0xf4a5
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x1110
movq 0x30(%rsp), %r9
cvtsi2sd %r9d, %xmm4
movsd 0xd74d(%rip), %xmm2     # 0xf020
mulsd %xmm4, %xmm2
leaq 0x28(%rbp), %rax
movq %rax, 0x60(%rsp)
testl %r9d, %r9d
movl $0x0, %r13d
cmovgl %r9d, %r13d
testl %r14d, %r14d
cmovlel %ebx, %r14d
leaq 0x20(%rbp), %rbx
imulq $0x38, %r14, %rdi
pushq $0x1
popq %rdx
xorpd %xmm0, %xmm0
movq 0xd6fd(%rip), %xmm5     # 0xf008
leaq 0xd89a(%rip), %rsi      # 0xf1ac
movsd 0xd6fe(%rip), %xmm1     # 0xf018
movdqa %xmm5, %xmm3
xorl %eax, %eax
xorl %r8d, %r8d
movl 0x10(%rsp), %ecx
cmpl 0x147bf(%rip), %edx     # 0x160ec
jg 0x1dc3
movq %rdi, 0xa0(%rsp)
movsd %xmm4, 0xa8(%rsp)
movdqa %xmm3, 0x40(%rsp)
movsd %xmm2, 0x28(%rsp)
movdqa %xmm5, 0x80(%rsp)
movq 0x14698(%rip), %rax     # 0x15ff8
movq (%rax), %rdi
movl %edx, 0x24(%rsp)
movq 0x18(%rsp), %rcx
movl %r9d, %r8d
xorl %eax, %eax
callq 0x1110
xorl %eax, %eax
cmpq %rax, %r13
je 0x1989
movq 0x18(%rbp), %rcx
movb %al, (%rcx,%rax)
incq %rax
jmp 0x1978
callq 0x1070
movq %rax, %r15
callq 0x1070
cmpq %r15, %rax
je 0x1991
xorl %r15d, %r15d
callq 0x1070
movq %rax, 0x38(%rsp)
movq %rbx, 0xb0(%rsp)
callq 0x1070
subq 0x38(%rsp), %rax
cmpq $0x1e847f, %rax         # imm = 0x1E847F
jg 0x1a2c
movl %r15d, 0x14(%rsp)
xorl %r12d, %r12d
cmpq %r12, %r14
je 0x1a1a
movq -0x10(%rbx), %rdi
movq -0x8(%rbx), %r15
callq 0x816f
movq -0x18(%rbx), %rdx
movq -0x10(%rbx), %rcx
movq %r15, %rdi
movq %rax, %rsi
movl 0x7c(%rsp), %r8d
movq 0xc8(%rsp), %r9
callq *0x70(%rsp)
movq %rax, %r15
movq %rax, %rdi
callq 0x67fa
testl %eax, %eax
jne 0x1d89
movq %r15, (%rbx)
incq %r12
addq $0x38, %rbx
jmp 0x19ca
movl 0x14(%rsp), %r15d
incl %r15d
movq 0xb0(%rsp), %rbx
jmp 0x19b0
callq 0x1070
subq 0x38(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
cvtsi2sd %rax, %xmm6
cvtsi2sd %r15d, %xmm3
movapd 0x80(%rsp), %xmm4
movapd %xmm4, %xmm2
mulsd %xmm3, %xmm2
movsd 0xd5c7(%rip), %xmm5     # 0xf028
mulsd %xmm5, %xmm2
movapd %xmm6, %xmm1
divsd %xmm5, %xmm1
divsd %xmm3, %xmm1
xorl %eax, %eax
xorl %r9d, %r9d
movq 0x30(%rsp), %r8
movq 0xa0(%rsp), %rdi
movl 0x24(%rsp), %edx
movq 0xd5b1(%rip), %xmm3     # 0xf040
movapd 0xd5b9(%rip), %xmm5     # 0xf050
leaq 0xd755(%rip), %rsi      # 0xf1f3
cmpq %rax, %rdi
je 0x1aba
movq (%rbx,%rax), %rcx
testq %rcx, %rcx
jne 0x1ab1
movq -0x10(%rbx,%rax), %rcx
addq %rcx, %r9
addq $0x38, %rax
jmp 0x1a9e
cmpltsd %xmm2, %xmm6
andpd %xmm6, %xmm1
andnpd %xmm4, %xmm6
orpd %xmm1, %xmm6
movapd %xmm6, 0x80(%rsp)
movq %r9, %xmm1
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
subpd %xmm5, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
divsd 0xa8(%rsp), %xmm0
mulsd 0xd51a(%rip), %xmm0     # 0xf018
movq 0x144f3(%rip), %rax     # 0x15ff8
movq (%rax), %rdi
movsd 0x28(%rsp), %xmm1
divsd %xmm6, %xmm1
movq 0x18(%rsp), %rcx
movq %r9, 0x98(%rsp)
movapd %xmm0, 0xd0(%rsp)
movsd %xmm1, 0xe0(%rsp)
movb $0x2, %al
callq 0x1110
xorl %eax, %eax
cmpq %rax, %r13
je 0x1b50
movq 0x60(%rsp), %rcx
movq (%rcx), %rcx
movb $0x0, (%rcx,%rax)
incq %rax
jmp 0x1b3a
callq 0x1070
movq %rax, %r15
callq 0x1070
cmpq %r15, %rax
je 0x1b58
callq 0x1070
movq %rax, 0xe8(%rsp)
xorl %ecx, %ecx
movq 0x8(%rsp), %rax
testl %eax, %eax
movl $0x0, %edx
cmovgl %eax, %edx
movl %edx, 0x38(%rsp)
movl %ecx, 0x14(%rsp)
cmpl 0x38(%rsp), %ecx
je 0x1c03
movq 0x60(%rsp), %r15
xorl %ebx, %ebx
cmpq %rbx, %r14
je 0x1bfb
movq -0x8(%r15), %rcx
cmpq $0x1, %rcx
je 0x1bbe
testq %rcx, %rcx
jne 0x1bd6
movq -0x20(%r15), %rsi
movq -0x18(%r15), %r12
movq (%r15), %rdi
movq %r12, %rdx
callq 0x1130
jmp 0x1be8
movq -0x20(%r15), %rax
movq -0x18(%r15), %r12
movq (%r15), %rdi
movzbl (%rax), %esi
movq %r12, %rdx
callq 0x10c0
jmp 0x1be8
movq (%r15), %rdi
movq -0x18(%r15), %rsi
movq -0x10(%r15), %rdx
callq *0x58(%rsp)
movq %rax, %r12
cmpq -0x18(%r15), %r12
jne 0x1e38
incq %rbx
addq $0x38, %r15
jmp 0x1b95
movl 0x14(%rsp), %ecx
incl %ecx
jmp 0x1b84
callq 0x1070
subq 0xe8(%rsp), %rax
jle 0x1c82
cvtsi2sd %rax, %xmm0
cvtsi2sdl 0x8(%rsp), %xmm1
movapd 0x40(%rsp), %xmm4
movapd %xmm4, %xmm2
mulsd %xmm1, %xmm2
movsd 0xd3f5(%rip), %xmm5     # 0xf028
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 0xd3d4(%rip), %xmm0     # 0xf030
jbe 0x1f1b
movsd 0xd3ce(%rip), %xmm1     # 0xf038
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
incl %eax
movq %rax, 0x8(%rsp)
movapd %xmm0, 0x40(%rsp)
jmp 0x1c9d
cmpl $0x1312d00, 0x8(%rsp)   # imm = 0x1312D00
jge 0x1f3a
movq 0x8(%rsp), %rax
imull $0x64, %eax, %eax
movq %rax, 0x8(%rsp)
movq 0x14354(%rip), %rax     # 0x15ff8
movq (%rax), %rdi
movsd 0x28(%rsp), %xmm2
divsd 0x40(%rsp), %xmm2
leaq 0xd641(%rip), %rsi      # 0xf2fb
movl 0x24(%rsp), %r15d
movl %r15d, %edx
movq 0x18(%rsp), %rcx
movq 0x30(%rsp), %rbx
movl %ebx, %r8d
movq 0x98(%rsp), %r12
movl %r12d, %r9d
movaps 0xd0(%rsp), %xmm0
movsd 0xe0(%rsp), %xmm1
movb $0x3, %al
callq 0x1110
movq 0x60(%rsp), %rax
movq (%rax), %rdi
movq 0xf0(%rsp), %rsi
xorl %edx, %edx
callq 0x4968
movapd 0xd0(%rsp), %xmm0
movq %r12, %r8
movl %r15d, %edx
movdqa 0x40(%rsp), %xmm3
movsd 0x28(%rsp), %xmm2
movq %rbx, %r9
movl %eax, %r15d
incl %edx
movl 0x10(%rsp), %ecx
movl %ecx, %eax
cmpl %r15d, %ecx
movdqa 0x80(%rsp), %xmm5
movsd 0xd2d2(%rip), %xmm1     # 0xf018
movsd 0xa8(%rsp), %xmm4
movq 0xb0(%rsp), %rbx
movq 0xa0(%rsp), %rdi
leaq 0xd446(%rip), %rsi      # 0xf1ac
je 0x1927
movq 0x8(%rbp), %rax
movq 0x28(%rbp), %rdx
xorl %ecx, %ecx
movb (%rax,%rcx), %sil
cmpb (%rdx,%rcx), %sil
jne 0x1eba
incq %rcx
jmp 0x1d76
movq 0x14268(%rip), %rax     # 0x15ff8
movq (%rax), %rbx
movq %r15, %rdi
callq 0x6804
leaq 0xd421(%rip), %rsi      # 0xf1c3
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
movl %eax, %r15d
movq 0x68(%rsp), %rbx
cmpl %r15d, %ecx
movq 0xc0(%rsp), %r14
movq 0xb8(%rsp), %r15
movdqa %xmm5, 0x80(%rsp)
movdqa %xmm3, 0x40(%rsp)
je 0x1e77
movq %r8, %r12
movq 0x141fb(%rip), %rax     # 0x15ff8
movq (%rax), %rsi
pushq $0xa
popq %rdi
callq 0x10d0
addq %r12, (%r15)
movapd 0x80(%rsp), %xmm0
addsd (%rbx), %xmm0
movsd %xmm0, (%rbx)
movapd 0x40(%rsp), %xmm0
addsd (%r14), %xmm0
movsd %xmm0, (%r14)
addq $0xf8, %rsp
jmp 0x1815
movq 0x141b9(%rip), %rax     # 0x15ff8
movq (%rax), %r14
movl -0x8(%r15), %ebp
movq %r12, %rdi
callq 0x6804
leaq 0xd3ce(%rip), %rsi      # 0xf223
movq %r14, %rdi
movl %ebx, %edx
movl %ebp, %ecx
movq %rax, %r8
xorl %eax, %eax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1110
ucomisd %xmm0, %xmm1
movq 0x14176(%rip), %rax     # 0x15ff8
movq (%rax), %rdi
movapd %xmm2, %xmm1
divsd %xmm5, %xmm1
divsd %xmm3, %xmm2
jbe 0x1e9c
leaq 0xd4c9(%rip), %rsi      # 0xf363
jmp 0x1ea3
leaq 0xd4f8(%rip), %rsi      # 0xf39b
movq 0x18(%rsp), %rdx
movl %r9d, %ecx
movq %r8, %r12
movb $0x3, %al
callq 0x1110
jmp 0x1e08
movq 0x14137(%rip), %rax     # 0x15ff8
movq (%rax), %rdi
leaq 0xd46c(%rip), %rsi      # 0xf337
movq 0x18(%rsp), %rdx
movq 0x30(%rsp), %rbx
movl %ebx, %r8d
xorl %eax, %eax
callq 0x1110
movq %rbx, %r9
movq 0x68(%rsp), %rbx
movl 0x10(%rsp), %ecx
movaps 0x80(%rsp), %xmm5
movsd 0x28(%rsp), %xmm2
movaps 0x40(%rsp), %xmm3
movsd 0xd112(%rip), %xmm1     # 0xf018
movq 0x98(%rsp), %r8
movaps 0xd0(%rsp), %xmm0
jmp 0x1dcb
leaq 0xd33b(%rip), %rdi      # 0xf25d
leaq 0xd34d(%rip), %rsi      # 0xf276
leaq 0xd34e(%rip), %rcx      # 0xf27e
movl $0x1af, %edx            # imm = 0x1AF
callq 0x10b0
leaq 0xd3a1(%rip), %rdi      # 0xf2e2
leaq 0xd32e(%rip), %rsi      # 0xf276
leaq 0xd32f(%rip), %rcx      # 0xf27e
movl $0x1b2, %edx            # imm = 0x1B2
callq 0x10b0