#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 conf_usage(const char *progname) {
  printf("Usage: %s [-s] [option] <kconfig-file>\n", progname);
  printf("[option] is _one_ of the following:\n");
  printf("  --listnewconfig         List new options\n");
  printf("  --oldaskconfig          Start a new configuration using a "
         "line-oriented program\n");
  printf("  --oldconfig             Update a configuration using a provided "
         ".config as base\n");
  printf("  --silentoldconfig       Same as oldconfig, but quietly, "
         "additionally update deps\n");
  printf("  --olddefconfig          Same as silentoldconfig but sets new "
         "symbols to their default value\n");
  printf("  --oldnoconfig           An alias of olddefconfig\n");
  printf(
      "  --defconfig <file>      New config with default defined in <file>\n");
  printf("  --savedefconfig <file>  Save the minimal current configuration to "
         "<file>\n");
  printf("  --allnoconfig           New config where all options are answered "
         "with no\n");
  printf("  --allyesconfig          New config where all options are answered "
         "with yes\n");
  printf("  --allmodconfig          New config where all options are answered "
         "with mod\n");
  printf(
      "  --alldefconfig          New config with all symbols set to default\n");
  printf("  --randconfig            New config with random answer to all "
         "options\n");
}


x86 assembly (clang, -O0):
<conf_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1049(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x106f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10e4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1123(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1163(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11a3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11db(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<conf_usage>:
push   %rax
mov    %rdi,%rsi
lea    0xed5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeef(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb2(%rip),%rdi
call   1030 <puts@plt>
lea    0xff9(%rip),%rdi
call   1030 <puts@plt>
lea    0x104b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1072(%rip),%rdi
call   1030 <puts@plt>
lea    0x10aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e9(%rip),%rdi
call   1030 <puts@plt>
lea    0x1129(%rip),%rdi
call   1030 <puts@plt>
lea    0x116a(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ab(%rip),%rdi
call   1030 <puts@plt>
lea    0x11e4(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [40 x i8] c"Usage: %s [-s] [option] <kconfig-file>\0A\00"
@.str.1 = [37 x i8] c"[option] is _one_ of the following:\0A\00"
@.str.2 = [44 x i8] c" --listnewconfig List new options\0A\00"
@.str.3 = [83 x i8] c" --oldaskconfig Start a new configuration using a line-oriented program\0A\00"
@.str.4 = [83 x i8] c" --oldconfig Update a configuration using a provided .config as base\0A\00"
@.str.5 = [84 x i8] c" --silentoldconfig Same as oldconfig, but quietly, additionally update deps\0A\00"
@.str.6 = [95 x i8] c" --olddefconfig Same as silentoldconfig but sets new symbols to their default value\0A\00"
@.str.7 = [52 x i8] c" --oldnoconfig An alias of olddefconfig\0A\00"
@.str.8 = [69 x i8] c" --defconfig <file> New config with default defined in <file>\0A\00"
@.str.9 = [76 x i8] c" --savedefconfig <file> Save the minimal current configuration to <file>\0A\00"
@.str.10 = [77 x i8] c" --allnoconfig New config where all options are answered with no\0A\00"
@.str.11 = [78 x i8] c" --allyesconfig New config where all options are answered with yes\0A\00"
@.str.12 = [78 x i8] c" --allmodconfig New config where all options are answered with mod\0A\00"
@.str.13 = [70 x i8] c" --alldefconfig New config with all symbols set to default\0A\00"
@.str.14 = [72 x i8] c" --randconfig New config with random answer to all options\0A\00"
define void @conf_usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.13, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.14, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [40 x i8] c"Usage: %s [-s] [option] <kconfig-file>\0A\00"
@str = [36 x i8] c"[option] is _one_ of the following:\00"
@str.15 = [43 x i8] c" --listnewconfig List new options\00"
@str.16 = [82 x i8] c" --oldaskconfig Start a new configuration using a line-oriented program\00"
@str.17 = [82 x i8] c" --oldconfig Update a configuration using a provided .config as base\00"
@str.18 = [83 x i8] c" --silentoldconfig Same as oldconfig, but quietly, additionally update deps\00"
@str.19 = [94 x i8] c" --olddefconfig Same as silentoldconfig but sets new symbols to their default value\00"
@str.20 = [51 x i8] c" --oldnoconfig An alias of olddefconfig\00"
@str.21 = [68 x i8] c" --defconfig <file> New config with default defined in <file>\00"
@str.22 = [75 x i8] c" --savedefconfig <file> Save the minimal current configuration to <file>\00"
@str.23 = [76 x i8] c" --allnoconfig New config where all options are answered with no\00"
@str.24 = [77 x i8] c" --allyesconfig New config where all options are answered with yes\00"
@str.25 = [77 x i8] c" --allmodconfig New config where all options are answered with mod\00"
@str.26 = [69 x i8] c" --alldefconfig New config with all symbols set to default\00"
@str.27 = [71 x i8] c" --randconfig New config with random answer to all options\00"
define void @conf_usage(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.24, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.25, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.26, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.27, i64 0, i64 0))
ret void
}