void *SwapEndian(void *Addr, const int Nb) {
  static char Swapped[16];
  switch (Nb) {
  case 2:
    Swapped[0] = *((char *)Addr + 1);
    Swapped[1] = *((char *)Addr);
    break;
  case 3:
    Swapped[0] = *((char *)Addr + 2);
    Swapped[1] = *((char *)Addr + 1);
    Swapped[2] = *((char *)Addr);
    break;
  case 4:
    Swapped[0] = *((char *)Addr + 3);
    Swapped[1] = *((char *)Addr + 2);
    Swapped[2] = *((char *)Addr + 1);
    Swapped[3] = *((char *)Addr);
    break;
  case 8:
    Swapped[0] = *((char *)Addr + 7);
    Swapped[1] = *((char *)Addr + 6);
    Swapped[2] = *((char *)Addr + 5);
    Swapped[3] = *((char *)Addr + 4);
    Swapped[4] = *((char *)Addr + 3);
    Swapped[5] = *((char *)Addr + 2);
    Swapped[6] = *((char *)Addr + 1);
    Swapped[7] = *((char *)Addr);
    break;
  case 16:
    Swapped[0] = *((char *)Addr + 15);
    Swapped[1] = *((char *)Addr + 14);
    Swapped[2] = *((char *)Addr + 13);
    Swapped[3] = *((char *)Addr + 12);
    Swapped[4] = *((char *)Addr + 11);
    Swapped[5] = *((char *)Addr + 10);
    Swapped[6] = *((char *)Addr + 9);
    Swapped[7] = *((char *)Addr + 8);
    Swapped[8] = *((char *)Addr + 7);
    Swapped[9] = *((char *)Addr + 6);
    Swapped[10] = *((char *)Addr + 5);
    Swapped[11] = *((char *)Addr + 4);
    Swapped[12] = *((char *)Addr + 3);
    Swapped[13] = *((char *)Addr + 2);
    Swapped[14] = *((char *)Addr + 1);
    Swapped[15] = *((char *)Addr);
    break;
  }
  return (void *)Swapped;
}


