#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*/ assert(int);
int /*<<< orphan*/ end_test();
int note_to_int(int /*<<< orphan*/);
int /*<<< orphan*/ start_test(char *);
int /*<<< orphan*/ str_to_note(char *);
void test_note_to_int() {
  start_test("note_to_int");
  assert(note_to_int(str_to_note("C")) == 0);
  assert(note_to_int(str_to_note("C##")) == 2);
  assert(note_to_int(str_to_note("D")) == 2);
  assert(note_to_int(str_to_note("E")) == 4);
  assert(note_to_int(str_to_note("F")) == 5);
  assert(note_to_int(str_to_note("G")) == 7);
  assert(note_to_int(str_to_note("A")) == 9);
  assert(note_to_int(str_to_note("A#")) == 10);
  assert(note_to_int(str_to_note("Bb")) == 10);
  assert(note_to_int(str_to_note("B")) == 11);
  assert(note_to_int(str_to_note("Cb")) == 11);
  assert(note_to_int(str_to_note("Cbbbb")) == 8);
  assert(note_to_int(str_to_note("Cbbbbbbbb")) == 4);
  assert(note_to_int(str_to_note("Cbbbbbbbbbbb")) == 1);
  assert(note_to_int(str_to_note("Cbbbbbbbbbbbb")) == 0);
  assert(note_to_int(str_to_note("Cbbbbbbbbbbbbbbbb")) == 8);
  assert(note_to_int(str_to_note("Bbbbbbbbb")) == 3);
  end_test();
}


