// File: /workspace/github_cpp_makefile_star2_O2/aisthesis[P]realnumber/tst/array_arithmetic_test.cpp
// Function: division_helpers::align_divisor_invoker()
BOOST_AUTO_TEST_CASE(align_divisor) {
		unsigned char arr1[] = {129, 0};
		unsigned char arr2[] = {0, 129};
		// verify proper return value
		BOOST_CHECK_EQUAL(array_arithmetic::helpers::division::align_divisor(arr2, arr1, 2), 8);
		// verify that arr1 was properly shifted
		BOOST_CHECK_EQUAL(arr1[0], 0);
		BOOST_CHECK_EQUAL(arr1[1], 129);
		// verify that arr2 is unchanged
		BOOST_CHECK_EQUAL(arr2[0], 0);
		BOOST_CHECK_EQUAL(arr2[1], 129);
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x240, %rsp            # imm = 0x240
movq 0xdb1d(%rip), %rbx      # 0x16198
leaq 0x89d9(%rip), %r15      # 0x1105b
movq %r15, -0x70(%rbp)
leaq 0x89eb(%rip), %r12      # 0x11078
movq %r12, -0x68(%rbp)
leaq -0x208(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0xeecc
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x31a0
leaq 0x8e15(%rip), %rsi      # 0x114d6
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq 0x92fb(%rip), %rsi      # 0x119cf
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq -0x208(%rbp), %rdi
callq 0xeefe
movq (%rax), %rdx
leaq -0x258(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x70(%rbp), %rsi
movl $0x8c, %edx
movq %rbx, %rdi
callq 0x32a0
leaq -0x208(%rbp), %rdi
callq 0xef42
movq 0xda73(%rip), %rbx      # 0x16198
movq %r15, -0x60(%rbp)
movq %r12, -0x58(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0xeecc
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x31a0
leaq 0x8d80(%rip), %rsi      # 0x114d6
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq 0x9275(%rip), %rsi      # 0x119de
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq -0x208(%rbp), %rdi
callq 0xeefe
movq (%rax), %rdx
leaq -0x248(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x60(%rbp), %rsi
movl $0x8c, %edx
movq %rbx, %rdi
callq 0x32a0
leaq -0x208(%rbp), %rdi
callq 0xef42
movq 0xd9de(%rip), %rbx      # 0x16198
movq %r15, -0x50(%rbp)
movq %r12, -0x48(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0xeecc
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x31a0
leaq 0x8ceb(%rip), %rsi      # 0x114d6
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq 0x91f0(%rip), %rsi      # 0x119ee
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq -0x208(%rbp), %rdi
callq 0xeefe
movq (%rax), %rdx
leaq -0x238(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x50(%rbp), %rsi
movl $0x8c, %edx
movq %rbx, %rdi
callq 0x32a0
leaq -0x208(%rbp), %rdi
callq 0xef42
callq 0x89a6
movq 0xd944(%rip), %rbx      # 0x16198
movq %r15, -0x40(%rbp)
movq %r12, -0x38(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0xeecc
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x31a0
leaq 0x8c51(%rip), %rsi      # 0x114d6
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq 0x9163(%rip), %rsi      # 0x119fb
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq -0x208(%rbp), %rdi
callq 0xeefe
movq (%rax), %rdx
leaq -0x228(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x40(%rbp), %rsi
movl $0x8c, %edx
movq %rbx, %rdi
callq 0x32a0
leaq -0x208(%rbp), %rdi
callq 0xef42
movq 0xd8af(%rip), %rbx      # 0x16198
movq %r15, -0x30(%rbp)
movq %r12, -0x28(%rbp)
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x30c0
movq %r14, %rdi
callq 0xeecc
pushq $0x22
popq %rsi
movq %r14, %rdi
callq 0x31a0
leaq 0x8bbc(%rip), %rsi      # 0x114d6
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq 0x90e1(%rip), %rsi      # 0x11a0e
leaq -0x208(%rbp), %rdi
callq 0x3140
leaq -0x208(%rbp), %rdi
callq 0xeefe
movq (%rax), %rdx
leaq -0x218(%rbp), %rcx
movq %rdx, (%rcx)
addq 0x8(%rax), %rdx
movq %rdx, 0x8(%rcx)
leaq -0x30(%rbp), %rsi
movl $0x8c, %edx
movq %rbx, %rdi
callq 0x32a0
leaq -0x208(%rbp), %rdi
callq 0xef42
addq $0x240, %rsp            # imm = 0x240
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x898f
jmp 0x898f
jmp 0x898f
jmp 0x898f
movq %rax, %rbx
leaq -0x208(%rbp), %rdi
callq 0xef42
movq %rbx, %rdi
callq 0x3260