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

    _sir_eqland(pass, !sir_notice("this goes nowhere!"));

    if (pass) {
        static const char* logfilename = MAKE_LOG_NAME("nodestination.log");
        PRINT_EXPECTED_ERROR();

        _sir_eqland(pass, sir_stdoutlevels(SIRL_INFO));
        _sir_eqland(pass, sir_info("this goes to stdout"));
        _sir_eqland(pass, sir_stdoutlevels(SIRL_NONE));

        sirfileid fid = sir_addfile(logfilename, SIRL_INFO, SIRO_DEFAULT);
        _sir_eqland(pass, 0U != fid);
        _sir_eqland(pass, sir_info("this goes to %s", logfilename));
        _sir_eqland(pass, sir_filelevels(fid, SIRL_NONE));
        _sir_eqland(pass, !sir_notice("this goes nowhere!"));

        if (0U != fid)
            _sir_eqland(pass, sir_remfile(fid));

        rmfile(logfilename, cl_cfg.leave_logs);
    }

    _sir_eqland(pass, sir_cleanup());
    return PRINT_RESULT_RETURN(pass);
}

// Assembly:
subq $0x128, %rsp            # imm = 0x128
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
movl $0x108, %edx            # imm = 0x108
callq 0x4210
movl $0x100000, 0x24(%rsp)   # imm = 0x100000
movw $0x0, 0x20(%rsp)
movl $0x100000, 0x2c(%rsp)   # imm = 0x100000
movw $0x0, 0x28(%rsp)
leaq 0x16c2a(%rip), %rdi     # 0x1d2c7
xorl %esi, %esi
leaq 0x17319(%rip), %rdx     # 0x1d9bf
leaq 0x16e80(%rip), %rcx     # 0x1d52d
movl $0x142, %r8d            # imm = 0x142
callq 0x5ce0
testb $0x1, %al
jne 0x66be
jmp 0x66de
leaq 0x20(%rsp), %rdi
addq $0xe8, %rdi
movl $0x20, %ecx
leaq 0x16bf1(%rip), %rdx     # 0x1d2c7
movq %rcx, %rsi
callq 0x14f50
movb $0x0, 0x1f(%rsp)
leaq 0x20(%rsp), %rdi
callq 0xf560
andb $0x1, %al
movb %al, 0x1f(%rsp)
movb 0x1f(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
leaq 0x172d4(%rip), %rdi     # 0x1d9d8
movb $0x0, %al
callq 0xf880
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x17(%rsp)
jne 0x6720
movb 0x1e(%rsp), %al
movb %al, 0x17(%rsp)
movb 0x17(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
testb $0x1, 0x1e(%rsp)
je 0x68d5
movl $0x1, %esi
movl %esi, %edi
callq 0x4da0
movl $0x40, %edi
callq 0x101b0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x16(%rsp)
jne 0x675a
jmp 0x6762
movb 0x1e(%rsp), %al
movb %al, 0x16(%rsp)
movb 0x16(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
leaq 0x17291(%rip), %rdi     # 0x1da04
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x15(%rsp)
jne 0x6789
jmp 0x6791
movb 0x1e(%rsp), %al
movb %al, 0x15(%rsp)
movb 0x15(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
xorl %edi, %edi
callq 0x101b0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x14(%rsp)
jne 0x67b1
jmp 0x67b9
movb 0x1e(%rsp), %al
movb %al, 0x14(%rsp)
movb 0x14(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
movq 0x21ece(%rip), %rdi     # 0x28698
movl $0x40, %esi
movl $0x100000, %edx         # imm = 0x100000
callq 0xfee0
movl %eax, 0x18(%rsp)
xorl %eax, %eax
xorl %ecx, %ecx
cmpl 0x18(%rsp), %ecx
movb %al, 0x13(%rsp)
je 0x67f3
movb 0x1e(%rsp), %al
movb %al, 0x13(%rsp)
movb 0x13(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
movq 0x21e94(%rip), %rsi     # 0x28698
leaq 0x1720d(%rip), %rdi     # 0x1da18
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x12(%rsp)
jne 0x6821
jmp 0x6829
movb 0x1e(%rsp), %al
movb %al, 0x12(%rsp)
movb 0x12(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
movl 0x18(%rsp), %edi
xorl %esi, %esi
callq 0xff60
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x11(%rsp)
jne 0x684d
jmp 0x6855
movb 0x1e(%rsp), %al
movb %al, 0x11(%rsp)
movb 0x11(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
leaq 0x17172(%rip), %rdi     # 0x1d9d8
movb $0x0, %al
callq 0xf880
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x10(%rsp)
jne 0x6882
movb 0x1e(%rsp), %al
movb %al, 0x10(%rsp)
movb 0x10(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
xorl %eax, %eax
cmpl 0x18(%rsp), %eax
je 0x68be
movl 0x18(%rsp), %edi
callq 0xff10
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0xf(%rsp)
jne 0x68ac
jmp 0x68b4
movb 0x1e(%rsp), %al
movb %al, 0xf(%rsp)
movb 0xf(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
movq 0x21dd3(%rip), %rdi     # 0x28698
movb 0x220ed(%rip), %al      # 0x289b8
andb $0x1, %al
movzbl %al, %esi
callq 0x5530
callq 0xf580
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0xe(%rsp)
jne 0x68e9
jmp 0x68f1
movb 0x1e(%rsp), %al
movb %al, 0xe(%rsp)
movb 0xe(%rsp), %al
andb $0x1, %al
movb %al, 0x1e(%rsp)
movb 0x1e(%rsp), %al
xorl %esi, %esi
andb $0x1, %al
movzbl %al, %edi
callq 0x4da0
andb $0x1, %al
addq $0x128, %rsp            # imm = 0x128
retq
nopw %cs:(%rax,%rax)