// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
movl $0x1e8, %edi            # imm = 0x1E8
callq 0x5090
movq %rax, 0x13f5b(%rip)     # 0x172b0
movq 0x13f54(%rip), %rax     # 0x172b0
movl $0x0, 0x8(%rax)
movq 0x13f46(%rip), %rax     # 0x172b0
movl $0x0, 0xc(%rax)
movq 0x13f38(%rip), %rax     # 0x172b0
movq $0x0, 0x10(%rax)
leaq 0xeec8(%rip), %rdi      # 0x1224f
callq 0x53c0
movq %rax, %rcx
movq 0x13f1a(%rip), %rax     # 0x172b0
movq %rcx, 0x18(%rax)
movq 0x13f0f(%rip), %rax     # 0x172b0
movl $0x1eab, 0x20(%rax)     # imm = 0x1EAB
movq 0x13f01(%rip), %rax     # 0x172b0
movq $0x0, 0x28(%rax)
movq 0x13ef2(%rip), %rax     # 0x172b0
movl $0x0, 0x30(%rax)
movq 0x13ee4(%rip), %rax     # 0x172b0
movl $0xffffffff, 0x34(%rax) # imm = 0xFFFFFFFF
leaq 0xee7f(%rip), %rdi      # 0x12259
callq 0x53c0
movq %rax, %rcx
movq 0x13ec7(%rip), %rax     # 0x172b0
movq %rcx, 0x38(%rax)
leaq 0xee65(%rip), %rdi      # 0x12259
callq 0x53c0
movq %rax, %rcx
movq 0x13ead(%rip), %rax     # 0x172b0
movq %rcx, 0x40(%rax)
movq 0x13ea2(%rip), %rax     # 0x172b0
movq $0x4000, 0x48(%rax)     # imm = 0x4000
movq 0x13e93(%rip), %rax     # 0x172b0
movq $0x0, 0x50(%rax)
movq 0x13e84(%rip), %rax     # 0x172b0
movl $0x0, 0x58(%rax)
movq 0x13e76(%rip), %rax     # 0x172b0
movl $0x0, 0x5c(%rax)
callq 0xbfe0
movq %rax, %rcx
movq 0x13e60(%rip), %rax     # 0x172b0
movq %rcx, 0x160(%rax)
callq 0xbfe0
movq %rax, %rcx
movq 0x13e4a(%rip), %rax     # 0x172b0
movq %rcx, 0x168(%rax)
callq 0xbfe0
movq %rax, %rcx
movq 0x13e34(%rip), %rax     # 0x172b0
movq %rcx, 0x170(%rax)
callq 0xbfe0
movq %rax, %rcx
movq 0x13e1e(%rip), %rax     # 0x172b0
movq %rcx, 0x178(%rax)
callq 0xbfe0
movq %rax, %rcx
movq 0x13e08(%rip), %rax     # 0x172b0
movq %rcx, 0x180(%rax)
xorl %eax, %eax
movl %eax, %edi
callq 0x22e0
movq %rax, %rcx
movq 0x13dee(%rip), %rax     # 0x172b0
movq %rcx, 0x188(%rax)
callq 0x28f0
movq %rax, %rcx
movq 0x13dd8(%rip), %rax     # 0x172b0
movq %rcx, 0x190(%rax)
xorl %eax, %eax
movl %eax, %edi
callq 0x22e0
movq %rax, %rcx
movq 0x13dbe(%rip), %rax     # 0x172b0
movq %rcx, 0x198(%rax)
xorl %eax, %eax
movl %eax, %edi
callq 0x22e0
movq %rax, %rcx
movq 0x13da4(%rip), %rax     # 0x172b0
movq %rcx, 0x1a0(%rax)
xorl %eax, %eax
movl %eax, %edi
callq 0x22e0
movq %rax, %rcx
movq 0x13d8a(%rip), %rax     # 0x172b0
movq %rcx, 0x1a8(%rax)
movq 0x13d7c(%rip), %rax     # 0x172b0
movl $0x0, 0x1b0(%rax)
movq 0x13d6b(%rip), %rax     # 0x172b0
movl $0x0, 0x1b4(%rax)
movq 0x13d5a(%rip), %rax     # 0x172b0
movl $0x0, 0x1b8(%rax)
leaq 0xecf8(%rip), %rdi      # 0x1225f
callq 0x53c0
movq %rax, %rcx
movq 0x13d3a(%rip), %rax     # 0x172b0
movq %rcx, 0x1c0(%rax)
movq 0x13d2c(%rip), %rax     # 0x172b0
movq $0x0, 0x1c8(%rax)
leaq 0xecd5(%rip), %rdi      # 0x1226b
callq 0x53c0
movq %rax, %rcx
movq 0x13d0b(%rip), %rax     # 0x172b0
movq %rcx, 0x1d0(%rax)
movq 0x13cfd(%rip), %rax     # 0x172b0
leaq 0xecbd(%rip), %rcx      # 0x12277
movq %rcx, 0x1d8(%rax)
movq 0x13ce8(%rip), %rax     # 0x172b0
movl $0x0, 0x1e0(%rax)
movq 0x13cd7(%rip), %rax     # 0x172b0
movq 0x168(%rax), %rax
leaq 0x9699(%rip), %rcx      # 0xcc80
movq %rcx, 0x10(%rax)
movq 0x13cbe(%rip), %rax     # 0x172b0
movq 0x170(%rax), %rax
leaq 0xa4e0(%rip), %rcx      # 0xdae0
movq %rcx, 0x10(%rax)
movq 0x13ca5(%rip), %rax     # 0x172b0
movq 0x178(%rax), %rax
leaq 0xaae7(%rip), %rcx      # 0xe100
movq %rcx, 0x10(%rax)
movq 0x13c8c(%rip), %rax     # 0x172b0
movq 0x180(%rax), %rax
leaq 0xb4ee(%rip), %rcx      # 0xeb20
movq %rcx, 0x10(%rax)
popq %rbp
retq
nopl (%rax,%rax)