// File: aisthesis[P]realnumber/tst/array_arithmetic_test.cpp
// Function: helpers::less_or_equal_invoker()
BOOST_AUTO_TEST_CASE(less_or_equal) {
		unsigned char arr1[] = {1, 1};
		unsigned char arr2[] = {1, 2};
		unsigned char arr3[] = {2, 1};
		// case of equality
		BOOST_CHECK(array_arithmetic::helpers::less_or_equal(arr1, arr1, 2));
		// inequality
		BOOST_CHECK(array_arithmetic::helpers::less_or_equal(arr1, arr2, 2));
		BOOST_CHECK(array_arithmetic::helpers::less_or_equal(arr1, arr3, 2));
		// false case
		BOOST_CHECK(!array_arithmetic::helpers::less_or_equal(arr2, arr1, 2));
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x9c0, %rsp            # imm = 0x9C0
movq 0x1bc9e(%rip), %rax     # 0x25220
movq %rax, -0x8e8(%rbp)
leaq 0x13a7f(%rip), %rsi     # 0x1d00f
leaq -0x10(%rbp), %rdi
movl $0x1d, %edx
callq 0x17390
leaq -0x1b8(%rbp), %rdi
movq %rdi, -0x8e0(%rbp)
xorl %esi, %esi
movl $0x198, %edx            # imm = 0x198
callq 0x30d0
movq -0x8e0(%rbp), %rdi
callq 0x18120
movq -0x8e0(%rbp), %rdi
callq 0x18150
movq %rax, %rdi
movb $0x22, -0x1b9(%rbp)
leaq -0x1b9(%rbp), %rsi
callq 0x180e0
movq %rax, -0x8d8(%rbp)
jmp 0x95ef
movq -0x8d8(%rbp), %rdi
leaq 0x13cc2(%rip), %rsi     # 0x1d2bf
callq 0x18990
movq %rax, -0x8f0(%rbp)
jmp 0x960b
movq -0x8f0(%rbp), %rdi
leaq 0x14370(%rip), %rsi     # 0x1d989
callq 0x18080
movq %rax, -0x8f8(%rbp)
jmp 0x9627
movq -0x8f8(%rbp), %rdi
callq 0x18160
movq %rax, -0x900(%rbp)
jmp 0x963c
movq -0x900(%rbp), %rsi
leaq -0x20(%rbp), %rdi
callq 0x18020
jmp 0x964e
movq -0x8e8(%rbp), %rdi
leaq -0x10(%rbp), %rsi
movl $0x61, %edx
leaq -0x20(%rbp), %rcx
callq 0x3390
jmp 0x9669
leaq -0x1b8(%rbp), %rdi
callq 0x181b0
movq 0x1bba4(%rip), %rax     # 0x25220
movq %rax, -0x918(%rbp)
leaq 0x13985(%rip), %rsi     # 0x1d00f
leaq -0x1e0(%rbp), %rdi
movl $0x1d, %edx
callq 0x17390
leaq -0x388(%rbp), %rdi
movq %rdi, -0x910(%rbp)
xorl %esi, %esi
movl $0x198, %edx            # imm = 0x198
callq 0x30d0
movq -0x910(%rbp), %rdi
callq 0x18120
movq -0x910(%rbp), %rdi
callq 0x18150
movq %rax, %rdi
movb $0x22, -0x389(%rbp)
leaq -0x389(%rbp), %rsi
callq 0x180e0
movq %rax, -0x908(%rbp)
jmp 0x96ec
movq -0x908(%rbp), %rdi
leaq 0x13bc5(%rip), %rsi     # 0x1d2bf
callq 0x18990
movq %rax, -0x920(%rbp)
jmp 0x9708
movq -0x920(%rbp), %rdi
leaq 0x14282(%rip), %rsi     # 0x1d998
callq 0x18200
movq %rax, -0x928(%rbp)
jmp 0x9724
movq -0x928(%rbp), %rdi
callq 0x18160
movq %rax, -0x930(%rbp)
jmp 0x9739
movq -0x930(%rbp), %rsi
leaq -0x1f0(%rbp), %rdi
callq 0x18020
jmp 0x974e
movq -0x918(%rbp), %rdi
leaq -0x1e0(%rbp), %rsi
movl $0x61, %edx
leaq -0x1f0(%rbp), %rcx
callq 0x3390
jmp 0x976f
leaq -0x388(%rbp), %rdi
callq 0x181b0
leaq -0x1cd(%rbp), %rdi
callq 0x189c0
movq 0x1ba92(%rip), %rax     # 0x25220
movq %rax, -0x948(%rbp)
leaq 0x13873(%rip), %rsi     # 0x1d00f
leaq -0x3a0(%rbp), %rdi
movl $0x1d, %edx
callq 0x17390
leaq -0x548(%rbp), %rdi
movq %rdi, -0x940(%rbp)
xorl %esi, %esi
movl $0x198, %edx            # imm = 0x198
callq 0x30d0
movq -0x940(%rbp), %rdi
callq 0x18120
movq -0x940(%rbp), %rdi
callq 0x18150
movq %rax, %rdi
movb $0x22, -0x549(%rbp)
leaq -0x549(%rbp), %rsi
callq 0x180e0
movq %rax, -0x938(%rbp)
jmp 0x97fe
movq -0x938(%rbp), %rdi
leaq 0x13ab3(%rip), %rsi     # 0x1d2bf
callq 0x18990
movq %rax, -0x950(%rbp)
jmp 0x981a
movq -0x950(%rbp), %rdi
leaq 0x14180(%rip), %rsi     # 0x1d9a8
callq 0x18250
movq %rax, -0x958(%rbp)
jmp 0x9836
movq -0x958(%rbp), %rdi
callq 0x18160
movq %rax, -0x960(%rbp)
jmp 0x984b
movq -0x960(%rbp), %rsi
leaq -0x3b0(%rbp), %rdi
callq 0x18020
jmp 0x9860
movq -0x948(%rbp), %rdi
leaq -0x3a0(%rbp), %rsi
movl $0x61, %edx
leaq -0x3b0(%rbp), %rcx
callq 0x3390
jmp 0x9881
leaq -0x548(%rbp), %rdi
callq 0x181b0
leaq -0x1cd(%rbp), %rdi
callq 0x9b70
movq 0x1b980(%rip), %rax     # 0x25220
movq %rax, -0x978(%rbp)
leaq 0x13761(%rip), %rsi     # 0x1d00f
leaq -0x560(%rbp), %rdi
movl $0x1d, %edx
callq 0x17390
leaq -0x708(%rbp), %rdi
movq %rdi, -0x970(%rbp)
xorl %esi, %esi
movl $0x198, %edx            # imm = 0x198
callq 0x30d0
movq -0x970(%rbp), %rdi
callq 0x18120
movq -0x970(%rbp), %rdi
callq 0x18150
movq %rax, %rdi
movb $0x22, -0x709(%rbp)
leaq -0x709(%rbp), %rsi
callq 0x180e0
movq %rax, -0x968(%rbp)
jmp 0x9910
movq -0x968(%rbp), %rdi
leaq 0x139a1(%rip), %rsi     # 0x1d2bf
callq 0x18990
movq %rax, -0x980(%rbp)
jmp 0x992c
movq -0x980(%rbp), %rdi
leaq 0x1407b(%rip), %rsi     # 0x1d9b5
callq 0x18280
movq %rax, -0x988(%rbp)
jmp 0x9948
movq -0x988(%rbp), %rdi
callq 0x18160
movq %rax, -0x990(%rbp)
jmp 0x995d
movq -0x990(%rbp), %rsi
leaq -0x570(%rbp), %rdi
callq 0x18020
jmp 0x9972
movq -0x978(%rbp), %rdi
leaq -0x560(%rbp), %rsi
movl $0x61, %edx
leaq -0x570(%rbp), %rcx
callq 0x3390
jmp 0x9993
leaq -0x708(%rbp), %rdi
callq 0x181b0
leaq -0x1cd(%rbp), %rdi
callq 0x189e0
movq 0x1b86e(%rip), %rax     # 0x25220
movq %rax, -0x9a8(%rbp)
leaq 0x1364f(%rip), %rsi     # 0x1d00f
leaq -0x720(%rbp), %rdi
movl $0x1d, %edx
callq 0x17390
leaq -0x8c8(%rbp), %rdi
movq %rdi, -0x9a0(%rbp)
xorl %esi, %esi
movl $0x198, %edx            # imm = 0x198
callq 0x30d0
movq -0x9a0(%rbp), %rdi
callq 0x18120
movq -0x9a0(%rbp), %rdi
callq 0x18150
movq %rax, %rdi
movb $0x22, -0x8c9(%rbp)
leaq -0x8c9(%rbp), %rsi
callq 0x180e0
movq %rax, -0x998(%rbp)
jmp 0x9a22
movq -0x998(%rbp), %rdi
leaq 0x1388f(%rip), %rsi     # 0x1d2bf
callq 0x18990
movq %rax, -0x9b0(%rbp)
jmp 0x9a3e
movq -0x9b0(%rbp), %rdi
leaq 0x13f7c(%rip), %rsi     # 0x1d9c8
callq 0x18080
movq %rax, -0x9b8(%rbp)
jmp 0x9a5a
movq -0x9b8(%rbp), %rdi
callq 0x18160
movq %rax, -0x9c0(%rbp)
jmp 0x9a6f
movq -0x9c0(%rbp), %rsi
leaq -0x730(%rbp), %rdi
callq 0x18020
jmp 0x9a84
movq -0x9a8(%rbp), %rdi
leaq -0x720(%rbp), %rsi
movl $0x61, %edx
leaq -0x730(%rbp), %rcx
callq 0x3390
jmp 0x9aa5
leaq -0x8c8(%rbp), %rdi
callq 0x181b0
addq $0x9c0, %rsp            # imm = 0x9C0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c8(%rbp)
movl %eax, -0x1cc(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x181b0
jmp 0x9b58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c8(%rbp)
movl %eax, -0x1cc(%rbp)
leaq -0x388(%rbp), %rdi
callq 0x181b0
jmp 0x9b58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c8(%rbp)
movl %eax, -0x1cc(%rbp)
leaq -0x548(%rbp), %rdi
callq 0x181b0
jmp 0x9b58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c8(%rbp)
movl %eax, -0x1cc(%rbp)
leaq -0x708(%rbp), %rdi
callq 0x181b0
jmp 0x9b58
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c8(%rbp)
movl %eax, -0x1cc(%rbp)
leaq -0x8c8(%rbp), %rdi
callq 0x181b0
movq -0x1c8(%rbp), %rdi
callq 0x3340
nopw %cs:(%rax,%rax)