// File: /workspace/github_c_makefile_star2_O1/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 0xfa5c(%rip), %rdi      # 0x122a0
movl $0x800, %edx            # imm = 0x800
xorl %esi, %esi
callq 0x21d0
leaq 0x2899(%rip), %rax      # 0x50f0
movq %rax, 0xfa92(%rip)      # 0x122f0
leaq 0x2982(%rip), %rax      # 0x51e7
movq %rax, 0xfa8c(%rip)      # 0x122f8
leaq 0x2993(%rip), %rax      # 0x5206
movq %rax, 0xfa86(%rip)      # 0x12300
leaq 0x2b5b(%rip), %rax      # 0x53dc
movq %rax, 0xfa80(%rip)      # 0x12308
leaq 0x2bd3(%rip), %rax      # 0x5462
movq %rax, 0xfa7a(%rip)      # 0x12310
leaq 0x2d95(%rip), %rax      # 0x5632
movq %rax, 0xfa74(%rip)      # 0x12318
leaq 0x2f8c(%rip), %rax      # 0x5837
movq %rax, 0xfade(%rip)      # 0x12390
leaq 0x3066(%rip), %rax      # 0x591f
movq %rax, 0xfad8(%rip)      # 0x12398
leaq 0x3199(%rip), %rax      # 0x5a60
movq %rax, 0xfad2(%rip)      # 0x123a0
leaq 0x3292(%rip), %rax      # 0x5b67
movq %rax, 0xfacc(%rip)      # 0x123a8
leaq 0x3349(%rip), %rax      # 0x5c2c
movq %rax, 0xfac6(%rip)      # 0x123b0
leaq 0x3416(%rip), %rax      # 0x5d07
movq %rax, 0xfac0(%rip)      # 0x123b8
leaq 0x34ef(%rip), %rax      # 0x5dee
movq %rax, 0xfaba(%rip)      # 0x123c0
leaq 0x35b0(%rip), %rax      # 0x5ebd
movq %rax, 0xfab4(%rip)      # 0x123c8
leaq 0x367d(%rip), %rax      # 0x5f98
movq %rax, 0xfaae(%rip)      # 0x123d0
leaq 0x37f3(%rip), %rax      # 0x611c
movq %rax, 0xfaa8(%rip)      # 0x123d8
leaq 0x38d4(%rip), %rax      # 0x620b
movq %rax, 0xfaa2(%rip)      # 0x123e0
leaq 0x39c1(%rip), %rax      # 0x6306
movq %rax, 0xfa9c(%rip)      # 0x123e8
leaq 0x3ab7(%rip), %rax      # 0x640a
movq %rax, 0xfa96(%rip)      # 0x123f0
leaq 0x3c01(%rip), %rax      # 0x6562
movq %rax, 0xfa90(%rip)      # 0x123f8
leaq 0x3d26(%rip), %rax      # 0x6695
movq %rax, 0xfa8a(%rip)      # 0x12400
leaq 0x3dc4(%rip), %rax      # 0x6741
movq %rax, 0xfa84(%rip)      # 0x12408
leaq 0x3e8d(%rip), %rax      # 0x6818
movq %rax, 0xfa7e(%rip)      # 0x12410
leaq 0x3f51(%rip), %rax      # 0x68ea
movq %rax, 0xfa78(%rip)      # 0x12418
leaq 0x3fe4(%rip), %rax      # 0x698b
movq %rax, 0xfa72(%rip)      # 0x12420
leaq 0x40a8(%rip), %rax      # 0x6a5d
movq %rax, 0xfa6c(%rip)      # 0x12428
leaq 0x416c(%rip), %rax      # 0x6b2f
movq %rax, 0xfa66(%rip)      # 0x12430
leaq 0x4240(%rip), %rax      # 0x6c11
movq %rax, 0xfa60(%rip)      # 0x12438
leaq 0x4370(%rip), %rax      # 0x6d4f
movq %rax, 0xfa5a(%rip)      # 0x12440
leaq 0x4537(%rip), %rax      # 0x6f24
movq %rax, 0xfa54(%rip)      # 0x12448
leaq 0x461f(%rip), %rax      # 0x701a
movq %rax, 0xfa4e(%rip)      # 0x12450
leaq 0x472b(%rip), %rax      # 0x7134
movq %rax, 0xfa48(%rip)      # 0x12458
leaq 0x4843(%rip), %rax      # 0x725a
movq %rax, 0xfa42(%rip)      # 0x12460
leaq 0x4977(%rip), %rax      # 0x739c
movq %rax, 0xfa3c(%rip)      # 0x12468
leaq 0x4a3b(%rip), %rax      # 0x746e
movq %rax, 0xfa36(%rip)      # 0x12470
leaq 0x4aff(%rip), %rax      # 0x7540
movq %rax, 0xfa30(%rip)      # 0x12478
leaq 0x4bd3(%rip), %rax      # 0x7622
movq %rax, 0xfa2a(%rip)      # 0x12480
leaq 0x4d19(%rip), %rax      # 0x7776
movq %rax, 0xfa24(%rip)      # 0x12488
leaq 0x4e01(%rip), %rax      # 0x786c
movq %rax, 0xfa1e(%rip)      # 0x12490
leaq 0x4eee(%rip), %rax      # 0x7967
movq %rax, 0xfa18(%rip)      # 0x12498
leaq 0x4fbb(%rip), %rax      # 0x7a42
movq %rax, 0xfa12(%rip)      # 0x124a0
leaq 0x5088(%rip), %rax      # 0x7b1d
movq %rax, 0xfa0c(%rip)      # 0x124a8
leaq 0x5170(%rip), %rax      # 0x7c13
movq %rax, 0xfa06(%rip)      # 0x124b0
leaq 0x5258(%rip), %rax      # 0x7d09
movq %rax, 0xfa00(%rip)      # 0x124b8
popq %rax
retq