// File: /workspace/github_cpp_makefile_star2_O1/aisthesis[P]realnumber/tst/real_number_test.cpp
// Function: constructor::equals_small_number2_invoker()
BOOST_AUTO_TEST_CASE(equals_small_number2) {
		// tests only the last digit for the small number and allows 2 possible values
		std::string output = small_num_rn.to_decimal_string();
		char original_digit = small_num_str[small_num_str.length() - 1];
		char output_digit = output[small_num_str.length() - 1];
		bool the_same = original_digit == output_digit;
		if (!the_same) {
			BOOST_TEST_MESSAGE("Last digit of input differs from corresponding digit of output:");
			BOOST_TEST_MESSAGE(std::string("input digit: ").append(1, original_digit));
			BOOST_TEST_MESSAGE(std::string("output digit: ").append(1, output_digit));
		}
		bool close_enough = original_digit - output_digit == 1;
		close_enough = close_enough && (output.substr(small_num_str.length(), 3) == "999");
		if (close_enough) {
			BOOST_TEST_MESSAGE("Difference between input and output is minimal and results from base conversion.");
			BOOST_TEST_MESSAGE(std::string("Relevant digits: ")
					.append(output.substr(small_num_str.length() - 1, 4)));
		}
		BOOST_REQUIRE(the_same || close_enough);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x398, %rsp            # imm = 0x398
movq 0x1456f(%rip), %rbx     # 0x1b1e8
leaq 0xe3b4(%rip), %rax      # 0x15034
movq %rax, -0x98(%rbp)
leaq 0xe3be(%rip), %r13      # 0x1504c
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30f0
movq %r14, %rdi
callq 0x3240
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x3b8(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x3200
leaq 0xe526(%rip), %rsi      # 0x1520e
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x3200
leaq 0xeec3(%rip), %rsi      # 0x15bc3
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x3200
leaq -0x228(%rbp), %rsi
leaq -0x3b8(%rbp), %rdi
callq 0x3290
leaq -0xb8(%rbp), %rdi
leaq -0x3b8(%rbp), %r14
movq %r14, %rsi
callq 0x3210
movq (%r14), %rdi
leaq -0x3a8(%rbp), %rax
cmpq %rax, %rdi
je 0x6d58
movq -0x3a8(%rbp), %rsi
incq %rsi
callq 0x31a0
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x59, %edx
movq %rbx, %rdi
callq 0x3350
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x6da3
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x31a0
movq 0x1421e(%rip), %rsi     # 0x1afc8
leaq -0x230(%rbp), %rdi
callq 0x30e0
leaq -0x1c0(%rbp), %rdi
callq 0x3090
leaq -0x3b8(%rbp), %rdi
callq 0x1272e
movq 0x14413(%rip), %rbx     # 0x1b1e8
leaq 0xe258(%rip), %rax      # 0x15034
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30f0
movq %r14, %rdi
callq 0x3240
leaq -0x230(%rbp), %rdi
movq %r15, 0x178(%rdi)
movq $0x0, 0x180(%rdi)
movb $0x0, 0x188(%rdi)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
callq 0x3200
leaq 0xe3d1(%rip), %rsi      # 0x1520e
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x3200
leaq 0xed7d(%rip), %rsi      # 0x15bd2
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x3200
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3290
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3210
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x6ea1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x31a0
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x59, %edx
movq %rbx, %rdi
callq 0x3350
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x6eec
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x31a0
movq 0x140d5(%rip), %rsi     # 0x1afc8
leaq -0x230(%rbp), %rdi
callq 0x30e0
leaq -0x1c0(%rbp), %rdi
callq 0x3090
movq 0x142d6(%rip), %rbx     # 0x1b1e8
leaq 0xe11b(%rip), %rax      # 0x15034
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30f0
movq %r14, %rdi
callq 0x3240
leaq -0x230(%rbp), %rdi
movq %r15, 0x178(%rdi)
movq $0x0, 0x180(%rdi)
movb $0x0, 0x188(%rdi)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
callq 0x3200
leaq 0xe297(%rip), %rsi      # 0x1520e
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x3200
leaq 0xec53(%rip), %rsi      # 0x15be2
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x3200
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3290
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3210
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x6fd7
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x31a0
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x59, %edx
movq %rbx, %rdi
callq 0x3350
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x701f
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x31a0
movq 0x13fa2(%rip), %rsi     # 0x1afc8
leaq -0x230(%rbp), %rdi
callq 0x30e0
leaq -0x1c0(%rbp), %rdi
callq 0x3090
leaq -0x3b8(%rbp), %rdi
callq 0x7316
movq 0x14197(%rip), %rbx     # 0x1b1e8
leaq 0xdfdc(%rip), %rax      # 0x15034
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30f0
movq %r14, %rdi
callq 0x3240
leaq -0x230(%rbp), %rdi
movq %r15, 0x178(%rdi)
movq $0x0, 0x180(%rdi)
movb $0x0, 0x188(%rdi)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
callq 0x3200
leaq 0xe158(%rip), %rsi      # 0x1520e
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x3200
leaq 0xeb21(%rip), %rsi      # 0x15bef
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x3200
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3290
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3210
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7116
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x31a0
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x59, %edx
movq %rbx, %rdi
callq 0x3350
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x715e
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x31a0
movq 0x13e63(%rip), %rsi     # 0x1afc8
leaq -0x230(%rbp), %rdi
callq 0x30e0
leaq -0x1c0(%rbp), %rdi
callq 0x3090
movq 0x14064(%rip), %rbx     # 0x1b1e8
leaq 0xdea9(%rip), %rax      # 0x15034
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30f0
movq %r14, %rdi
callq 0x3240
leaq -0x230(%rbp), %rdi
movq %r15, 0x178(%rdi)
movq $0x0, 0x180(%rdi)
movb $0x0, 0x188(%rdi)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
callq 0x3200
leaq 0xe025(%rip), %rsi      # 0x1520e
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x3200
leaq 0xea01(%rip), %rsi      # 0x15c02
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x3200
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3290
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3210
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7249
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x31a0
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x59, %edx
movq %rbx, %rdi
callq 0x3350
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7291
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x31a0
movq 0x13d30(%rip), %rsi     # 0x1afc8
leaq -0x230(%rbp), %rdi
callq 0x30e0
leaq -0x1c0(%rbp), %rdi
callq 0x3090
leaq -0x3b8(%rbp), %rdi
callq 0x12cb0
addq $0x398, %rsp            # imm = 0x398
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x72d6
jmp 0x72d6
jmp 0x72d6
jmp 0x72d6
movq %rax, %rbx
jmp 0x72f0
jmp 0x72e1
jmp 0x72e1
jmp 0x72e1
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x126e6
leaq -0x3b8(%rbp), %rdi
callq 0x12cb0
movq %rbx, %rdi
callq 0x3300
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x126e6
jmp 0x72fc
nop