// File: /workspace/github_c_makefile_star2_O2/zhou-yuxin[P]redis-aof-no-cow/src/cluster.c
// Function: migrateCommand
void migrateCommand(client *c) {
    migrateCachedSocket *cs;
    int copy, replace, j;
    long timeout;
    long dbid;
    robj **ov = NULL; /* Objects to migrate. */
    robj **kv = NULL; /* Key names. */
    robj **newargv = NULL; /* Used to rewrite the command as DEL ... keys ... */
    rio cmd, payload;
    int may_retry = 1;
    int write_error = 0;

    /* To support the KEYS option we need the following additional state. */
    int first_key = 3; /* Argument index of the first key. */
    int num_keys = 1;  /* By default only migrate the 'key' argument. */

    /* Initialization */
    copy = 0;
    replace = 0;

    /* Parse additional options */
    for (j = 6; j < c->argc; j++) {
        if (!strcasecmp(c->argv[j]->ptr,"copy")) {
            copy = 1;
        } else if (!strcasecmp(c->argv[j]->ptr,"replace")) {
            replace = 1;
        } else if (!strcasecmp(c->argv[j]->ptr,"keys")) {
            if (sdslen(c->argv[3]->ptr) != 0) {
                addReplyError(c,
                    "When using MIGRATE KEYS option, the key argument"
                    " must be set to the empty string");
                return;
            }
            first_key = j+1;
            num_keys = c->argc - j - 1;
            break; /* All the remaining args are keys. */
        } else {
            addReply(c,shared.syntaxerr);
            return;
        }
    }

    /* Sanity check */
    if (getLongFromObjectOrReply(c,c->argv[5],&timeout,NULL) != C_OK ||
        getLongFromObjectOrReply(c,c->argv[4],&dbid,NULL) != C_OK)
    {
        return;
    }
    if (timeout <= 0) timeout = 1000;

    /* Check if the keys are here. If at least one key is to migrate, do it
     * otherwise if all the keys are missing reply with "NOKEY" to signal
     * the caller there was nothing to migrate. We don't return an error in
     * this case, since often this is due to a normal condition like the key
     * expiring in the meantime. */
    ov = zrealloc(ov,sizeof(robj*)*num_keys);
    kv = zrealloc(kv,sizeof(robj*)*num_keys);
    int oi = 0;

    for (j = 0; j < num_keys; j++) {
        if ((ov[oi] = lookupKeyRead(c->db,c->argv[first_key+j])) != NULL) {
            kv[oi] = c->argv[first_key+j];
            oi++;
        }
    }
    num_keys = oi;
    if (num_keys == 0) {
        zfree(ov); zfree(kv);
        addReplySds(c,sdsnew("+NOKEY\r\n"));
        return;
    }

try_again:
    write_error = 0;

    /* Connect */
    cs = migrateGetSocket(c,c->argv[1],c->argv[2],timeout);
    if (cs == NULL) {
        zfree(ov); zfree(kv);
        return; /* error sent to the client by migrateGetSocket() */
    }

    rioInitWithBuffer(&cmd,sdsempty());

    /* Send the SELECT command if the current DB is not already selected. */
    int select = cs->last_dbid != dbid; /* Should we emit SELECT? */
    if (select) {
        serverAssertWithInfo(c,NULL,rioWriteBulkCount(&cmd,'*',2));
        serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,"SELECT",6));
        serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,dbid));
    }

    /* Create RESTORE payload and generate the protocol to call the command. */
    for (j = 0; j < num_keys; j++) {
        long long ttl = 0;
        long long expireat = getExpire(c->db,kv[j]);

        if (expireat != -1) {
            ttl = expireat-mstime();
            if (ttl < 1) ttl = 1;
        }
        serverAssertWithInfo(c,NULL,rioWriteBulkCount(&cmd,'*',replace ? 5 : 4));
        if (server.cluster_enabled)
            serverAssertWithInfo(c,NULL,
                rioWriteBulkString(&cmd,"RESTORE-ASKING",14));
        else
            serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,"RESTORE",7));
        serverAssertWithInfo(c,NULL,sdsEncodedObject(kv[j]));
        serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,kv[j]->ptr,
                sdslen(kv[j]->ptr)));
        serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,ttl));

        /* Emit the payload argument, that is the serialized object using
         * the DUMP format. */
        createDumpPayload(&payload,ov[j]);
        serverAssertWithInfo(c,NULL,
            rioWriteBulkString(&cmd,payload.io.buffer.ptr,
                               sdslen(payload.io.buffer.ptr)));
        sdsfree(payload.io.buffer.ptr);

        /* Add the REPLACE option to the RESTORE command if it was specified
         * as a MIGRATE option. */
        if (replace)
            serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,"REPLACE",7));
    }

    /* Transfer the query to the other node in 64K chunks. */
    errno = 0;
    {
        sds buf = cmd.io.buffer.ptr;
        size_t pos = 0, towrite;
        int nwritten = 0;

        while ((towrite = sdslen(buf)-pos) > 0) {
            towrite = (towrite > (64*1024) ? (64*1024) : towrite);
            nwritten = syncWrite(cs->fd,buf+pos,towrite,timeout);
            if (nwritten != (signed)towrite) {
                write_error = 1;
                goto socket_err;
            }
            pos += nwritten;
        }
    }

    char buf1[1024]; /* Select reply. */
    char buf2[1024]; /* Restore reply. */

    /* Read the SELECT reply if needed. */
    if (select && syncReadLine(cs->fd, buf1, sizeof(buf1), timeout) <= 0)
        goto socket_err;

    /* Read the RESTORE replies. */
    int error_from_target = 0;
    int socket_error = 0;
    int del_idx = 1; /* Index of the key argument for the replicated DEL op. */

    if (!copy) newargv = zmalloc(sizeof(robj*)*(num_keys+1));

    for (j = 0; j < num_keys; j++) {
        if (syncReadLine(cs->fd, buf2, sizeof(buf2), timeout) <= 0) {
            socket_error = 1;
            break;
        }
        if ((select && buf1[0] == '-') || buf2[0] == '-') {
            /* On error assume that last_dbid is no longer valid. */
            if (!error_from_target) {
                cs->last_dbid = -1;
                addReplyErrorFormat(c,"Target instance replied with error: %s",
                    (select && buf1[0] == '-') ? buf1+1 : buf2+1);
                error_from_target = 1;
            }
        } else {
            if (!copy) {
                /* No COPY option: remove the local key, signal the change. */
                dbDelete(c->db,kv[j]);
                signalModifiedKey(c->db,kv[j]);
                server.dirty++;

                /* Populate the argument vector to replace the old one. */
                newargv[del_idx++] = kv[j];
                incrRefCount(kv[j]);
            }
        }
    }

    /* On socket error, if we want to retry, do it now before rewriting the
     * command vector. We only retry if we are sure nothing was processed
     * and we failed to read the first reply (j == 0 test). */
    if (!error_from_target && socket_error && j == 0 && may_retry &&
        errno != ETIMEDOUT)
    {
        goto socket_err; /* A retry is guaranteed because of tested conditions.*/
    }

    if (!copy) {
        /* Translate MIGRATE as DEL for replication/AOF. */
        if (del_idx > 1) {
            newargv[0] = createStringObject("DEL",3);
            /* Note that the following call takes ownership of newargv. */
            replaceClientCommandVector(c,del_idx,newargv);
        } else {
            /* No key transfer acknowledged, no need to rewrite as DEL. */
            zfree(newargv);
        }
        newargv = NULL; /* Make it safe to call zfree() on it in the future. */
    }

    /* If we are here and a socket error happened, we don't want to retry.
     * Just signal the problem to the client, but only do it if we don't
     * already queued a different error reported by the destination server. */
    if (!error_from_target && socket_error) {
        may_retry = 0;
        goto socket_err;
    }

    if (!error_from_target) {
        /* Success! Update the last_dbid in migrateCachedSocket, so that we can
         * avoid SELECT the next time if the target DB is the same. Reply +OK. */
        cs->last_dbid = dbid;
        addReply(c,shared.ok);
    } else {
        /* On error we already sent it in the for loop above, and set
         * the curretly selected socket to -1 to force SELECT the next time. */
    }

    sdsfree(cmd.io.buffer.ptr);
    zfree(ov); zfree(kv); zfree(newargv);
    if (socket_error) migrateCloseSocket(c->argv[1],c->argv[2]);
    return;

