// File: /workspace/github_c_makefile_star2_O0/aremmell[P]libsir/tests/tests.c
// Function: sirtest_textstylesanity
bool sirtest_textstylesanity(void) {
    INIT(si, SIRL_ALL, 0, 0, 0);
    bool pass = si_init;

#if !defined(SIR_NO_TEXT_STYLING)
    TEST_MSG_0(SIR_WHITEB("--- explicitly invalid ---"));
    _sir_eqland(pass, !sir_settextstyle(SIRL_INFO, (sir_textattr)0xbbb, 800, 920));
    _sir_eqland(pass, sir_info("I have set an invalid text style."));

    _sir_eqland(pass, !sir_settextstyle(SIRL_DEBUG, SIRTA_NORMAL, SIRTC_BLACK, SIRTC_BLACK));
    _sir_eqland(pass, sir_info("oops, did it again..."));

    _sir_eqland(pass, !sir_settextstyle(SIRL_ALERT, SIRTA_NORMAL, 0xff, 0xff));
    _sir_eqland(pass, sir_info("and again."));
    PASSFAIL_MSG(pass, "\t--- explicitly invalid: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- unusual but valid ---"));
    _sir_eqland(pass, sir_settextstyle(SIRL_INFO, SIRTA_NORMAL, SIRTC_DEFAULT, SIRTC_DEFAULT));
    _sir_eqland(pass, sir_info("system default fg and bg"));
    PASSFAIL_MSG(pass, "\t--- unusual but valid: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- override defaults ---"));
    _sir_eqland(pass, sir_resettextstyles());

    _sir_eqland(pass, sir_debug("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_DEBUG, SIRTA_NORMAL, SIRTC_BYELLOW, SIRTC_DGRAY));
    _sir_eqland(pass, sir_debug("override style"));

    _sir_eqland(pass, sir_info("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_INFO, SIRTA_NORMAL, SIRTC_GREEN, SIRTC_MAGENTA));
    _sir_eqland(pass, sir_info("override style"));

    _sir_eqland(pass, sir_notice("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_NOTICE, SIRTA_NORMAL, SIRTC_BLACK, SIRTC_BYELLOW));
    _sir_eqland(pass, sir_notice("override style"));

    _sir_eqland(pass, sir_warn("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_WARN, SIRTA_NORMAL, SIRTC_BLACK, SIRTC_WHITE));
    _sir_eqland(pass, sir_warn("override style"));

    _sir_eqland(pass, sir_error("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_ERROR, SIRTA_NORMAL, SIRTC_WHITE, SIRTC_BLUE));
    _sir_eqland(pass, sir_error("override style"));

    _sir_eqland(pass, sir_crit("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_CRIT, SIRTA_EMPH, SIRTC_DGRAY, SIRTC_BGREEN));
    _sir_eqland(pass, sir_crit("override style"));

    _sir_eqland(pass, sir_alert("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_ALERT, SIRTA_ULINE, SIRTC_BBLUE, SIRTC_DEFAULT));
    _sir_eqland(pass, sir_alert("override style"));

    _sir_eqland(pass, sir_emerg("default style"));
    _sir_eqland(pass, sir_settextstyle(SIRL_EMERG, SIRTA_BOLD, SIRTC_DGRAY, SIRTC_DEFAULT));
    _sir_eqland(pass, sir_emerg("override style"));
    PASSFAIL_MSG(pass, "\t--- override defaults: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- reset to defaults ---"));
    _sir_eqland(pass, sir_resettextstyles());

    _sir_eqland(pass, sir_debug("default style (debug)"));
    _sir_eqland(pass, sir_info("default style (info)"));
    _sir_eqland(pass, sir_notice("default style (notice)"));
    _sir_eqland(pass, sir_warn("default style (warning)"));
    _sir_eqland(pass, sir_error("default style (error)"));
    _sir_eqland(pass, sir_crit("default style (crit)"));
    _sir_eqland(pass, sir_alert("default style (alert)"));
    _sir_eqland(pass, sir_emerg("default style (emergency)"));
    PASSFAIL_MSG(pass, "\t--- reset to defaults: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- change mode: 256-color ---"));
    _sir_eqland(pass, sir_setcolormode(SIRCM_256));

    for (sir_textcolor fg = 0, bg = 255; (fg < 256 && bg > 0); fg++, bg--) {
        if (fg != bg) {
            _sir_eqland(pass, sir_settextstyle(SIRL_DEBUG, SIRTA_NORMAL, fg, bg));
            _sir_eqland(pass, sir_debug("this is 256-color mode (fg: %"PRIu32", bg: %"PRIu32")",
                fg, bg));
        }
    }

    PASSFAIL_MSG(pass, "\t--- change mode: 256-color: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- change mode: RGB-color ---"));
    _sir_eqland(pass, sir_setcolormode(SIRCM_RGB));

    for (size_t n = 0; n < 256; n++) {
        sir_textcolor fg = sir_makergb(getrand(255U), getrand(255U), getrand(255U));
        sir_textcolor bg = sir_makergb(getrand(255U), getrand(255U), getrand(255U));
        _sir_eqland(pass, sir_settextstyle(SIRL_DEBUG, SIRTA_NORMAL, fg, bg));
        _sir_eqland(pass, sir_debug("this is RGB-color mode (fg: %"PRIu32", %"PRIu32", %"PRIu32
            ", bg: %"PRIu32", %"PRIu32", %"PRIu32")", _sir_getredfromcolor(fg),
            _sir_getgreenfromcolor(fg), _sir_getbluefromcolor(fg), _sir_getredfromcolor(bg),
            _sir_getgreenfromcolor(bg), _sir_getbluefromcolor(bg)));
    }
    PASSFAIL_MSG(pass, "\t--- change mode: RGB-color: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- change mode: invalid mode ---"));
    _sir_eqland(pass, !sir_setcolormode(SIRCM_INVALID));
    sir_textcolor fg = sir_makergb(255, 0, 0);
    sir_textcolor bg = sir_makergb(0, 0, 0);
    _sir_eqland(pass, sir_settextstyle(SIRL_DEBUG, SIRTA_NORMAL, fg, bg));
    _sir_eqland(pass, sir_debug("this is still RGB color mode"));
    PASSFAIL_MSG(pass, "\t--- change mode: invalid mode %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));

    TEST_MSG_0(SIR_WHITEB("--- change mode: 16-color ---"));
    _sir_eqland(pass, sir_setcolormode(SIRCM_16));
    _sir_eqland(pass, sir_settextstyle(SIRL_DEBUG, SIRTA_EMPH, SIRTC_BMAGENTA, SIRTC_DEFAULT));
    _sir_eqland(pass, sir_debug("this is 16-color mode (fg: %"PRId32", bg: default)",
        SIRTC_BMAGENTA));
    PASSFAIL_MSG(pass, "\t--- change mode: 16-color: %s ---" SIR_EOL SIR_EOL, PRN_PASS(pass));
#else /* SIR_NO_TEXT_STYLING */
    TEST_MSG_0("SIR_NO_TEXT_STYLING is defined; skipping");
#endif

    _sir_eqland(pass, sir_cleanup());

    return PRINT_RESULT_RETURN(pass);
}

// Assembly:
subq $0x188, %rsp            # imm = 0x188
leaq 0x80(%rsp), %rdi
xorl %esi, %esi
movl $0x108, %edx            # imm = 0x108
callq 0x4210
movl $0x100000, 0x84(%rsp) # imm = 0x100000
movw $0xff, 0x80(%rsp)
movl $0x100000, 0x8c(%rsp) # imm = 0x100000
movw $0x0, 0x88(%rsp)
leaq 0x1452b(%rip), %rdi     # 0x1d2c7
xorl %esi, %esi
leaq 0x1522e(%rip), %rdx     # 0x1dfd3
leaq 0x14781(%rip), %rcx     # 0x1d52d
movl $0x307, %r8d            # imm = 0x307
callq 0x5ce0
testb $0x1, %al
jne 0x8dbd
jmp 0x8de0
leaq 0x80(%rsp), %rdi
addq $0xe8, %rdi
movl $0x20, %ecx
leaq 0x144ef(%rip), %rdx     # 0x1d2c7
movq %rcx, %rsi
callq 0x14f50
movb $0x0, 0x7f(%rsp)
leaq 0x80(%rsp), %rdi
callq 0xf560
andb $0x1, %al
movb %al, 0x7f(%rsp)
movb 0x7f(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x151e2(%rip), %rdi     # 0x1dfeb
movb $0x0, %al
callq 0x4180
movl $0x40, %edi
movl $0xbbb, %esi            # imm = 0xBBB
movl $0x320, %edx            # imm = 0x320
movl $0x398, %ecx            # imm = 0x398
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x57(%rsp)
jne 0x8e3e
movb 0x7e(%rsp), %al
movb %al, 0x57(%rsp)
movb 0x57(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x151cd(%rip), %rdi     # 0x1e01c
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x56(%rsp)
jne 0x8e65
jmp 0x8e6d
movb 0x7e(%rsp), %al
movb %al, 0x56(%rsp)
movb 0x56(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x80, %edi
xorl %ecx, %ecx
movl %ecx, %esi
movl %ecx, %edx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x55(%rsp)
jne 0x8e9c
movb 0x7e(%rsp), %al
movb %al, 0x55(%rsp)
movb 0x55(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x15191(%rip), %rdi     # 0x1e03e
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x54(%rsp)
jne 0x8ec3
jmp 0x8ecb
movb 0x7e(%rsp), %al
movb %al, 0x54(%rsp)
movb 0x54(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x2, %edi
xorl %esi, %esi
movl $0xff, %ecx
movl %ecx, %edx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x53(%rsp)
jne 0x8efd
movb 0x7e(%rsp), %al
movb %al, 0x53(%rsp)
movb 0x53(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x15146(%rip), %rdi     # 0x1e054
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x52(%rsp)
jne 0x8f24
jmp 0x8f2c
movb 0x7e(%rsp), %al
movb %al, 0x52(%rsp)
movb 0x52(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %cl
leaq 0x15154(%rip), %rdi     # 0x1e095
leaq 0x15117(%rip), %rax     # 0x1e05f
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x14175(%rip), %rsi     # 0x1d0cf
leaq 0x14155(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x15155(%rip), %rdi     # 0x1e0cb
movb $0x0, %al
callq 0x4180
movl $0x40, %edi
xorl %esi, %esi
movl $0x100, %ecx            # imm = 0x100
movl %ecx, %edx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x51(%rsp)
jne 0x8f9f
jmp 0x8fa7
movb 0x7e(%rsp), %al
movb %al, 0x51(%rsp)
movb 0x51(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x15143(%rip), %rdi     # 0x1e0fb
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x50(%rsp)
jne 0x8fce
jmp 0x8fd6
movb 0x7e(%rsp), %al
movb %al, 0x50(%rsp)
movb 0x50(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %cl
leaq 0x1515e(%rip), %rdi     # 0x1e149
leaq 0x15122(%rip), %rax     # 0x1e114
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x140cb(%rip), %rsi     # 0x1d0cf
leaq 0x140ab(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x1515e(%rip), %rdi     # 0x1e17e
movb $0x0, %al
callq 0x4180
callq 0x100f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x4f(%rsp)
jne 0x903b
jmp 0x9043
movb 0x7e(%rsp), %al
movb %al, 0x4f(%rsp)
movb 0x4f(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x1515a(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x4e(%rsp)
jne 0x906a
jmp 0x9072
movb 0x7e(%rsp), %al
movb %al, 0x4e(%rsp)
movb 0x4e(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x80, %edi
xorl %esi, %esi
movl $0xb, %edx
movl $0x8, %ecx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x4d(%rsp)
jne 0x90a1
jmp 0x90a9
movb 0x7e(%rsp), %al
movb %al, 0x4d(%rsp)
movb 0x4d(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x15102(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x4c(%rsp)
jne 0x90d0
jmp 0x90d8
movb 0x7e(%rsp), %al
movb %al, 0x4c(%rsp)
movb 0x4c(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x150c5(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x4b(%rsp)
jne 0x90ff
jmp 0x9107
movb 0x7e(%rsp), %al
movb %al, 0x4b(%rsp)
movb 0x4b(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x40, %edi
xorl %esi, %esi
movl $0x2, %edx
movl $0x5, %ecx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x4a(%rsp)
jne 0x9136
jmp 0x913e
movb 0x7e(%rsp), %al
movb %al, 0x4a(%rsp)
movb 0x4a(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x1506d(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x49(%rsp)
jne 0x9165
jmp 0x916d
movb 0x7e(%rsp), %al
movb %al, 0x49(%rsp)
movb 0x49(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x15030(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xf880
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x48(%rsp)
jne 0x9194
jmp 0x919c
movb 0x7e(%rsp), %al
movb %al, 0x48(%rsp)
movb 0x48(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x20, %edi
xorl %edx, %edx
movl $0xb, %ecx
movl %edx, %esi
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x47(%rsp)
jne 0x91c8
jmp 0x91d0
movb 0x7e(%rsp), %al
movb %al, 0x47(%rsp)
movb 0x47(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14fdb(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xf880
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x46(%rsp)
jne 0x91f7
jmp 0x91ff
movb 0x7e(%rsp), %al
movb %al, 0x46(%rsp)
movb 0x46(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14f9e(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xf990
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x45(%rsp)
jne 0x9226
jmp 0x922e
movb 0x7e(%rsp), %al
movb %al, 0x45(%rsp)
movb 0x45(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x10, %edi
xorl %edx, %edx
movl $0xf, %ecx
movl %edx, %esi
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x44(%rsp)
jne 0x925a
jmp 0x9262
movb 0x7e(%rsp), %al
movb %al, 0x44(%rsp)
movb 0x44(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14f49(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xf990
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x43(%rsp)
jne 0x9289
jmp 0x9291
movb 0x7e(%rsp), %al
movb %al, 0x43(%rsp)
movb 0x43(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14f0c(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xfaa0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x42(%rsp)
jne 0x92b8
jmp 0x92c0
movb 0x7e(%rsp), %al
movb %al, 0x42(%rsp)
movb 0x42(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x8, %edi
xorl %esi, %esi
movl $0xf, %edx
movl $0x4, %ecx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x41(%rsp)
jne 0x92ef
jmp 0x92f7
movb 0x7e(%rsp), %al
movb %al, 0x41(%rsp)
movb 0x41(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14eb4(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xfaa0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x40(%rsp)
jne 0x931e
jmp 0x9326
movb 0x7e(%rsp), %al
movb %al, 0x40(%rsp)
movb 0x40(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14e77(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xfbb0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3f(%rsp)
jne 0x934d
jmp 0x9355
movb 0x7e(%rsp), %al
movb %al, 0x3f(%rsp)
movb 0x3f(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x4, %edi
movl $0x3, %esi
movl $0x8, %edx
movl $0xa, %ecx
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3e(%rsp)
jne 0x9387
jmp 0x938f
movb 0x7e(%rsp), %al
movb %al, 0x3e(%rsp)
movb 0x3e(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14e1c(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xfbb0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3d(%rsp)
jne 0x93b6
jmp 0x93be
movb 0x7e(%rsp), %al
movb %al, 0x3d(%rsp)
movb 0x3d(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14ddf(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xfcc0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3c(%rsp)
jne 0x93e5
jmp 0x93ed
movb 0x7e(%rsp), %al
movb %al, 0x3c(%rsp)
movb 0x3c(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x2, %edi
movl $0x4, %esi
movl $0xc, %edx
movl $0x100, %ecx            # imm = 0x100
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3b(%rsp)
jne 0x941f
jmp 0x9427
movb 0x7e(%rsp), %al
movb %al, 0x3b(%rsp)
movb 0x3b(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14d84(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xfcc0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x3a(%rsp)
jne 0x944e
jmp 0x9456
movb 0x7e(%rsp), %al
movb %al, 0x3a(%rsp)
movb 0x3a(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14d47(%rip), %rdi     # 0x1e1ae
movb $0x0, %al
callq 0xfdd0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x39(%rsp)
jne 0x947d
jmp 0x9485
movb 0x7e(%rsp), %al
movb %al, 0x39(%rsp)
movb 0x39(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x1, %esi
movl $0x8, %edx
movl $0x100, %ecx            # imm = 0x100
movl %esi, %edi
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x38(%rsp)
jne 0x94b4
jmp 0x94bc
movb 0x7e(%rsp), %al
movb %al, 0x38(%rsp)
movb 0x38(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14cef(%rip), %rdi     # 0x1e1bc
movb $0x0, %al
callq 0xfdd0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x37(%rsp)
jne 0x94e3
jmp 0x94eb
movb 0x7e(%rsp), %al
movb %al, 0x37(%rsp)
movb 0x37(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %cl
leaq 0x14d00(%rip), %rdi     # 0x1e200
leaq 0x14cc4(%rip), %rax     # 0x1e1cb
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x13bb6(%rip), %rsi     # 0x1d0cf
leaq 0x13b96(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x14d00(%rip), %rdi     # 0x1e235
movb $0x0, %al
callq 0x4180
callq 0x100f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x36(%rsp)
jne 0x9550
jmp 0x9558
movb 0x7e(%rsp), %al
movb %al, 0x36(%rsp)
movb 0x36(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14cfc(%rip), %rdi     # 0x1e265
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x35(%rsp)
jne 0x957f
jmp 0x9587
movb 0x7e(%rsp), %al
movb %al, 0x35(%rsp)
movb 0x35(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14ce3(%rip), %rdi     # 0x1e27b
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x34(%rsp)
jne 0x95ae
jmp 0x95b6
movb 0x7e(%rsp), %al
movb %al, 0x34(%rsp)
movb 0x34(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14cc9(%rip), %rdi     # 0x1e290
movb $0x0, %al
callq 0xf880
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x33(%rsp)
jne 0x95dd
jmp 0x95e5
movb 0x7e(%rsp), %al
movb %al, 0x33(%rsp)
movb 0x33(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14cb1(%rip), %rdi     # 0x1e2a7
movb $0x0, %al
callq 0xf990
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x32(%rsp)
jne 0x960c
jmp 0x9614
movb 0x7e(%rsp), %al
movb %al, 0x32(%rsp)
movb 0x32(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14c9a(%rip), %rdi     # 0x1e2bf
movb $0x0, %al
callq 0xfaa0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x31(%rsp)
jne 0x963b
jmp 0x9643
movb 0x7e(%rsp), %al
movb %al, 0x31(%rsp)
movb 0x31(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14c81(%rip), %rdi     # 0x1e2d5
movb $0x0, %al
callq 0xfbb0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x30(%rsp)
jne 0x966a
jmp 0x9672
movb 0x7e(%rsp), %al
movb %al, 0x30(%rsp)
movb 0x30(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14c67(%rip), %rdi     # 0x1e2ea
movb $0x0, %al
callq 0xfcc0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x2f(%rsp)
jne 0x9699
jmp 0x96a1
movb 0x7e(%rsp), %al
movb %al, 0x2f(%rsp)
movb 0x2f(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14c4e(%rip), %rdi     # 0x1e300
movb $0x0, %al
callq 0xfdd0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x2e(%rsp)
jne 0x96c8
jmp 0x96d0
movb 0x7e(%rsp), %al
movb %al, 0x2e(%rsp)
movb 0x2e(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %cl
leaq 0x14c6a(%rip), %rdi     # 0x1e34f
leaq 0x14c2e(%rip), %rax     # 0x1e31a
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x139d1(%rip), %rsi     # 0x1d0cf
leaq 0x139b1(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x14c6a(%rip), %rdi     # 0x1e384
movb $0x0, %al
callq 0x4180
movl $0x1, %edi
callq 0x10190
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x2d(%rsp)
jne 0x973a
jmp 0x9742
movb 0x7e(%rsp), %al
movb %al, 0x2d(%rsp)
movb 0x2d(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x0, 0x78(%rsp)
movl $0xff, 0x74(%rsp)
xorl %eax, %eax
cmpl $0x100, 0x78(%rsp)      # imm = 0x100
movb %al, 0x2c(%rsp)
jae 0x9778
cmpl $0x0, 0x74(%rsp)
seta %al
movb %al, 0x2c(%rsp)
movb 0x2c(%rsp), %al
testb $0x1, %al
jne 0x9785
jmp 0x9818
movl 0x78(%rsp), %eax
cmpl 0x74(%rsp), %eax
je 0x97fb
movl 0x78(%rsp), %edx
movl 0x74(%rsp), %ecx
movl $0x80, %edi
xorl %esi, %esi
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x2b(%rsp)
jne 0x97b2
jmp 0x97ba
movb 0x7e(%rsp), %al
movb %al, 0x2b(%rsp)
movb 0x2b(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl 0x78(%rsp), %esi
movl 0x74(%rsp), %edx
leaq 0x14be6(%rip), %rdi     # 0x1e3b9
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x2a(%rsp)
jne 0x97e9
jmp 0x97f1
movb 0x7e(%rsp), %al
movb %al, 0x2a(%rsp)
movb 0x2a(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
jmp 0x97fd
movl 0x78(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x78(%rsp)
movl 0x74(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x74(%rsp)
jmp 0x975c
movb 0x7e(%rsp), %cl
leaq 0x14bf8(%rip), %rdi     # 0x1e41b
leaq 0x14bb7(%rip), %rax     # 0x1e3e1
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x13893(%rip), %rsi     # 0x1d0cf
leaq 0x13873(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x14bfd(%rip), %rdi     # 0x1e455
movb $0x0, %al
callq 0x4180
movl $0x2, %edi
callq 0x10190
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x29(%rsp)
jne 0x9878
jmp 0x9880
movb 0x7e(%rsp), %al
movb %al, 0x29(%rsp)
movb 0x29(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movq $0x0, 0x68(%rsp)
cmpq $0x100, 0x68(%rsp)      # imm = 0x100
jae 0x99e4
movl $0xff, %edi
callq 0x5510
movl %eax, 0x18(%rsp)
movl $0xff, %edi
callq 0x5510
movl %eax, 0x1c(%rsp)
movl $0xff, %edi
callq 0x5510
movl 0x18(%rsp), %edi
movl 0x1c(%rsp), %esi
movl %eax, %edx
callq 0x10100
movl %eax, 0x64(%rsp)
movl $0xff, %edi
callq 0x5510
movl %eax, 0x20(%rsp)
movl $0xff, %edi
callq 0x5510
movl %eax, 0x24(%rsp)
movl $0xff, %edi
callq 0x5510
movl 0x20(%rsp), %edi
movl 0x24(%rsp), %esi
movl %eax, %edx
callq 0x10100
movl %eax, 0x60(%rsp)
movl 0x64(%rsp), %edx
movl 0x60(%rsp), %ecx
movl $0x80, %edi
xorl %esi, %esi
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x28(%rsp)
jne 0x9937
jmp 0x993f
movb 0x7e(%rsp), %al
movb %al, 0x28(%rsp)
movb 0x28(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl 0x64(%rsp), %eax
shrl $0x10, %eax
andl $0xff, %eax
movzbl %al, %esi
movl 0x64(%rsp), %eax
shrl $0x8, %eax
andl $0xff, %eax
movzbl %al, %edx
movl 0x64(%rsp), %eax
andl $0xff, %eax
movzbl %al, %ecx
movl 0x60(%rsp), %eax
shrl $0x10, %eax
andl $0xff, %eax
movzbl %al, %r8d
movl 0x60(%rsp), %eax
shrl $0x8, %eax
andl $0xff, %eax
movzbl %al, %r9d
movl 0x60(%rsp), %eax
andl $0xff, %eax
movzbl %al, %eax
leaq 0x14ae4(%rip), %rdi     # 0x1e48a
movl %eax, (%rsp)
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x17(%rsp)
jne 0x99bf
jmp 0x99c7
movb 0x7e(%rsp), %al
movb %al, 0x17(%rsp)
movb 0x17(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movq 0x68(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x68(%rsp)
jmp 0x9893
movb 0x7e(%rsp), %cl
leaq 0x14b0d(%rip), %rdi     # 0x1e4fc
leaq 0x14acc(%rip), %rax     # 0x1e4c2
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x136c7(%rip), %rsi     # 0x1d0cf
leaq 0x136a7(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x14b12(%rip), %rdi     # 0x1e536
movb $0x0, %al
callq 0x4180
movl $0x3, %edi
callq 0x10190
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x16(%rsp)
jne 0x9a4a
movb 0x7e(%rsp), %al
movb %al, 0x16(%rsp)
movb 0x16(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0xff, %edi
xorl %edx, %edx
movl %edx, %esi
callq 0x10100
movl %eax, 0x5c(%rsp)
xorl %edx, %edx
movl %edx, %edi
movl %edx, %esi
callq 0x10100
movl %eax, 0x58(%rsp)
movl 0x5c(%rsp), %edx
movl 0x58(%rsp), %ecx
movl $0x80, %edi
xorl %esi, %esi
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x15(%rsp)
jne 0x9a98
jmp 0x9aa0
movb 0x7e(%rsp), %al
movb %al, 0x15(%rsp)
movb 0x15(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14abd(%rip), %rdi     # 0x1e56e
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x14(%rsp)
jne 0x9ac7
jmp 0x9acf
movb 0x7e(%rsp), %al
movb %al, 0x14(%rsp)
movb 0x14(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %cl
leaq 0x14ae3(%rip), %rdi     # 0x1e5c7
leaq 0x14aa0(%rip), %rax     # 0x1e58b
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x135d2(%rip), %rsi     # 0x1d0cf
leaq 0x135b2(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
leaq 0x14aea(%rip), %rdi     # 0x1e603
movb $0x0, %al
callq 0x4180
xorl %edi, %edi
callq 0x10190
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x13(%rsp)
jne 0x9b36
jmp 0x9b3e
movb 0x7e(%rsp), %al
movb %al, 0x13(%rsp)
movb 0x13(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movl $0x80, %edi
movl $0x3, %esi
movl $0xd, %edx
movl $0x100, %ecx            # imm = 0x100
callq 0x100a0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x12(%rsp)
jne 0x9b70
jmp 0x9b78
movb 0x7e(%rsp), %al
movb %al, 0x12(%rsp)
movb 0x12(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
leaq 0x14aae(%rip), %rdi     # 0x1e637
movl $0xd, %esi
movb $0x0, %al
callq 0xf5f0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x11(%rsp)
jne 0x9ba4
jmp 0x9bac
movb 0x7e(%rsp), %al
movb %al, 0x11(%rsp)
movb 0x11(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %cl
leaq 0x14adb(%rip), %rdi     # 0x1e69c
leaq 0x14a9b(%rip), %rax     # 0x1e663
testb $0x1, %cl
cmovneq %rax, %rdi
movb 0x7e(%rsp), %cl
leaq 0x134f5(%rip), %rsi     # 0x1d0cf
leaq 0x134d5(%rip), %rax     # 0x1d0b6
testb $0x1, %cl
cmovneq %rax, %rsi
movb $0x0, %al
callq 0x4180
callq 0xf580
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x10(%rsp)
jne 0x9c03
jmp 0x9c0b
movb 0x7e(%rsp), %al
movb %al, 0x10(%rsp)
movb 0x10(%rsp), %al
andb $0x1, %al
movb %al, 0x7e(%rsp)
movb 0x7e(%rsp), %al
xorl %esi, %esi
andb $0x1, %al
movzbl %al, %edi
callq 0x4da0
andb $0x1, %al
addq $0x188, %rsp            # imm = 0x188
retq
nop