// File: /workspace/github_c_makefile_star2_O2/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 %rbx
movl $0x1e8, %edi            # imm = 0x1E8
callq 0x40f8
movq %rax, 0xf281(%rip)      # 0x12290
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
leaq 0x924e(%rip), %rdi      # 0xc26b
callq 0x42e1
movq 0xf267(%rip), %rcx      # 0x12290
movq %rax, 0x18(%rcx)
movl $0x1eab, 0x20(%rcx)     # imm = 0x1EAB
andq $0x0, 0x28(%rcx)
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, 0x30(%rcx)
leaq 0x9227(%rip), %rbx      # 0xc275
movq %rbx, %rdi
callq 0x42e1
movq 0xf233(%rip), %rcx      # 0x12290
movq %rax, 0x38(%rcx)
movq %rbx, %rdi
callq 0x42e1
movq 0xf220(%rip), %rcx      # 0x12290
movq %rax, 0x40(%rcx)
movq $0x4000, 0x48(%rcx)     # imm = 0x4000
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rcx)
callq 0x7fec
movq 0xf201(%rip), %rcx      # 0x12290
movq %rax, 0x160(%rcx)
callq 0x7fec
movq 0xf1ee(%rip), %rcx      # 0x12290
movq %rax, 0x168(%rcx)
callq 0x7fec
movq 0xf1db(%rip), %rcx      # 0x12290
movq %rax, 0x170(%rcx)
callq 0x7fec
movq 0xf1c8(%rip), %rcx      # 0x12290
movq %rax, 0x178(%rcx)
callq 0x7fec
movq 0xf1b5(%rip), %rcx      # 0x12290
movq %rax, 0x180(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xf1a0(%rip), %rcx      # 0x12290
movq %rax, 0x188(%rcx)
callq 0x27e9
movq 0xf18d(%rip), %rcx      # 0x12290
movq %rax, 0x190(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xf178(%rip), %rcx      # 0x12290
movq %rax, 0x198(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xf163(%rip), %rcx      # 0x12290
movq %rax, 0x1a0(%rcx)
xorl %edi, %edi
callq 0x22a0
movq 0xf14e(%rip), %rcx      # 0x12290
movq %rax, 0x1a8(%rcx)
andq $0x0, 0x1b0(%rcx)
andl $0x0, 0x1b8(%rcx)
leaq 0x911c(%rip), %rdi      # 0xc27b
callq 0x42e1
movq 0xf125(%rip), %rcx      # 0x12290
movq %rax, 0x1c0(%rcx)
andq $0x0, 0x1c8(%rcx)
leaq 0x9106(%rip), %rdi      # 0xc287
callq 0x42e1
movq 0xf103(%rip), %rcx      # 0x12290
movq %rax, 0x1d0(%rcx)
leaq 0x90f8(%rip), %rax      # 0xc293
movq %rax, 0x1d8(%rcx)
andl $0x0, 0x1e0(%rcx)
movq 0x168(%rcx), %rax
leaq 0x53a7(%rip), %rdx      # 0x855e
movq %rdx, 0x10(%rax)
movq 0x170(%rcx), %rax
leaq 0x5c33(%rip), %rdx      # 0x8dfc
movq %rdx, 0x10(%rax)
movq 0x178(%rcx), %rax
leaq 0x5fab(%rip), %rdx      # 0x9186
movq %rdx, 0x10(%rax)
movq 0x180(%rcx), %rax
leaq 0x65a7(%rip), %rcx      # 0x9794
movq %rcx, 0x10(%rax)
popq %rbx
retq