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

    _sir_eqland(pass, sir_info("init called once; testing output..."));
    _sir_eqland(pass, sir_cleanup());

    INIT(si2, SIRL_ALL, 0, 0, 0);
    _sir_eqland(pass, si2_init);

    _sir_eqland(pass, sir_info("init called again after re-init; testing output..."));
    _sir_eqland(pass, sir_cleanup());

    return PRINT_RESULT_RETURN(pass);
}

// Assembly:
subq $0x228, %rsp            # imm = 0x228
leaq 0x120(%rsp), %rdi
xorl %esi, %esi
movl $0x108, %edx            # imm = 0x108
callq 0x4210
movl $0x100000, 0x124(%rsp) # imm = 0x100000
movw $0xff, 0x120(%rsp)
movl $0x100000, 0x12c(%rsp) # imm = 0x100000
movw $0x0, 0x128(%rsp)
leaq 0x14efb(%rip), %rdi     # 0x1d2c7
xorl %esi, %esi
leaq 0x15973(%rip), %rdx     # 0x1dd48
leaq 0x15151(%rip), %rcx     # 0x1d52d
movl $0x292, %r8d            # imm = 0x292
callq 0x5ce0
testb $0x1, %al
jne 0x83ed
jmp 0x8410
leaq 0x120(%rsp), %rdi
addq $0xe8, %rdi
movl $0x20, %ecx
leaq 0x14ebf(%rip), %rdx     # 0x1d2c7
movq %rcx, %rsi
callq 0x14f50
movb $0x0, 0x11f(%rsp)
leaq 0x120(%rsp), %rdi
callq 0xf560
andb $0x1, %al
movb %al, 0x11f(%rsp)
movb 0x11f(%rsp), %al
andb $0x1, %al
movb %al, 0x11e(%rsp)
leaq 0x1591b(%rip), %rdi     # 0x1dd60
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0xe(%rsp)
jne 0x845b
jmp 0x8466
movb 0x11e(%rsp), %al
movb %al, 0xe(%rsp)
movb 0xe(%rsp), %al
andb $0x1, %al
movb %al, 0x11e(%rsp)
callq 0xf580
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0xd(%rsp)
jne 0x8487
jmp 0x8492
movb 0x11e(%rsp), %al
movb %al, 0xd(%rsp)
movb 0xd(%rsp), %al
andb $0x1, %al
movb %al, 0x11e(%rsp)
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movl $0x108, %edx            # imm = 0x108
callq 0x4210
movl $0x100000, 0x14(%rsp)   # imm = 0x100000
movw $0xff, 0x10(%rsp)
movl $0x100000, 0x1c(%rsp)   # imm = 0x100000
movw $0x0, 0x18(%rsp)
leaq 0x14df2(%rip), %rdi     # 0x1d2c7
xorl %esi, %esi
leaq 0x1586a(%rip), %rdx     # 0x1dd48
leaq 0x15048(%rip), %rcx     # 0x1d52d
movl $0x298, %r8d            # imm = 0x298
callq 0x5ce0
testb $0x1, %al
jne 0x84f6
jmp 0x8516
leaq 0x10(%rsp), %rdi
addq $0xe8, %rdi
movl $0x20, %ecx
leaq 0x14db9(%rip), %rdx     # 0x1d2c7
movq %rcx, %rsi
callq 0x14f50
movb $0x0, 0xf(%rsp)
leaq 0x10(%rsp), %rdi
callq 0xf560
andb $0x1, %al
movb %al, 0xf(%rsp)
xorl %eax, %eax
testb $0x1, 0xf(%rsp)
movb %al, 0xc(%rsp)
je 0x8543
movb 0x11e(%rsp), %al
movb %al, 0xc(%rsp)
movb 0xc(%rsp), %al
andb $0x1, %al
movb %al, 0x11e(%rsp)
leaq 0x1582d(%rip), %rdi     # 0x1dd84
movb $0x0, %al
callq 0xf770
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0xb(%rsp)
jne 0x856d
jmp 0x8578
movb 0x11e(%rsp), %al
movb %al, 0xb(%rsp)
movb 0xb(%rsp), %al
andb $0x1, %al
movb %al, 0x11e(%rsp)
callq 0xf580
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0xa(%rsp)
jne 0x8599
jmp 0x85a4
movb 0x11e(%rsp), %al
movb %al, 0xa(%rsp)
movb 0xa(%rsp), %al
andb $0x1, %al
movb %al, 0x11e(%rsp)
movb 0x11e(%rsp), %al
xorl %esi, %esi
andb $0x1, %al
movzbl %al, %edi
callq 0x4da0
andb $0x1, %al
addq $0x228, %rsp            # imm = 0x228
retq
nop