// File: /workspace/github_c_makefile_star2_O0/CBaquero[P]random/Random.cc
// Function: RedisModule_OnLoad
int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {
    if (RedisModule_Init(ctx,"random",1,REDISMODULE_APIVER_1)
        == REDISMODULE_ERR) return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.dunif",
        RandomDUnif_RedisCommand,"readonly random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.unif",
        RandomUnif_RedisCommand,"readonly random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.lunif",
        RandomLUnif_RedisCommand,"random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.norm",
        RandomNorm_RedisCommand,"readonly random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.lnorm",
        RandomLNorm_RedisCommand,"random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.exp",
        RandomExp_RedisCommand,"readonly random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.lexp",
        RandomLExp_RedisCommand,"random",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    if (RedisModule_CreateCommand(ctx,"random.hist",
        RandomHist_RedisCommand,"readonly",0,0,0) == REDISMODULE_ERR)
        return REDISMODULE_ERR;

    return REDISMODULE_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x2925(%rip), %rsi      # 0xa1b3
movl $0x1, %ecx
movl %ecx, %edx
callq 0x7ad0
cmpl $0x1, %eax
jne 0x78ab
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x65de(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x28dd(%rip), %rsi      # 0xa19d
movq 0x63c9(%rip), %rdx      # 0xdc90
leaq 0x28dc(%rip), %rcx      # 0xa1aa
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x78ee
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x659b(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x28b7(%rip), %rsi      # 0xa1ba
movq 0x639e(%rip), %rdx      # 0xdca8
leaq 0x2899(%rip), %rcx      # 0xa1aa
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x7931
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x6558(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x2880(%rip), %rsi      # 0xa1c6
movq 0x63cb(%rip), %rdx      # 0xdd18
leaq 0x285f(%rip), %rcx      # 0xa1b3
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x7974
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x6515(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x284a(%rip), %rsi      # 0xa1d3
movq 0x6278(%rip), %rdx      # 0xdc08
leaq 0x2813(%rip), %rcx      # 0xa1aa
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x79b7
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x64d2(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x2813(%rip), %rsi      # 0xa1df
movq 0x61fd(%rip), %rdx      # 0xdbd0
leaq 0x27d9(%rip), %rcx      # 0xa1b3
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x79fa
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x648f(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x27dd(%rip), %rsi      # 0xa1ec
movq 0x62a2(%rip), %rdx      # 0xdcb8
leaq 0x278d(%rip), %rcx      # 0xa1aa
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x7a3d
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x644c(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x27a5(%rip), %rsi      # 0xa1f7
movq 0x6557(%rip), %rdx      # 0xdfb0
leaq 0x2753(%rip), %rcx      # 0xa1b3
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x7a7d
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movq 0x640c(%rip), %rax      # 0xde90
movq (%rax), %rax
movq -0x10(%rbp), %rdi
leaq 0x2771(%rip), %rsi      # 0xa203
movq 0x6457(%rip), %rdx      # 0xdef0
leaq 0x276f(%rip), %rcx      # 0xa20f
xorl %r9d, %r9d
movl %r9d, %r8d
movl $0x0, (%rsp)
callq *%rax
cmpl $0x1, %eax
jne 0x7abd
movl $0x1, -0x4(%rbp)
jmp 0x7ac4
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)