#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 print_config() {
  printf("multigraph qos_connections\n");
  printf("graph_category apache\n");
  printf("graph_title QoS Access Stats\n");
  printf("graph_vlabel concurrent accesses per second\n");
  printf("qoscrmax.label max requests\n");
  printf("qoscrmax.type GAUGE\n");
  printf("qoscrmax.draw LINE1\n");
  printf("qoscravg.label avg requests\n");
  printf("qoscravg.type GAUGE\n");
  printf("qoscravg.draw LINE1\n");
  printf("multigraph qos_latency\n");
  printf("graph_category apache\n");
  printf("graph_title QoS Access Latency\n");
  printf("graph_vlabel average latency in ms\n");
  printf("graph_args --base 1000 --upper-limit 30000 --rigid\n");
  printf("qoslatmax.label max latency\n");
  printf("qoslatmax.type GAUGE\n");
  printf("qoslatmax.draw LINE1\n");
  printf("qoslatavg.label avg latency\n");
  printf("qoslatavg.type GAUGE\n");
  printf("qoslatavg.draw LINE1\n");
}


x86 assembly (clang, -O0):
<print_config>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
call   1030 <printf@plt>
lea    0xf44(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
call   1030 <printf@plt>
lea    0xf67(%rip),%rdi
call   1030 <printf@plt>
lea    0xf70(%rip),%rdi
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
call   1030 <printf@plt>
lea    0xe7d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8d(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcd(%rip),%rdi
call   1030 <printf@plt>
lea    0xfde(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe8(%rip),%rdi
call   1030 <printf@plt>
lea    0xff2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1003(%rip),%rdi
call   1030 <printf@plt>
lea    0x100d(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_config>:
push   %rbx
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdf(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef9(%rip),%rdi
call   1030 <puts@plt>
lea    0xf19(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
lea    0xf49(%rip),%rdi
call   1030 <puts@plt>
lea    0xf51(%rip),%rdi
call   1030 <puts@plt>
lea    0xf59(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf72(%rip),%rdi
call   1030 <puts@plt>
lea    0xf85(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdc(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0xff5(%rip),%rdi
call   1030 <puts@plt>
lea    0xffe(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"multigraph qos_connections\0A\00"
@.str.1 = [23 x i8] c"graph_category apache\0A\00"
@.str.2 = [30 x i8] c"graph_title QoS Access Stats\0A\00"
@.str.3 = [45 x i8] c"graph_vlabel concurrent accesses per second\0A\00"
@.str.4 = [29 x i8] c"qoscrmax.label max requests\0A\00"
@.str.5 = [21 x i8] c"qoscrmax.type GAUGE\0A\00"
@.str.6 = [21 x i8] c"qoscrmax.draw LINE1\0A\00"
@.str.7 = [29 x i8] c"qoscravg.label avg requests\0A\00"
@.str.8 = [21 x i8] c"qoscravg.type GAUGE\0A\00"
@.str.9 = [21 x i8] c"qoscravg.draw LINE1\0A\00"
@.str.10 = [24 x i8] c"multigraph qos_latency\0A\00"
@.str.11 = [32 x i8] c"graph_title QoS Access Latency\0A\00"
@.str.12 = [36 x i8] c"graph_vlabel average latency in ms\0A\00"
@.str.13 = [52 x i8] c"graph_args --base 1000 --upper-limit 30000 --rigid\0A\00"
@.str.14 = [29 x i8] c"qoslatmax.label max latency\0A\00"
@.str.15 = [22 x i8] c"qoslatmax.type GAUGE\0A\00"
@.str.16 = [22 x i8] c"qoslatmax.draw LINE1\0A\00"
@.str.17 = [29 x i8] c"qoslatavg.label avg latency\0A\00"
@.str.18 = [22 x i8] c"qoslatavg.type GAUGE\0A\00"
@.str.19 = [22 x i8] c"qoslatavg.draw LINE1\0A\00"
define void @print_config() {
%1 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.13, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.15, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.19, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [27 x i8] c"multigraph qos_connections\00"
@str.21 = [29 x i8] c"graph_title QoS Access Stats\00"
@str.22 = [44 x i8] c"graph_vlabel concurrent accesses per second\00"
@str.23 = [28 x i8] c"qoscrmax.label max requests\00"
@str.24 = [20 x i8] c"qoscrmax.type GAUGE\00"
@str.25 = [20 x i8] c"qoscrmax.draw LINE1\00"
@str.26 = [28 x i8] c"qoscravg.label avg requests\00"
@str.27 = [20 x i8] c"qoscravg.type GAUGE\00"
@str.28 = [20 x i8] c"qoscravg.draw LINE1\00"
@str.29 = [23 x i8] c"multigraph qos_latency\00"
@str.30 = [22 x i8] c"graph_category apache\00"
@str.31 = [31 x i8] c"graph_title QoS Access Latency\00"
@str.32 = [35 x i8] c"graph_vlabel average latency in ms\00"
@str.33 = [51 x i8] c"graph_args --base 1000 --upper-limit 30000 --rigid\00"
@str.34 = [28 x i8] c"qoslatmax.label max latency\00"
@str.35 = [21 x i8] c"qoslatmax.type GAUGE\00"
@str.36 = [21 x i8] c"qoslatmax.draw LINE1\00"
@str.37 = [28 x i8] c"qoslatavg.label avg latency\00"
@str.38 = [21 x i8] c"qoslatavg.type GAUGE\00"
@str.39 = [21 x i8] c"qoslatavg.draw LINE1\00"
define void @print_config() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.30, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.21, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.22, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.23, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.24, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.25, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.26, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.27, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.28, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.29, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.30, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.31, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.32, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.33, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.34, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.35, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.36, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.37, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.38, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.39, i64 0, i64 0))
ret void
}