x86 assembly (clang, -O0):
<SwapEndian>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0xfffffffe,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0xe,%eax
ja     12f0 <SwapEndian+0x1f0>
mov    -0x18(%rbp),%rax
lea    0xed5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x8(%rbp),%rax
mov    0x1(%rax),%al
mov    %al,0x2eef(%rip)
mov    -0x8(%rbp),%rax
mov    (%rax),%al
mov    %al,0x2ee4(%rip)
jmp    12f0 <SwapEndian+0x1f0>
mov    -0x8(%rbp),%rax
mov    0x2(%rax),%al
mov    %al,0x2ed1(%rip)
mov    -0x8(%rbp),%rax
mov    0x1(%rax),%al
mov    %al,0x2ec5(%rip)
mov    -0x8(%rbp),%rax
mov    (%rax),%al
mov    %al,0x2eba(%rip)
jmp    12f0 <SwapEndian+0x1f0>
mov    -0x8(%rbp),%rax
mov    0x3(%rax),%al
mov    %al,0x2ea6(%rip)
mov    -0x8(%rbp),%rax
mov    0x2(%rax),%al
mov    %al,0x2e9a(%rip)
mov    -0x8(%rbp),%rax
mov    0x1(%rax),%al
mov    %al,0x2e8e(%rip)
mov    -0x8(%rbp),%rax
mov    (%rax),%al
mov    %al,0x2e83(%rip)
jmp    12f0 <SwapEndian+0x1f0>
mov    -0x8(%rbp),%rax
mov    0x7(%rax),%al
mov    %al,0x2e6e(%rip)
mov    -0x8(%rbp),%rax
mov    0x6(%rax),%al
mov    %al,0x2e62(%rip)
mov    -0x8(%rbp),%rax
mov    0x5(%rax),%al
mov    %al,0x2e56(%rip)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%al
mov    %al,0x2e4a(%rip)
mov    -0x8(%rbp),%rax
mov    0x3(%rax),%al
mov    %al,0x2e3e(%rip)
mov    -0x8(%rbp),%rax
mov    0x2(%rax),%al
mov    %al,0x2e32(%rip)
mov    -0x8(%rbp),%rax
mov    0x1(%rax),%al
mov    %al,0x2e26(%rip)
mov    -0x8(%rbp),%rax
mov    (%rax),%al
mov    %al,0x2e1b(%rip)
jmp    12f0 <SwapEndian+0x1f0>
mov    -0x8(%rbp),%rax
mov    0xf(%rax),%al
mov    %al,0x2e02(%rip)
mov    -0x8(%rbp),%rax
mov    0xe(%rax),%al
mov    %al,0x2df6(%rip)
mov    -0x8(%rbp),%rax
mov    0xd(%rax),%al
mov    %al,0x2dea(%rip)
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%al
mov    %al,0x2dde(%rip)
mov    -0x8(%rbp),%rax
mov    0xb(%rax),%al
mov    %al,0x2dd2(%rip)
mov    -0x8(%rbp),%rax
mov    0xa(%rax),%al
mov    %al,0x2dc6(%rip)
mov    -0x8(%rbp),%rax
mov    0x9(%rax),%al
mov    %al,0x2dba(%rip)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%al
mov    %al,0x2dae(%rip)
mov    -0x8(%rbp),%rax
mov    0x7(%rax),%al
mov    %al,0x2da2(%rip)
mov    -0x8(%rbp),%rax
mov    0x6(%rax),%al
mov    %al,0x2d96(%rip)
mov    -0x8(%rbp),%rax
mov    0x5(%rax),%al
mov    %al,0x2d8a(%rip)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%al
mov    %al,0x2d7e(%rip)
mov    -0x8(%rbp),%rax
mov    0x3(%rax),%al
mov    %al,0x2d72(%rip)
mov    -0x8(%rbp),%rax
mov    0x2(%rax),%al
mov    %al,0x2d66(%rip)
mov    -0x8(%rbp),%rax
mov    0x1(%rax),%al
mov    %al,0x2d5a(%rip)
mov    -0x8(%rbp),%rax
mov    (%rax),%al
mov    %al,0x2d4f(%rip)
lea    0x2d39(%rip),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<SwapEndian>:
add    $0xfffffffe,%esi
cmp    $0xe,%esi
ja     1260 <SwapEndian+0x160>
lea    0xeed(%rip),%rax
movslq (%rax,%rsi,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    0x1(%rdi),%al
mov    %al,0x2f0b(%rip)
mov    (%rdi),%al
mov    %al,0x2f04(%rip)
lea    0x2efc(%rip),%rax
ret
mov    0x2(%rdi),%al
mov    %al,0x2ef2(%rip)
mov    0x1(%rdi),%al
mov    %al,0x2eea(%rip)
mov    (%rdi),%al
mov    %al,0x2ee3(%rip)
lea    0x2eda(%rip),%rax
ret
mov    0x3(%rdi),%al
mov    %al,0x2ed0(%rip)
mov    0x2(%rdi),%al
mov    %al,0x2ec8(%rip)
mov    0x1(%rdi),%al
mov    %al,0x2ec0(%rip)
mov    (%rdi),%al
mov    %al,0x2eb9(%rip)
lea    0x2eaf(%rip),%rax
ret
mov    0x7(%rdi),%al
mov    %al,0x2ea5(%rip)
mov    0x6(%rdi),%al
mov    %al,0x2e9d(%rip)
mov    0x5(%rdi),%al
mov    %al,0x2e95(%rip)
mov    0x4(%rdi),%al
mov    %al,0x2e8d(%rip)
mov    0x3(%rdi),%al
mov    %al,0x2e85(%rip)
mov    0x2(%rdi),%al
mov    %al,0x2e7d(%rip)
mov    0x1(%rdi),%al
mov    %al,0x2e75(%rip)
mov    (%rdi),%al
mov    %al,0x2e6e(%rip)
lea    0x2e60(%rip),%rax
ret
mov    0xf(%rdi),%al
mov    %al,0x2e56(%rip)
mov    0xe(%rdi),%al
mov    %al,0x2e4e(%rip)
mov    0xd(%rdi),%al
mov    %al,0x2e46(%rip)
mov    0xc(%rdi),%al
mov    %al,0x2e3e(%rip)
mov    0xb(%rdi),%al
mov    %al,0x2e36(%rip)
mov    0xa(%rdi),%al
mov    %al,0x2e2e(%rip)
mov    0x9(%rdi),%al
mov    %al,0x2e26(%rip)
mov    0x8(%rdi),%al
mov    %al,0x2e1e(%rip)
mov    0x7(%rdi),%al
mov    %al,0x2e16(%rip)
mov    0x6(%rdi),%al
mov    %al,0x2e0e(%rip)
mov    0x5(%rdi),%al
mov    %al,0x2e06(%rip)
mov    0x4(%rdi),%al
mov    %al,0x2dfe(%rip)
mov    0x3(%rdi),%al
mov    %al,0x2df6(%rip)
mov    0x2(%rdi),%al
mov    %al,0x2dee(%rip)
mov    0x1(%rdi),%al
mov    %al,0x2de6(%rip)
mov    (%rdi),%al
mov    %al,0x2ddf(%rip)
lea    0x2dc9(%rip),%rax
ret

LLVM IR (-O0):
@SwapEndian.Swapped = internal global [16 x i8] zeroinitializer
define i8* @SwapEndian(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
store i8* %0, i8** %3
store i32 %1, i32* %4
%5 = load i32, i32* %4
switch i32 %5, label %105 [
i32 2, label %6
i32 3, label %12
i32 4, label %21
i32 8, label %33
i32 16, label %57
]
6: ; preds = %2
%7 = load i8*, i8** %3
%8 = getelementptr inbounds i8, i8* %7, i64 1
%9 = load i8, i8* %8
store i8 %9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%10 = load i8*, i8** %3
%11 = load i8, i8* %10
store i8 %11, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
br label %105
12: ; preds = %2
%13 = load i8*, i8** %3
%14 = getelementptr inbounds i8, i8* %13, i64 2
%15 = load i8, i8* %14
store i8 %15, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%16 = load i8*, i8** %3
%17 = getelementptr inbounds i8, i8* %16, i64 1
%18 = load i8, i8* %17
store i8 %18, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%19 = load i8*, i8** %3
%20 = load i8, i8* %19
store i8 %20, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
br label %105
21: ; preds = %2
%22 = load i8*, i8** %3
%23 = getelementptr inbounds i8, i8* %22, i64 3
%24 = load i8, i8* %23
store i8 %24, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%25 = load i8*, i8** %3
%26 = getelementptr inbounds i8, i8* %25, i64 2
%27 = load i8, i8* %26
store i8 %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%28 = load i8*, i8** %3
%29 = getelementptr inbounds i8, i8* %28, i64 1
%30 = load i8, i8* %29
store i8 %30, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
%31 = load i8*, i8** %3
%32 = load i8, i8* %31
store i8 %32, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 3)
br label %105
33: ; preds = %2
%34 = load i8*, i8** %3
%35 = getelementptr inbounds i8, i8* %34, i64 7
%36 = load i8, i8* %35
store i8 %36, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%37 = load i8*, i8** %3
%38 = getelementptr inbounds i8, i8* %37, i64 6
%39 = load i8, i8* %38
store i8 %39, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%40 = load i8*, i8** %3
%41 = getelementptr inbounds i8, i8* %40, i64 5
%42 = load i8, i8* %41
store i8 %42, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
%43 = load i8*, i8** %3
%44 = getelementptr inbounds i8, i8* %43, i64 4
%45 = load i8, i8* %44
store i8 %45, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 3)
%46 = load i8*, i8** %3
%47 = getelementptr inbounds i8, i8* %46, i64 3
%48 = load i8, i8* %47
store i8 %48, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 4)
%49 = load i8*, i8** %3
%50 = getelementptr inbounds i8, i8* %49, i64 2
%51 = load i8, i8* %50
store i8 %51, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 5)
%52 = load i8*, i8** %3
%53 = getelementptr inbounds i8, i8* %52, i64 1
%54 = load i8, i8* %53
store i8 %54, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 6)
%55 = load i8*, i8** %3
%56 = load i8, i8* %55
store i8 %56, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 7)
br label %105
57: ; preds = %2
%58 = load i8*, i8** %3
%59 = getelementptr inbounds i8, i8* %58, i64 15
%60 = load i8, i8* %59
store i8 %60, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%61 = load i8*, i8** %3
%62 = getelementptr inbounds i8, i8* %61, i64 14
%63 = load i8, i8* %62
store i8 %63, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%64 = load i8*, i8** %3
%65 = getelementptr inbounds i8, i8* %64, i64 13
%66 = load i8, i8* %65
store i8 %66, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
%67 = load i8*, i8** %3
%68 = getelementptr inbounds i8, i8* %67, i64 12
%69 = load i8, i8* %68
store i8 %69, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 3)
%70 = load i8*, i8** %3
%71 = getelementptr inbounds i8, i8* %70, i64 11
%72 = load i8, i8* %71
store i8 %72, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 4)
%73 = load i8*, i8** %3
%74 = getelementptr inbounds i8, i8* %73, i64 10
%75 = load i8, i8* %74
store i8 %75, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 5)
%76 = load i8*, i8** %3
%77 = getelementptr inbounds i8, i8* %76, i64 9
%78 = load i8, i8* %77
store i8 %78, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 6)
%79 = load i8*, i8** %3
%80 = getelementptr inbounds i8, i8* %79, i64 8
%81 = load i8, i8* %80
store i8 %81, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 7)
%82 = load i8*, i8** %3
%83 = getelementptr inbounds i8, i8* %82, i64 7
%84 = load i8, i8* %83
store i8 %84, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 8)
%85 = load i8*, i8** %3
%86 = getelementptr inbounds i8, i8* %85, i64 6
%87 = load i8, i8* %86
store i8 %87, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 9)
%88 = load i8*, i8** %3
%89 = getelementptr inbounds i8, i8* %88, i64 5
%90 = load i8, i8* %89
store i8 %90, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 10)
%91 = load i8*, i8** %3
%92 = getelementptr inbounds i8, i8* %91, i64 4
%93 = load i8, i8* %92
store i8 %93, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 11)
%94 = load i8*, i8** %3
%95 = getelementptr inbounds i8, i8* %94, i64 3
%96 = load i8, i8* %95
store i8 %96, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 12)
%97 = load i8*, i8** %3
%98 = getelementptr inbounds i8, i8* %97, i64 2
%99 = load i8, i8* %98
store i8 %99, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 13)
%100 = load i8*, i8** %3
%101 = getelementptr inbounds i8, i8* %100, i64 1
%102 = load i8, i8* %101
store i8 %102, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 14)
%103 = load i8*, i8** %3
%104 = load i8, i8* %103
store i8 %104, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 15)
br label %105
105: ; preds = %2, %57, %33, %21, %12, %6
ret i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
}

