void event_info_key(key, value) char *key;
char *value;
{
  int num;
  if (strcmp(key, "octave") == 0) {
    num = readsnumf(value);
    event_octave(num, 0);
  };
  if (strcmp(key, "MIDI") == 0)
    event_specific(key, value);
}


x86 assembly (clang, -O0):
<event_info_key>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xea5(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    1183 <event_info_key+0x43>
mov    -0x10(%rbp),%rdi
mov    $0x0,%al
call   1060 <readsnumf@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%edi
xor    %esi,%esi
mov    $0x0,%al
call   1050 <event_octave@plt>
mov    -0x8(%rbp),%rdi
lea    0xe79(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    11ab <event_info_key+0x6b>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1030 <event_specific@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<event_info_key>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xeaf(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
jne    116f <event_info_key+0x2f>
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <readsnumf@plt>
mov    %eax,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <event_octave@plt>
lea    0xe91(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %eax,%eax
je     118a <event_info_key+0x4a>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <event_specific@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"octave\00"
@.str.1 = [5 x i8] c"MIDI\00"
define void @event_info_key(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
store i8* %0, i8** %3
store i8* %1, i8** %4
%6 = load i8*, i8** %3
%7 = call i32 @strcmp(i8* %6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load i8*, i8** %4
%11 = call i32 (i8*, ...) bitcast (i32 (...)* @readsnumf to i32 (i8*, ...)*)(i8* %10)
store i32 %11, i32* %5
%12 = load i32, i32* %5
%13 = call i32 (i32, i32, ...) bitcast (i32 (...)* @event_octave to i32 (i32, i32, ...)*)(i32 %12, i32 0)
br label %14
14: ; preds = %9, %2
%15 = load i8*, i8** %3
%16 = call i32 @strcmp(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i8*, i8** %3
%20 = load i8*, i8** %4
%21 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @event_specific to i32 (i8*, i8*, ...)*)(i8* %19, i8* %20)
br label %22
22: ; preds = %18, %14
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"octave\00"
@.str.1 = [5 x i8] c"MIDI\00"
define void @event_info_key(i8* %0, i8* %1) {
%3 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = tail call i32 (i8*, ...) bitcast (i32 (...)* @readsnumf to i32 (i8*, ...)*)(i8* %1)
%7 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @event_octave to i32 (i32, i32, ...)*)(i32 %6, i32 0)
br label %8
8: ; preds = %5, %2
%9 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @event_specific to i32 (i8*, i8*, ...)*)(i8* %0, i8* %1)
br label %13
13: ; preds = %11, %8
ret void
}