void test_one_decoding(void) {
  printf("%s:\n", __FUNCTION__);
  {
    int erases[] = {0};
    int err;
    err = test_one_decoding_13(erases, 0);
    assert(0 == err);
  }
  {
    int erases[] = {0};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 5;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
  }
  {
    int erases[] = {0, 1};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 3;
    erases[1] = 7;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
  }
  {
    int erases[] = {0, 1, 4};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 3;
    erases[1] = 8;
    erases[2] = 7;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 9;
    erases[2] = 1;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 10;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 == err);
  }
  {
    int erases[] = {0, 1, 4, 8};
    int erases_count = sizeof(erases) / sizeof(int);
    int err;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 != err);
    erases[0] = 11;
    erases[1] = 12;
    erases[2] = 10;
    erases[3] = 9;
    err = test_one_decoding_13(erases, erases_count);
    assert(0 != err);
  }
}


x86 assembly (clang, -O0):
<test_one_decoding>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
lea    0xeb1(%rip),%rdi
lea    0xeaf(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x4(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1040 <memset@plt>
lea    -0x4(%rbp),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x8(%rbp)
xor    %eax,%eax
cmp    -0x8(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
lea    -0xc(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1040 <memset@plt>
movl   $0x1,-0x10(%rbp)
lea    -0xc(%rbp),%rdi
mov    -0x10(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x14(%rbp)
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0x5,-0xc(%rbp)
lea    -0xc(%rbp),%rdi
mov    -0x10(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x14(%rbp)
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0x9,-0xc(%rbp)
lea    -0xc(%rbp),%rdi
mov    -0x10(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x14(%rbp)
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0xc(%rbp)
lea    -0xc(%rbp),%rdi
mov    -0x10(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x14(%rbp)
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
mov    0xdc0(%rip),%rax
mov    %rax,-0x1c(%rbp)
movl   $0x2,-0x20(%rbp)
lea    -0x1c(%rbp),%rdi
mov    -0x20(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x24(%rbp)
xor    %eax,%eax
cmp    -0x24(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0x3,-0x1c(%rbp)
movl   $0x7,-0x18(%rbp)
lea    -0x1c(%rbp),%rdi
mov    -0x20(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x24(%rbp)
xor    %eax,%eax
cmp    -0x24(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x1c(%rbp)
movl   $0x9,-0x18(%rbp)
lea    -0x1c(%rbp),%rdi
mov    -0x20(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x24(%rbp)
xor    %eax,%eax
cmp    -0x24(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x1c(%rbp)
movl   $0xc,-0x18(%rbp)
lea    -0x1c(%rbp),%rdi
mov    -0x20(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x24(%rbp)
xor    %eax,%eax
cmp    -0x24(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
mov    0xcf8(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xcf6(%rip),%eax
mov    %eax,-0x28(%rbp)
movl   $0x3,-0x34(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
cmp    -0x38(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0x3,-0x30(%rbp)
movl   $0x8,-0x2c(%rbp)
movl   $0x7,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
cmp    -0x38(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x30(%rbp)
movl   $0x9,-0x2c(%rbp)
movl   $0x1,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
cmp    -0x38(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x30(%rbp)
movl   $0xc,-0x2c(%rbp)
movl   $0x9,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
cmp    -0x38(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x30(%rbp)
movl   $0xc,-0x2c(%rbp)
movl   $0x9,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
cmp    -0x38(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x30(%rbp)
movl   $0xc,-0x2c(%rbp)
movl   $0xa,-0x28(%rbp)
lea    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x38(%rbp)
xor    %eax,%eax
cmp    -0x38(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
mov    0xba6(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xba3(%rip),%rax
mov    %rax,-0x48(%rbp)
movl   $0x4,-0x54(%rbp)
lea    -0x50(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x58(%rbp)
xor    %eax,%eax
cmp    -0x58(%rbp),%eax
setne  %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
movl   $0xb,-0x50(%rbp)
movl   $0xc,-0x4c(%rbp)
movl   $0xa,-0x48(%rbp)
movl   $0x9,-0x44(%rbp)
lea    -0x50(%rbp),%rdi
mov    -0x54(%rbp),%esi
mov    $0x0,%al
call   1060 <test_one_decoding_13@plt>
mov    %eax,-0x58(%rbp)
xor    %eax,%eax
cmp    -0x58(%rbp),%eax
setne  %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1050 <assert@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_one_decoding>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
lea    0xee0(%rip),%rdi
lea    0xede(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
movl   $0x0,(%rsp)
mov    %rsp,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movl   $0x0,(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movl   $0x5,(%rsp)
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movl   $0x9,(%rsp)
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movl   $0xb,(%rsp)
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movabs $0x100000000,%rax
mov    %rax,(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movabs $0x700000003,%rax
mov    %rax,(%rsp)
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movabs $0x90000000b,%r15
mov    %r15,(%rsp)
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movabs $0xc0000000b,%r14
mov    %r14,(%rsp)
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
mov    0xd80(%rip),%eax
mov    %eax,0x8(%rsp)
mov    0xd6d(%rip),%rax
mov    %rax,(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movabs $0x800000003,%rax
mov    %rax,(%rsp)
movl   $0x7,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
mov    %r15,(%rsp)
movl   $0x1,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
mov    %r14,(%rsp)
movl   $0x9,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
mov    %r14,(%rsp)
movl   $0x9,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
mov    %r14,(%rsp)
movl   $0xa,0x8(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
xor    %eax,%eax
call   1040 <assert@plt>
movaps 0xc3d(%rip),%xmm0
movaps %xmm0,(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
setne  %dil
xor    %eax,%eax
call   1040 <assert@plt>
movaps 0xc01(%rip),%xmm0
movaps %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <test_one_decoding_13@plt>
xor    %edi,%edi
test   %eax,%eax
setne  %dil
xor    %eax,%eax
call   1040 <assert@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%s:\0A\00"
@__FUNCTION__.test_one_decoding = [18 x i8] c"test_one_decoding\00"
@__const.test_one_decoding.erases = [2 x i32] [i32 0, i32 1]
@__const.test_one_decoding.erases.1 = [3 x i32] [i32 0, i32 1, i32 4]
@__const.test_one_decoding.erases.2 = [4 x i32] [i32 0, i32 1, i32 4, i32 8]
define void @test_one_decoding() {
%1 = alloca [1 x i32]
%2 = alloca i32
%3 = alloca [1 x i32]
%4 = alloca i32
%5 = alloca i32
%6 = alloca [2 x i32]
%7 = alloca i32
%8 = alloca i32
%9 = alloca [3 x i32]
%10 = alloca i32
%11 = alloca i32
%12 = alloca [4 x i32]
%13 = alloca i32
%14 = alloca i32
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @__FUNCTION__.test_one_decoding, i64 0, i64 0))
%16 = bitcast [1 x i32]* %1 to i8*
%17 = getelementptr inbounds [1 x i32], [1 x i32]* %1, i64 0, i64 0
%18 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %17, i32 0)
store i32 %18, i32* %2
%19 = load i32, i32* %2
%20 = icmp eq i32 0, %19
%21 = zext i1 %20 to i32
%22 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %21)
%23 = bitcast [1 x i32]* %3 to i8*
store i32 1, i32* %4
%24 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%25 = load i32, i32* %4
%26 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %24, i32 %25)
store i32 %26, i32* %5
%27 = load i32, i32* %5
%28 = icmp eq i32 0, %27
%29 = zext i1 %28 to i32
%30 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %29)
%31 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
store i32 5, i32* %31
%32 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%33 = load i32, i32* %4
%34 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %32, i32 %33)
store i32 %34, i32* %5
%35 = load i32, i32* %5
%36 = icmp eq i32 0, %35
%37 = zext i1 %36 to i32
%38 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %37)
%39 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
store i32 9, i32* %39
%40 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%41 = load i32, i32* %4
%42 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %40, i32 %41)
store i32 %42, i32* %5
%43 = load i32, i32* %5
%44 = icmp eq i32 0, %43
%45 = zext i1 %44 to i32
%46 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %45)
%47 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
store i32 11, i32* %47
%48 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%49 = load i32, i32* %4
%50 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %48, i32 %49)
store i32 %50, i32* %5
%51 = load i32, i32* %5
%52 = icmp eq i32 0, %51
%53 = zext i1 %52 to i32
%54 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %53)
%55 = bitcast [2 x i32]* %6 to i8*
store i32 2, i32* %7
%56 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%57 = load i32, i32* %7
%58 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %56, i32 %57)
store i32 %58, i32* %8
%59 = load i32, i32* %8
%60 = icmp eq i32 0, %59
%61 = zext i1 %60 to i32
%62 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %61)
%63 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
store i32 3, i32* %63
%64 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 1
store i32 7, i32* %64
%65 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%66 = load i32, i32* %7
%67 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %65, i32 %66)
store i32 %67, i32* %8
%68 = load i32, i32* %8
%69 = icmp eq i32 0, %68
%70 = zext i1 %69 to i32
%71 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %70)
%72 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
store i32 11, i32* %72
%73 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 1
store i32 9, i32* %73
%74 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%75 = load i32, i32* %7
%76 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %74, i32 %75)
store i32 %76, i32* %8
%77 = load i32, i32* %8
%78 = icmp eq i32 0, %77
%79 = zext i1 %78 to i32
%80 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %79)
%81 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
store i32 11, i32* %81
%82 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 1
store i32 12, i32* %82
%83 = getelementptr inbounds [2 x i32], [2 x i32]* %6, i64 0, i64 0
%84 = load i32, i32* %7
%85 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %83, i32 %84)
store i32 %85, i32* %8
%86 = load i32, i32* %8
%87 = icmp eq i32 0, %86
%88 = zext i1 %87 to i32
%89 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %88)
%90 = bitcast [3 x i32]* %9 to i8*
store i32 3, i32* %10
%91 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
%92 = load i32, i32* %10
%93 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %91, i32 %92)
store i32 %93, i32* %11
%94 = load i32, i32* %11
%95 = icmp eq i32 0, %94
%96 = zext i1 %95 to i32
%97 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %96)
%98 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
store i32 3, i32* %98
%99 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 1
store i32 8, i32* %99
%100 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 2
store i32 7, i32* %100
%101 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
%102 = load i32, i32* %10
%103 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %101, i32 %102)
store i32 %103, i32* %11
%104 = load i32, i32* %11
%105 = icmp eq i32 0, %104
%106 = zext i1 %105 to i32
%107 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %106)
%108 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
store i32 11, i32* %108
%109 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 1
store i32 9, i32* %109
%110 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 2
store i32 1, i32* %110
%111 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
%112 = load i32, i32* %10
%113 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %111, i32 %112)
store i32 %113, i32* %11
%114 = load i32, i32* %11
%115 = icmp eq i32 0, %114
%116 = zext i1 %115 to i32
%117 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %116)
%118 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
store i32 11, i32* %118
%119 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 1
store i32 12, i32* %119
%120 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 2
store i32 9, i32* %120
%121 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
%122 = load i32, i32* %10
%123 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %121, i32 %122)
store i32 %123, i32* %11
%124 = load i32, i32* %11
%125 = icmp eq i32 0, %124
%126 = zext i1 %125 to i32
%127 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %126)
%128 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
store i32 11, i32* %128
%129 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 1
store i32 12, i32* %129
%130 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 2
store i32 9, i32* %130
%131 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
%132 = load i32, i32* %10
%133 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %131, i32 %132)
store i32 %133, i32* %11
%134 = load i32, i32* %11
%135 = icmp eq i32 0, %134
%136 = zext i1 %135 to i32
%137 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %136)
%138 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
store i32 11, i32* %138
%139 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 1
store i32 12, i32* %139
%140 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 2
store i32 10, i32* %140
%141 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
%142 = load i32, i32* %10
%143 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %141, i32 %142)
store i32 %143, i32* %11
%144 = load i32, i32* %11
%145 = icmp eq i32 0, %144
%146 = zext i1 %145 to i32
%147 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %146)
%148 = bitcast [4 x i32]* %12 to i8*
store i32 4, i32* %13
%149 = getelementptr inbounds [4 x i32], [4 x i32]* %12, i64 0, i64 0
%150 = load i32, i32* %13
%151 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %149, i32 %150)
store i32 %151, i32* %14
%152 = load i32, i32* %14
%153 = icmp ne i32 0, %152
%154 = zext i1 %153 to i32
%155 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %154)
%156 = getelementptr inbounds [4 x i32], [4 x i32]* %12, i64 0, i64 0
store i32 11, i32* %156
%157 = getelementptr inbounds [4 x i32], [4 x i32]* %12, i64 0, i64 1
store i32 12, i32* %157
%158 = getelementptr inbounds [4 x i32], [4 x i32]* %12, i64 0, i64 2
store i32 10, i32* %158
%159 = getelementptr inbounds [4 x i32], [4 x i32]* %12, i64 0, i64 3
store i32 9, i32* %159
%160 = getelementptr inbounds [4 x i32], [4 x i32]* %12, i64 0, i64 0
%161 = load i32, i32* %13
%162 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %160, i32 %161)
store i32 %162, i32* %14
%163 = load i32, i32* %14
%164 = icmp ne i32 0, %163
%165 = zext i1 %164 to i32
%166 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %165)
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"%s:\0A\00"
@__FUNCTION__.test_one_decoding = [18 x i8] c"test_one_decoding\00"
@__const.test_one_decoding.erases.1 = [3 x i32] [i32 0, i32 1, i32 4]
@__const.test_one_decoding.erases.2 = [4 x i32] [i32 0, i32 1, i32 4, i32 8]
define void @test_one_decoding() {
%1 = alloca [1 x i32]
%2 = alloca [1 x i32]
%3 = alloca i64
%4 = bitcast i64* %3 to [2 x i32]*
%5 = alloca [3 x i32]
%6 = alloca <4 x i32>
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @__FUNCTION__.test_one_decoding, i64 0, i64 0))
%8 = bitcast [1 x i32]* %1 to i8*
%9 = getelementptr inbounds [1 x i32], [1 x i32]* %1, i64 0, i64 0
store i32 0, i32* %9
%10 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %9, i32 0)
%11 = icmp eq i32 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %12)
%14 = bitcast [1 x i32]* %2 to i8*
%15 = getelementptr inbounds [1 x i32], [1 x i32]* %2, i64 0, i64 0
store i32 0, i32* %15
%16 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %15, i32 1)
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
%19 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %18)
store i32 5, i32* %15
%20 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %15, i32 1)
%21 = icmp eq i32 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %22)
store i32 9, i32* %15
%24 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %15, i32 1)
%25 = icmp eq i32 %24, 0
%26 = zext i1 %25 to i32
%27 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %26)
store i32 11, i32* %15
%28 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %15, i32 1)
%29 = icmp eq i32 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %30)
%32 = bitcast i64* %3 to i8*
store i64 4294967296, i64* %3
%33 = bitcast i64* %3 to i32*
%34 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %33, i32 2)
%35 = icmp eq i32 %34, 0
%36 = zext i1 %35 to i32
%37 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %36)
store i32 3, i32* %33
%38 = getelementptr inbounds [2 x i32], [2 x i32]* %4, i64 0, i64 1
store i32 7, i32* %38
%39 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %33, i32 2)
%40 = icmp eq i32 %39, 0
%41 = zext i1 %40 to i32
%42 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %41)
store i32 11, i32* %33
store i32 9, i32* %38
%43 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %33, i32 2)
%44 = icmp eq i32 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %45)
store i32 11, i32* %33
store i32 12, i32* %38
%47 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %33, i32 2)
%48 = icmp eq i32 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %49)
%51 = bitcast [3 x i32]* %5 to i8*
%52 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 0
%53 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %52, i32 3)
%54 = icmp eq i32 %53, 0
%55 = zext i1 %54 to i32
%56 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %55)
store i32 3, i32* %52
%57 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 1
store i32 8, i32* %57
%58 = getelementptr inbounds [3 x i32], [3 x i32]* %5, i64 0, i64 2
store i32 7, i32* %58
%59 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %52, i32 3)
%60 = icmp eq i32 %59, 0
%61 = zext i1 %60 to i32
%62 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %61)
store i32 11, i32* %52
store i32 9, i32* %57
store i32 1, i32* %58
%63 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %52, i32 3)
%64 = icmp eq i32 %63, 0
%65 = zext i1 %64 to i32
%66 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %65)
store i32 11, i32* %52
store i32 12, i32* %57
store i32 9, i32* %58
%67 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %52, i32 3)
%68 = icmp eq i32 %67, 0
%69 = zext i1 %68 to i32
%70 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %69)
store i32 11, i32* %52
store i32 12, i32* %57
store i32 9, i32* %58
%71 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %52, i32 3)
%72 = icmp eq i32 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %73)
store i32 11, i32* %52
store i32 12, i32* %57
store i32 10, i32* %58
%75 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %52, i32 3)
%76 = icmp eq i32 %75, 0
%77 = zext i1 %76 to i32
%78 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %77)
%79 = bitcast <4 x i32>* %6 to i8*
%80 = getelementptr inbounds <4 x i32>, <4 x i32>* %6, i64 0, i64 0
%81 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %80, i32 4)
%82 = icmp ne i32 %81, 0
%83 = zext i1 %82 to i32
%84 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %83)
store <4 x i32> <i32 11, i32 12, i32 10, i32 9>, <4 x i32>* %6
%85 = call i32 (i32*, i32, ...) bitcast (i32 (...)* @test_one_decoding_13 to i32 (i32*, i32, ...)*)(i32* %80, i32 4)
%86 = icmp ne i32 %85, 0
%87 = zext i1 %86 to i32
%88 = call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %87)
ret void
}