#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ om_text_print_bar(int /*<<< orphan*/ *, int, int, int, int,
                                     char, char);
void om_text_print_numkeycomparativebar_entry(FILE *fp, char *key, int tot,
                                              int this, int time_delta) {
  (void)time_delta;
  fprintf(fp, "   %s: %-10d |", key, this);
  om_text_print_bar(fp, tot, tot, this, 44, '#', '.');
  fprintf(fp, "\n");
}


x86 assembly (clang, -O0):
<om_text_print_numkeycomparativebar_entry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%ecx
lea    0xeb4(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
mov    $0x2c,%r8d
mov    $0x23,%r9d
movl   $0x2e,(%rsp)
call   1030 <om_text_print_bar@plt>
mov    -0x8(%rbp),%rdi
lea    0xe8c(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<om_text_print_numkeycomparativebar_entry>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
mov    %ecx,%r14d
mov    %edx,%ebp
mov    %rsi,%rdx
mov    %rdi,%rbx
lea    0xeb6(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
movl   $0x2e,(%rsp)
mov    %rbx,%rdi
mov    %ebp,%esi
mov    %ebp,%edx
mov    %r14d,%ecx
mov    $0x2c,%r8d
mov    $0x23,%r9d
call   1040 <om_text_print_bar@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
jmp    1030 <fputc@plt>

LLVM IR (-O0):
@.str = [15 x i8] c" %s: %-10d |\00"
@.str.1 = [2 x i8] c"\0A\00"
define void @om_text_print_numkeycomparativebar_entry(i32* %0, i8* %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32*
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32* %0, i32** %6
store i8* %1, i8** %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%11 = load i32, i32* %10
%12 = load i32*, i32** %6
%13 = load i8*, i8** %7
%14 = load i32, i32* %9
%15 = call i32 (i32*, i8*, ...) @fprintf(i32* %12, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %13, i32 %14)
%16 = load i32*, i32** %6
%17 = load i32, i32* %8
%18 = load i32, i32* %8
%19 = load i32, i32* %9
%20 = call i32 @om_text_print_bar(i32* %16, i32 %17, i32 %18, i32 %19, i32 44, i8 signext 35, i8 signext 46)
%21 = load i32*, i32** %6
%22 = call i32 (i32*, i8*, ...) @fprintf(i32* %21, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c" %s: %-10d |\00"
define void @om_text_print_numkeycomparativebar_entry(i32* %0, i8* %1, i32 %2, i32 %3, i32 %4) {
%6 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %1, i32 %3)
%7 = tail call i32 @om_text_print_bar(i32* %0, i32 %2, i32 %2, i32 %3, i32 44, i8 signext 35, i8 signext 46)
%8 = tail call i32 @fputc(i32 10, i32* %0)
ret void
}