// File: /workspace/github_c_makefile_star2_O3/skeeto[P]hash-prospector/hp16.c
// Function: main
int
main(int argc, char **argv)
{
    char *ptr;
    int n = 0;
    int exclude = 0;
    enum {
        MODE_HASH, MODE_SMART, MODE_XORMUL, MODE_SBOX, MODE_AXS
    } mode = MODE_HASH;
    unsigned long tmp;
    struct hf_op ops[1+2*OPS_MAX] = {{HF16_SBOX, 0}};

    int option;
    while ((option = xgetopt(argc, argv, "AHhImn:rSX")) != -1) {
        switch (option) {
        case 'A':
            mode = MODE_AXS;
            break;
        case 'H':
            mode = MODE_HASH;
            break;
        case 'h':
            usage(stdout);
            return 0;
        case 'I':
            mode = MODE_SMART;
            break;
        case 'm':
            exclude |= 1<<HF16_MUL;
            break;
        case 'n':
            tmp = strtoul(xoptarg, &ptr, 10);
            if (!tmp || *ptr || tmp > OPS_MAX) {
                fprintf(stderr, "fatal: invalid n, %s\n", xoptarg);
                usage(stderr);
                return 1;
            }
            n = tmp;
            break;
        case 'r':
            exclude |= 1<<HF16_ROT;
            break;
        case 'S':
            mode = MODE_SBOX;
            break;
        case 'X':
            mode = MODE_XORMUL;
            break;
        case '?':
            usage(stderr);
            return 1;
        }
    }

    switch (mode) {
    case MODE_HASH:
    case MODE_SMART:  n = n ? n : 7; break;
    case MODE_XORMUL: n = n ? 1 + 2*n : 5; break;
    case MODE_SBOX:   sbox_init(); n = 1; break;
    case MODE_AXS:    break;
    }

    double best = 1;
    unsigned long long s[1] = {hash64(time(0))};

    if (mode == MODE_AXS) {
        #pragma omp parallel for
        for (long i = 0; i < AXS_COUNT; i++) {
            struct hf_op hf[AXS_SIZE];
            hf_genaxs(hf, i);
            double r = score(hf, AXS_SIZE);
            #pragma omp critical
            if (r < best) {
                best = r;
                printf("// bias = %.17g\n", r);
                hf_print(hf, AXS_SIZE, stdout);
                fputc('\n', stdout);
                fflush(stdout);
            }
        }
        return 0;
    }

    for (;;) {
        *s += hash64(time(0));
        switch (mode) {
        case MODE_HASH:
            do {
                hf_genfunc(ops, n, s);
            } while (match(ops, n, exclude));
            break;
        case MODE_SMART:
            do {
                hf_gensmart(ops, n, s);
            } while (match(ops, n, exclude));
            break;
        case MODE_XORMUL:
            hf_genxormul(ops, (n-1)/2, s);
            break;
        case MODE_SBOX:
            sbox_shuffle(s);
            break;
        case MODE_AXS:
            abort();
        }
        *s -= hash64(clock());

        double r = score(ops, n);
        if (r < best) {
            switch (mode) {
            case MODE_HASH:
            case MODE_SMART:
            case MODE_XORMUL:
                printf("// bias = %.17g\n", r);
                hf_print(ops, n, stdout);
                fputc('\n', stdout);
                break;
            case MODE_SBOX:
                fprintf(stdout, "// bias = %.17g\n", r);
                sbox_print(stdout);
                fputc('\n', stdout);
                fprintf(stderr, "// bias = %.17g\n", r);
                fflush(stderr);
                break;
            case MODE_AXS:
                abort();
            }
            fflush(stdout);
            best = r;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %rsi, %r14
leaq 0xb0(%rsp), %rbx
movl $0x0, 0x8(%rsp)
movl $0x208, %edx            # imm = 0x208
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1070
movl $0x9, (%rbx)
movl 0x3dc0(%rip), %r13d     # 0x509c
movl $0x0, 0x4(%rsp)
movq $0x0, 0x10(%rsp)
testl %r13d, %r13d
jne 0x1306
movl $0x1, %r13d
movl %r13d, 0x3d9d(%rip)     # 0x509c
movl %r13d, 0x3d92(%rip)     # 0x5098
movslq %r13d, %rbx
movq (%r14,%rbx,8), %r15
testq %r15, %r15
je 0x14f8
cmpb $0x2d, (%r15)
jne 0x14f8
movsbq 0x1(%r15), %r12
cmpq $0x2d, %r12
jne 0x1336
cmpb $0x0, 0x2(%r15)
je 0x14ee
callq 0x1100
movq (%rax), %rax
testb $0x8, (%rax,%r12,2)
je 0x14f8
movslq 0x3d48(%rip), %r12      # 0x5098
movsbl (%r15,%r12), %ebp
movl $0xb, %edx
leaq 0x1d9b(%rip), %rdi      # 0x30fc
movl %ebp, %esi
callq 0x1090
testq %rax, %rax
je 0x17af
cmpb $0x3a, 0x1(%rax)
jne 0x138b
addq %r12, %r15
cmpb $0x0, 0x1(%r15)
je 0x13a5
incq %r15
movl $0x1, %eax
jmp 0x13b8
leaq 0x1(%r12), %rax
movl %eax, 0x3d02(%rip)      # 0x5098
cmpb $0x0, 0x1(%r15,%r12)
jne 0x13d3
movl $0x1, %eax
jmp 0x13bf
movq 0x8(%r14,%rbx,8), %r15
movl $0x2, %eax
testq %r15, %r15
je 0x17e9
movq %r15, 0x3cf1(%rip)      # 0x50b0
addl %eax, %r13d
movl %r13d, 0x3cd3(%rip)     # 0x509c
movl $0x1, 0x3cc5(%rip)      # 0x5098
movzbl %bpl, %eax
cmpl $0x57, %eax
jle 0x13f9
cmpl $0x6d, %eax
jg 0x141d
cmpl $0x58, %eax
je 0x1450
cmpl $0x6d, %eax
jne 0x14c5
orl $0x2, 0x4(%rsp)
jmp 0x12ed
cmpl $0x48, %eax
jg 0x1435
cmpl $0x41, %eax
je 0x14ab
cmpl $0x48, %eax
jne 0x14e0
movl $0x0, 0x8(%rsp)
jmp 0x12ed
cmpl $0x6e, %eax
je 0x145d
cmpl $0x72, %eax
jne 0x14d3
orl $0x8, 0x4(%rsp)
jmp 0x12ed
cmpl $0x49, %eax
je 0x14b8
cmpl $0x53, %eax
jne 0x12ed
movl $0x3, 0x8(%rsp)
jmp 0x12ed
movl $0x2, 0x8(%rsp)
jmp 0x12ed
movq 0x3c4c(%rip), %rdi      # 0x50b0
leaq 0xa8(%rsp), %rsi
movl $0xa, %edx
callq 0x10d0
testq %rax, %rax
je 0x17e2
cmpq $0x20, %rax
ja 0x17e2
movq 0xa8(%rsp), %rcx
cmpb $0x0, (%rcx)
jne 0x17e2
movq %rax, 0x10(%rsp)
movl 0x3bf6(%rip), %r13d     # 0x509c
jmp 0x12ed
movl $0x4, 0x8(%rsp)
jmp 0x12ed
movl $0x1, 0x8(%rsp)
jmp 0x12ed
cmpl $0x68, %eax
jne 0x12ed
jmp 0x179e
cmpl $0xff, %eax
jne 0x12ed
jmp 0x14f8
cmpl $0x3f, %eax
jne 0x12ed
jmp 0x17cc
incl %r13d
movl %r13d, 0x3ba4(%rip)     # 0x509c
movl 0x8(%rsp), %ebx
cmpl $0x2, %ebx
jb 0x1543
movq 0x10(%rsp), %r15
je 0x1557
cmpl $0x3, %ebx
jne 0x1569
movdqa 0x1afb(%rip), %xmm0     # 0x3010
xorl %eax, %eax
leaq 0x3ba2(%rip), %rcx      # 0x50c0
movdqa 0x1afa(%rip), %xmm1     # 0x3020
movdqa %xmm0, (%rax,%rcx)
paddw %xmm1, %xmm0
addq $0x10, %rax
cmpq $0x20000, %rax          # imm = 0x20000
jne 0x1526
movl $0x1, %r15d
jmp 0x1569
movq 0x10(%rsp), %rcx
testl %ecx, %ecx
movl $0x7, %eax
cmovnel %ecx, %eax
movl %eax, %r15d
jmp 0x1569
testl %r15d, %r15d
leal 0x1(%r15,%r15), %eax
movl $0x5, %r15d
cmovnel %eax, %r15d
xorl %r12d, %r12d
xorl %edi, %edi
callq 0x10b0
cmpl $0x4, %ebx
jne 0x17f2
leaq 0x64(%rsp), %r15
movsd 0x1aa7(%rip), %xmm0     # 0x3030
movsd %xmm0, 0x8(%rsp)
movl $0xffff, %r14d          # imm = 0xFFFF
movl $0xbc87e289, %r13d      # imm = 0xBC87E289
leaq 0x60(%rsp), %rbx
movq 0x3a31(%rip), %rbp      # 0x4fd8
movl %r12d, %eax
movq %rax, %rcx
movl $0x88888889, %edx       # imm = 0x88888889
imulq %rdx, %rcx
shrq $0x23, %rcx
leal (%rcx,%rcx,4), %edx
leal (%rdx,%rdx,2), %edx
negl %edx
addl %r12d, %edx
incl %edx
movl %edx, 0x30(%rsp)
imulq $0x22222223, %rcx, %rdx # imm = 0x22222223
shrq $0x21, %rdx
leal (%rdx,%rdx,4), %edx
leal (%rdx,%rdx,2), %edx
negl %edx
addl %edx, %ecx
incl %ecx
movl %ecx, 0x34(%rsp)
movq %rax, %rcx
movl $0x91a2b3c5, %edx       # imm = 0x91A2B3C5
imulq %rdx, %rcx
shrq $0x27, %rcx
imulq $0x11111112, %rcx, %rdx # imm = 0x11111112
shrq $0x20, %rdx
leal (%rdx,%rdx,4), %edx
leal (%rdx,%rdx,2), %edx
subl %edx, %ecx
incl %ecx
movl %ecx, 0x38(%rsp)
imulq $0x36b06e71, %rax, %rcx # imm = 0x36B06E71
shrq $0x20, %rcx
movl %r12d, %edx
subl %ecx, %edx
shrl %edx
addl %ecx, %edx
shrl $0xb, %edx
movl %edx, %ecx
andl %r14d, %ecx
imull $0x8889, %ecx, %ecx     # imm = 0x8889
shrl $0x13, %ecx
leal (%rcx,%rcx,4), %ecx
leal (%rcx,%rcx,2), %ecx
negl %ecx
addl %edx, %ecx
incl %ecx
andl %r14d, %ecx
movl %ecx, 0x3c(%rsp)
imulq $0x52d9b70d, %rax, %rcx # imm = 0x52D9B70D
shrq $0x2e, %rcx
movl %ecx, %edx
andl %r14d, %edx
imull $0x8889, %edx, %edx     # imm = 0x8889
shrl $0x13, %edx
leal (%rdx,%rdx,4), %edx
leal (%rdx,%rdx,2), %edx
negl %edx
addl %edx, %ecx
incl %ecx
andl %r14d, %ecx
movl %ecx, 0x40(%rsp)
imulq $0x585fb23, %rax, %rcx  # imm = 0x585FB23
shrq $0x2e, %rcx
movzbl %cl, %edx
imull $0x89, %edx, %edx
shrl $0xb, %edx
leal (%rdx,%rdx,4), %edx
leal (%rdx,%rdx,2), %edx
subb %dl, %cl
incb %cl
movzbl %cl, %ecx
movl %ecx, 0x44(%rsp)
imulq %r13, %rax
movq %rax, %rcx
shrq $0x37, %rcx
andl $0x1, %ecx
movl %ecx, 0x54(%rsp)
movq %rax, %rcx
shrq $0x38, %rcx
andl $0x1, %ecx
movl %ecx, 0x58(%rsp)
shrq $0x39, %rax
leal -0x2(%rax), %ecx
xorl %edx, %edx
xorl %esi, %esi
cmpq $0x56e7508, %r12        # imm = 0x56E7508
setb %dl
cmovbl %eax, %ecx
movl %ecx, 0x5c(%rsp)
setae %sil
leaq (%r15,%rdx,8), %rax
leaq (%r15,%rsi,8), %rcx
movq $-0x2, %rdx
cmpl $0x1, 0x58(%rsp,%rdx,2)
movl $0x0, %esi
adcl $0x7, %esi
movl %esi, 0xc(%rcx,%rdx,8)
movl 0x38(%rsp,%rdx,4), %esi
movl %esi, 0x10(%rcx,%rdx,8)
movl $0x6, 0xc(%rax,%rdx,8)
movl 0x3c(%rsp,%rdx,4), %esi
movl %esi, 0x10(%rax,%rdx,8)
addq $0x2, %rdx
cmpq $0x4, %rdx
jb 0x16ea
movq %rbx, %rdi
movl $0x6, %esi
callq 0x1ec8
movapd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x177a
leaq 0x19dc(%rip), %rdi      # 0x311d
movapd %xmm1, %xmm0
movb $0x1, %al
movsd %xmm1, 0x8(%rsp)
callq 0x1050
movq (%rbp), %rdx
movq %rbx, %rdi
movl $0x6, %esi
callq 0x1fd7
movq (%rbp), %rsi
movl $0xa, %edi
callq 0x1080
movq (%rbp), %rdi
callq 0x10c0
incq %r12
cmpq $0xadcea10, %r12        # imm = 0xADCEA10
jne 0x15a7
xorl %eax, %eax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3833(%rip), %rax      # 0x4fd8
movq (%rax), %rdi
callq 0x1dc9
jmp 0x178a
leaq 0x1978(%rip), %rsi      # 0x312e
movq 0x383b(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
movq (%r14), %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x10a0
movq 0x3825(%rip), %rax      # 0x4ff8
movq (%rax), %rdi
callq 0x1dc9
movl $0x1, %eax
jmp 0x178c
callq 0x1120
jmp 0x17db
leaq 0x1956(%rip), %rsi      # 0x3146
jmp 0x17b6
movabsq $0x7c3c3267d015ceb5, %r12 # imm = 0x7C3C3267D015CEB5
movabsq $0x25b751109e05be63, %rdx # imm = 0x25B751109E05BE63
movabsq $0x2330e1453ed4b9b9, %rsi # imm = 0x2330E1453ED4B9B9
movq %rax, %rcx
shrq $0x20, %rcx
xorq %rax, %rcx
imulq %rdx, %rcx
movq %rcx, %rax
shrq $0x20, %rax
xorq %rcx, %rax
imulq %rsi, %rax
movq %rax, %r13
shrq $0x20, %r13
xorq %rax, %r13
leal -0x1(%r15), %eax
shrl $0x1f, %eax
addl %r15d, %eax
decl %eax
sarl %eax
movq %rax, 0x98(%rsp)
movl %r15d, %eax
movq %rax, 0x18(%rsp)
movsd 0x17d4(%rip), %xmm0     # 0x3030
movsd %xmm0, 0x28(%rsp)
movl %ebx, %eax
leaq 0x17dd(%rip), %rcx      # 0x3048
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
movq %rax, 0xa0(%rsp)
leaq 0x60(%rsp), %r14
leaq 0x17d6(%rip), %rbp      # 0x305c
movq %r15, 0x10(%rsp)
xorl %edi, %edi
callq 0x10b0
movq %rax, %rcx
shrq $0x20, %rcx
xorq %rax, %rcx
movabsq $0x25b751109e05be63, %rax # imm = 0x25B751109E05BE63
imulq %rax, %rcx
movq %rcx, %rdx
shrq $0x20, %rdx
xorq %rcx, %rdx
movabsq $0x2330e1453ed4b9b9, %rax # imm = 0x2330E1453ED4B9B9
imulq %rax, %rdx
movq %rdx, %rax
shrq $0x20, %rax
xorq %rdx, %rax
addq %r13, %rax
movq %rax, 0x60(%rsp)
jmpq *0xa0(%rsp)
testl %r15d, %r15d
jle 0x1cce
xorl %r15d, %r15d
movq 0x60(%rsp), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movq %rax, %rdx
imulq %r12, %rdx
incq %rdx
movq %rdx, 0x60(%rsp)
shrq $0x30, %rax
xorl %eax, %ecx
imull $0x60857ba9, %ecx, %edi # imm = 0x60857BA9
imulq $0x38e38e39, %rdi, %rax # imm = 0x38E38E39
shrq $0x21, %rax
leal (%rax,%rax,8), %eax
subl %eax, %edi
movq %r14, %rsi
callq 0x227b
testq %r15, %r15
je 0x1998
movl 0xa8(%rsp,%r15,8), %r13d
movq %rax, 0x20(%rsp)
cmpl $0x5, %r13d
jae 0x1984
cmpl %eax, %r13d
jne 0x1998
movq 0x60(%rsp), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movq %rax, %rdx
imulq %r12, %rdx
incq %rdx
movq %rdx, 0x60(%rsp)
shrq $0x30, %rax
xorl %eax, %ecx
imull $0x60857ba9, %ecx, %edi # imm = 0x60857BA9
imulq $0x38e38e39, %rdi, %rax # imm = 0x38E38E39
shrq $0x21, %rax
leal (%rax,%rax,8), %eax
subl %eax, %edi
movq %r14, %rsi
callq 0x227b
jmp 0x1938
cmpl $0x9, %r13d
je 0x193e
leal -0x5(%r13), %eax
cmpl $0x4, %eax
jae 0x1943
movq 0x20(%rsp), %rax
movq %rax, 0xb0(%rsp,%r15,8)
incq %r15
cmpq 0x18(%rsp), %r15
jne 0x18e7
movl 0xb0(%rsp), %eax
movl 0x4(%rsp), %ecx
btl %eax, %ecx
movl $0x0, %r15d
jb 0x18e7
movl $0x1, %ecx
movl 0x4(%rsp), %esi
movq 0x18(%rsp), %rdi
movq %rcx, %rax
cmpq %rcx, %rdi
je 0x19ee
movl 0xb0(%rsp,%rax,8), %edx
leaq 0x1(%rax), %rcx
btl %edx, %esi
jae 0x19d6
movl $0x0, %r15d
cmpq %rdi, %rax
jb 0x18e7
jmp 0x1cce
testl %r15d, %r15d
jle 0x1cce
xorl %r15d, %r15d
xorl %r13d, %r13d
movq 0x60(%rsp), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movq %rax, %rdx
imulq %r12, %rdx
incq %rdx
movq %rdx, 0x60(%rsp)
shrq $0x30, %rax
xorl %eax, %ecx
imull $0x60857ba9, %ecx, %edi # imm = 0x60857BA9
imulq $0x38e38e39, %rdi, %rax # imm = 0x38E38E39
shrq $0x21, %rax
leal (%rax,%rax,8), %eax
subl %eax, %edi
movq %r14, %rsi
callq 0x227b
cmpl $0x9, %eax
ja 0x1dc4
movl %eax, %ecx
movslq (%rbp,%rcx,4), %rcx
addq %rbp, %rcx
jmpq *%rcx
xorl %ecx, %ecx
jmp 0x1a6e
movl $0x1, %ecx
testl %r13d, %r13d
je 0x1a78
cmpl %r13d, %ecx
je 0x1a11
movq %rax, 0xb0(%rsp,%r15,8)
testl %ecx, %ecx
cmovnel %ecx, %r13d
incq %r15
cmpq 0x18(%rsp), %r15
jne 0x1a11
xorl %r15d, %r15d
movl 0xb0(%rsp), %eax
movl 0x4(%rsp), %ecx
btl %eax, %ecx
movl $0x0, %r13d
jb 0x1a11
movl $0x1, %ecx
movl 0x4(%rsp), %esi
movq 0x18(%rsp), %rdi
movq %rcx, %rax
cmpq %rcx, %rdi
je 0x1ad3
movl 0xb0(%rsp,%rax,8), %edx
leaq 0x1(%rax), %rcx
btl %edx, %esi
jae 0x1abb
xorl %r15d, %r15d
movl $0x0, %r13d
cmpq %rdi, %rax
jb 0x1a11
jmp 0x1cce
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
jmp 0x1a6e
movq %rax, %rcx
shrq $0x23, %rcx
movl $0x1, %ecx
je 0x1a6e
movq %rax, %rcx
shrq $0x20, %rcx
cmpl $0x9, %ecx
movl $0x0, %ecx
adcl $-0x1, %ecx
jmp 0x1a6e
movl $0xffff, %ecx           # imm = 0xFFFF
leaq 0x3597(%rip), %r10      # 0x50c0
leaq 0x1(%rcx), %rsi
movq %rax, %rdx
shrq $0x20, %rdx
movq %rax, %rdi
imulq %r12, %rdi
incq %rdi
shrq $0x30, %rax
xorl %eax, %edx
imull $0x60857ba9, %edx, %r8d # imm = 0x60857BA9
imulq %rsi, %r8
movl %r8d, %r9d
cmpq %rcx, %r9
ja 0x1b97
movq %rcx, %rax
notq %rax
xorl %edx, %edx
divq %rsi
cmpq %rdx, %r9
jae 0x1b97
movq %rdi, %rax
movq %rdi, %r8
shrq $0x20, %r8
imulq %r12, %rax
incq %rax
shrq $0x30, %rdi
xorl %edi, %r8d
imull $0x60857ba9, %r8d, %r8d # imm = 0x60857BA9
imulq %rsi, %r8
movl %r8d, %r9d
movq %rax, %rdi
cmpq %rdx, %r9
jb 0x1b6a
jmp 0x1b9a
movq %rdi, %rax
movzwl (%r10,%rcx,2), %edx
shrq $0x20, %r8
movzwl (%r10,%r8,2), %esi
movw %si, (%r10,%rcx,2)
movw %dx, (%r10,%r8,2)
leaq -0x1(%rcx), %rdx
cmpq $0x1, %rcx
movq %rdx, %rcx
ja 0x1b29
movq %rax, 0x60(%rsp)
jmp 0x1cce
movl $0x6, 0xb0(%rsp)
movq %rax, %rdx
shrq $0x20, %rdx
movq %rax, %rcx
imulq %r12, %rcx
incq %rcx
movq %rcx, 0x60(%rsp)
shrq $0x30, %rax
xorl %eax, %edx
imull $0x60857ba9, %edx, %edx # imm = 0x60857BA9
movl $0x1, %eax
cmpl $0x40000, %edx          # imm = 0x40000
jb 0x1c15
shrl $0x12, %edx
leal -0x1(%rdx), %esi
incl %eax
andl %edx, %esi
movl %esi, %edx
jne 0x1c0a
movl %eax, 0xb4(%rsp)
cmpl $0x3, %r15d
jl 0x1cce
xorl %eax, %eax
movq 0x98(%rsp), %r8
movq %rax, %rsi
shlq $0x4, %rsi
movl $0x1, 0xb8(%rsp,%rsi)
movq %rcx, %rdi
shrq $0x20, %rdi
movq %rcx, %rdx
imulq %r12, %rdx
incq %rdx
shrq $0x30, %rcx
xorl %ecx, %edi
imull $0x60857ba9, %edi, %ecx # imm = 0x60857BA9
shrl $0x10, %ecx
orl $0x1, %ecx
movl %ecx, 0xbc(%rsp,%rsi)
movl $0x6, 0xc0(%rsp,%rsi)
movq %rdx, %rcx
shrq $0x20, %rcx
movq %rdx, %rsi
shrq $0x30, %rsi
xorl %esi, %ecx
imull $0x60857ba9, %ecx, %ecx # imm = 0x60857BA9
movl $0x1, %esi
cmpl $0x40000, %ecx          # imm = 0x40000
jb 0x1ca8
shrl $0x12, %ecx
leal -0x1(%rcx), %edi
incl %esi
andl %ecx, %edi
movl %edi, %ecx
jne 0x1c9d
leaq (%rax,%rax), %rdi
imulq %r12, %rdx
movq %rdx, %rcx
incq %rcx
movl %esi, 0xc4(%rsp,%rdi,8)
incq %rax
cmpq %r8, %rax
jne 0x1c30
movq %rcx, 0x60(%rsp)
callq 0x1040
movq %rax, %rcx
shrq $0x20, %rcx
xorq %rax, %rcx
movabsq $0x25b751109e05be63, %rax # imm = 0x25B751109E05BE63
imulq %rax, %rcx
movq %rcx, %rax
shrq $0x20, %rax
xorq %rcx, %rax
movabsq $0x2330e1453ed4b9b9, %rcx # imm = 0x2330E1453ED4B9B9
imulq %rcx, %rax
movq %rax, %rcx
shrq $0x20, %rcx
xorq %rax, %rcx
movq 0x60(%rsp), %r13
subq %rcx, %r13
movq %r13, 0x60(%rsp)
leaq 0xb0(%rsp), %rdi
movq 0x10(%rsp), %r15
movl %r15d, %esi
callq 0x1ec8
movapd %xmm0, %xmm1
movsd 0x28(%rsp), %xmm0
ucomisd %xmm1, %xmm0
jbe 0x188b
cmpl $0x3, %ebx
movsd %xmm1, 0x20(%rsp)
jae 0x1dae
leaq 0x13c8(%rip), %rdi      # 0x311d
movapd %xmm1, %xmm0
movb $0x1, %al
callq 0x1050
movq 0x3271(%rip), %rax      # 0x4fd8
movq (%rax), %rdx
leaq 0xb0(%rsp), %rdi
movl %r15d, %esi
callq 0x1fd7
movq 0x3257(%rip), %rax      # 0x4fd8
movq (%rax), %rsi
movl $0xa, %edi
callq 0x1080
movq 0x3243(%rip), %rax      # 0x4fd8
movq (%rax), %rdi
callq 0x10c0
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
jmp 0x188b
jne 0x1dc4
movapd %xmm1, %xmm0
callq 0x1149
movl 0x8(%rsp), %ebx
movq 0x10(%rsp), %r15
jmp 0x1d8e
callq 0x1030