// File: /workspace/github_c_makefile_star2_O3/yakushstanislav[P]EagleMQ/src/eagle.c
// Function: init_server_config
void init_server_config(void)
{
	server = (EagleServer*)xmalloc(sizeof(*server));

	server->fd = 0;
	server->sfd = 0;
	server->ufd = 0;
	server->addr = xstrdup(EG_DEFAULT_ADDR);
	server->port = EG_DEFAULT_PORT;
	server->unix_socket = NULL;
	server->unix_perm = 0;
	server->child_pid = -1;
	server->name = xstrdup(EG_DEFAULT_ADMIN_NAME);
	server->password = xstrdup(EG_DEFAULT_ADMIN_PASSWORD);
	server->max_clients = EG_DEFAULT_MAX_CLIENTS;
	server->max_memory = EG_DEFAULT_MAX_MEMORY;
	server->client_timeout = EG_DEFAULT_CLIENT_TIMEOUT;
	server->storage_timeout = EG_DEFAULT_SAVE_TIMEOUT;
	server->clients = list_create();
	server->users = list_create();
	server->queues = list_create();
	server->routes = list_create();
	server->channels = list_create();
	server->now_time = time(NULL);
	server->now_timems = mstime();
	server->start_time = time(NULL);
	server->last_save = time(NULL);
	server->last_memcheck = time(NULL);
	server->nomemory = 0;
	server->msg_counter = 0;
	server->daemonize = EG_DEFAULT_DAEMONIZE;
	server->storage = xstrdup(EG_DEFAULT_STORAGE_PATH);
	server->pidfile = NULL;
	server->logfile = xstrdup(EG_DEFAULT_LOG_PATH);
	server->config = EG_DEFAULT_CONFIG_PATH;
	server->shutdown = 0;

	EG_LIST_SET_FREE_METHOD(server->users, free_user_list_handler);
	EG_LIST_SET_FREE_METHOD(server->queues, free_queue_list_handler);
	EG_LIST_SET_FREE_METHOD(server->routes, free_route_list_handler);
	EG_LIST_SET_FREE_METHOD(server->channels, free_channel_list_handler);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl $0x1e8, %edi            # imm = 0x1E8
callq 0x4770
movq %rax, 0xeddc(%rip)      # 0x12290
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
leaq 0x8da9(%rip), %rdi      # 0xc26b
callq 0x496a
movq 0xedc2(%rip), %rcx      # 0x12290
movq %rax, 0x18(%rcx)
movl $0x1eab, 0x20(%rcx)     # imm = 0x1EAB
xorl %r14d, %r14d
movq %r14, 0x28(%rcx)
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, 0x30(%rcx)
leaq 0x8d80(%rip), %rbx      # 0xc275
movq %rbx, %rdi
callq 0x496a
movq 0xed8c(%rip), %rcx      # 0x12290
movq %rax, 0x38(%rcx)
movq %rbx, %rdi
callq 0x496a
movq 0xed79(%rip), %rcx      # 0x12290
movq %rax, 0x40(%rcx)
movq $0x4000, 0x48(%rcx)     # imm = 0x4000
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rcx)
callq 0x8c60
movq 0xed5a(%rip), %rcx      # 0x12290
movq %rax, 0x160(%rcx)
callq 0x8c60
movq 0xed47(%rip), %rcx      # 0x12290
movq %rax, 0x168(%rcx)
callq 0x8c60
movq 0xed34(%rip), %rcx      # 0x12290
movq %rax, 0x170(%rcx)
callq 0x8c60
movq 0xed21(%rip), %rcx      # 0x12290
movq %rax, 0x178(%rcx)
callq 0x8c60
movq 0xed0e(%rip), %rcx      # 0x12290
movq %rax, 0x180(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xecf9(%rip), %rcx      # 0x12290
movq %rax, 0x188(%rcx)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x21a0
imulq $0x3e8, (%rbx), %rcx    # imm = 0x3E8
movabsq $0x20c49ba5e353f7cf, %rax # imm = 0x20C49BA5E353F7CF
imulq 0x8(%rbx)
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x7, %rdx
addq %rax, %rdx
addq %rcx, %rdx
movq 0xecb6(%rip), %rax      # 0x12290
movq %rdx, 0x190(%rax)
xorl %edi, %edi
callq 0x22a0
movq 0xeca1(%rip), %rcx      # 0x12290
movq %rax, 0x198(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xec8c(%rip), %rcx      # 0x12290
movq %rax, 0x1a0(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xec77(%rip), %rcx      # 0x12290
movq %rax, 0x1a8(%rcx)
movq %r14, 0x1b0(%rcx)
movl %r14d, 0x1b8(%rcx)
leaq 0x8c46(%rip), %rdi      # 0xc27b
callq 0x496a
movq 0xec4f(%rip), %rcx      # 0x12290
movq %rax, 0x1c0(%rcx)
movq %r14, 0x1c8(%rcx)
leaq 0x8c31(%rip), %rdi      # 0xc287
callq 0x496a
movq 0xec2e(%rip), %rcx      # 0x12290
movq %rax, 0x1d0(%rcx)
leaq 0x8c23(%rip), %rax      # 0xc293
movq %rax, 0x1d8(%rcx)
movl %r14d, 0x1e0(%rcx)
movq 0x168(%rcx), %rax
leaq 0x5bb8(%rip), %rdx      # 0x9244
movq %rdx, 0x10(%rax)
movq 0x170(%rcx), %rax
leaq 0x64f3(%rip), %rdx      # 0x9b91
movq %rdx, 0x10(%rax)
movq 0x178(%rcx), %rax
leaq 0x68a2(%rip), %rdx      # 0x9f52
movq %rdx, 0x10(%rax)
movq 0x180(%rcx), %rax
leaq 0x6ee9(%rip), %rcx      # 0xa5ab
movq %rcx, 0x10(%rax)
addq $0x18, %rsp
popq %rbx
popq %r14
retq