// File: /workspace/github_cpp_makefile_star2_O3/aisthesis[P]realnumber/tst/array_arithmetic_test.cpp
// Function: addition::different_lengths_invoker()
BOOST_AUTO_TEST_CASE(different_lengths) {
		// inputs of equal size
		array_arithmetic::convert::from_int(one_billion, bigger_arr1, bigger_arr_len);
		array_arithmetic::convert::from_int(two_billion, bigger_arr2, bigger_arr_len);
		array_arithmetic::add(bigger_arr1, bigger_arr2, big_sum_arr, bigger_arr_len, bigger_arr_len);
		BOOST_CHECK_EQUAL(array_arithmetic::convert::to_int(big_sum_arr, bigger_arr_len + 1),
				three_billion);
		// different input sizes: small
		array_arithmetic::convert::from_int(one, small_arr1, small_arr_len);
		array_arithmetic::convert::from_int(two, smaller_arr, small_arr_len - 1);
		array_arithmetic::add(small_arr1, smaller_arr, small_result_arr, small_arr_len, small_arr_len - 1);
		BOOST_CHECK_EQUAL(array_arithmetic::convert::to_int(small_result_arr, small_arr_len + 1), three);
		// different input sizes: large
		array_arithmetic::convert::from_int(one_billion, bigger_arr1, bigger_arr_len);
		array_arithmetic::convert::from_int(255, big_arr, bigger_arr_len - 2);
		array_arithmetic::add(bigger_arr1, big_arr, big_sum_arr, bigger_arr_len, bigger_arr_len - 2);
		BOOST_CHECK_EQUAL(array_arithmetic::convert::to_int(big_sum_arr, bigger_arr_len + 1),
				static_cast<unsigned int>(1000000255));
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
movq 0xc29e(%rip), %rbx      # 0x1d190
leaq 0x7166(%rip), %rax      # 0x1805f
movq %rax, -0x98(%rbp)
leaq 0x7175(%rip), %r13      # 0x1807c
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0x31b0
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x2b8(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x3180
leaq 0x7803(%rip), %rsi      # 0x18764
leaq -0x230(%rbp), %rdi
movl $0x11, %edx
callq 0x3180
leaq 0x7a5a(%rip), %rsi      # 0x189d3
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x3180
leaq -0x228(%rbp), %rsi
leaq -0x2b8(%rbp), %rdi
callq 0x31e0
leaq -0xb8(%rbp), %rdi
leaq -0x2b8(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x2a8(%rbp), %rax
cmpq %rax, %rdi
je 0x10fd1
movq -0x2a8(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0xb8(%rbp), %rax
leaq -0x308(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x12f, %edx            # imm = 0x12F
movq %rbx, %rdi
callq 0x3290
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x1101c
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3140
movq 0xbfa5(%rip), %rsi      # 0x1cfc8
leaq -0x230(%rbp), %rdi
callq 0x30b0
leaq -0x1c0(%rbp), %rdi
callq 0x3060
leaq -0x2b8(%rbp), %rdi
callq 0x165ca
movq 0xc142(%rip), %rbx      # 0x1d190
leaq 0x700a(%rip), %rax      # 0x1805f
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0x31b0
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 0x3180
leaq 0x76ae(%rip), %rsi      # 0x18764
leaq -0x230(%rbp), %rdi
movl $0x11, %edx
callq 0x3180
leaq 0x7914(%rip), %rsi      # 0x189e2
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x3180
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x31e0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x1111a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0xb8(%rbp), %rax
leaq -0x2f8(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x12f, %edx            # imm = 0x12F
movq %rbx, %rdi
callq 0x3290
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x11165
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3140
movq 0xbe5c(%rip), %rsi      # 0x1cfc8
leaq -0x230(%rbp), %rdi
callq 0x30b0
leaq -0x1c0(%rbp), %rdi
callq 0x3060
movq 0xc005(%rip), %rbx      # 0x1d190
leaq 0x6ecd(%rip), %rax      # 0x1805f
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0x31b0
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 0x3180
leaq 0x7574(%rip), %rsi      # 0x18764
leaq -0x230(%rbp), %rdi
movl $0x11, %edx
callq 0x3180
leaq 0x77ea(%rip), %rsi      # 0x189f2
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x3180
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x31e0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x11250
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0xb8(%rbp), %rax
leaq -0x2e8(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x12f, %edx            # imm = 0x12F
movq %rbx, %rdi
callq 0x3290
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x11298
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3140
movq 0xbd29(%rip), %rsi      # 0x1cfc8
leaq -0x230(%rbp), %rdi
callq 0x30b0
leaq -0x1c0(%rbp), %rdi
callq 0x3060
leaq -0x2b8(%rbp), %rdi
callq 0x1158e
movq 0xbec6(%rip), %rbx      # 0x1d190
leaq 0x6d8e(%rip), %rax      # 0x1805f
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0x31b0
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 0x3180
leaq 0x7435(%rip), %rsi      # 0x18764
leaq -0x230(%rbp), %rdi
movl $0x11, %edx
callq 0x3180
leaq 0x76b8(%rip), %rsi      # 0x189ff
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x3180
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x31e0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x1138f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0xb8(%rbp), %rax
leaq -0x2d8(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x12f, %edx            # imm = 0x12F
movq %rbx, %rdi
callq 0x3290
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x113d7
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3140
movq 0xbbea(%rip), %rsi      # 0x1cfc8
leaq -0x230(%rbp), %rdi
callq 0x30b0
leaq -0x1c0(%rbp), %rdi
callq 0x3060
movq 0xbd93(%rip), %rbx      # 0x1d190
leaq 0x6c5b(%rip), %rax      # 0x1805f
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0x31b0
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 0x3180
leaq 0x7302(%rip), %rsi      # 0x18764
leaq -0x230(%rbp), %rdi
movl $0x11, %edx
callq 0x3180
leaq 0x7598(%rip), %rsi      # 0x18a12
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x3180
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x31e0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x114c2
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0xb8(%rbp), %rax
leaq -0x2c8(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x12f, %edx            # imm = 0x12F
movq %rbx, %rdi
callq 0x3290
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x1150a
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3140
movq 0xbab7(%rip), %rsi      # 0x1cfc8
leaq -0x230(%rbp), %rdi
callq 0x30b0
leaq -0x1c0(%rbp), %rdi
callq 0x3060
leaq -0x2b8(%rbp), %rdi
callq 0x1669c
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1154f
jmp 0x1154f
jmp 0x1154f
jmp 0x1154f
movq %rax, %rbx
jmp 0x11569
jmp 0x1155a
jmp 0x1155a
jmp 0x1155a
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x16518
leaq -0x2b8(%rbp), %rdi
callq 0x1669c
movq %rbx, %rdi
callq 0x3250
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x16518
jmp 0x11575