// File: /workspace/github_c_makefile_star2_O2/erikdubbelboer[P]discnt/src/debug.c
// Function: debugCommand
void debugCommand(client *c) {
    if (!strcasecmp(c->argv[1]->ptr,"segfault")) {
        *((char*)-1) = 'x';
    } else if (!strcasecmp(c->argv[1]->ptr,"restart") ||
               !strcasecmp(c->argv[1]->ptr,"crash-and-recover"))
    {
        long long delay = 0;
        if (c->argc >= 3) {
            if (getLongLongFromObjectOrReply(c, c->argv[2], &delay, NULL)
                != C_OK) return;
            if (delay < 0) delay = 0;
        }
        int flags = !strcasecmp(c->argv[1]->ptr,"restart") ?
            (RESTART_SERVER_GRACEFULLY|RESTART_SERVER_CONFIG_REWRITE) :
             RESTART_SERVER_NONE;
        restartServer(flags,delay);
        addReplyError(c,"failed to restart the server. Check server logs.");
    } else if (!strcasecmp(c->argv[1]->ptr,"oom")) {
        void *ptr = zmalloc(ULONG_MAX); /* Should trigger an out of memory. */
        zfree(ptr);
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"assert")) {
        if (c->argc >= 3) c->argv[2] = tryObjectEncoding(c->argv[2]);
        serverAssertWithInfo(c,c->argv[0],1 == 2);
    } else if (!strcasecmp(c->argv[1]->ptr,"reload")) {
        if (ddbSave(server.ddb_filename) != C_OK) {
            addReply(c,shared.err);
            return;
        }
        dictEmpty(server.counters, NULL);
        if (ddbLoad(server.ddb_filename) != C_OK) {
            addReplyError(c,"Error trying to load the DDB dump");
            return;
        }
        serverLog(LL_WARNING,"DB reloaded by DEBUG RELOAD");
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"flushall")) {
        flushServerData();
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"reset") && c->argc == 2) {
        clusterBroadcastResetMessage();
        flushServerData();
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"digest") && c->argc == 2) {
        unsigned char digest[20];
        sds d = sdsempty();
        int j;

        computeDatasetDigest(digest);
        for (j = 0; j < 20; j++)
            d = sdscatprintf(d, "%02x",digest[j]);
        addReplyStatus(c,d);
        sdsfree(d);
    } else if (!strcasecmp(c->argv[1]->ptr,"sleep") && c->argc == 3) {
        double dtime = strtod(c->argv[2]->ptr,NULL);
        long long utime = dtime*1000000;
        struct timespec tv;

        tv.tv_sec = utime / 1000000;
        tv.tv_nsec = (utime % 1000000) * 1000;
        nanosleep(&tv, NULL);
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"error") && c->argc == 3) {
        sds errstr = sdsnewlen("-",1);

        errstr = sdscatsds(errstr,c->argv[2]->ptr);
        errstr = sdsmapchars(errstr,"\n\r","  ",2); /* no newlines in errors. */
        errstr = sdscatlen(errstr,"\r\n",2);
        addReplySds(c,errstr);
    } else if (!strcasecmp(c->argv[1]->ptr,"structsize") && c->argc == 2) {
        sds sizes = sdsempty();
        sizes = sdscatprintf(sizes,"bits:%d ",(sizeof(void*) == 8)?64:32);
        sizes = sdscatprintf(sizes,"counter:%d ", (int)sizeof(counter));
        sizes = sdscatprintf(sizes,"shard:%d ", (int)sizeof(shard));
        sizes = sdscatprintf(sizes,"robj:%d ",(int)sizeof(robj));
        sizes = sdscatprintf(sizes,"dictentry:%d ",(int)sizeof(dictEntry));
        sizes = sdscatprintf(sizes,"sdshdr5:%d ",(int)sizeof(struct sdshdr5));
        sizes = sdscatprintf(sizes,"sdshdr8:%d ",(int)sizeof(struct sdshdr8));
        sizes = sdscatprintf(sizes,"sdshdr16:%d ",(int)sizeof(struct sdshdr16));
        sizes = sdscatprintf(sizes,"sdshdr32:%d ",(int)sizeof(struct sdshdr32));
        sizes = sdscatprintf(sizes,"sdshdr64:%d ",(int)sizeof(struct sdshdr64));
        addReplyBulkSds(c,sizes);
    } else if (!strcasecmp(c->argv[1]->ptr,"sync") && c->argc == 3) {
        clusterNode *node = clusterLookupNode(c->argv[2]->ptr);

        if (node == NULL) {
            addReplyError(c,"Unknown node");
            return;
        }

        countersSync(node);
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"node") && c->argc >= 3) {
        if (!strcasecmp(c->argv[2]->ptr,"shards") && c->argc == 4) {
            clusterNode *node = clusterLookupNode(c->argv[3]->ptr);

            if (node == NULL) {
                addReplyError(c,"Unknown node");
                return;
            }

            addReplyLongLong(c, counterShardsForNode(node));
        } else {
            addReplyErrorFormat(c, "Unknown DEBUG NODE subcommand or wrong number of arguments for '%s'",
                (char*)c->argv[2]->ptr);
        }
    } else if (!strcasecmp(c->argv[1]->ptr,"counter") && c->argc == 3) {
        int i;
        char buf[5+40+2];
        listNode *ln;
        listIter li;
        counter *cntr = counterLookup(c->argv[2]->ptr);

        if (cntr == NULL) {
            addReplyError(c,"Unknown counter");
            return;
        }

        countersUpdateValue(cntr);

        addReplyMultiBulkLen(c,7);

        addReplyMultiBulkLen(c,listLength(cntr->shards));

        memcpy(buf, "$40\r\n", 5);
        buf[5+40+0] = '\r';
        buf[5+40+1] = '\n';

        listRewind(cntr->shards,&li);
        while ((ln = listNext(&li)) != NULL) {
            shard *shrd = listNodeValue(ln);

            memcpy(&buf[5], shrd->node_name, CLUSTER_NAMELEN);

            addReplyMultiBulkLen(c,5);
            addReplyString(c, buf, (sizeof("$40\r\n")-1) + CLUSTER_NAMELEN + (sizeof("\r\n")-1));
            addReplyLongDouble(c, shrd->value);
            addReplyLongLong(c, shrd->predict_time);
            addReplyLongDouble(c, shrd->predict_value);
            addReplyLongDouble(c, shrd->predict_change);
        }

        addReplyLongDouble(c, cntr->value);

        addReplyMultiBulkLen(c, server.history_size);
        for (i = server.history_index; i >= 0; i--) {
            addReplyLongDouble(c, cntr->history[i]);
        }
        for (i = server.history_size - 1; i > server.history_index; i--) {
            addReplyLongDouble(c, cntr->history[i]);
        }

        addReplyLongLong(c, cntr->revision);
        addReplyLongDouble(c, cntr->precision);

        addReplyLongLong(c, cntr->hits);
        addReplyLongLong(c, cntr->misses);
    } else if (!strcasecmp(c->argv[1]->ptr,"resetshard") && c->argc == 4) {
        counter *cntr = counterLookup(c->argv[2]->ptr);
        clusterNode *node = clusterLookupNode(c->argv[3]->ptr);
        if (cntr != NULL) {
            if (node != NULL) {
                counterResetShard(cntr, node);
            }
        }
        addReply(c,shared.ok);
    } else if (!strcasecmp(c->argv[1]->ptr,"prediction") && c->argc == 3) {
        listNode *ln;
        listIter li;
        long double prediction = 0;
        counter *cntr = counterLookup(c->argv[2]->ptr);

        if (cntr != NULL) {
            listRewind(cntr->shards,&li);
            while ((ln = listNext(&li)) != NULL) {
                shard *shrd = listNodeValue(ln);

                prediction += shrd->predict_change;
            }
        }

        addReplyLongDouble(c, prediction);
    } else {
        addReplyErrorFormat(c, "Unknown DEBUG subcommand or wrong number of arguments for '%s'",
            (char*)c->argv[1]->ptr);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %r15
movq 0x8(%r15), %rax
movq 0x8(%rax), %r14
leaq 0x2bf9e(%rip), %rsi     # 0x4f7d0
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x23969
leaq 0x2bf90(%rip), %rsi     # 0x4f7d9
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x238f8
leaq 0x2bf81(%rip), %rsi     # 0x4f7e1
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x238f8
leaq 0x299ab(%rip), %rsi     # 0x4d222
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x23980
leaq 0x2bf96(%rip), %rsi     # 0x4f824
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x24045
leaq 0x2bf95(%rip), %rsi     # 0x4f83a
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x239b1
leaq 0x2bfc3(%rip), %rsi     # 0x4f87f
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
je 0x238ee
leaq 0x2bfb9(%rip), %rsi     # 0x4f888
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x239d9
cmpl $0x2, 0x28(%rbx)
jne 0x239d9
callq 0x27cc0
callq 0x1609c
jmp 0x23990
andq $0x0, 0x20(%rsp)
cmpl $0x3, 0x28(%rbx)
jl 0x2392b
movq 0x10(%r15), %rsi
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x203c6
testl %eax, %eax
jne 0x23971
movq 0x20(%rsp), %r14
testq %r14, %r14
jns 0x2392e
andq $0x0, 0x20(%rsp)
xorl %r14d, %r14d
movq 0x30(%rbx), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rdi
leaq 0x2be98(%rip), %rsi     # 0x4f7d9
callq 0x12090
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
leal (%rcx,%rcx,2), %edi
movq %r14, %rsi
callq 0x1701c
leaq 0x2be94(%rip), %rsi     # 0x4f7f3
movq %rbx, %rdi
callq 0x1cacf
jmp 0x23971
movb $0x78, -0x1
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x1
popq %rdi
callq 0x1ab29
movq %rax, %rdi
callq 0x1ac81
leaq 0x46e01(%rip), %rax     # 0x6a798
movq 0x8(%rax), %rsi
movq %rbx, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1c8e7
leaq 0x466d0(%rip), %r14     # 0x6a088
movq 0x6c8(%r14), %rdi
callq 0x2b5bc
testl %eax, %eax
je 0x23c30
leaq 0x46dc5(%rip), %rax     # 0x6a798
movq 0x10(%rax), %rsi
jmp 0x2399b
leaq 0x2beae(%rip), %rsi     # 0x4f88e
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23a33
cmpl $0x2, 0x28(%rbx)
jne 0x23a33
callq 0x194cc
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x236ae
leaq 0x2aaa3(%rip), %r15     # 0x4e4ae
xorl %r12d, %r12d
cmpq $0x14, %r12
je 0x23f0c
movzbl 0x20(%rsp,%r12), %edx
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x19db8
movq %rax, %r14
incq %r12
jmp 0x23a0e
leaq 0x2be5b(%rip), %rsi     # 0x4f895
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23aa4
cmpl $0x3, 0x28(%rbx)
jne 0x23aa4
movq 0x10(%r15), %rax
movq 0x8(%rax), %rdi
xorl %esi, %esi
callq 0x12190
mulsd 0x2bd65(%rip), %xmm0    # 0x4f7c8
cvttsd2si %xmm0, %rax
movl $0xf4240, %ecx          # imm = 0xF4240
cqto
idivq %rcx
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
imulq $0x3e8, %rdx, %rax      # imm = 0x3E8
movq %rax, 0x8(%rdi)
xorl %esi, %esi
callq 0x122f0
leaq 0x46d05(%rip), %rax     # 0x6a798
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x1c8e7
jmp 0x23971
leaq 0x2e8f2(%rip), %rsi     # 0x5239d
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23b28
cmpl $0x3, 0x28(%rbx)
jne 0x23b28
leaq 0x2c5bb(%rip), %rdi     # 0x5007f
pushq $0x1
popq %rsi
callq 0x19398
movq 0x30(%rbx), %rcx
movq 0x10(%rcx), %rcx
movq 0x8(%rcx), %rsi
movq %rax, %rdi
callq 0x19b5e
leaq 0x2bdb4(%rip), %rsi     # 0x4f89b
leaq 0x2bdb0(%rip), %rdx     # 0x4f89e
pushq $0x2
popq %r14
movq %rax, %rdi
movq %r14, %rcx
callq 0x1aa1b
leaq 0x2b2f3(%rip), %rsi     # 0x4edf7
movq %rax, %rdi
movq %r14, %rdx
callq 0x19ad8
movq %rbx, %rdi
movq %rax, %rsi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1c9fd
leaq 0x2bd72(%rip), %rsi     # 0x4f8a1
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23c6f
cmpl $0x2, 0x28(%rbx)
jne 0x23c6f
callq 0x194cc
leaq 0x2bd57(%rip), %rsi     # 0x4f8ac
pushq $0x40
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd4c(%rip), %rsi     # 0x4f8b5
pushq $0x70
popq %rbp
movq %rax, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd42(%rip), %rsi     # 0x4f8c1
movq %rax, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd39(%rip), %rsi     # 0x4f8cb
pushq $0x10
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd2e(%rip), %rsi     # 0x4f8d4
pushq $0x18
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd28(%rip), %rsi     # 0x4f8e2
pushq $0x1
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd20(%rip), %rsi     # 0x4f8ee
pushq $0x3
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd18(%rip), %rsi     # 0x4f8fa
pushq $0x5
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd11(%rip), %rsi     # 0x4f907
pushq $0x9
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
leaq 0x2bd0a(%rip), %rsi     # 0x4f914
pushq $0x11
popq %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19db8
movq %rbx, %rdi
movq %rax, %rsi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d141
movq 0x618(%r14), %rdi
xorl %esi, %esi
callq 0x15419
movq 0x6c8(%r14), %rdi
callq 0x2bc2e
testl %eax, %eax
je 0x23f24
leaq 0x2bbe8(%rip), %rsi     # 0x4f841
movq %rbx, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1cacf
leaq 0x2bcab(%rip), %rsi     # 0x4f921
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23cab
cmpl $0x3, 0x28(%rbx)
jne 0x23cab
movq 0x10(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x25290
testq %rax, %rax
je 0x23f5c
movq %rax, %rdi
callq 0x2a981
jmp 0x23990
leaq 0x2bc7c(%rip), %rsi     # 0x4f92e
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23d25
movl 0x28(%rbx), %ebp
cmpl $0x3, %ebp
jl 0x23d25
movq 0x10(%r15), %rax
movq 0x8(%rax), %r14
leaq 0x2cd10(%rip), %rsi     # 0x509e5
movq %r14, %rdi
callq 0x12090
cmpl $0x4, %ebp
jne 0x24019
testl %eax, %eax
jne 0x24019
movq 0x18(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x25290
testq %rax, %rax
je 0x23f5c
movq %rax, %rdi
callq 0x2a17a
movslq %eax, %rsi
movq %rbx, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d00a
leaq 0x2bc53(%rip), %rsi     # 0x4f97f
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23e42
cmpl $0x3, 0x28(%rbx)
jne 0x23e42
movq 0x10(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x29e0b
testq %rax, %rax
je 0x24039
movq %rax, %r14
movq %rax, %rdi
callq 0x29f5e
pushq $0x7
popq %rsi
movq %rbx, %rdi
callq 0x1d03d
movq 0x8(%r14), %rax
movq 0x28(%rax), %rsi
movq %rbx, %rdi
callq 0x1d03d
leaq 0x25(%rsp), %r12
movb $0xa, -0x1(%r12)
movl $0xd303424, -0x5(%r12)  # imm = 0xD303424
movw $0xa0d, 0x28(%r12)      # imm = 0xA0D
movq 0x8(%r14), %rdi
leaq 0x58(%rsp), %rsi
callq 0x12d0c
leaq 0x20(%rsp), %r13
pushq $0x2f
popq %rbp
leaq 0x58(%rsp), %rdi
callq 0x12d26
testq %rax, %rax
je 0x23f68
movq 0x10(%rax), %r15
movq 0x28(%r15), %rax
movq %rax, 0x20(%r12)
movupd 0x8(%r15), %xmm0
movups 0x18(%r15), %xmm1
movups %xmm1, 0x10(%r12)
movupd %xmm0, (%r12)
movq %rbx, %rdi
pushq $0x5
popq %rsi
callq 0x1d03d
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x1ca4b
fldt 0x30(%r15)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
movq 0x40(%r15), %rsi
movq %rbx, %rdi
callq 0x1d00a
fldt 0x50(%r15)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
fldt 0x60(%r15)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
jmp 0x23db4
leaq 0x2bb44(%rip), %rsi     # 0x4f98d
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23e9e
cmpl $0x4, 0x28(%rbx)
jne 0x23e9e
movq 0x10(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x29e0b
movq %rax, %r14
movq 0x30(%rbx), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rdi
callq 0x25290
testq %r14, %r14
je 0x23990
testq %rax, %rax
je 0x23990
movq %r14, %rdi
movq %rax, %rsi
callq 0x2a0ed
jmp 0x23990
leaq 0x2baf3(%rip), %rsi     # 0x4f998
movq %r14, %rdi
callq 0x12090
testl %eax, %eax
jne 0x23f3a
cmpl $0x3, 0x28(%rbx)
jne 0x23f3a
movq 0x10(%r15), %rax
movq 0x8(%rax), %rdi
callq 0x29e0b
fldz
testq %rax, %rax
je 0x24029
fstp %st(0)
movq 0x8(%rax), %rdi
leaq 0x20(%rsp), %r14
movq %r14, %rsi
callq 0x12d0c
fldz
fstpt 0x14(%rsp)
movq %r14, %rdi
callq 0x12d26
testq %rax, %rax
je 0x24025
movq 0x10(%rax), %rax
fldt 0x60(%rax)
fldt 0x14(%rsp)
faddp %st, %st(1)
jmp 0x23ee8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1cc23
movq %r14, %rdi
callq 0x19548
jmp 0x23971
leaq 0x2b938(%rip), %rsi     # 0x4f863
pushq $0x3
popq %rdi
xorl %eax, %eax
callq 0x15b9e
jmp 0x23990
leaq 0x2ba62(%rip), %rsi     # 0x4f9a3
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1caf6
leaq 0x2b9c3(%rip), %rsi     # 0x4f926
jmp 0x23c59
fldt 0x20(%r14)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
leaq 0x4610a(%rip), %r15     # 0x6a088
movl 0x628(%r15), %esi
movq %rbx, %rdi
callq 0x1d03d
movl 0x62c(%r15), %ebp
testl %ebp, %ebp
js 0x23fb4
movq 0x30(%r14), %rax
movl %ebp, %ecx
shlq $0x4, %rcx
fldt (%rax,%rcx)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
decl %ebp
jmp 0x23f94
movl 0x628(%r15), %ebp
decl %ebp
cmpl 0x62c(%r15), %ebp
jle 0x23fe1
movq 0x30(%r14), %rax
movslq %ebp, %rcx
shlq $0x4, %rcx
fldt (%rax,%rcx)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
jmp 0x23fbb
movl 0x38(%r14), %esi
movq %rbx, %rdi
callq 0x1d00a
fldl 0x50(%r14)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
movl 0x58(%r14), %esi
movq %rbx, %rdi
callq 0x1d00a
movl 0x5c(%r14), %esi
movq %rbx, %rdi
callq 0x1d00a
jmp 0x23971
leaq 0x2b913(%rip), %rsi     # 0x4f933
jmp 0x23f41
fldt 0x14(%rsp)
fstpt (%rsp)
movq %rbx, %rdi
callq 0x1ceab
jmp 0x23971
leaq 0x2b937(%rip), %rsi     # 0x4f977
jmp 0x2395f
cmpl $0x3, 0x28(%rbx)
jl 0x24060
movq 0x10(%r15), %rdi
callq 0x1fc8f
movq 0x30(%rbx), %rcx
movq %rax, 0x10(%rcx)
movq 0x30(%rbx), %r15
movq (%r15), %rsi
leaq 0x2b7c1(%rip), %rdx     # 0x4f82b
leaq 0x2b7c1(%rip), %rcx     # 0x4f832
movq %rbx, %rdi
movl $0xa8, %r8d
callq 0x24087
pushq $0x1
popq %rdi
callq 0x12120