// File: /workspace/github_c_makefile_star2_O2/yakushstanislav[P]EagleMQ/src/eagle.c
// Function: init_commands
void init_commands()
{
	memset(commands, 0, sizeof(commands));

	commands[EG_PROTOCOL_CMD_AUTH] = auth_command_handler;
	commands[EG_PROTOCOL_CMD_PING] = ping_command_handler;
	commands[EG_PROTOCOL_CMD_STAT] = stat_command_handler;
	commands[EG_PROTOCOL_CMD_SAVE] = save_command_handler;
	commands[EG_PROTOCOL_CMD_FLUSH] = flush_command_handler;
	commands[EG_PROTOCOL_CMD_DISCONNECT] = disconnect_command_handler;

	commands[EG_PROTOCOL_CMD_USER_CREATE] = user_create_command_handler;
	commands[EG_PROTOCOL_CMD_USER_LIST] = user_list_command_handler;
	commands[EG_PROTOCOL_CMD_USER_RENAME] = user_rename_command_handler;
	commands[EG_PROTOCOL_CMD_USER_SET_PERM] = user_set_perm_command_handler;
	commands[EG_PROTOCOL_CMD_USER_DELETE] = user_delete_command_handler;

	commands[EG_PROTOCOL_CMD_QUEUE_CREATE] = queue_create_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_DECLARE] = queue_declare_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_EXIST] = queue_exist_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_LIST] = queue_list_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_RENAME] = queue_rename_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_SIZE] = queue_size_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_PUSH] = queue_push_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_GET] = queue_get_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_POP] = queue_pop_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_CONFIRM] = queue_confirm_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_SUBSCRIBE] = queue_subscribe_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_UNSUBSCRIBE] = queue_unsubscribe_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_PURGE] = queue_purge_command_handler;
	commands[EG_PROTOCOL_CMD_QUEUE_DELETE] = queue_delete_command_handler;

	commands[EG_PROTOCOL_CMD_ROUTE_CREATE] = route_create_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_EXIST] = route_exist_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_LIST] = route_list_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_KEYS] = route_keys_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_RENAME] = route_rename_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_BIND] = route_bind_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_UNBIND] = route_unbind_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_PUSH] = route_push_command_handler;
	commands[EG_PROTOCOL_CMD_ROUTE_DELETE] = route_delete_command_handler;

	commands[EG_PROTOCOL_CMD_CHANNEL_CREATE] = channel_create_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_EXIST] = channel_exist_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_LIST] = channel_list_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_RENAME] = channel_rename_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_PUBLISH] = channel_publish_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_SUBSCRIBE] = channel_subscribe_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_PSUBSCRIBE] = channel_psubscribe_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_UNSUBSCRIBE] = channel_unsubscribe_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_PUNSUBSCRIBE] = channel_punsubscribe_command_handler;
	commands[EG_PROTOCOL_CMD_CHANNEL_DELETE] = channel_delete_command_handler;
}