LLVM IR (-O2):
@SwapEndian.Swapped = internal global [16 x i8] zeroinitializer
define i8* @SwapEndian(i8* %0, i32 %1) {
switch i32 %1, label %69 [
i32 2, label %3
i32 3, label %7
i32 4, label %13
i32 8, label %21
i32 16, label %37
]
3: ; preds = %2
%4 = getelementptr inbounds i8, i8* %0, i64 1
%5 = load i8, i8* %4
store i8 %5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%6 = load i8, i8* %0
store i8 %6, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
br label %69
7: ; preds = %2
%8 = getelementptr inbounds i8, i8* %0, i64 2
%9 = load i8, i8* %8
store i8 %9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%10 = getelementptr inbounds i8, i8* %0, i64 1
%11 = load i8, i8* %10
store i8 %11, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%12 = load i8, i8* %0
store i8 %12, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
br label %69
13: ; preds = %2
%14 = getelementptr inbounds i8, i8* %0, i64 3
%15 = load i8, i8* %14
store i8 %15, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%16 = getelementptr inbounds i8, i8* %0, i64 2
%17 = load i8, i8* %16
store i8 %17, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%18 = getelementptr inbounds i8, i8* %0, i64 1
%19 = load i8, i8* %18
store i8 %19, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
%20 = load i8, i8* %0
store i8 %20, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 3)
br label %69
21: ; preds = %2
%22 = getelementptr inbounds i8, i8* %0, i64 7
%23 = load i8, i8* %22
store i8 %23, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%24 = getelementptr inbounds i8, i8* %0, i64 6
%25 = load i8, i8* %24
store i8 %25, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%26 = getelementptr inbounds i8, i8* %0, i64 5
%27 = load i8, i8* %26
store i8 %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
%28 = getelementptr inbounds i8, i8* %0, i64 4
%29 = load i8, i8* %28
store i8 %29, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 3)
%30 = getelementptr inbounds i8, i8* %0, i64 3
%31 = load i8, i8* %30
store i8 %31, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 4)
%32 = getelementptr inbounds i8, i8* %0, i64 2
%33 = load i8, i8* %32
store i8 %33, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 5)
%34 = getelementptr inbounds i8, i8* %0, i64 1
%35 = load i8, i8* %34
store i8 %35, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 6)
%36 = load i8, i8* %0
store i8 %36, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 7)
br label %69
37: ; preds = %2
%38 = getelementptr inbounds i8, i8* %0, i64 15
%39 = load i8, i8* %38
store i8 %39, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
%40 = getelementptr inbounds i8, i8* %0, i64 14
%41 = load i8, i8* %40
store i8 %41, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 1)
%42 = getelementptr inbounds i8, i8* %0, i64 13
%43 = load i8, i8* %42
store i8 %43, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 2)
%44 = getelementptr inbounds i8, i8* %0, i64 12
%45 = load i8, i8* %44
store i8 %45, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 3)
%46 = getelementptr inbounds i8, i8* %0, i64 11
%47 = load i8, i8* %46
store i8 %47, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 4)
%48 = getelementptr inbounds i8, i8* %0, i64 10
%49 = load i8, i8* %48
store i8 %49, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 5)
%50 = getelementptr inbounds i8, i8* %0, i64 9
%51 = load i8, i8* %50
store i8 %51, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 6)
%52 = getelementptr inbounds i8, i8* %0, i64 8
%53 = load i8, i8* %52
store i8 %53, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 7)
%54 = getelementptr inbounds i8, i8* %0, i64 7
%55 = load i8, i8* %54
store i8 %55, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 8)
%56 = getelementptr inbounds i8, i8* %0, i64 6
%57 = load i8, i8* %56
store i8 %57, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 9)
%58 = getelementptr inbounds i8, i8* %0, i64 5
%59 = load i8, i8* %58
store i8 %59, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 10)
%60 = getelementptr inbounds i8, i8* %0, i64 4
%61 = load i8, i8* %60
store i8 %61, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 11)
%62 = getelementptr inbounds i8, i8* %0, i64 3
%63 = load i8, i8* %62
store i8 %63, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 12)
%64 = getelementptr inbounds i8, i8* %0, i64 2
%65 = load i8, i8* %64
store i8 %65, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 13)
%66 = getelementptr inbounds i8, i8* %0, i64 1
%67 = load i8, i8* %66
store i8 %67, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 14)
%68 = load i8, i8* %0
store i8 %68, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 15)
br label %69
69: ; preds = %2, %37, %21, %13, %7, %3
ret i8* getelementptr inbounds ([16 x i8], [16 x i8]* @SwapEndian.Swapped, i64 0, i64 0)
}