/* On socket errors we try to close the cached socket and try again.
 * It is very common for the cached socket to get closed, if just reopening
 * it works it's a shame to notify the error to the caller. */
socket_err:
    /* Cleanup we want to perform in both the retry and no retry case.
     * Note: Closing the migrate socket will also force SELECT next time. */
    sdsfree(cmd.io.buffer.ptr);
    migrateCloseSocket(c->argv[1],c->argv[2]);
    zfree(newargv);
    newargv = NULL; /* This will get reallocated on retry. */

    /* Retry only if it's not a timeout and we never attempted a retry
     * (or the code jumping here did not set may_retry to zero). */
    if (errno != ETIMEDOUT && may_retry) {
        may_retry = 0;
        goto try_again;
    }

    /* Cleanup we want to do if no retry is attempted. */
    zfree(ov); zfree(kv);
    addReplySds(c,
        sdscatprintf(sdsempty(),
            "-IOERR error or timeout %s to target instance\r\n",
            write_error ? "writing" : "reading"));
    return;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x958, %rsp            # imm = 0x958
movslq 0x38(%rdi), %r13
movq %rdi, 0x8(%rsp)
movq 0x40(%rdi), %rbp
xorl %r14d, %r14d
movabsq $0x700000000, %r15      # imm = 0x700000000
pushq $0x1
popq %rbx
pushq $0x3
popq %rax
movq %rax, 0x30(%rsp)
movl $0x0, 0x24(%rsp)
movl $0x0, 0x20(%rsp)
leaq 0x6(%r14), %rax
cmpq %r13, %rax
jge 0x60eee
movq 0x30(%rbp,%r14,8), %rax
movq 0x8(%rax), %r12
movq %r12, %rdi
leaq 0x5b19e(%rip), %rsi     # 0xbbfd1
callq 0x26300
testl %eax, %eax
je 0x60e55
movq %r12, %rdi
leaq 0x5b0d4(%rip), %rsi     # 0xbbf1a
callq 0x26300
testl %eax, %eax
jne 0x60e6b
movl %ebx, 0x24(%rsp)
jmp 0x60e59
movl %ebx, 0x20(%rsp)
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %r15
incq %r14
jmp 0x60e13
leaq 0x5acdf(%rip), %rsi     # 0xbbb51
movq %r12, %rdi
callq 0x26300
testl %eax, %eax
je 0x60ea7
leaq 0x9e42b(%rip), %rax     # 0xff2b0
movq 0x80(%rax), %rsi
movq 0x8(%rsp), %rdi
addq $0x958, %rsp            # imm = 0x958
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x36923
movq 0x18(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x5b3e5
testq %rax, %rax
je 0x60edb
leaq 0x5b116(%rip), %rsi     # 0xbbfd6
movq 0x8(%rsp), %rdi
addq $0x958, %rsp            # imm = 0x958
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x36b0b
subl %r14d, %r13d
addl $-0x7, %r13d
sarq $0x20, %r15
movq %r15, 0x30(%rsp)
movl %r13d, %ebx
movq 0x28(%rbp), %rsi
leaq 0x38(%rsp), %rdx
movq 0x8(%rsp), %rbp
movq %rbp, %rdi
xorl %ecx, %ecx
callq 0x3ab02
testl %eax, %eax
jne 0x61532
movq 0x40(%rbp), %rax
movq 0x20(%rax), %rsi
leaq 0x50(%rsp), %rdx
movq %rbp, %rdi
xorl %ecx, %ecx
callq 0x3ab02
testl %eax, %eax
jne 0x61532
cmpq $0x0, 0x38(%rsp)
jg 0x60f3e
movq $0x3e8, 0x38(%rsp)      # imm = 0x3E8
movslq %ebx, %r15
leaq (,%r15,8), %rbx
xorl %r12d, %r12d
xorl %edi, %edi
movq %rbx, %rsi
callq 0x327ff
movq %rax, 0x28(%rsp)
xorl %edi, %edi
movq %rbx, %rsi
callq 0x327ff
movq %rax, %r14
testl %r15d, %r15d
cmovlel %r12d, %r15d
movq 0x30(%rsp), %r13
movslq %r12d, %rbx
subq $0x1, %r15
jb 0x60fb2
movq 0x10(%rbp), %rdi
movq 0x40(%rbp), %rax
movq (%rax,%r13,8), %rsi
callq 0x3ae5f
movq 0x28(%rsp), %rcx
movq %rax, (%rcx,%rbx,8)
testq %rax, %rax
je 0x60fad
movq 0x40(%rbp), %rax
movq (%rax,%r13,8), %rax
movq %rax, (%r14,%rbx,8)
incl %ebx
movl %ebx, %r12d
incq %r13
jmp 0x60f74
testl %r12d, %r12d
je 0x614f5
cmpl $0x1, 0x24(%rsp)
pushq $0x5
popq %rax
sbbl $0x0, %eax
movl %eax, 0x5c(%rsp)
movq %rbx, 0x60(%rsp)
leaq 0x8(,%rbx,8), %rax
movq %rax, 0x78(%rsp)
xorl %eax, %eax
testl %r12d, %r12d
cmovlel %eax, %r12d
movq %r12, 0x30(%rsp)
pushq $0x1
popq %rax
movb $0x1, %cl
leaq 0x80(%rsp), %r13
movl %eax, 0x4(%rsp)
movl %ecx, 0x58(%rsp)
movq 0x40(%rbp), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq 0x38(%rsp), %rcx
movq %rbp, %rdi
callq 0x60ad8
testq %rax, %rax
je 0x61520
movq %rax, %rbx
callq 0x310e8
movq %r13, %rdi
movq %rax, %rsi
callq 0x66840
movq 0x8(%rbx), %rax
movq 0x50(%rsp), %rcx
movq %rax, 0x40(%rsp)
movq %rcx, 0x70(%rsp)
cmpq %rcx, %rax
je 0x61094
movq %r13, %rdi
pushq $0x2a
popq %rsi
pushq $0x2
popq %rdx
callq 0x66969
testq %rax, %rax
je 0x616a3
movq %r13, %rdi
leaq 0x5afe1(%rip), %rsi     # 0xbc04e
pushq $0x6
popq %rdx
callq 0x66a2d
testq %rax, %rax
je 0x616d9
movq 0x50(%rsp), %rsi
movq %r13, %rdi
callq 0x66a95
testq %rax, %rax
je 0x616be
movq %rbx, 0x48(%rsp)
xorl %r12d, %r12d
cmpq %r12, 0x30(%rsp)
je 0x611f1
movq 0x10(%rbp), %rdi
movq (%r14,%r12,8), %rsi
callq 0x3c077
cmpq $-0x1, %rax
je 0x610d2
movq %rax, %r15
callq 0x2b8b6
subq %rax, %r15
cmpq $0x2, %r15
pushq $0x1
popq %rax
cmovlq %rax, %r15
jmp 0x610d5
xorl %r15d, %r15d
movq %r13, %rdi
pushq $0x2a
popq %rsi
movl 0x5c(%rsp), %edx
callq 0x66969
testq %rax, %rax
je 0x61611
leaq 0x9d764(%rip), %rax     # 0xfe858
cmpl $0x0, 0x98c(%rax)
je 0x61119
movq %r13, %rdi
leaq 0x5afbe(%rip), %rsi     # 0xbc0c5
pushq $0xe
popq %rdx
callq 0x66a2d
testq %rax, %rax
jne 0x61134
jmp 0x6162c
movq %r13, %rdi
leaq 0x5afde(%rip), %rsi     # 0xbc101
pushq $0x7
popq %rdx
callq 0x66a2d
testq %rax, %rax
je 0x6167d
movq (%r14,%r12,8), %rax
movl (%rax), %ecx
shrl $0x4, %ecx
testb $0x7, %cl
jne 0x61662
movq 0x8(%rax), %rbx
movq %rbx, %rdi
callq 0x5b3e5
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x66a2d
testq %rax, %rax
je 0x615b7
movq %r13, %rdi
movq %r15, %rsi
callq 0x66a95
testq %rax, %rax
je 0x615d5
movq 0x28(%rsp), %rax
movq (%rax,%r12,8), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x6077f
movq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x5b3e5
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x66a2d
testq %rax, %rax
je 0x615f3
movq 0x128(%rsp), %rdi
callq 0x31164
cmpl $0x0, 0x24(%rsp)
je 0x611e9
movq %r13, %rdi
leaq 0x5b013(%rip), %rsi     # 0xbc1eb
pushq $0x7
popq %rdx
callq 0x66a2d
testq %rax, %rax
je 0x61647
incq %r12
jmp 0x6109c
callq 0x26890
movq %rax, 0x68(%rsp)
andl $0x0, (%rax)
movq 0xc0(%rsp), %rbp
xorl %r12d, %r12d
movq %rbp, %rdi
callq 0x5b3e5
movq %rax, %rbx
movq %rax, %r15
subq %r12, %r15
je 0x6124c
movl $0x10000, %eax          # imm = 0x10000
cmpq %rax, %r15
cmovaeq %rax, %r15
movq 0x48(%rsp), %rax
movl (%rax), %edi
leaq (%r12,%rbp), %rsi
movq 0x38(%rsp), %rcx
movq %r15, %rdx
callq 0x5a7d0
cmpl %r15d, %eax
jne 0x61297
cltq
addq %rax, %r12
jmp 0x61209
movq 0x70(%rsp), %rax
cmpq %rax, 0x40(%rsp)
movq 0x8(%rsp), %rbp
je 0x61284
movq 0x48(%rsp), %rax
movl (%rax), %edi
movq 0x38(%rsp), %rcx
movl $0x400, %edx            # imm = 0x400
leaq 0x550(%rsp), %rsi
callq 0x5a912
testq %rax, %rax
jle 0x6143e
movl 0x20(%rsp), %ebp
testl %ebp, %ebp
je 0x612a4
movq $0x0, 0x10(%rsp)
jmp 0x612b3
xorl %r15d, %r15d
movq 0x8(%rsp), %rbp
jmp 0x61474
movq 0x78(%rsp), %rdi
callq 0x32755
movq %rax, 0x10(%rsp)
xorl %r15d, %r15d
movl $0x0, 0x4(%rsp)
pushq $0x1
popq %rax
movl %eax, 0x1c(%rsp)
cmpq %r15, 0x30(%rsp)
je 0x613c3
movq 0x48(%rsp), %rax
movl (%rax), %edi
movq 0x38(%rsp), %rcx
movl $0x400, %edx            # imm = 0x400
leaq 0x150(%rsp), %rsi
callq 0x5a912
testq %rax, %rax
jle 0x613ca
movq 0x70(%rsp), %rax
cmpq %rax, 0x40(%rsp)
setne %cl
cmpb $0x2d, 0x550(%rsp)
sete %al
andb %cl, %al
jne 0x61377
cmpb $0x2d, 0x150(%rsp)
je 0x61377
testl %ebp, %ebp
jne 0x613bb
movq 0x8(%rsp), %rbp
movq 0x10(%rbp), %rdi
movq (%r14,%r15,8), %rsi
callq 0x3b183
movq 0x10(%rbp), %rdi
movl 0x20(%rsp), %ebp
movq (%r14,%r15,8), %rsi
callq 0x3b0c9
leaq 0x9d509(%rip), %rax     # 0xfe858
incq 0x710(%rax)
movq (%r14,%r15,8), %rdi
movl 0x1c(%rsp), %ecx
movslq %ecx, %rax
incl %ecx
movl %ecx, 0x1c(%rsp)
movq 0x10(%rsp), %rcx
movq %rdi, (%rcx,%rax,8)
callq 0x39e18
jmp 0x613bb
cmpl $0x0, 0x4(%rsp)
jne 0x613b4
movq 0x48(%rsp), %rcx
orq $-0x1, 0x8(%rcx)
testb %al, %al
leaq 0x150(%rsp), %rdx
leaq 0x550(%rsp), %rax
cmovneq %rax, %rdx
incq %rdx
movq 0x8(%rsp), %rdi
leaq 0x5ae6b(%rip), %rsi     # 0xbc218
xorl %eax, %eax
callq 0x36b32
pushq $0x1
popq %rax
movl %eax, 0x4(%rsp)
incq %r15
jmp 0x612c5
movq 0x30(%rsp), %rax
jmp 0x613cd
movl %r15d, %eax
cmpq 0x60(%rsp), %r15
setl %cl
cmpl $0x0, 0x4(%rsp)
sete %dl
andb %cl, %dl
testl %eax, %eax
setne %al
movl 0x58(%rsp), %ecx
notb %cl
orb %al, %cl
testb $0x1, %cl
jne 0x613ff
testb %dl, %dl
je 0x613ff
movq 0x68(%rsp), %rax
cmpl $0x6e, (%rax)
jne 0x61435
testl %ebp, %ebp
jne 0x6145a
movb %dl, 0x40(%rsp)
movl 0x1c(%rsp), %ebp
cmpl $0x2, %ebp
jl 0x61443
leaq 0x4fb4b(%rip), %rdi     # 0xb0f62
pushq $0x3
popq %rsi
callq 0x39dcd
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq 0x8(%rsp), %rdi
movl %ebp, %esi
callq 0x38fb6
jmp 0x6144d
pushq $0x1
popq %rax
movl %eax, 0x4(%rsp)
jmp 0x6146a
xorl %r15d, %r15d
jmp 0x61474
movq 0x10(%rsp), %rdi
callq 0x32895
movq $0x0, 0x10(%rsp)
movb 0x40(%rsp), %dl
testb %dl, %dl
je 0x61544
movl $0x0, 0x4(%rsp)
movq 0x8(%rsp), %rbp
movq 0x10(%rsp), %r15
movq 0xc0(%rsp), %rdi
callq 0x31164
movq 0x40(%rbp), %rax
movq 0x8(%rax), %rdi
movq 0x10(%rax), %rsi
callq 0x60cab
movq %r15, %rdi
callq 0x32895
cmpl $0x0, 0x4(%rsp)
je 0x614b6
xorl %ecx, %ecx
movq 0x68(%rsp), %rax
cmpl $0x6e, (%rax)
movl $0x0, %eax
jne 0x60ff7
movq 0x28(%rsp), %rdi
callq 0x32895
movq %r14, %rdi
callq 0x32895
callq 0x310e8
cmpq %r12, %rbx
leaq 0x5ada0(%rip), %rcx     # 0xbc277
leaq 0x5ad91(%rip), %rdx     # 0xbc26f
cmoveq %rcx, %rdx
leaq 0x5ad56(%rip), %rsi     # 0xbc23f
movq %rax, %rdi
xorl %eax, %eax
callq 0x319d4
jmp 0x61513
movq 0x28(%rsp), %rdi
callq 0x32895
movq %r14, %rdi
callq 0x32895
leaq 0x5ab19(%rip), %rdi     # 0xbc027
callq 0x310f6
movq %rbp, %rdi
movq %rax, %rsi
callq 0x36a39
jmp 0x61532
movq 0x28(%rsp), %rdi
callq 0x32895
movq %r14, %rdi
callq 0x32895
addq $0x958, %rsp            # imm = 0x958
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0x4(%rsp)
movq 0x8(%rsp), %rbx
jne 0x61571
movq 0x50(%rsp), %rax
movq 0x48(%rsp), %rcx
movq %rax, 0x8(%rcx)
leaq 0x9dd4b(%rip), %rax     # 0xff2b0
movq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x36923
movq 0xc0(%rsp), %rdi
callq 0x31164
movq 0x28(%rsp), %rdi
callq 0x32895
movq %r14, %rdi
callq 0x32895
movq 0x10(%rsp), %rdi
callq 0x32895
cmpq 0x60(%rsp), %r15
jge 0x61532
movq 0x40(%rbx), %rax
movq 0x8(%rax), %rdi
movq 0x10(%rax), %rsi
callq 0x60cab
jmp 0x61532
leaq 0x5ab88(%rip), %rdx     # 0xbc146
leaq 0x590f8(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1297, %r8d           # imm = 0x1297
jmp 0x61696
leaq 0x5aba2(%rip), %rdx     # 0xbc17e
leaq 0x590da(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1298, %r8d           # imm = 0x1298
jmp 0x61696
leaq 0x5aba3(%rip), %rdx     # 0xbc19d
leaq 0x590bc(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x129f, %r8d           # imm = 0x129F
jmp 0x61696
leaq 0x5aa81(%rip), %rdx     # 0xbc099
leaq 0x5909e(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x128f, %r8d           # imm = 0x128F
jmp 0x61696
leaq 0x5aaa1(%rip), %rdx     # 0xbc0d4
leaq 0x59083(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1292, %r8d           # imm = 0x1292
jmp 0x61696
leaq 0x5aba5(%rip), %rdx     # 0xbc1f3
leaq 0x59068(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x12a5, %r8d           # imm = 0x12A5
jmp 0x61696
leaq 0x5aac5(%rip), %rdx     # 0xbc12e
leaq 0x5904d(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1295, %r8d           # imm = 0x1295
jmp 0x61696
leaq 0x5aa85(%rip), %rdx     # 0xbc109
leaq 0x59032(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1294, %r8d           # imm = 0x1294
callq 0x5868c
pushq $0x1
popq %rdi
callq 0x263d0
leaq 0x5a986(%rip), %rdx     # 0xbc030
leaq 0x5900c(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1281, %r8d           # imm = 0x1281
jmp 0x61696
leaq 0x5a9b4(%rip), %rdx     # 0xbc079
leaq 0x58ff1(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1283, %r8d           # imm = 0x1283
jmp 0x61696
leaq 0x5a975(%rip), %rdx     # 0xbc055
leaq 0x58fd6(%rip), %rcx     # 0xba6bd
movq %rbp, %rdi
xorl %esi, %esi
movl $0x1282, %r8d           # imm = 0x1282
jmp 0x61696