#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_usage() {
  printf("\n Options\n");
  printf("-s {rate}	Set sample rate in HZ (default 100)\n");
  printf("		Sample rate must be a divisor of 200\n");
  printf("-m		Enable Magnetometer\n");
  printf("-c		Show raw compass angle\n");
  printf("-a		Print Accelerometer Data\n");
  printf("-g		Print Gyro Data\n");
  printf("-t		Print TaitBryan Angles\n");
  printf("-q		Print Quaternion Vector\n");
  printf("-p {prio}	Set Interrupt Priority (default 98)\n");
  printf("-w		Print I2C bus warnings\n");
  printf("-o		Show a menu to select IMU orientation\n");
  printf("-h		Print this help message\n\n");
  return;
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee4(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
call   1030 <printf@plt>
lea    0xf30(%rip),%rdi
call   1030 <printf@plt>
lea    0xf40(%rip),%rdi
call   1030 <printf@plt>
lea    0xf52(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfaf(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee6(%rip),%rdi
call   1030 <puts@plt>
lea    0xf08(%rip),%rdi
call   1030 <puts@plt>
lea    0xf23(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf57(%rip),%rdi
call   1030 <puts@plt>
lea    0xf66(%rip),%rdi
call   1030 <puts@plt>
lea    0xf76(%rip),%rdi
call   1030 <puts@plt>
lea    0xf98(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"\0A Options\0A\00"
@.str.1 = [47 x i8] c"-s {rate}\09Set sample rate in HZ (default 100)\0A\00"
@.str.2 = [40 x i8] c"\09\09Sample rate must be a divisor of 200\0A\00"
@.str.3 = [25 x i8] c"-m\09\09Enable Magnetometer\0A\00"
@.str.4 = [28 x i8] c"-c\09\09Show raw compass angle\0A\00"
@.str.5 = [30 x i8] c"-a\09\09Print Accelerometer Data\0A\00"
@.str.6 = [21 x i8] c"-g\09\09Print Gyro Data\0A\00"
@.str.7 = [28 x i8] c"-t\09\09Print TaitBryan Angles\0A\00"
@.str.8 = [29 x i8] c"-q\09\09Print Quaternion Vector\0A\00"
@.str.9 = [47 x i8] c"-p {prio}\09Set Interrupt Priority (default 98)\0A\00"
@.str.10 = [28 x i8] c"-w\09\09Print I2C bus warnings\0A\00"
@.str.11 = [43 x i8] c"-o\09\09Show a menu to select IMU orientation\0A\00"
@.str.12 = [30 x i8] c"-h\09\09Print this help message\0A\0A\00"
define void @print_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 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 ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [10 x i8] c"\0A Options\00"
@str.13 = [46 x i8] c"-s {rate}\09Set sample rate in HZ (default 100)\00"
@str.14 = [39 x i8] c"\09\09Sample rate must be a divisor of 200\00"
@str.15 = [24 x i8] c"-m\09\09Enable Magnetometer\00"
@str.16 = [27 x i8] c"-c\09\09Show raw compass angle\00"
@str.17 = [29 x i8] c"-a\09\09Print Accelerometer Data\00"
@str.18 = [20 x i8] c"-g\09\09Print Gyro Data\00"
@str.19 = [27 x i8] c"-t\09\09Print TaitBryan Angles\00"
@str.20 = [28 x i8] c"-q\09\09Print Quaternion Vector\00"
@str.21 = [46 x i8] c"-p {prio}\09Set Interrupt Priority (default 98)\00"
@str.22 = [27 x i8] c"-w\09\09Print I2C bus warnings\00"
@str.23 = [42 x i8] c"-o\09\09Show a menu to select IMU orientation\00"
@str.24 = [29 x i8] c"-h\09\09Print this help message\0A\00"
define void @print_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.24, i64 0, i64 0))
ret void
}