// File: /workspace/github_cpp_makefile_star2_O3/yanniss[P]souffle-num-addon/num256_test.cpp
// Function: test_sar_invoker()
BOOST_AUTO_TEST_CASE(test_sar) {
	BOOST_TEST(
			   sar_256("0x0",
					   "0x0000000000000000000000000000000000000000000000000000000000000001")
			   ==
			   "0x1");
	BOOST_TEST(
			   sar_256("0x01",
					   "0x0000000000000000000000000000000000000000000000000000000000000001")
			   ==
			   "0x0");
	BOOST_TEST(
			   sar_256("0x01",
					   "0x8000000000000000000000000000000000000000000000000000000000000000")
			   ==
			   "0xc000000000000000000000000000000000000000000000000000000000000000");
	BOOST_TEST(
			   sar_256("0xff",
					   "0x8000000000000000000000000000000000000000000000000000000000000000")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0x100",
					   "0x8000000000000000000000000000000000000000000000000000000000000000")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0x0101",
					   "0x8000000000000000000000000000000000000000000000000000000000000000")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0x00",
					   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0x01",
					   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0xff",
					   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0x0100",
					   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
	BOOST_TEST(
			   sar_256("0x01",
					   "0x0000000000000000000000000000000000000000000000000000000000000000")
			   ==
			   "0x0");
	BOOST_TEST(
			   sar_256("0xfe",
					   "0x4000000000000000000000000000000000000000000000000000000000000000")
			   ==
			   "0x1");
	BOOST_TEST(
			   sar_256("0xf8",
					   "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0x7f");
	BOOST_TEST(
			   sar_256("0xfe",
					   "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0x1");
	BOOST_TEST(
			   sar_256("0xff",
					   "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0x0");
	BOOST_TEST(
			   sar_256("0x0100",
					   "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
			   ==
			   "0x0");

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe2d0
movq %rbx, %rdi
callq 0xe6e0
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe5d0
leaq 0x3893b(%rip), %rsi     # 0x6692a
leaq -0x1e0(%rbp), %rdi
movl $0x8, %edx
callq 0xe5d0
leaq 0x3fe1d(%rip), %rsi     # 0x6de24
leaq -0x1e0(%rbp), %rdi
movl $0xe, %edx
callq 0xe5d0
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe830
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe660
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2e050
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe530
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ef2d
movq 0x63874(%rip), %rdx     # 0x918d8
leaq 0x63865(%rip), %rdi     # 0x918d0
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe800
leaq 0x377fa(%rip), %r13     # 0x65879
movq %r13, 0x63832(%rip)     # 0x918b8
leaq 0x377fb(%rip), %r12     # 0x65888
movq %r12, 0x6382c(%rip)     # 0x918c0
movq $0xac, 0x63829(%rip) # 0x918c8
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2e0b4
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe530
movq 0x60ef5(%rip), %rsi     # 0x8efb0
leaq -0x1e0(%rbp), %rdi
callq 0xe2a0
leaq -0x170(%rbp), %rdi
callq 0xe1e0
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe2d0
movq %rbx, %rdi
callq 0xe6e0
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe5d0
leaq 0x38805(%rip), %rsi     # 0x6692a
leaq -0x1e0(%rbp), %rdi
movl $0x8, %edx
callq 0xe5d0
leaq 0x3fcf6(%rip), %rsi     # 0x6de33
leaq -0x1e0(%rbp), %rdi
movl $0xf, %edx
callq 0xe5d0
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe830
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe660
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2e186
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe530
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ef2d
movq 0x6373e(%rip), %rdx     # 0x918d8
leaq 0x6372f(%rip), %rdi     # 0x918d0
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe800
movq %r13, 0x63703(%rip)     # 0x918b8
movq %r12, 0x63704(%rip)     # 0x918c0
movq $0xac, 0x63701(%rip) # 0x918c8
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2e1dc
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe530
movq 0x60dcd(%rip), %rsi     # 0x8efb0
leaq -0x1e0(%rbp), %rdi
callq 0xe2a0
leaq -0x170(%rbp), %rdi
callq 0xe1e0
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe2d0
movq %rbx, %rdi
callq 0xe6e0
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe5d0
leaq 0x386dd(%rip), %rsi     # 0x6692a
leaq -0x1e0(%rbp), %rdi
movl $0x8, %edx
callq 0xe5d0
leaq 0x3fbde(%rip), %rsi     # 0x6de43
leaq -0x1e0(%rbp), %rdi
movl $0xc, %edx
callq 0xe5d0
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe830
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe660
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2e2ae
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe530
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ef2d
movq 0x63616(%rip), %rdx     # 0x918d8
leaq 0x63607(%rip), %rdi     # 0x918d0
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe800
movq %r13, 0x635db(%rip)     # 0x918b8
movq %r12, 0x635dc(%rip)     # 0x918c0
movq $0xac, 0x635d9(%rip) # 0x918c8
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2e304
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe530
movq 0x60ca5(%rip), %rsi     # 0x8efb0
leaq -0x1e0(%rbp), %rdi
callq 0xe2a0
leaq -0x170(%rbp), %rdi
callq 0xe1e0
callq 0x2e5aa
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe2d0
movq %rbx, %rdi
callq 0xe6e0
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe5d0
leaq 0x385b0(%rip), %rsi     # 0x6692a
leaq -0x1e0(%rbp), %rdi
movl $0x8, %edx
callq 0xe5d0
leaq 0x3fabe(%rip), %rsi     # 0x6de50
leaq -0x1e0(%rbp), %rdi
movl $0x12, %edx
callq 0xe5d0
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe830
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe660
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2e3db
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe530
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ef2d
movq 0x634e9(%rip), %rdx     # 0x918d8
leaq 0x634da(%rip), %rdi     # 0x918d0
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe800
movq %r13, 0x634ae(%rip)     # 0x918b8
movq %r12, 0x634af(%rip)     # 0x918c0
movq $0xac, 0x634ac(%rip) # 0x918c8
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2e431
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe530
movq 0x60b78(%rip), %rsi     # 0x8efb0
leaq -0x1e0(%rbp), %rdi
callq 0xe2a0
leaq -0x170(%rbp), %rdi
callq 0xe1e0
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe2d0
movq %rbx, %rdi
callq 0xe6e0
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe5d0
leaq 0x38488(%rip), %rsi     # 0x6692a
leaq -0x1e0(%rbp), %rdi
movl $0x8, %edx
callq 0xe5d0
leaq 0x3f9a9(%rip), %rsi     # 0x6de63
leaq -0x1e0(%rbp), %rdi
movl $0xe, %edx
callq 0xe5d0
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe830
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe660
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2e503
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe530
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ef2d
movq 0x633c1(%rip), %rdx     # 0x918d8
leaq 0x633b2(%rip), %rdi     # 0x918d0
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe800
movq %r13, 0x63386(%rip)     # 0x918b8
movq %r12, 0x63387(%rip)     # 0x918c0
movq $0xac, 0x63384(%rip) # 0x918c8
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2e559
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe530
movq 0x60a50(%rip), %rsi     # 0x8efb0
leaq -0x1e0(%rbp), %rdi
callq 0xe2a0
leaq -0x170(%rbp), %rdi
callq 0xe1e0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2e592
jmp 0x2e592
jmp 0x2e592
jmp 0x2e592
movq %rax, %rbx
leaq -0x1e0(%rbp), %rdi
callq 0x390dc
movq %rbx, %rdi
callq 0xe950
nop