#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ test_azap_extAddrCpyPayloadAndShift();
int /*<<< orphan*/ test_azap_int16ArrayCpyPayloadAndShift();
int /*<<< orphan*/ test_azap_int16CpyPayloadAndShift();
int /*<<< orphan*/ test_azap_uint8ArrayCpyPayloadAndShift();
int /*<<< orphan*/ test_azap_uint8CpyPayloadAndShift();
int /*<<< orphan*/ test_parseExtAddrAndShift();
int /*<<< orphan*/ test_parseUint16AndShift();
int /*<<< orphan*/ test_parseUint16ArrayAndShift();
int /*<<< orphan*/ test_parseUint8AndShift();
int /*<<< orphan*/ test_parseUint8ArrayAndShift();
int main(int argc, char *argv[]) {
  test_parseUint8AndShift();
  test_parseUint8ArrayAndShift();
  test_parseUint16AndShift();
  test_parseUint16ArrayAndShift();
  test_parseExtAddrAndShift();
  test_azap_uint8CpyPayloadAndShift();
  test_azap_uint8ArrayCpyPayloadAndShift();
  test_azap_int16CpyPayloadAndShift();
  test_azap_int16ArrayCpyPayloadAndShift();
  test_azap_extAddrCpyPayloadAndShift();
  printf("\t ___\n");
  printf("\t/ __|_  _ __ __ ___ ______\n");
  printf("\t\\__ \\ || / _/ _/ -_|_-<_-<\n");
  printf("\t|___/\\_,_\\__\\__\\___/__/__/\n");
  printf("\t\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1060 <test_parseUint8AndShift@plt>
mov    $0x0,%al
call   1090 <test_parseUint8ArrayAndShift@plt>
mov    $0x0,%al
call   10d0 <test_parseUint16AndShift@plt>
mov    $0x0,%al
call   1070 <test_parseUint16ArrayAndShift@plt>
mov    $0x0,%al
call   1050 <test_parseExtAddrAndShift@plt>
mov    $0x0,%al
call   10c0 <test_azap_uint8CpyPayloadAndShift@plt>
mov    $0x0,%al
call   10a0 <test_azap_uint8ArrayCpyPayloadAndShift@plt>
mov    $0x0,%al
call   10b0 <test_azap_int16CpyPayloadAndShift@plt>
mov    $0x0,%al
call   1040 <test_azap_int16ArrayCpyPayloadAndShift@plt>
mov    $0x0,%al
call   1030 <test_azap_extAddrCpyPayloadAndShift@plt>
lea    0xded(%rip),%rdi
call   1080 <printf@plt>
lea    0xde8(%rip),%rdi
call   1080 <printf@plt>
lea    0xdf9(%rip),%rdi
call   1080 <printf@plt>
lea    0xe0a(%rip),%rdi
call   1080 <printf@plt>
lea    0xe1b(%rip),%rdi
call   1080 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1070 <test_parseUint8AndShift@plt>
xor    %eax,%eax
call   1090 <test_parseUint8ArrayAndShift@plt>
xor    %eax,%eax
call   10d0 <test_parseUint16AndShift@plt>
xor    %eax,%eax
call   1080 <test_parseUint16ArrayAndShift@plt>
xor    %eax,%eax
call   1060 <test_parseExtAddrAndShift@plt>
xor    %eax,%eax
call   10c0 <test_azap_uint8CpyPayloadAndShift@plt>
xor    %eax,%eax
call   10a0 <test_azap_uint8ArrayCpyPayloadAndShift@plt>
xor    %eax,%eax
call   10b0 <test_azap_int16CpyPayloadAndShift@plt>
xor    %eax,%eax
call   1040 <test_azap_int16ArrayCpyPayloadAndShift@plt>
xor    %eax,%eax
call   1030 <test_azap_extAddrCpyPayloadAndShift@plt>
lea    0xe02(%rip),%rdi
call   1050 <puts@plt>
lea    0xdfc(%rip),%rdi
call   1050 <puts@plt>
lea    0xe0c(%rip),%rdi
call   1050 <puts@plt>
lea    0xe1c(%rip),%rdi
call   1050 <puts@plt>
lea    0xe2c(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [7 x i8] c"\09 ___\0A\00"
@.str.1 = [29 x i8] c"\09/ __|_ _ __ __ ___ ______\0A\00"
@.str.2 = [29 x i8] c"\09\\__ \\ || / _/ _/ -_|_-<_-<\0A\00"
@.str.3 = [29 x i8] c"\09|___/\\_,_\\__\\__\\___/__/__/\0A\00"
@.str.4 = [3 x i8] c"\09\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @test_parseUint8AndShift()
%7 = call i32 (...) @test_parseUint8ArrayAndShift()
%8 = call i32 (...) @test_parseUint16AndShift()
%9 = call i32 (...) @test_parseUint16ArrayAndShift()
%10 = call i32 (...) @test_parseExtAddrAndShift()
%11 = call i32 (...) @test_azap_uint8CpyPayloadAndShift()
%12 = call i32 (...) @test_azap_uint8ArrayCpyPayloadAndShift()
%13 = call i32 (...) @test_azap_int16CpyPayloadAndShift()
%14 = call i32 (...) @test_azap_int16ArrayCpyPayloadAndShift()
%15 = call i32 (...) @test_azap_extAddrCpyPayloadAndShift()
%16 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.1, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str = [6 x i8] c"\09 ___\00"
@str.5 = [28 x i8] c"\09/ __|_ _ __ __ ___ ______\00"
@str.6 = [28 x i8] c"\09\\__ \\ || / _/ _/ -_|_-<_-<\00"
@str.7 = [28 x i8] c"\09|___/\\_,_\\__\\__\\___/__/__/\00"
@str.8 = [2 x i8] c"\09\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @test_parseUint8AndShift()
%4 = tail call i32 (...) @test_parseUint8ArrayAndShift()
%5 = tail call i32 (...) @test_parseUint16AndShift()
%6 = tail call i32 (...) @test_parseUint16ArrayAndShift()
%7 = tail call i32 (...) @test_parseExtAddrAndShift()
%8 = tail call i32 (...) @test_azap_uint8CpyPayloadAndShift()
%9 = tail call i32 (...) @test_azap_uint8ArrayCpyPayloadAndShift()
%10 = tail call i32 (...) @test_azap_int16CpyPayloadAndShift()
%11 = tail call i32 (...) @test_azap_int16ArrayCpyPayloadAndShift()
%12 = tail call i32 (...) @test_azap_extAddrCpyPayloadAndShift()
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.5, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.6, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.7, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.8, i64 0, i64 0))
ret i32 0
}