// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x8c080(%rip), %rdi     # 0xa5f5f
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5903(%rip)     # 0xbf7f8
leaq 0x897c3(%rip), %rdi     # 0xa36bf
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa58ee(%rip)     # 0xbf800
leaq 0x897ac(%rip), %rdi     # 0xa36c5
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa58d9(%rip)     # 0xbf808
leaq 0x89796(%rip), %rdi     # 0xa36cc
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa58c4(%rip)     # 0xbf810
leaq 0x89780(%rip), %rdi     # 0xa36d3
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa58af(%rip)     # 0xbf818
leaq 0x89768(%rip), %rdi     # 0xa36d8
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa589a(%rip)     # 0xbf820
leaq 0x89750(%rip), %rdi     # 0xa36dd
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5885(%rip)     # 0xbf828
leaq 0x89739(%rip), %rdi     # 0xa36e3
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5888(%rip)     # 0xbf848
leaq 0x89722(%rip), %rdi     # 0xa36e9
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5873(%rip)     # 0xbf850
leaq 0x8970b(%rip), %rdi     # 0xa36ef
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5866(%rip)     # 0xbf860
leaq 0x896f3(%rip), %rdi     # 0xa36f4
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5819(%rip)     # 0xbf830
leaq 0x896de(%rip), %rdi     # 0xa36fc
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5824(%rip)     # 0xbf858
leaq 0x896cb(%rip), %rdi     # 0xa3706
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5817(%rip)     # 0xbf868
leaq 0x896f3(%rip), %rdi     # 0xa374b
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5802(%rip)     # 0xbf870
leaq 0x896e9(%rip), %rdi     # 0xa375e
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa57ed(%rip)     # 0xbf878
leaq 0x896e0(%rip), %rdi     # 0xa3772
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa57d8(%rip)     # 0xbf880
leaq 0x896f6(%rip), %rdi     # 0xa37a5
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa57c3(%rip)     # 0xbf888
leaq 0x896f3(%rip), %rdi     # 0xa37bf
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa57ae(%rip)     # 0xbf890
leaq 0x89707(%rip), %rdi     # 0xa37f0
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5799(%rip)     # 0xbf898
leaq 0x8971d(%rip), %rdi     # 0xa3823
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5784(%rip)     # 0xbf8a0
leaq 0x8975b(%rip), %rdi     # 0xa387e
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5777(%rip)     # 0xbf8b0
leaq 0x89790(%rip), %rdi     # 0xa38d0
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5752(%rip)     # 0xbf8a8
leaq 0x89842(%rip), %rdi     # 0xa399f
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5745(%rip)     # 0xbf8b8
leaq 0x8985c(%rip), %rdi     # 0xa39d6
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5738(%rip)     # 0xbf8c8
leaq 0x89862(%rip), %rdi     # 0xa39f9
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5733(%rip)     # 0xbf8e0
leaq 0x89880(%rip), %rdi     # 0xa3a34
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa56f6(%rip)     # 0xbf8c0
leaq 0x898a2(%rip), %rdi     # 0xa3a73
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa56e9(%rip)     # 0xbf8d0
leaq 0x898b4(%rip), %rdi     # 0xa3aa2
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa56d4(%rip)     # 0xbf8d8
leaq 0x8c583(%rip), %rdi     # 0xa678e
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5617(%rip)     # 0xbf838
leaq 0x8cf9f(%rip), %rdi     # 0xa71c7
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa5602(%rip)     # 0xbf840
leaq 0x89888(%rip), %rdi     # 0xa3acd
callq 0x1e2b0
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, 0xa568d(%rip)     # 0xbf8e8
leaq 0x8986d(%rip), %rdi     # 0xa3acf
movl $0xd, %esi
callq 0x292f0
movq %rax, 0xa567d(%rip)     # 0xbf8f0
leaq 0x89863(%rip), %rdi     # 0xa3add
movl $0xe, %esi
callq 0x292f0
movq %rax, 0xa566d(%rip)     # 0xbf8f8
leaq 0x8985a(%rip), %rdi     # 0xa3aec
movl $0xf, %esi
callq 0x292f0
movq %rax, 0xa565d(%rip)     # 0xbf900
leaq 0x89852(%rip), %rdi     # 0xa3afc
movl $0x12, %esi
callq 0x292f0
movq %rax, 0xa564d(%rip)     # 0xbf908
leaq 0x8984d(%rip), %rdi     # 0xa3b0f
movl $0x11, %esi
callq 0x292f0
movq %rax, 0xa563d(%rip)     # 0xbf910
leaq 0x89847(%rip), %rdi     # 0xa3b21
movl $0x13, %esi
callq 0x292f0
movq %rax, 0xa562d(%rip)     # 0xbf918
movl $0x0, -0x4(%rbp)
cmpl $0x2710, -0x4(%rbp)     # imm = 0x2710
jge 0x1a347
movslq -0x4(%rbp), %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, %rdx
movslq -0x4(%rbp), %rcx
leaq 0xa54e4(%rip), %rax     # 0xbf7f8
movq %rdx, 0x148(%rax,%rcx,8)
movslq -0x4(%rbp), %rcx
leaq 0xa54d1(%rip), %rax     # 0xbf7f8
movq 0x148(%rax,%rcx,8), %rax
movl (%rax), %ecx
andl $0xffffff0f, %ecx       # imm = 0xFFFFFF0F
orl $0x10, %ecx
movl %ecx, (%rax)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x1a2f2
movl $0x0, -0x4(%rbp)
cmpl $0x20, -0x4(%rbp)
jge 0x1a3d8
callq 0x1e290
movq %rax, %rdi
movl -0x4(%rbp), %edx
leaq 0x897cb(%rip), %rsi     # 0xa3b35
movb $0x0, %al
callq 0x1f350
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, %rdx
movslq -0x4(%rbp), %rcx
leaq 0xa546f(%rip), %rax     # 0xbf7f8
movq %rdx, 0x139c8(%rax,%rcx,8)
callq 0x1e290
movq %rax, %rdi
movl -0x4(%rbp), %edx
leaq 0x89798(%rip), %rsi     # 0xa3b3b
movb $0x0, %al
callq 0x1f350
movq %rax, %rsi
xorl %edi, %edi
callq 0x29150
movq %rax, %rdx
movslq -0x4(%rbp), %rcx
leaq 0xa5436(%rip), %rax     # 0xbf7f8
movq %rdx, 0x13ac8(%rax,%rcx,8)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x1a34e
leaq 0x89762(%rip), %rdi     # 0xa3b41
movl $0x9, %esi
callq 0x292f0
movq %rax, 0xa5540(%rip)     # 0xbf930
leaq 0x89754(%rip), %rdi     # 0xa3b4b
movl $0x9, %esi
callq 0x292f0
movq %rax, 0xa5530(%rip)     # 0xbf938
addq $0x10, %rsp
popq %rbp
retq
nop