// File: /workspace/github_c_makefile_star2_O1/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 0x3a818(%rip), %rdi     # 0x555ab
callq 0x1de62
xorl %ebx, %ebx
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x549ed(%rip)     # 0x6f798
leaq 0x378ed(%rip), %rdi     # 0x5269f
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x549d8(%rip)     # 0x6f7a0
leaq 0x378d6(%rip), %rdi     # 0x526a5
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x549c3(%rip)     # 0x6f7a8
leaq 0x378c0(%rip), %rdi     # 0x526ac
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x549ae(%rip)     # 0x6f7b0
leaq 0x378aa(%rip), %rdi     # 0x526b3
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54999(%rip)     # 0x6f7b8
leaq 0x37892(%rip), %rdi     # 0x526b8
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54984(%rip)     # 0x6f7c0
leaq 0x3787a(%rip), %rdi     # 0x526bd
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5496f(%rip)     # 0x6f7c8
leaq 0x37863(%rip), %rdi     # 0x526c3
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54972(%rip)     # 0x6f7e8
leaq 0x3784c(%rip), %rdi     # 0x526c9
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5495d(%rip)     # 0x6f7f0
leaq 0x37835(%rip), %rdi     # 0x526cf
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54950(%rip)     # 0x6f800
leaq 0x3781d(%rip), %rdi     # 0x526d4
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54903(%rip)     # 0x6f7d0
leaq 0x37808(%rip), %rdi     # 0x526dc
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5490e(%rip)     # 0x6f7f8
leaq 0x377f5(%rip), %rdi     # 0x526e6
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54901(%rip)     # 0x6f808
leaq 0x3781d(%rip), %rdi     # 0x5272b
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x548ec(%rip)     # 0x6f810
leaq 0x37813(%rip), %rdi     # 0x5273e
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x548d7(%rip)     # 0x6f818
leaq 0x3780a(%rip), %rdi     # 0x52752
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x548c2(%rip)     # 0x6f820
leaq 0x37820(%rip), %rdi     # 0x52785
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x548ad(%rip)     # 0x6f828
leaq 0x3781d(%rip), %rdi     # 0x5279f
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54898(%rip)     # 0x6f830
leaq 0x37831(%rip), %rdi     # 0x527d0
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54883(%rip)     # 0x6f838
leaq 0x37847(%rip), %rdi     # 0x52803
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5486e(%rip)     # 0x6f840
leaq 0x37885(%rip), %rdi     # 0x5285e
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54861(%rip)     # 0x6f850
leaq 0x378ba(%rip), %rdi     # 0x528b0
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5483c(%rip)     # 0x6f848
leaq 0x3796c(%rip), %rdi     # 0x5297f
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5482f(%rip)     # 0x6f858
leaq 0x37986(%rip), %rdi     # 0x529b6
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54822(%rip)     # 0x6f868
leaq 0x3798c(%rip), %rdi     # 0x529d9
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x5481d(%rip)     # 0x6f880
leaq 0x379aa(%rip), %rdi     # 0x52a14
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x547e0(%rip)     # 0x6f860
leaq 0x379cc(%rip), %rdi     # 0x52a53
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x547d3(%rip)     # 0x6f870
leaq 0x379de(%rip), %rdi     # 0x52a82
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x547be(%rip)     # 0x6f878
leaq 0x3ad19(%rip), %rdi     # 0x55dda
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54701(%rip)     # 0x6f7d8
leaq 0x3b781(%rip), %rdi     # 0x5685f
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x546ec(%rip)     # 0x6f7e0
leaq 0x379b2(%rip), %rdi     # 0x52aad
callq 0x1de62
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x54777(%rip)     # 0x6f888
leaq 0x37997(%rip), %rdi     # 0x52aaf
movl $0xd, %esi
callq 0x25af0
movq %rax, 0x54767(%rip)     # 0x6f890
leaq 0x3798d(%rip), %rdi     # 0x52abd
movl $0xe, %esi
callq 0x25af0
movq %rax, 0x54757(%rip)     # 0x6f898
leaq 0x37984(%rip), %rdi     # 0x52acc
movl $0xf, %esi
callq 0x25af0
movq %rax, 0x54747(%rip)     # 0x6f8a0
leaq 0x3797c(%rip), %rdi     # 0x52adc
movl $0x12, %esi
callq 0x25af0
movq %rax, 0x54737(%rip)     # 0x6f8a8
leaq 0x37977(%rip), %rdi     # 0x52aef
movl $0x11, %esi
callq 0x25af0
movq %rax, 0x54727(%rip)     # 0x6f8b0
leaq 0x37971(%rip), %rdi     # 0x52b01
movl $0x13, %esi
callq 0x25af0
movq %rax, 0x54717(%rip)     # 0x6f8b8
leaq 0x545f0(%rip), %r12     # 0x6f798
movl $0xffffff0f, %ebp       # imm = 0xFFFFFF0F
xorl %edi, %edi
movq %rbx, %rsi
callq 0x25a2c
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 0x1b1ad
leaq 0x3793a(%rip), %rbx     # 0x52b15
leaq 0x37939(%rip), %r14     # 0x52b1b
xorl %r15d, %r15d
callq 0x1de3f
movq %rax, %rdi
movq %rbx, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x1eace
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x139c8(%r12,%r15,8)
callq 0x1de3f
movq %rax, %rdi
movq %r14, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x1eace
xorl %edi, %edi
movq %rax, %rsi
callq 0x25a2c
movq %rax, 0x13ac8(%r12,%r15,8)
incq %r15
cmpq $0x20, %r15
jne 0x1b1e5
leaq 0x378de(%rip), %rdi     # 0x52b21
movl $0x9, %esi
callq 0x25af0
movq %rax, 0x5467c(%rip)     # 0x6f8d0
leaq 0x378d0(%rip), %rdi     # 0x52b2b
movl $0x9, %esi
callq 0x25af0
movq %rax, 0x5466c(%rip)     # 0x6f8d8
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq