#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*/ printf(char *);
void usage_pmm_view() {
  printf("Usage: pmm_view -h | -c file [ -l | -r routine  [-p param -p ...] "
         "[-ai] [-I|-w wait]]\n");
  printf("Options:\n");
  printf("  -c file    : specify config file\n");
  printf("  -f model   : specify model file to plot\n");
  printf("  -h         : print this help\n");
  printf("  -l         : list routines\n");
  printf("  -r routine : specify routine to plot\n");
  printf("  -a         : plot averaged datapoints\n");
  printf("  -i         : plot intervals (not supported in slice plot)\n");
  printf("  -I         : enter interactive mode after plotting\n");
  printf("  -m         : plot maximum speed datapoints only\n");
  printf("  -p param   : specify a parameter axis to plot (max 2)\n");
  printf("  -P         : plot using palette\n");
  printf("  -s slice   : specify a slice of model to plot (see man page)\n");
  printf("  -S style   : specify a gnuplot plot style (see gnuplot help)\n");
  printf("  -t [n]     : interploate model with n points (default 100)\n");
  printf("  -w wait    : replot model every 'wait' seconds\n");
  printf("  -o file    : write plot to file (with png or ps extension)\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<usage_pmm_view>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf30(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf46(%rip),%rdi
call   1030 <printf@plt>
lea    0xf65(%rip),%rdi
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa7(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc4(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
lea    0x101f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1046(%rip),%rdi
call   1030 <printf@plt>
lea    0x1073(%rip),%rdi
call   1030 <printf@plt>
lea    0x108a(%rip),%rdi
call   1030 <printf@plt>
lea    0x10be(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1124(%rip),%rdi
call   1030 <printf@plt>
lea    0x114a(%rip),%rdi
call   1030 <printf@plt>
lea    0x110a(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage_pmm_view>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xf22(%rip),%rdi
call   1040 <puts@plt>
lea    0xf1f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf36(%rip),%rdi
call   1040 <puts@plt>
lea    0xf54(%rip),%rdi
call   1040 <puts@plt>
lea    0xf67(%rip),%rdi
call   1040 <puts@plt>
lea    0xf78(%rip),%rdi
call   1040 <puts@plt>
lea    0xf93(%rip),%rdi
call   1040 <puts@plt>
lea    0xfaf(%rip),%rdi
call   1040 <puts@plt>
lea    0xfdf(%rip),%rdi
call   1040 <puts@plt>
lea    0x1008(%rip),%rdi
call   1040 <puts@plt>
lea    0x102e(%rip),%rdi
call   1040 <puts@plt>
lea    0x105a(%rip),%rdi
call   1040 <puts@plt>
lea    0x1070(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a3(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d6(%rip),%rdi
call   1040 <puts@plt>
lea    0x1107(%rip),%rdi
call   1040 <puts@plt>
lea    0x112c(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [87 x i8] c"Usage: pmm_view -h | -c file [ -l | -r routine [-p param -p ...] [-ai] [-I|-w wait]]\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [36 x i8] c" -c file : specify config file\0A\00"
@.str.3 = [43 x i8] c" -f model : specify model file to plot\0A\00"
@.str.4 = [32 x i8] c" -h : print this help\0A\00"
@.str.5 = [30 x i8] c" -l : list routines\0A\00"
@.str.6 = [40 x i8] c" -r routine : specify routine to plot\0A\00"
@.str.7 = [41 x i8] c" -a : plot averaged datapoints\0A\00"
@.str.8 = [61 x i8] c" -i : plot intervals (not supported in slice plot)\0A\00"
@.str.9 = [54 x i8] c" -I : enter interactive mode after plotting\0A\00"
@.str.10 = [51 x i8] c" -m : plot maximum speed datapoints only\0A\00"
@.str.11 = [57 x i8] c" -p param : specify a parameter axis to plot (max 2)\0A\00"
@.str.12 = [35 x i8] c" -P : plot using palette\0A\00"
@.str.13 = [64 x i8] c" -s slice : specify a slice of model to plot (see man page)\0A\00"
@.str.14 = [64 x i8] c" -S style : specify a gnuplot plot style (see gnuplot help)\0A\00"
@.str.15 = [62 x i8] c" -t [n] : interploate model with n points (default 100)\0A\00"
@.str.16 = [50 x i8] c" -w wait : replot model every 'wait' seconds\0A\00"
@.str.17 = [62 x i8] c" -o file : write plot to file (with png or ps extension)\0A\00"
@.str.18 = [2 x i8] c"\0A\00"
define void @usage_pmm_view() {
%1 = call i32 @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [86 x i8] c"Usage: pmm_view -h | -c file [ -l | -r routine [-p param -p ...] [-ai] [-I|-w wait]]\00"
@str.19 = [9 x i8] c"Options:\00"
@str.20 = [35 x i8] c" -c file : specify config file\00"
@str.21 = [42 x i8] c" -f model : specify model file to plot\00"
@str.22 = [31 x i8] c" -h : print this help\00"
@str.23 = [29 x i8] c" -l : list routines\00"
@str.24 = [39 x i8] c" -r routine : specify routine to plot\00"
@str.25 = [40 x i8] c" -a : plot averaged datapoints\00"
@str.26 = [60 x i8] c" -i : plot intervals (not supported in slice plot)\00"
@str.27 = [53 x i8] c" -I : enter interactive mode after plotting\00"
@str.28 = [50 x i8] c" -m : plot maximum speed datapoints only\00"
@str.29 = [56 x i8] c" -p param : specify a parameter axis to plot (max 2)\00"
@str.30 = [34 x i8] c" -P : plot using palette\00"
@str.31 = [63 x i8] c" -s slice : specify a slice of model to plot (see man page)\00"
@str.32 = [63 x i8] c" -S style : specify a gnuplot plot style (see gnuplot help)\00"
@str.33 = [61 x i8] c" -t [n] : interploate model with n points (default 100)\00"
@str.34 = [49 x i8] c" -w wait : replot model every 'wait' seconds\00"
@str.35 = [61 x i8] c" -o file : write plot to file (with png or ps extension)\00"
define void @usage_pmm_view() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.19, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.20, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.21, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.22, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.23, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.24, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.25, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.26, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.27, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.28, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.29, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.30, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.31, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.32, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.33, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.34, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.35, i64 0, i64 0))
%19 = tail call i32 @putchar(i32 10)
ret void
}