x86 assembly (clang, -O0):
<test_note_to_int>:
push   %rbp
mov    %rsp,%rbp
lea    0xea5(%rip),%rdi
call   1040 <start_test@plt>
lea    0xea5(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe84(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x2,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe65(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x2,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe44(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x4,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe23(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x5,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xe02(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x7,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xde1(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x9,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xdc0(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0xa,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xda0(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0xa,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xd80(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0xb,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xd5f(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0xb,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xd3f(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x8,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xd22(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x4,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xd09(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x1,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xcf3(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xcde(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x8,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xccd(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
cmp    $0x3,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
mov    $0x0,%al
call   1030 <end_test@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_note_to_int>:
push   %rax
lea    0xea8(%rip),%rdi
call   1040 <start_test@plt>
lea    0xea8(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xe8a(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x2,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xe6d(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x2,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xe4e(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xe2f(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x5,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xe10(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x7,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xdf1(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x9,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xdd2(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0xa,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xdb4(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0xa,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd96(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0xb,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd77(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0xb,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd59(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x8,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd3e(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd27(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x1,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd13(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xd01(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x8,%eax
sete   %dil
call   1060 <assert@plt>
lea    0xcf2(%rip),%rdi
call   1050 <str_to_note@plt>
mov    %eax,%edi
call   1070 <note_to_int@plt>
xor    %edi,%edi
cmp    $0x3,%eax
sete   %dil
call   1060 <assert@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <end_test@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"note_to_int\00"
@.str.1 = [2 x i8] c"C\00"
@.str.2 = [4 x i8] c"C##\00"
@.str.3 = [2 x i8] c"D\00"
@.str.4 = [2 x i8] c"E\00"
@.str.5 = [2 x i8] c"F\00"
@.str.6 = [2 x i8] c"G\00"
@.str.7 = [2 x i8] c"A\00"
@.str.8 = [3 x i8] c"A#\00"
@.str.9 = [3 x i8] c"Bb\00"
@.str.10 = [2 x i8] c"B\00"
@.str.11 = [3 x i8] c"Cb\00"
@.str.12 = [6 x i8] c"Cbbbb\00"
@.str.13 = [10 x i8] c"Cbbbbbbbb\00"
@.str.14 = [13 x i8] c"Cbbbbbbbbbbb\00"
@.str.15 = [14 x i8] c"Cbbbbbbbbbbbb\00"
@.str.16 = [18 x i8] c"Cbbbbbbbbbbbbbbbb\00"
@.str.17 = [10 x i8] c"Bbbbbbbbb\00"
define void @test_note_to_int() {
%1 = call i32 @start_test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @note_to_int(i32 %2)
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 %5)
%7 = call i32 @str_to_note(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 @note_to_int(i32 %7)
%9 = icmp eq i32 %8, 2
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 %10)
%12 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%13 = call i32 @note_to_int(i32 %12)
%14 = icmp eq i32 %13, 2
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 @note_to_int(i32 %17)
%19 = icmp eq i32 %18, 4
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 %20)
%22 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%23 = call i32 @note_to_int(i32 %22)
%24 = icmp eq i32 %23, 5
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 %25)
%27 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%28 = call i32 @note_to_int(i32 %27)
%29 = icmp eq i32 %28, 7
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%33 = call i32 @note_to_int(i32 %32)
%34 = icmp eq i32 %33, 9
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = call i32 @str_to_note(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%38 = call i32 @note_to_int(i32 %37)
%39 = icmp eq i32 %38, 10
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 @str_to_note(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%43 = call i32 @note_to_int(i32 %42)
%44 = icmp eq i32 %43, 10
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 %45)
%47 = call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%48 = call i32 @note_to_int(i32 %47)
%49 = icmp eq i32 %48, 11
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 %50)
%52 = call i32 @str_to_note(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%53 = call i32 @note_to_int(i32 %52)
%54 = icmp eq i32 %53, 11
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 %55)
%57 = call i32 @str_to_note(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%58 = call i32 @note_to_int(i32 %57)
%59 = icmp eq i32 %58, 8
%60 = zext i1 %59 to i32
%61 = call i32 @assert(i32 %60)
%62 = call i32 @str_to_note(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%63 = call i32 @note_to_int(i32 %62)
%64 = icmp eq i32 %63, 4
%65 = zext i1 %64 to i32
%66 = call i32 @assert(i32 %65)
%67 = call i32 @str_to_note(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
%68 = call i32 @note_to_int(i32 %67)
%69 = icmp eq i32 %68, 1
%70 = zext i1 %69 to i32
%71 = call i32 @assert(i32 %70)
%72 = call i32 @str_to_note(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0))
%73 = call i32 @note_to_int(i32 %72)
%74 = icmp eq i32 %73, 0
%75 = zext i1 %74 to i32
%76 = call i32 @assert(i32 %75)
%77 = call i32 @str_to_note(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0))
%78 = call i32 @note_to_int(i32 %77)
%79 = icmp eq i32 %78, 8
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 %80)
%82 = call i32 @str_to_note(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
%83 = call i32 @note_to_int(i32 %82)
%84 = icmp eq i32 %83, 3
%85 = zext i1 %84 to i32
%86 = call i32 @assert(i32 %85)
%87 = call i32 (...) @end_test()
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"note_to_int\00"
@.str.1 = [2 x i8] c"C\00"
@.str.2 = [4 x i8] c"C##\00"
@.str.3 = [2 x i8] c"D\00"
@.str.4 = [2 x i8] c"E\00"
@.str.5 = [2 x i8] c"F\00"
@.str.6 = [2 x i8] c"G\00"
@.str.7 = [2 x i8] c"A\00"
@.str.8 = [3 x i8] c"A#\00"
@.str.9 = [3 x i8] c"Bb\00"
@.str.10 = [2 x i8] c"B\00"
@.str.11 = [3 x i8] c"Cb\00"
@.str.12 = [6 x i8] c"Cbbbb\00"
@.str.13 = [10 x i8] c"Cbbbbbbbb\00"
@.str.14 = [13 x i8] c"Cbbbbbbbbbbb\00"
@.str.15 = [14 x i8] c"Cbbbbbbbbbbbb\00"
@.str.16 = [18 x i8] c"Cbbbbbbbbbbbbbbbb\00"
@.str.17 = [10 x i8] c"Bbbbbbbbb\00"
define void @test_note_to_int() {
%1 = tail call i32 @start_test(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @note_to_int(i32 %2)
%4 = icmp eq i32 %3, 0
%5 = zext i1 %4 to i32
%6 = tail call i32 @assert(i32 %5)
%7 = tail call i32 @str_to_note(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 @note_to_int(i32 %7)
%9 = icmp eq i32 %8, 2
%10 = zext i1 %9 to i32
%11 = tail call i32 @assert(i32 %10)
%12 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%13 = tail call i32 @note_to_int(i32 %12)
%14 = icmp eq i32 %13, 2
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 %15)
%17 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%18 = tail call i32 @note_to_int(i32 %17)
%19 = icmp eq i32 %18, 4
%20 = zext i1 %19 to i32
%21 = tail call i32 @assert(i32 %20)
%22 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%23 = tail call i32 @note_to_int(i32 %22)
%24 = icmp eq i32 %23, 5
%25 = zext i1 %24 to i32
%26 = tail call i32 @assert(i32 %25)
%27 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%28 = tail call i32 @note_to_int(i32 %27)
%29 = icmp eq i32 %28, 7
%30 = zext i1 %29 to i32
%31 = tail call i32 @assert(i32 %30)
%32 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%33 = tail call i32 @note_to_int(i32 %32)
%34 = icmp eq i32 %33, 9
%35 = zext i1 %34 to i32
%36 = tail call i32 @assert(i32 %35)
%37 = tail call i32 @str_to_note(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%38 = tail call i32 @note_to_int(i32 %37)
%39 = icmp eq i32 %38, 10
%40 = zext i1 %39 to i32
%41 = tail call i32 @assert(i32 %40)
%42 = tail call i32 @str_to_note(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%43 = tail call i32 @note_to_int(i32 %42)
%44 = icmp eq i32 %43, 10
%45 = zext i1 %44 to i32
%46 = tail call i32 @assert(i32 %45)
%47 = tail call i32 @str_to_note(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%48 = tail call i32 @note_to_int(i32 %47)
%49 = icmp eq i32 %48, 11
%50 = zext i1 %49 to i32
%51 = tail call i32 @assert(i32 %50)
%52 = tail call i32 @str_to_note(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%53 = tail call i32 @note_to_int(i32 %52)
%54 = icmp eq i32 %53, 11
%55 = zext i1 %54 to i32
%56 = tail call i32 @assert(i32 %55)
%57 = tail call i32 @str_to_note(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%58 = tail call i32 @note_to_int(i32 %57)
%59 = icmp eq i32 %58, 8
%60 = zext i1 %59 to i32
%61 = tail call i32 @assert(i32 %60)
%62 = tail call i32 @str_to_note(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%63 = tail call i32 @note_to_int(i32 %62)
%64 = icmp eq i32 %63, 4
%65 = zext i1 %64 to i32
%66 = tail call i32 @assert(i32 %65)
%67 = tail call i32 @str_to_note(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
%68 = tail call i32 @note_to_int(i32 %67)
%69 = icmp eq i32 %68, 1
%70 = zext i1 %69 to i32
%71 = tail call i32 @assert(i32 %70)
%72 = tail call i32 @str_to_note(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0))
%73 = tail call i32 @note_to_int(i32 %72)
%74 = icmp eq i32 %73, 0
%75 = zext i1 %74 to i32
%76 = tail call i32 @assert(i32 %75)
%77 = tail call i32 @str_to_note(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.16, i64 0, i64 0))
%78 = tail call i32 @note_to_int(i32 %77)
%79 = icmp eq i32 %78, 8
%80 = zext i1 %79 to i32
%81 = tail call i32 @assert(i32 %80)
%82 = tail call i32 @str_to_note(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
%83 = tail call i32 @note_to_int(i32 %82)
%84 = icmp eq i32 %83, 3
%85 = zext i1 %84 to i32
%86 = tail call i32 @assert(i32 %85)
%87 = tail call i32 (...) @end_test()
ret void
}