// File: /workspace/github_cpp_makefile_star2_O1/fulhax[P]ncpamixer/src/ui/ui.cpp
// Function: Ui::init(int)
int Ui::init(int tab)
{
    setlocale(LC_ALL, "");
    initscr();
    curs_set(0);

    noecho();
    nonl();
    raw();

    start_color();
    use_default_colors();

    std::string theme = std::string("theme." + config.getString("theme", "default"));

    init_pair(
        COLOR_BAR_LOW,
        config.getInt((theme + ".bar_low.front").c_str(), COLOR_BLACK),
        config.getInt((theme + ".bar_low.back").c_str(), COLOR_GREEN)
    );
    init_pair(
        COLOR_BAR_MID,
        config.getInt((theme + ".bar_mid.front").c_str(), COLOR_BLACK),
        config.getInt((theme + ".bar_mid.back").c_str(), COLOR_YELLOW)
    );
    init_pair(
        COLOR_BAR_HIGH,
        config.getInt((theme + ".bar_high.front").c_str(), COLOR_BLACK),
        config.getInt((theme + ".bar_high.back").c_str(), COLOR_RED)
    );
    init_pair(
        COLOR_VOLUME_LOW,
        config.getInt((theme + ".volume_low").c_str(), COLOR_GREEN),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_VOLUME_MID,
        config.getInt((theme + ".volume_mid").c_str(), COLOR_YELLOW),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_VOLUME_HIGH,
        config.getInt((theme + ".volume_high").c_str(), COLOR_RED),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_VOLUME_PEAK,
        config.getInt((theme + ".volume_peak").c_str(), COLOR_RED),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_VOLUME_INDICATOR,
        config.getInt((theme + ".volume_indicator").c_str(), COLOR_FOREGROUND),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_SELECTED,
        config.getInt((theme + ".selected").c_str(), COLOR_GREEN),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_DEFAULT,
        config.getInt((theme + ".default").c_str(), COLOR_FOREGROUND),
        COLOR_BACKGROUND
    );
    init_pair(
        COLOR_BORDER,
        config.getInt((theme + ".border").c_str(), COLOR_FOREGROUND),
        COLOR_BACKGROUND
    );

    init_pair(
        COLOR_DROPDOWN_SELECTED,
        config.getInt((theme + ".dropdown.selected_text").c_str(), COLOR_BLACK),
        config.getInt((theme + ".dropdown.selected").c_str(), COLOR_GREEN)
    );

    init_pair(
        COLOR_DROPDOWN_UNSELECTED,
        config.getInt((theme + ".dropdown.unselected").c_str(), COLOR_FOREGROUND),
        COLOR_BACKGROUND
    );

    bar[BAR_BG].assign(
        config.getString((theme + ".bar_style.bg").c_str(), u8"░")
    );
    bar[BAR_FG].assign(
        config.getString((theme + ".bar_style.fg").c_str(), u8"█")
    );

    if(!config.keyEmpty((theme + ".bar_style.indicator").c_str())) {
        bar[BAR_INDICATOR].assign(
            config.getString((theme + ".bar_style.indicator").c_str(), u8"█")
        );
    } else {
        hide_indicator = true;
    }
    if(!config.keyEmpty((theme + ".bar_style.top").c_str())) {
        bar[BAR_TOP].assign(
            config.getString((theme + ".bar_style.top").c_str(), u8"▁")
        );
    } else {
        hide_top = true;
    }
    if(!config.keyEmpty((theme + ".bar_style.bottom").c_str())) {
        bar[BAR_BOTTOM].assign(
            config.getString((theme + ".bar_style.bottom").c_str(), u8"▔")
        );
    } else {
        hide_bottom = true;
    }

    static_bar = config.getBool((theme + ".static_bar").c_str(), false);

    indicator.assign(
        config.getString((theme + ".default_indicator").c_str(), u8"♦ ")
    );

    running = true;
    switchTab(tab);

    getmaxyx(stdscr, height, width);

    statusbar = newwin(1, width, height - 1, 0);
    window = newwin(height - 1, width, 0, 0);

    keypad(window, true);
    nodelay(window, true);
    idlok(window, true);

    erase();
    refresh();

    wrefresh(window);
    wrefresh(statusbar);

    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x5e3f(%rip), %rsi      # 0x114e4
movl $0x6, %edi
callq 0x6570
callq 0x6880
xorl %edi, %edi
callq 0x6530
callq 0x6690
callq 0x6780
callq 0x61f0
callq 0x6120
callq 0x6420
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x70b9(%rip), %rsi      # 0x1279d
leaq 0x70b9(%rip), %rdx      # 0x127a4
leaq 0x28(%rsp), %rdi
callq 0x73f0
leaq 0xd0a4(%rip), %rsi      # 0x187a0
leaq 0x6ff6(%rip), %rdx      # 0x126f9
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rcx
callq 0xa47a
leaq 0x6fd9(%rip), %rcx      # 0x126f2
leaq 0x8(%rsp), %rdi
movl $0x6, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x6660
leaq 0x58(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xb754
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0xb75a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x18(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0xb78e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xb7a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6f39(%rip), %rsi      # 0x126ff
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcfc4(%rip), %rdi      # 0x187a0
xorl %edx, %edx
callq 0xa5bc
movl %eax, %r14d
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6f07(%rip), %rsi      # 0x1270e
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %rsi
leaq 0xcf83(%rip), %rdi      # 0x187a0
movl $0x2, %edx
callq 0xa5bc
movswl %r14w, %esi
movswl %ax, %edx
movl $0x1, %edi
callq 0x60d0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xb84f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xb866
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6e95(%rip), %rsi      # 0x1271c
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcf03(%rip), %rdi      # 0x187a0
xorl %edx, %edx
callq 0xa5bc
movl %eax, %r14d
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6e63(%rip), %rsi      # 0x1272b
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %rsi
leaq 0xcec2(%rip), %rdi      # 0x187a0
movl $0x3, %edx
callq 0xa5bc
movswl %r14w, %esi
movswl %ax, %edx
movl $0x2, %edi
callq 0x60d0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xb910
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xb927
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6df1(%rip), %rsi      # 0x12739
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xce42(%rip), %rdi      # 0x187a0
xorl %edx, %edx
callq 0xa5bc
movl %eax, %r14d
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6dc0(%rip), %rsi      # 0x12749
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %rsi
leaq 0xce01(%rip), %rdi      # 0x187a0
movl $0x1, %edx
callq 0xa5bc
movswl %r14w, %esi
movswl %ax, %edx
movl $0x3, %edi
callq 0x60d0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xb9d1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xb9e8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6d4f(%rip), %rsi      # 0x12758
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcd81(%rip), %rdi      # 0x187a0
movl $0x2, %edx
callq 0xa5bc
movswl %ax, %esi
movl $0x4, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xba52
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6cf1(%rip), %rsi      # 0x12764
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcd17(%rip), %rdi      # 0x187a0
movl $0x3, %edx
callq 0xa5bc
movswl %ax, %esi
movl $0x5, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbabc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6c93(%rip), %rsi      # 0x12770
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xccad(%rip), %rdi      # 0x187a0
movl $0x1, %edx
callq 0xa5bc
movswl %ax, %esi
movl $0x6, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbb26
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6c36(%rip), %rsi      # 0x1277d
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcc43(%rip), %rdi      # 0x187a0
movl $0x1, %edx
callq 0xa5bc
movswl %ax, %esi
movl $0x7, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbb90
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6bd9(%rip), %rsi      # 0x1278a
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcbd9(%rip), %rdi      # 0x187a0
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xa5bc
movswl %ax, %esi
movl $0x8, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbbfa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6bb3(%rip), %rsi      # 0x127ce
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcb6f(%rip), %rdi      # 0x187a0
movl $0x2, %edx
callq 0xa5bc
movswl %ax, %esi
movl $0xa, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbc64
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6b17(%rip), %rsi      # 0x1279c
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xcb05(%rip), %rdi      # 0x187a0
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xa5bc
movswl %ax, %esi
movl $0x9, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbcce
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6ab6(%rip), %rsi      # 0x127a5
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xca9b(%rip), %rdi      # 0x187a0
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xa5bc
movswl %ax, %esi
movl $0xd, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbd38
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6a54(%rip), %rsi      # 0x127ad
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xca31(%rip), %rdi      # 0x187a0
xorl %edx, %edx
callq 0xa5bc
movl %eax, %r14d
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6a2b(%rip), %rsi      # 0x127c5
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %rsi
leaq 0xc9f0(%rip), %rdi      # 0x187a0
movl $0x2, %edx
callq 0xa5bc
movswl %r14w, %esi
movswl %ax, %edx
movl $0xb, %edi
callq 0x60d0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xbde2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbdf9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x69be(%rip), %rsi      # 0x127d8
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xc970(%rip), %rdi      # 0x187a0
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xa5bc
movswl %ax, %esi
movl $0xc, %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x60d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbe63
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6969(%rip), %rsi      # 0x127ed
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %r14
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6958(%rip), %rsi      # 0x127fb
leaq 0x6954(%rip), %rdx      # 0x127fe
leaq 0x68(%rsp), %rdi
callq 0x73f0
leaq 0xc8e5(%rip), %rsi      # 0x187a0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rcx
movq %r14, %rdx
callq 0xa47a
leaq 0x20(%rbx), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x6710
movq (%r14), %rdi
cmpq %r12, %rdi
je 0xbef3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xbf0a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xbf21
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x68bd(%rip), %rsi      # 0x127ff
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %r14
leaq 0x68(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x68ad(%rip), %rsi      # 0x1280d
leaq 0x68a9(%rip), %rdx      # 0x12810
callq 0x73f0
leaq 0xc82d(%rip), %rsi      # 0x187a0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rcx
movq %r14, %rdx
callq 0xa47a
leaq 0x40(%rbx), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x6710
movq (%r14), %rdi
cmpq %r12, %rdi
je 0xbfab
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xbfc2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xbfd9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6817(%rip), %rsi      # 0x12811
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xc790(%rip), %rdi      # 0x187a0
callq 0xa86c
movl %eax, %r14d
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc02f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
testb %r14b, %r14b
je 0xc040
movb $0x1, 0x100(%rbx)
jmp 0xc0f8
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x67b0(%rip), %rsi      # 0x12811
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %r14
leaq 0x68(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x678e(%rip), %rsi      # 0x1280d
leaq 0x678a(%rip), %rdx      # 0x12810
callq 0x73f0
leaq 0xc70e(%rip), %rsi      # 0x187a0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rcx
movq %r14, %rdx
callq 0xa47a
leaq 0x60(%rbx), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x6710
movq (%r14), %rdi
cmpq %r12, %rdi
je 0xc0ca
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xc0e1
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc0f8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x670d(%rip), %rsi      # 0x12826
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xc671(%rip), %rdi      # 0x187a0
callq 0xa86c
movl %eax, %r14d
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc14e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
testb %r14b, %r14b
je 0xc15f
movb $0x1, 0x101(%rbx)
jmp 0xc21a
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x66a6(%rip), %rsi      # 0x12826
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %r14
leaq 0x68(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x6697(%rip), %rsi      # 0x12835
leaq 0x6693(%rip), %rdx      # 0x12838
callq 0x73f0
leaq 0xc5ef(%rip), %rsi      # 0x187a0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rcx
movq %r14, %rdx
callq 0xa47a
leaq 0x80(%rbx), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x6710
movq (%r14), %rdi
cmpq %r12, %rdi
je 0xc1ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xc203
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc21a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x65fe(%rip), %rsi      # 0x12839
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xc54f(%rip), %rdi      # 0x187a0
callq 0xa86c
movl %eax, %r14d
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc270
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
testb %r14b, %r14b
je 0xc281
movb $0x1, 0x102(%rbx)
jmp 0xc33c
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x6597(%rip), %rsi      # 0x12839
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %r14
leaq 0x68(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x658b(%rip), %rsi      # 0x1284b
leaq 0x6587(%rip), %rdx      # 0x1284e
callq 0x73f0
leaq 0xc4cd(%rip), %rsi      # 0x187a0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rcx
movq %r14, %rdx
callq 0xa47a
leaq 0xa0(%rbx), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x6710
movq (%r14), %rdi
cmpq %r12, %rdi
je 0xc30e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xc325
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc33c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x8(%rsp), %rdi
movq %r12, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x64f2(%rip), %rsi      # 0x1284f
leaq 0x8(%rsp), %rdi
callq 0x6b30
movq 0x8(%rsp), %rsi
leaq 0xc42d(%rip), %rdi      # 0x187a0
xorl %edx, %edx
callq 0xa6f2
movb %al, 0x103(%rbx)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc397
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
leaq 0x28(%rsp), %rdi
movq %r13, (%rdi)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
callq 0xaf6a
leaq 0x64a3(%rip), %rsi      # 0x1285b
leaq 0x28(%rsp), %rdi
callq 0x6b30
movq 0x28(%rsp), %r14
leaq 0x68(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x6498(%rip), %rsi      # 0x1286e
leaq 0x6495(%rip), %rdx      # 0x12872
callq 0x73f0
leaq 0xc3b7(%rip), %rsi      # 0x187a0
leaq 0x8(%rsp), %rdi
leaq 0x68(%rsp), %rcx
movq %r14, %rdx
callq 0xa47a
leaq 0xe0(%rbx), %rdi
leaq 0x8(%rsp), %r14
movq %r14, %rsi
callq 0x6710
movq (%r14), %rdi
cmpq %r12, %rdi
je 0xc424
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xc43b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc452
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
movb $0x1, 0x104(%rbx)
movq %rbx, %rdi
movl %ebp, %esi
callq 0xc73a
movq 0xbb36(%rip), %rax      # 0x17fa0
movq (%rax), %rax
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0xc482
movswl 0x4(%rax), %edx
incl %edx
movl %edx, 0xc(%rbx)
testq %rax, %rax
je 0xc490
movswl 0x6(%rax), %esi
incl %esi
movl %esi, 0x8(%rbx)
decl %edx
movl $0x1, %edi
xorl %ecx, %ecx
callq 0x65e0
movq %rax, 0x18(%rbx)
movl 0x8(%rbx), %esi
movl 0xc(%rbx), %edi
decl %edi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x65e0
movq %rax, 0x10(%rbx)
movq %rax, %rdi
movl $0x1, %esi
callq 0x6250
movq 0x10(%rbx), %rdi
movl $0x1, %esi
callq 0x63d0
movq 0x10(%rbx), %rdi
movl $0x1, %esi
callq 0x6940
callq 0x6620
callq 0x6a10
movq 0x10(%rbx), %rdi
callq 0x6670
movq 0x18(%rbx), %rdi
callq 0x6670
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xc51b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x65c0
movl $0x1, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc5b1
jmp 0xc5cf
jmp 0xc5cf
jmp 0xc713
jmp 0xc5b1
jmp 0xc5cf
jmp 0xc5cf
jmp 0xc713
jmp 0xc5b1
jmp 0xc5cf
jmp 0xc5cf
jmp 0xc713
jmp 0xc5b1
jmp 0xc5cf
jmp 0xc5cf
jmp 0xc713
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc5b1
jmp 0xc5cf
jmp 0xc5cf
jmp 0xc713
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0xc5d2
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x65c0
jmp 0xc5d2
jmp 0xc5cf
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc716
movq 0x38(%rsp), %rsi
jmp 0xc6e9
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6f7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6d7
jmp 0xc713
jmp 0xc6f7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc6f7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
jmp 0xc6f7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc713
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc6af
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
jmp 0xc6af
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc732
movq 0x38(%rsp), %rsi
jmp 0xc72a
movq %rax, %rbx
jmp 0xc732
jmp 0xc6d7
jmp 0xc6f7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
jmp 0xc6d7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xc716
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x65c0
jmp 0xc716
jmp 0xc6f7
jmp 0xc6f7
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xc6da
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x65c0
jmp 0xc6da
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xc732
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x65c0
movq %rbx, %rdi
callq 0x6a80