#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*/ print_classify_value(char *, unsigned int);
int /*<<< orphan*/ printf(char *, ...);
void print_classify_entry(char *name, unsigned total_conv, unsigned total_umb) {
  printf("  %-9s", name);
  print_classify_value("%9s", total_conv + total_umb);
  print_classify_value("%11s", total_conv);
  print_classify_value("%11s", total_umb);
  printf("\n");
}


x86 assembly (clang, -O0):
<print_classify_entry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xec3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%esi
add    -0x10(%rbp),%esi
lea    0xeb6(%rip),%rdi
call   1040 <print_classify_value@plt>
mov    -0xc(%rbp),%esi
lea    0xeab(%rip),%rdi
call   1040 <print_classify_value@plt>
mov    -0x10(%rbp),%esi
lea    0xe9c(%rip),%rdi
call   1040 <print_classify_value@plt>
lea    0xe95(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_classify_entry>:
push   %r15
push   %r14
push   %rbx
mov    %edx,%r14d
mov    %esi,%ebx
mov    %rdi,%rsi
lea    0xebc(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    (%r14,%rbx,1),%esi
lea    0xeb1(%rip),%rdi
call   1050 <print_classify_value@plt>
lea    0xea9(%rip),%r15
mov    %r15,%rdi
mov    %ebx,%esi
call   1050 <print_classify_value@plt>
mov    %r15,%rdi
mov    %r14d,%esi
call   1050 <print_classify_value@plt>
mov    $0xa,%edi
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [7 x i8] c" %-9s\00"
@.str.1 = [4 x i8] c"%9s\00"
@.str.2 = [5 x i8] c"%11s\00"
@.str.3 = [2 x i8] c"\0A\00"
define void @print_classify_entry(i8* %0, i32 %1, i32 %2) {
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
store i8* %0, i8** %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%7 = load i8*, i8** %4
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %7)
%9 = load i32, i32* %5
%10 = load i32, i32* %6
%11 = add i32 %9, %10
%12 = call i32 @print_classify_value(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%13 = load i32, i32* %5
%14 = call i32 @print_classify_value(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %13)
%15 = load i32, i32* %6
%16 = call i32 @print_classify_value(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %15)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c" %-9s\00"
@.str.1 = [4 x i8] c"%9s\00"
@.str.2 = [5 x i8] c"%11s\00"
define void @print_classify_entry(i8* %0, i32 %1, i32 %2) {
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* %0)
%5 = add i32 %2, %1
%6 = tail call i32 @print_classify_value(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = tail call i32 @print_classify_value(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %1)
%8 = tail call i32 @print_classify_value(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %2)
%9 = tail call i32 @putchar(i32 10)
ret void
}