// Assembly:
pushq %rax
leaq 0xfa7f(%rip), %rdi      # 0x122a0
movl $0x800, %edx            # imm = 0x800
xorl %esi, %esi
callq 0x21c0
leaq 0x2684(%rip), %rax      # 0x4eb8
movq %rax, 0xfab5(%rip)      # 0x122f0
leaq 0x2752(%rip), %rax      # 0x4f94
movq %rax, 0xfaaf(%rip)      # 0x122f8
leaq 0x275f(%rip), %rax      # 0x4faf
movq %rax, 0xfaa9(%rip)      # 0x12300
leaq 0x2914(%rip), %rax      # 0x5172
movq %rax, 0xfaa3(%rip)      # 0x12308
leaq 0x2980(%rip), %rax      # 0x51ec
movq %rax, 0xfa9d(%rip)      # 0x12310
leaq 0x2b00(%rip), %rax      # 0x537a
movq %rax, 0xfa97(%rip)      # 0x12318
leaq 0x2cb1(%rip), %rax      # 0x5539
movq %rax, 0xfb01(%rip)      # 0x12390
leaq 0x2d6e(%rip), %rax      # 0x5604
movq %rax, 0xfafb(%rip)      # 0x12398
leaq 0x2e86(%rip), %rax      # 0x572a
movq %rax, 0xfaf5(%rip)      # 0x123a0
leaq 0x2f5c(%rip), %rax      # 0x580e
movq %rax, 0xfaef(%rip)      # 0x123a8
leaq 0x2fef(%rip), %rax      # 0x58af
movq %rax, 0xfae9(%rip)      # 0x123b0
leaq 0x309b(%rip), %rax      # 0x5969
movq %rax, 0xfae3(%rip)      # 0x123b8
leaq 0x3158(%rip), %rax      # 0x5a34
movq %rax, 0xfadd(%rip)      # 0x123c0
leaq 0x3201(%rip), %rax      # 0x5aeb
movq %rax, 0xfad7(%rip)      # 0x123c8
leaq 0x32be(%rip), %rax      # 0x5bb6
movq %rax, 0xfad1(%rip)      # 0x123d0
leaq 0x341f(%rip), %rax      # 0x5d25
movq %rax, 0xfacb(%rip)      # 0x123d8
leaq 0x34e6(%rip), %rax      # 0x5dfa
movq %rax, 0xfac5(%rip)      # 0x123e0
leaq 0x35b9(%rip), %rax      # 0x5edb
movq %rax, 0xfabf(%rip)      # 0x123e8
leaq 0x368b(%rip), %rax      # 0x5fbb
movq %rax, 0xfab9(%rip)      # 0x123f0
leaq 0x37b9(%rip), %rax      # 0x60f7
movq %rax, 0xfab3(%rip)      # 0x123f8
leaq 0x38c6(%rip), %rax      # 0x6212
movq %rax, 0xfaad(%rip)      # 0x12400
leaq 0x3946(%rip), %rax      # 0x62a0
movq %rax, 0xfaa7(%rip)      # 0x12408
leaq 0x39f1(%rip), %rax      # 0x6359
movq %rax, 0xfaa1(%rip)      # 0x12410
leaq 0x3a97(%rip), %rax      # 0x640d
movq %rax, 0xfa9b(%rip)      # 0x12418
leaq 0x3b12(%rip), %rax      # 0x6496
movq %rax, 0xfa95(%rip)      # 0x12420
leaq 0x3bbb(%rip), %rax      # 0x654d
movq %rax, 0xfa8f(%rip)      # 0x12428
leaq 0x3c67(%rip), %rax      # 0x6607
movq %rax, 0xfa89(%rip)      # 0x12430
leaq 0x3d2b(%rip), %rax      # 0x66d9
movq %rax, 0xfa83(%rip)      # 0x12438
leaq 0x3e42(%rip), %rax      # 0x67fe
movq %rax, 0xfa7d(%rip)      # 0x12440
leaq 0x3fd8(%rip), %rax      # 0x69a2
movq %rax, 0xfa77(%rip)      # 0x12448
leaq 0x40a6(%rip), %rax      # 0x6a7e
movq %rax, 0xfa71(%rip)      # 0x12450
leaq 0x4192(%rip), %rax      # 0x6b78
movq %rax, 0xfa6b(%rip)      # 0x12458
leaq 0x4287(%rip), %rax      # 0x6c7b
movq %rax, 0xfa65(%rip)      # 0x12460
leaq 0x4392(%rip), %rax      # 0x6d94
movq %rax, 0xfa5f(%rip)      # 0x12468
leaq 0x443b(%rip), %rax      # 0x6e4b
movq %rax, 0xfa59(%rip)      # 0x12470
leaq 0x44e7(%rip), %rax      # 0x6f05
movq %rax, 0xfa53(%rip)      # 0x12478
leaq 0x45ab(%rip), %rax      # 0x6fd7
movq %rax, 0xfa4d(%rip)      # 0x12480
leaq 0x46db(%rip), %rax      # 0x7115
movq %rax, 0xfa47(%rip)      # 0x12488
leaq 0x47a9(%rip), %rax      # 0x71f1
movq %rax, 0xfa41(%rip)      # 0x12490
leaq 0x487c(%rip), %rax      # 0x72d2
movq %rax, 0xfa3b(%rip)      # 0x12498
leaq 0x492f(%rip), %rax      # 0x7393
movq %rax, 0xfa35(%rip)      # 0x124a0
leaq 0x49e2(%rip), %rax      # 0x7454
movq %rax, 0xfa2f(%rip)      # 0x124a8
leaq 0x4aaa(%rip), %rax      # 0x752a
movq %rax, 0xfa29(%rip)      # 0x124b0
leaq 0x4b72(%rip), %rax      # 0x7600
movq %rax, 0xfa23(%rip)      # 0x124b8
popq %rax
retq