// File: /workspace/github_c_makefile_star2_O3/erikdubbelboer[P]discnt/src/server.c
// Function: createSharedObjects
void createSharedObjects(void) {
    int j;

    shared.crlf = createObject(OBJ_STRING,sdsnew("\r\n"));
    shared.ok = createObject(OBJ_STRING,sdsnew("+OK\r\n"));
    shared.err = createObject(OBJ_STRING,sdsnew("-ERR\r\n"));
    shared.emptybulk = createObject(OBJ_STRING,sdsnew("$0\r\n\r\n"));
    shared.czero = createObject(OBJ_STRING,sdsnew(":0\r\n"));
    shared.cone = createObject(OBJ_STRING,sdsnew(":1\r\n"));
    shared.cnegone = createObject(OBJ_STRING,sdsnew(":-1\r\n"));
    shared.nullbulk = createObject(OBJ_STRING,sdsnew("$-1\r\n"));
    shared.nullmultibulk = createObject(OBJ_STRING,sdsnew("*-1\r\n"));
    shared.emptymultibulk = createObject(OBJ_STRING,sdsnew("*0\r\n"));
    shared.pong = createObject(OBJ_STRING,sdsnew("+PONG\r\n"));
    shared.queued = createObject(OBJ_STRING,sdsnew("+QUEUED\r\n"));
    shared.wrongtypeerr = createObject(OBJ_STRING,sdsnew(
        "-WRONGTYPE Operation against a key holding the wrong kind of value\r\n"));
    shared.nokeyerr = createObject(OBJ_STRING,sdsnew(
        "-ERR no such key\r\n"));
    shared.syntaxerr = createObject(OBJ_STRING,sdsnew(
        "-ERR syntax error\r\n"));
    shared.sameobjecterr = createObject(OBJ_STRING,sdsnew(
        "-ERR source and destination objects are the same\r\n"));
    shared.outofrangeerr = createObject(OBJ_STRING,sdsnew(
        "-ERR index out of range\r\n"));
    shared.noscripterr = createObject(OBJ_STRING,sdsnew(
        "-NOSCRIPT No matching script. Please use EVAL.\r\n"));
    shared.loadingerr = createObject(OBJ_STRING,sdsnew(
        "-LOADING Discnt is loading the dataset in memory\r\n"));
    shared.slowscripterr = createObject(OBJ_STRING,sdsnew(
        "-BUSY Discnt is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE.\r\n"));
    shared.masterdownerr = createObject(OBJ_STRING,sdsnew(
        "-MASTERDOWN Link with MASTER is down and slave-serve-stale-data is set to 'no'.\r\n"));
    shared.bgsaveerr = createObject(OBJ_STRING,sdsnew(
        "-MISCONF Discnt is configured to save DDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Discnt logs for details about the error.\r\n"));
    shared.roslaveerr = createObject(OBJ_STRING,sdsnew(
        "-READONLY You can't write against a read only slave.\r\n"));
    shared.noautherr = createObject(OBJ_STRING,sdsnew(
        "-NOAUTH Authentication required.\r\n"));
    shared.oomerr = createObject(OBJ_STRING,sdsnew(
        "-OOM command not allowed when used memory > 'maxmemory'.\r\n"));
    shared.execaborterr = createObject(OBJ_STRING,sdsnew(
        "-EXECABORT Transaction discarded because of previous errors.\r\n"));
    shared.noreplicaserr = createObject(OBJ_STRING,sdsnew(
        "-NOREPLICAS Not enough good slaves to write.\r\n"));
    shared.busykeyerr = createObject(OBJ_STRING,sdsnew(
        "-BUSYKEY Target key name already exists.\r\n"));
    shared.space = createObject(OBJ_STRING,sdsnew(" "));
    shared.colon = createObject(OBJ_STRING,sdsnew(":"));
    shared.plus = createObject(OBJ_STRING,sdsnew("+"));
    shared.messagebulk = createStringObject("$7\r\nmessage\r\n",13);
    shared.pmessagebulk = createStringObject("$8\r\npmessage\r\n",14);
    shared.subscribebulk = createStringObject("$9\r\nsubscribe\r\n",15);
    shared.unsubscribebulk = createStringObject("$11\r\nunsubscribe\r\n",18);
    shared.psubscribebulk = createStringObject("$10\r\npsubscribe\r\n",17);
    shared.punsubscribebulk = createStringObject("$12\r\npunsubscribe\r\n",19);
    for (j = 0; j < OBJ_SHARED_INTEGERS; j++) {
        shared.integers[j] = createObject(OBJ_STRING,(void*)(long)j);
        shared.integers[j]->encoding = OBJ_ENCODING_INT;
    }
    for (j = 0; j < OBJ_SHARED_BULKHDR_LEN; j++) {
        shared.mbulkhdr[j] = createObject(OBJ_STRING,
            sdscatprintf(sdsempty(),"*%d\r\n",j));
        shared.bulkhdr[j] = createObject(OBJ_STRING,
            sdscatprintf(sdsempty(),"$%d\r\n",j));
    }
    /* The following two shared objects, minstring and maxstrings, are not
     * actually used for their value but as a special object meaning
     * respectively the minimum possible string and the maximum possible
     * string in string comparisons for the ZRANGEBYLEX command. */
    shared.minstring = createStringObject("minstring",9);
    shared.maxstring = createStringObject("maxstring",9);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0x3ab9d(%rip), %rdi     # 0x555a7
callq 0x1dba5
xorl %ebx, %ebx
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54d76(%rip)     # 0x6f798
leaq 0x37cc6(%rip), %rdi     # 0x526ef
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54d61(%rip)     # 0x6f7a0
leaq 0x37caf(%rip), %rdi     # 0x526f5
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54d4c(%rip)     # 0x6f7a8
leaq 0x37c99(%rip), %rdi     # 0x526fc
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54d37(%rip)     # 0x6f7b0
leaq 0x37c83(%rip), %rdi     # 0x52703
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54d22(%rip)     # 0x6f7b8
leaq 0x37c6b(%rip), %rdi     # 0x52708
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54d0d(%rip)     # 0x6f7c0
leaq 0x37c53(%rip), %rdi     # 0x5270d
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54cf8(%rip)     # 0x6f7c8
leaq 0x37c3c(%rip), %rdi     # 0x52713
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54cfb(%rip)     # 0x6f7e8
leaq 0x37c25(%rip), %rdi     # 0x52719
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54ce6(%rip)     # 0x6f7f0
leaq 0x37c0e(%rip), %rdi     # 0x5271f
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54cd9(%rip)     # 0x6f800
leaq 0x37bf6(%rip), %rdi     # 0x52724
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c8c(%rip)     # 0x6f7d0
leaq 0x37be1(%rip), %rdi     # 0x5272c
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c97(%rip)     # 0x6f7f8
leaq 0x37bce(%rip), %rdi     # 0x52736
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c8a(%rip)     # 0x6f808
leaq 0x37bf6(%rip), %rdi     # 0x5277b
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c75(%rip)     # 0x6f810
leaq 0x37bec(%rip), %rdi     # 0x5278e
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c60(%rip)     # 0x6f818
leaq 0x37be3(%rip), %rdi     # 0x527a2
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c4b(%rip)     # 0x6f820
leaq 0x37bf9(%rip), %rdi     # 0x527d5
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c36(%rip)     # 0x6f828
leaq 0x37bf6(%rip), %rdi     # 0x527ef
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c21(%rip)     # 0x6f830
leaq 0x37c0a(%rip), %rdi     # 0x52820
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54c0c(%rip)     # 0x6f838
leaq 0x37c20(%rip), %rdi     # 0x52853
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54bf7(%rip)     # 0x6f840
leaq 0x37c5e(%rip), %rdi     # 0x528ae
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54bea(%rip)     # 0x6f850
leaq 0x37c93(%rip), %rdi     # 0x52900
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54bc5(%rip)     # 0x6f848
leaq 0x37d45(%rip), %rdi     # 0x529cf
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54bb8(%rip)     # 0x6f858
leaq 0x37d5f(%rip), %rdi     # 0x52a06
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54bab(%rip)     # 0x6f868
leaq 0x37d65(%rip), %rdi     # 0x52a29
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54ba6(%rip)     # 0x6f880
leaq 0x37d83(%rip), %rdi     # 0x52a64
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54b69(%rip)     # 0x6f860
leaq 0x37da5(%rip), %rdi     # 0x52aa3
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54b5c(%rip)     # 0x6f870
leaq 0x37db7(%rip), %rdi     # 0x52ad2
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54b47(%rip)     # 0x6f878
leaq 0x3b09e(%rip), %rdi     # 0x55dd6
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54a8a(%rip)     # 0x6f7d8
leaq 0x3baf2(%rip), %rdi     # 0x56847
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54a75(%rip)     # 0x6f7e0
leaq 0x37d8b(%rip), %rdi     # 0x52afd
callq 0x1dba5
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x54b00(%rip)     # 0x6f888
leaq 0x37d70(%rip), %rdi     # 0x52aff
movl $0xd, %esi
callq 0x25710
movq %rax, 0x54af0(%rip)     # 0x6f890
leaq 0x37d66(%rip), %rdi     # 0x52b0d
movl $0xe, %esi
callq 0x25710
movq %rax, 0x54ae0(%rip)     # 0x6f898
leaq 0x37d5d(%rip), %rdi     # 0x52b1c
movl $0xf, %esi
callq 0x25710
movq %rax, 0x54ad0(%rip)     # 0x6f8a0
leaq 0x37d55(%rip), %rdi     # 0x52b2c
movl $0x12, %esi
callq 0x25710
movq %rax, 0x54ac0(%rip)     # 0x6f8a8
leaq 0x37d50(%rip), %rdi     # 0x52b3f
movl $0x11, %esi
callq 0x25710
movq %rax, 0x54ab0(%rip)     # 0x6f8b0
leaq 0x37d4a(%rip), %rdi     # 0x52b51
movl $0x13, %esi
callq 0x25710
movq %rax, 0x54aa0(%rip)     # 0x6f8b8
leaq 0x54979(%rip), %r12     # 0x6f798
movl $0xffffff0f, %ebp       # imm = 0xFFFFFF0F
xorl %edi, %edi
movq %rbx, %rsi
callq 0x2564c
movq %rax, 0x148(%r12,%rbx,8)
movl (%rax), %ecx
andl %ebp, %ecx
orl $0x10, %ecx
movl %ecx, (%rax)
incq %rbx
cmpq $0x2710, %rbx           # imm = 0x2710
jne 0x1ae24
leaq 0x37d13(%rip), %rbx     # 0x52b65
leaq 0x37d12(%rip), %r14     # 0x52b6b
xorl %r15d, %r15d
callq 0x1db82
movq %rax, %rdi
movq %rbx, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x1e826
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x139c8(%r12,%r15,8)
callq 0x1db82
movq %rax, %rdi
movq %r14, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x1e826
xorl %edi, %edi
movq %rax, %rsi
callq 0x2564c
movq %rax, 0x13ac8(%r12,%r15,8)
incq %r15
cmpq $0x20, %r15
jne 0x1ae5c
leaq 0x37cb7(%rip), %rdi     # 0x52b71
movl $0x9, %esi
callq 0x25710
movq %rax, 0x54a05(%rip)     # 0x6f8d0
leaq 0x37ca9(%rip), %rdi     # 0x52b7b
movl $0x9, %esi
callq 0x25710
movq %rax, 0x549f5(%rip)     # 0x6f8d8
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq