#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] [--fatalrecursive] [option] <kconfig-file>\n",
         progname);
  printf("[option] is _one_ of the following:\n");
  printf("  --listnewconfig         List new options\n");
  printf("  --helpnewconfig         List new options and help text\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("  --syncconfig            Similar to oldconfig but generates "
         "configuration in\n"
         "                          include/{generated/,config/}\n");
  printf("  --olddefconfig          Same as oldconfig but sets new symbols to "
         "their default value\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");
  printf(
      "  --yes2modconfig         Change answers from yes to mod if possible\n");
  printf(
      "  --mod2yesconfig         Change answers from mod to yes if possible\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    0xf06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf67(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1069(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10b4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10eb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1129(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1168(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11a8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11e8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1220(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x125a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1292(%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    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
lea    0xf66(%rip),%rdi
call   1030 <puts@plt>
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xff2(%rip),%rdi
call   1030 <puts@plt>
lea    0x106b(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b7(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ef(%rip),%rdi
call   1030 <puts@plt>
lea    0x112e(%rip),%rdi
call   1030 <puts@plt>
lea    0x116e(%rip),%rdi
call   1030 <puts@plt>
lea    0x11af(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1229(%rip),%rdi
call   1030 <puts@plt>
lea    0x1264(%rip),%rdi
call   1030 <puts@plt>
lea    0x129d(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Usage: %s [-s] [--fatalrecursive] [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 = [58 x i8] c" --helpnewconfig List new options and help text\0A\00"
@.str.4 = [83 x i8] c" --oldaskconfig Start a new configuration using a line-oriented program\0A\00"
@.str.5 = [83 x i8] c" --oldconfig Update a configuration using a provided .config as base\0A\00"
@.str.6 = [134 x i8] c" --syncconfig Similar to oldconfig but generates configuration in\0A include/{generated/,config/}\0A\00"
@.str.7 = [89 x i8] c" --olddefconfig Same as oldconfig but sets new symbols to their default value\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"
@.str.15 = [70 x i8] c" --yes2modconfig Change answers from yes to mod if possible\0A\00"
@.str.16 = [70 x i8] c" --mod2yesconfig Change answers from mod to yes if possible\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 ([59 x i8], [59 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 ([58 x i8], [58 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 ([83 x i8], [83 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([134 x i8], [134 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([89 x i8], [89 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))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.15, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.16, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [59 x i8] c"Usage: %s [-s] [--fatalrecursive] [option] <kconfig-file>\0A\00"
@str = [36 x i8] c"[option] is _one_ of the following:\00"
@str.17 = [43 x i8] c" --listnewconfig List new options\00"
@str.18 = [57 x i8] c" --helpnewconfig List new options and help text\00"
@str.19 = [82 x i8] c" --oldaskconfig Start a new configuration using a line-oriented program\00"
@str.20 = [82 x i8] c" --oldconfig Update a configuration using a provided .config as base\00"
@str.21 = [133 x i8] c" --syncconfig Similar to oldconfig but generates configuration in\0A include/{generated/,config/}\00"
@str.22 = [88 x i8] c" --olddefconfig Same as oldconfig but sets new symbols to their default value\00"
@str.23 = [68 x i8] c" --defconfig <file> New config with default defined in <file>\00"
@str.24 = [75 x i8] c" --savedefconfig <file> Save the minimal current configuration to <file>\00"
@str.25 = [76 x i8] c" --allnoconfig New config where all options are answered with no\00"
@str.26 = [77 x i8] c" --allyesconfig New config where all options are answered with yes\00"
@str.27 = [77 x i8] c" --allmodconfig New config where all options are answered with mod\00"
@str.28 = [69 x i8] c" --alldefconfig New config with all symbols set to default\00"
@str.29 = [71 x i8] c" --randconfig New config with random answer to all options\00"
@str.30 = [69 x i8] c" --yes2modconfig Change answers from yes to mod if possible\00"
@str.31 = [69 x i8] c" --mod2yesconfig Change answers from mod to yes if possible\00"
define void @conf_usage(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 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.17, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.18, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.19, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([133 x i8], [133 x i8]* @str.21, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.22, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.23, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.24, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.25, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.26, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.27, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.28, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.29, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.30, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.31, i64 0, i64 0))
ret void
}