// File: /workspace/github_c_makefile_star2_O1/sachinites[P]CommandParser/cmd_hier.c
// Function: init_libcli
void 
init_libcli(){

    init_param(&root, CMD, "ROOT", 0, 0, INVALID, 0, "ROOT");
    
    /*Intialised serialized buffer to collect leaf values in TLV format*/
    init_serialized_buffer_of_defined_size(&tlv_buff, TLV_MAX_BUFFER_SIZE);
    //init_serialized_buffer_of_defined_size(&file_read_buffer, TLV_MAX_BUFFER_SIZE);

    reset_cmd_tree_cursor();

    /*Leaf datatypes standard Validation callbacks registration*/
    leaf_handler_array[INT]     = int_validation_handler;
    leaf_handler_array[STRING]  = string_validation_handler;
    leaf_handler_array[IPV4]    = ipv4_validation_handler;
    leaf_handler_array[IPV6]    = ipv6_validation_handler;
    leaf_handler_array[FLOAT]   = float_validation_handler;
    leaf_handler_array[BOOLEAN] = boolean_validation_handler;

    set_device_name(DEFAULT_DEVICE_NAME);
   
    /*Initialize the token array*/
    init_token_array();
     
    /*Initialise Capablities Params*/
    init_param(&mode_param, CMD, MODE_CHARACTER, mode_enter_callback , 0, INVALID, 0, "ENTER MODE");
    init_param(&suboptions_param, CMD, SUBOPTIONS_CHARACTER, display_sub_options_callback, 0, INVALID, 0, "Sub-Options");
    init_param(&cmd_expansion_param, CMD, CMD_EXPANSION_CHARACTER, display_cmd_expansion_callback, 0, INVALID, 0, "All possible Command expansions"); 

    /*Registering Zero level default command hooks*/
    /*Show hook*/
    init_param(&show, CMD, "show", 0, 0, INVALID, 0, "show cmds");
    libcli_register_param(&root, &show);

    static param_t help;
    init_param(&help, CMD, "help", show_help_handler, 0, INVALID, 0, "help how to use this CLI");
    libcli_register_param(&show, &help);
    set_param_cmd_code(&help, SHOW_HELP);

    /*show history*/
    static param_t show_history;
    init_param(&show_history, CMD, "history", show_history_callback, 0, INVALID, 0, "Command history");
    libcli_register_param(&show, &show_history);
    set_param_cmd_code(&show_history, SHOW_HISTORY);

    static param_t no_of_commands;
    init_param(&no_of_commands, LEAF, "N", show_history_callback, 0, INT, "N", "No Of Commands to fetch");  
    libcli_register_param(&show_history, &no_of_commands);
    set_param_cmd_code(&no_of_commands, SHOW_HISTORY_N);

    /*show registered commands*/
    static param_t show_resgistered;
    init_param(&show_resgistered, CMD, "registered", 0, 0, INVALID, 0, "registered");
    libcli_register_param(&show, &show_resgistered);

    static param_t show_resgistered_cmds;
    init_param(&show_resgistered_cmds, CMD, "commands", show_resgistered_cmd_handler, 0, INVALID, 0, "commands");
    libcli_register_param(&show_resgistered, &show_resgistered_cmds); 
    set_param_cmd_code(&show_resgistered_cmds, SHOW_REGISTERED_COMMANDS);

    /*debug hook*/
    init_param(&debug, CMD, "debug", 0, 0, INVALID, 0, "debug cmds");
    libcli_register_param(&root, &debug);

    {
        static param_t ut;
         init_param(&ut, CMD, "ut", 0, 0, INVALID, 0, "debug ut");
         libcli_register_param(&debug, &ut);
         {
             static param_t enable;
             init_param(&enable, LEAF, 0, ut_test_handler, enable_disable_validation_handler, STRING, "ut-enable", "enable | disable");
             libcli_register_param(&ut, &enable);
             set_param_cmd_code(&enable, CMDCODE_DEBUG_UT);
         }
    }
    
    /*debug show cmdtree*/

    init_param(&debug_show, CMD, "show", 0, 0, INVALID, 0, "debug show commands");
    libcli_register_param(&debug, &debug_show);

    static param_t debug_show_cmdtree;
    init_param(&debug_show_cmdtree, CMD, "cmdtree", show_cmd_tree, 0, INVALID, 0, "Display command tree");
    libcli_register_param(&debug_show, &debug_show_cmdtree);
    set_param_cmd_code(&debug_show_cmdtree, DEBUG_SHOW_CMDTREE);

    /*configure hook*/
    init_param(&config, CMD, "config", config_mode_enter_handler, 0, INVALID, 0, "config cmds");
    libcli_register_param(&root, &config);

	static param_t load;
	init_param(&load, CMD, "load", 0, 0, INVALID, 0, "load cmds");
	libcli_register_param(&config, &load);

	static param_t file_name;
	init_param(&file_name, LEAF, 0, load_file_handler, 0, STRING, "file-name", "Name of the file");
	libcli_register_param(&load, &file_name);
	set_param_cmd_code(&file_name, CONFIG_LOAD_FILE);

    static param_t supportsave;
    init_param(&supportsave, CMD, "supportsave", 0 , 0, INVALID, 0, "Collect Support Save Data");
    libcli_register_param(&config, &supportsave);

    static param_t supportsave_enable;
    init_param(&supportsave_enable, CMD, "enable", supportsave_handler , 0, INVALID, 0, "enable/disable Support Save Data Collection");
    libcli_register_param(&supportsave, &supportsave_enable);
    set_param_cmd_code(&supportsave_enable, CONFIG_SUPPORTSAVE_ENABLE);

    /*clear hook*/
    init_param(&clear, CMD, "clear", 0, 0, INVALID, 0, "clear cmds");
    libcli_register_param(&root, &clear);

    /*run hook*/
    init_param(&run, CMD, "run", 0, 0, INVALID, 0, "run cmds");
    libcli_register_param(&root, &run);
    /*  run terminate */
    {
        static param_t terminate;
        init_param(&terminate, CMD, "term", cli_terminate_handler, 0, INVALID, 0, "Terminate appln");
        libcli_register_param(&run, &terminate);
    }
    {
        /* run ut <file path> <tc no> */
        static param_t ut;
        init_param(&ut, CMD, "ut", 0, 0, INVALID, 0, "Unit Test");
        libcli_register_param(&run, &ut);
        {
            static param_t ut_file_path;
            init_param(&ut_file_path, LEAF, 0, 0, 0, STRING, "ut-file-name", "UT file name");
            libcli_register_param(&ut, &ut_file_path);
            {
                static param_t tc_no;
                init_param(&tc_no, LEAF, 0, ut_test_handler, 0, INT, "tc-no", "Test Case Number");
                libcli_register_param(&ut_file_path, &tc_no);
                set_param_cmd_code(&tc_no, CMDCODE_RUN_UT_TC);
            }
        }
    }

    /*Hook up the show/debug/clear operational command in Do Hook*/
    init_param(&do_hook, CMD, "DO_HOOK", 0, 0, INVALID, 0, "operational commands shortcut");
    do_hook.options[MODE_PARAM_INDEX] = libcli_get_suboptions_param(); // A hack, just fill it 
    do_hook.options[SUBOPTIONS_INDEX] = libcli_get_suboptions_param();
    do_hook.options[CMD_EXPANSION_INDEX] = libcli_get_cmd_expansion_param(); 
    do_hook.options[CHILDREN_START_INDEX] = &show;
    do_hook.options[CHILDREN_START_INDEX+1] = &debug;
    do_hook.options[CHILDREN_START_INDEX+2] = &clear; 
    
    /*configure repeat*/
    init_param(&repeat, CMD, "repeat", repeat_last_command, 0, INVALID, 0, "repeat");
    libcli_register_param(&root, &repeat);
    
    /*config console name <new name>*/
    static param_t config_console;
    init_param(&config_console, CMD, "console", 0, 0, INVALID, 0, "console");
    libcli_register_param(&config, &config_console);

    
    static param_t config_console_name;
    init_param(&config_console_name, CMD, "name", 0, 0, INVALID, 0, "name");
    libcli_register_param(&config_console, &config_console_name);

    static param_t config_console_name_name;
    init_param(&config_console_name_name, LEAF, 0, config_console_name_handler, 0, STRING, "cons-name", "Name of Console"); 
    libcli_register_param(&config_console_name, &config_console_name_name);
    set_param_cmd_code(&config_console_name_name, CONFIG_CONSOLEN_NAME_NAME);

    /* Install clear command "cls"*/
    static param_t cls;
    init_param(&cls, CMD, CLEAR_SCR_STRING, clear_screen_handler, 0, INVALID, 0, "clear screen");
    HIDE_PARAM(&cls);
    libcli_register_param(0, &cls);

    static param_t exit_cmd;
    init_param(&exit_cmd, CMD, GOTO_ONE_LVL_UP_STRING, exit_cmd_handler, 0, INVALID, 0, "Move One Level Up");
    HIDE_PARAM(&exit_cmd);
    libcli_register_param(0, &exit_cmd);

    static param_t end_cmd;
    init_param(&end_cmd, CMD, GOTO_TOP_STRING, end_cmd_handler, 0, INVALID, 0, "Goto Top level");
    HIDE_PARAM(&end_cmd);
    libcli_register_param(0, &end_cmd);

    /*initialise show extension params*/
    init_param(&show_brief_extension, CMD, "brief", show_extension_param_handler, 0, INVALID, 0, "brief output");
    /*Command Negation API Should be called by application and not by infra
     * else application would not be allowed to add more children into config 
     * param*/
    //support_cmd_negation(&config);
    
    /* Resgister CTRL-C signal handler*/
    signal(SIGINT, ctrlC_signal_handler);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x65a0(%rip), %rdx      # 0x8400
xorl %r13d, %r13d
leaq 0xcc3e(%rip), %r15      # 0xeaa8
movq %r15, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rdx
pushq %r13
callq 0x28c3
addq $0x10, %rsp
leaq 0xd5d3(%rip), %rdi      # 0xf460
movl $0x400, %esi            # imm = 0x400
callq 0x4466
movq %r15, 0xd5ba(%rip)      # 0xf458
movq 0xd5bb(%rip), %rdi      # 0xf460
callq 0x4b10
leaq 0x3283(%rip), %rax      # 0x5134
movq %rax, 0xd5b8(%rip)      # 0xf470
leaq 0x3278(%rip), %rax      # 0x5137
movq %rax, 0xd5b2(%rip)      # 0xf478
leaq 0x326d(%rip), %rax      # 0x513a
movq %rax, 0xd5ac(%rip)      # 0xf480
leaq 0x3262(%rip), %rax      # 0x513d
movq %rax, 0xd5ae(%rip)      # 0xf490
leaq 0x3257(%rip), %rax      # 0x5140
movq %rax, 0xd598(%rip)      # 0xf488
leaq 0x324c(%rip), %rax      # 0x5143
movq %rax, 0xd59a(%rip)      # 0xf498
leaq 0x6500(%rip), %rdi      # 0x8405
callq 0x2a45
xorl %eax, %eax
callq 0x4b1c
leaq 0x64fc(%rip), %rax      # 0x8414
leaq 0xc8a1(%rip), %rdi      # 0xe7c0
leaq 0x64ec(%rip), %rdx      # 0x8412
leaq 0x339b(%rip), %rcx      # 0x52c8
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r13
callq 0x28c3
addq $0x10, %rsp
leaq 0x64d6(%rip), %rax      # 0x8421
leaq 0xc966(%rip), %rdi      # 0xe8b8
leaq 0x64c6(%rip), %rdx      # 0x841f
leaq 0x33ba(%rip), %rcx      # 0x531a
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r13
callq 0x28c3
addq $0x10, %rsp
leaq 0x64af(%rip), %rax      # 0x842d
leaq 0xca2b(%rip), %rdi      # 0xe9b0
leaq 0x66c3(%rip), %rdx      # 0x864f
leaq 0x347f(%rip), %rcx      # 0x5412
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r13
callq 0x28c3
addq $0x10, %rsp
leaq 0x64a1(%rip), %rax      # 0x8452
leaq 0xcce0(%rip), %r12      # 0xec98
leaq 0x648e(%rip), %rdx      # 0x844d
movq %r12, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r13
callq 0x28c3
addq $0x10, %rsp
movq %r15, %rdi
movq %r12, %rsi
callq 0x1bbf
leaq 0x6474(%rip), %rax      # 0x8461
leaq 0xd4b4(%rip), %r14      # 0xf4a8
leaq 0x6461(%rip), %rdx      # 0x845c
leaq 0x3812(%rip), %rcx      # 0x5814
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r13
callq 0x28c3
addq $0x10, %rsp
movq %r12, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %r13, 0xd48a(%rip)      # 0xf4b8
je 0x28a4
movl $0x1, 0xd55a(%rip)      # 0xf598
leaq 0x6435(%rip), %rax      # 0x847a
leaq 0xd554(%rip), %r14      # 0xf5a0
leaq 0x642f(%rip), %rdx      # 0x8482
leaq 0x34a6(%rip), %rcx      # 0x5500
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq $0x0
callq 0x28c3
addq $0x10, %rsp
leaq 0xcc1d(%rip), %rdi      # 0xec98
movq %r14, %rsi
callq 0x1bbf
cmpq $0x0, 0xd525(%rip)      # 0xf5b0
je 0x28a4
movl $0x2, 0xd5f5(%rip)      # 0xf690
leaq 0xd4fe(%rip), %r14      # 0xf5a0
leaq 0x63e1(%rip), %rax      # 0x848a
leaq 0x62c7(%rip), %rdx      # 0x8377
leaq 0xd5e1(%rip), %r15      # 0xf698
leaq 0x3442(%rip), %rcx      # 0x5500
movq %r15, %rdi
movl $0x1, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rax
pushq %rdx
callq 0x28c3
addq $0x10, %rsp
movq %r14, %rdi
movq %r15, %rsi
callq 0x1bbf
cmpq $0x0, 0xd5be(%rip)      # 0xf6a8
je 0x28a4
movl $0x3, 0xd68e(%rip)      # 0xf788
leaq 0x63a1(%rip), %rdx      # 0x84a2
xorl %ebx, %ebx
leaq 0xd686(%rip), %r12      # 0xf790
movq %r12, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rdx
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
leaq 0xcb6c(%rip), %r15      # 0xec98
movq %r15, %rdi
movq %r12, %rsi
callq 0x1bbf
leaq 0x5edf(%rip), %rdx      # 0x801d
leaq 0xd743(%rip), %r14      # 0xf888
leaq 0x37ed(%rip), %rcx      # 0x5939
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rdx
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %r12, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbx, 0xd721(%rip)      # 0xf898
je 0x28a4
movl $0x4, 0xd7f1(%rip)      # 0xf978
leaq 0x6325(%rip), %rax      # 0x84b3
xorl %ebx, %ebx
leaq 0xcbf9(%rip), %r13      # 0xed90
leaq 0x630f(%rip), %rdx      # 0x84ad
movq %r13, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
leaq 0xc8e8(%rip), %rdi      # 0xeaa8
movq %r13, %rsi
callq 0x1bbf
leaq 0x62ef(%rip), %rax      # 0x84be
leaq 0xd7aa(%rip), %r12      # 0xf980
leaq 0x62e7(%rip), %rdx      # 0x84c4
movq %r12, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %r13, %rdi
movq %r12, %rsi
callq 0x1bbf
leaq 0x62c7(%rip), %rax      # 0x84d1
leaq 0x62b6(%rip), %r10      # 0x84c7
leaq 0xd860(%rip), %r14      # 0xfa78
leaq 0x4be1(%rip), %rcx      # 0x6e00
leaq 0x2f5b(%rip), %r8       # 0x5181
movq %r14, %rdi
movl $0x1, %esi
xorl %edx, %edx
movl $0x1, %r9d
pushq %rax
pushq %r10
callq 0x28c3
addq $0x10, %rsp
movq %r12, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbx, 0xd834(%rip)      # 0xfa88
je 0x28a4
movl $0xa, 0xd904(%rip)      # 0xfb68
leaq 0x6277(%rip), %rax      # 0x84e2
xorl %ebx, %ebx
leaq 0xcc14(%rip), %r13      # 0xee88
leaq 0x61d2(%rip), %rdx      # 0x844d
movq %r13, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
leaq 0xcaf3(%rip), %r12      # 0xed90
movq %r12, %rdi
movq %r13, %rsi
callq 0x1bbf
leaq 0x624f(%rip), %rax      # 0x84fe
leaq 0xd8ba(%rip), %r14      # 0xfb70
leaq 0x6239(%rip), %rdx      # 0x84f6
leaq 0x3693(%rip), %rcx      # 0x5957
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %r13, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbx, 0xd891(%rip)      # 0xfb80
je 0x28a4
movl $0x7, 0xd961(%rip)      # 0xfc60
leaq 0x6214(%rip), %rax      # 0x851a
xorl %ebx, %ebx
leaq 0xcc71(%rip), %r13      # 0xef80
leaq 0x61fd(%rip), %rdx      # 0x8513
leaq 0x3447(%rip), %rcx      # 0x5764
movq %r13, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
leaq 0xc76b(%rip), %rdi      # 0xeaa8
movq %r13, %rsi
callq 0x1bbf
leaq 0x61df(%rip), %rax      # 0x852b
leaq 0xd915(%rip), %rbp      # 0xfc68
leaq 0x61cc(%rip), %rdx      # 0x8526
movq %rbp, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %r13, %rdi
movq %rbp, %rsi
callq 0x1bbf
leaq 0x61ae(%rip), %rax      # 0x8535
leaq 0x624a(%rip), %r10      # 0x85d8
leaq 0xd9cb(%rip), %r14      # 0xfd60
leaq 0x33f1(%rip), %rcx      # 0x578d
movq %r14, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %r8d, %r8d
movl $0x1, %r9d
pushq %rax
pushq %r10
callq 0x28c3
addq $0x10, %rsp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbx, 0xd9a3(%rip)      # 0xfd70
je 0x28a4
movl $0x8, 0xda73(%rip)      # 0xfe50
leaq 0x616e(%rip), %rax      # 0x8552
xorl %ebx, %ebx
leaq 0xda6b(%rip), %r13      # 0xfe58
leaq 0x6152(%rip), %rdx      # 0x8546
movq %r13, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
leaq 0xcb6a(%rip), %rdi      # 0xef80
movq %r13, %rsi
callq 0x1bbf
leaq 0x6147(%rip), %rax      # 0x856c
leaq 0xdb24(%rip), %r14      # 0xff50
leaq 0x6097(%rip), %rdx      # 0x84ca
leaq 0x3375(%rip), %rcx      # 0x57af
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %r13, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbx, 0xdafb(%rip)      # 0xff60
je 0x28a4
movl $0x5, 0xdbcb(%rip)      # 0x10040
leaq 0x6122(%rip), %rax      # 0x859e
xorl %ebx, %ebx
leaq 0xcbf3(%rip), %r13      # 0xf078
leaq 0x610c(%rip), %rdx      # 0x8598
movq %r13, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
leaq 0xc5fa(%rip), %r14      # 0xeaa8
movq %r14, %rdi
movq %r13, %rsi
callq 0x1bbf
leaq 0x60ed(%rip), %rax      # 0x85ad
leaq 0xcca9(%rip), %rbp      # 0xf170
leaq 0x60db(%rip), %rdx      # 0x85a9
movq %rbp, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %r14, %rdi
movq %rbp, %rsi
callq 0x1bbf
leaq 0x60c0(%rip), %rax      # 0x85bb
leaq 0xdb46(%rip), %r14      # 0x10048
leaq 0x60ad(%rip), %rdx      # 0x85b6
leaq 0x32f0(%rip), %rcx      # 0x5800
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1bbf
leaq 0x6090(%rip), %rax      # 0x85cb
leaq 0xdbfe(%rip), %r14      # 0x10140
leaq 0x5f7b(%rip), %rdx      # 0x84c4
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbx
callq 0x28c3
addq $0x10, %rsp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1bbf
leaq 0x606c(%rip), %rax      # 0x85e2
leaq 0x6058(%rip), %r10      # 0x85d5
leaq 0xdcb4(%rip), %rbp      # 0x10238
movq %rbp, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x1, %r9d
pushq %rax
pushq %r10
callq 0x28c3
addq $0x10, %rsp
movq %r14, %rdi
movq %rbp, %rsi
callq 0x1bbf
leaq 0x603e(%rip), %rax      # 0x85f5
leaq 0x6031(%rip), %r10      # 0x85ef
leaq 0xdd6b(%rip), %r14      # 0x10330
leaq 0x4834(%rip), %rcx      # 0x6e00
movq %r14, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %rax
pushq %r10
callq 0x28c3
addq $0x10, %rsp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbx, 0xdd46(%rip)      # 0x10340
je 0x28a4
movl $0x9, 0xde16(%rip)      # 0x10420
leaq 0x5ffd(%rip), %rax      # 0x860e
xorl %ebp, %ebp
leaq 0xc586(%rip), %rdi      # 0xeba0
leaq 0x5fe5(%rip), %rdx      # 0x8606
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %rbp
callq 0x28c3
addq $0x10, %rsp
leaq 0xc278(%rip), %rax      # 0xe8b8
movq %rax, 0xc5b9(%rip)      # 0xec00
movq %rax, 0xc5ba(%rip)      # 0xec08
leaq 0xc35b(%rip), %rax      # 0xe9b0
movq %rax, 0xc5b4(%rip)      # 0xec10
movq %r15, 0xc5b5(%rip)      # 0xec18
movq %r12, 0xc5b6(%rip)      # 0xec20
movq %r13, 0xc5b7(%rip)      # 0xec28
leaq 0x5fb4(%rip), %rdx      # 0x862c
leaq 0xcbe9(%rip), %rbx      # 0xf268
leaq 0x2bf9(%rip), %rcx      # 0x527f
movq %rbx, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rdx
pushq %rbp
callq 0x28c3
addq $0x10, %rsp
leaq 0xc402(%rip), %rdi      # 0xeaa8
movq %rbx, %rsi
callq 0x1bbf
leaq 0x5f7e(%rip), %rdx      # 0x8633
leaq 0xdd6c(%rip), %r14      # 0x10428
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rdx
pushq %rbp
callq 0x28c3
addq $0x10, %rsp
leaq 0xc8a2(%rip), %rdi      # 0xef80
movq %r14, %rsi
callq 0x1bbf
leaq 0x6e17(%rip), %rdx      # 0x9504
leaq 0xde2c(%rip), %rbx      # 0x10520
movq %rbx, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rdx
pushq %rbp
callq 0x28c3
addq $0x10, %rsp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1bbf
leaq 0x59b1(%rip), %rax      # 0x80d2
leaq 0x59a0(%rip), %r10      # 0x80c8
leaq 0xdee9(%rip), %r14      # 0x10618
leaq 0x2a86(%rip), %rcx      # 0x51bc
movq %r14, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %r8d, %r8d
movl $0x1, %r9d
pushq %rax
pushq %r10
callq 0x28c3
addq $0x10, %rsp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1bbf
cmpq %rbp, 0xdec1(%rip)      # 0x10628
je 0x28a4
movl $0x6, 0xdf91(%rip)      # 0x10708
leaq 0x5ec1(%rip), %rax      # 0x863f
xorl %r14d, %r14d
leaq 0xdf88(%rip), %rbx      # 0x10710
leaq 0x5eac(%rip), %rdx      # 0x863b
leaq 0x2f95(%rip), %rcx      # 0x572b
movq %rbx, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r14
callq 0x28c3
addq $0x10, %rsp
movb $0x1, %bpl
movb %bpl, 0xdf6e(%rip)      # 0x10728
xorl %edi, %edi
movq %rbx, %rsi
callq 0x1bbf
leaq 0x5e86(%rip), %rax      # 0x8651
leaq 0xe036(%rip), %rbx      # 0x10808
leaq 0x5e73(%rip), %rdx      # 0x864c
leaq 0x2f5c(%rip), %rcx      # 0x573c
movq %rbx, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r14
callq 0x28c3
addq $0x10, %rsp
movb %bpl, 0xe01f(%rip)      # 0x10820
xorl %edi, %edi
movq %rbx, %rsi
callq 0x1bbf
leaq 0x5e54(%rip), %rax      # 0x8666
leaq 0xe0e7(%rip), %rbx      # 0x10900
leaq 0x5e43(%rip), %rdx      # 0x8663
leaq 0x2f29(%rip), %rcx      # 0x5750
movq %rbx, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r14
callq 0x28c3
addq $0x10, %rsp
movb %bpl, 0xe0d0(%rip)      # 0x10918
xorl %edi, %edi
movq %rbx, %rsi
callq 0x1bbf
leaq 0x5e22(%rip), %rax      # 0x867b
leaq 0xcb00(%rip), %rdi      # 0xf360
leaq 0x5e0e(%rip), %rdx      # 0x8675
leaq 0x30f5(%rip), %rcx      # 0x5963
xorl %esi, %esi
xorl %r8d, %r8d
movl $0x6, %r9d
pushq %rax
pushq %r14
callq 0x28c3
addq $0x10, %rsp
leaq 0x29b(%rip), %rsi       # 0x2b27
movl $0x2, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1160
leaq 0x5a56(%rip), %rdi      # 0x8301
leaq 0x59ee(%rip), %rsi      # 0x82a0
leaq 0x5dcf(%rip), %rcx      # 0x8688
movl $0x1f4, %edx            # imm = 0x1F4
callq 0x10f0