#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 show_help(char *prog_name) {
  printf("usage: %s [-a|-b]\n", prog_name);
  printf("  -a             init DAB mode\n");
  printf("  -b             init fm mode\n");
  printf("  -c frequency   tune frequency in FM mode\n");
  printf("  -d             fm status\n");
  printf("  -e             dab status\n");
  printf("  -f service     start service of dab service list\n");
  printf("  -g             get dab service list\n");
  printf("  -i channel     tune to channel in dab frequency list\n");
  printf("  -j region      set frequency list\n");
  printf("                    0   Baden-Wuertemberg\r\n");
  printf("                    1   Bayern\r\n");
  printf("                    2   Berlin-Brandenburg\r\n");
  printf("                    3   Bremen\r\n");
  printf("                    4   Hamburg\r\n");
  printf("                    5   Hessen\r\n");
  printf("                    6   Mecklenburg-Vorpommern\r\n");
  printf("                    7   Niedersachsen\r\n");
  printf("                    8   Nordrhein-Westfalen\r\n");
  printf("                    9   Rheinland-Pfalz\r\n");
  printf("                    10  Saarland\r\n");
  printf("                    11  Sachsen\r\n");
  printf("                    12  Sachsen-Anhalt\r\n");
  printf("                    13  Schleswig-Holstein\r\n");
  printf("                    14  Thueringen\r\n");
  printf("                    15  Suedtirol (Italien)\r\n");
  printf("  -k region      scan frequency list\r\n");
  printf("  -l up|down     fm seek next station\r\n");
  printf("  -m             fm rds status\r\n");
  printf("  -n             dab get audio info\r\n");
  printf("  -o             dab get subchannel info\r\n");
  printf("  -s             get sys state (fm,dab,am...)\r\n");
  printf("  -h             this help\n");
}


x86 assembly (clang, -O0):
<show_help>:
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    0xede(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x101f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1033(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1046(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1069(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1083(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10bf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10e8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1103(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1122(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1139(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1159(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1172(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x118c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x119f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11b7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11d4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11f6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rax
mov    %rdi,%rsi
lea    0xed5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeda(%rip),%rdi
call   1030 <puts@plt>
lea    0xeed(%rip),%rdi
call   1030 <puts@plt>
lea    0xeff(%rip),%rdi
call   1030 <puts@plt>
lea    0xf1e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf64(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc1(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe0(%rip),%rdi
call   1030 <puts@plt>
lea    0xff4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1014(%rip),%rdi
call   1030 <puts@plt>
lea    0x1028(%rip),%rdi
call   1030 <puts@plt>
lea    0x103d(%rip),%rdi
call   1030 <puts@plt>
lea    0x1051(%rip),%rdi
call   1030 <puts@plt>
lea    0x1075(%rip),%rdi
call   1030 <puts@plt>
lea    0x1090(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b1(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ce(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e4(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f9(%rip),%rdi
call   1030 <puts@plt>
lea    0x1115(%rip),%rdi
call   1030 <puts@plt>
lea    0x1135(%rip),%rdi
call   1030 <puts@plt>
lea    0x114d(%rip),%rdi
call   1030 <puts@plt>
lea    0x116e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1188(%rip),%rdi
call   1030 <puts@plt>
lea    0x11a3(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b7(%rip),%rdi
call   1030 <puts@plt>
lea    0x11d0(%rip),%rdi
call   1030 <puts@plt>
lea    0x11ee(%rip),%rdi
call   1030 <puts@plt>
lea    0x1211(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"usage: %s [-a|-b]\0A\00"
@.str.1 = [32 x i8] c" -a init DAB mode\0A\00"
@.str.2 = [31 x i8] c" -b init fm mode\0A\00"
@.str.3 = [44 x i8] c" -c frequency tune frequency in FM mode\0A\00"
@.str.4 = [28 x i8] c" -d fm status\0A\00"
@.str.5 = [29 x i8] c" -e dab status\0A\00"
@.str.6 = [52 x i8] c" -f service start service of dab service list\0A\00"
@.str.7 = [39 x i8] c" -g get dab service list\0A\00"
@.str.8 = [56 x i8] c" -i channel tune to channel in dab frequency list\0A\00"
@.str.9 = [37 x i8] c" -j region set frequency list\0A\00"
@.str.10 = [44 x i8] c" 0 Baden-Wuertemberg\0D\0A\00"
@.str.11 = [33 x i8] c" 1 Bayern\0D\0A\00"
@.str.12 = [45 x i8] c" 2 Berlin-Brandenburg\0D\0A\00"
@.str.13 = [33 x i8] c" 3 Bremen\0D\0A\00"
@.str.14 = [34 x i8] c" 4 Hamburg\0D\0A\00"
@.str.15 = [33 x i8] c" 5 Hessen\0D\0A\00"
@.str.16 = [49 x i8] c" 6 Mecklenburg-Vorpommern\0D\0A\00"
@.str.17 = [40 x i8] c" 7 Niedersachsen\0D\0A\00"
@.str.18 = [46 x i8] c" 8 Nordrhein-Westfalen\0D\0A\00"
@.str.19 = [42 x i8] c" 9 Rheinland-Pfalz\0D\0A\00"
@.str.20 = [35 x i8] c" 10 Saarland\0D\0A\00"
@.str.21 = [34 x i8] c" 11 Sachsen\0D\0A\00"
@.str.22 = [41 x i8] c" 12 Sachsen-Anhalt\0D\0A\00"
@.str.23 = [45 x i8] c" 13 Schleswig-Holstein\0D\0A\00"
@.str.24 = [37 x i8] c" 14 Thueringen\0D\0A\00"
@.str.25 = [46 x i8] c" 15 Suedtirol (Italien)\0D\0A\00"
@.str.26 = [39 x i8] c" -k region scan frequency list\0D\0A\00"
@.str.27 = [40 x i8] c" -l up|down fm seek next station\0D\0A\00"
@.str.28 = [33 x i8] c" -m fm rds status\0D\0A\00"
@.str.29 = [38 x i8] c" -n dab get audio info\0D\0A\00"
@.str.30 = [43 x i8] c" -o dab get subchannel info\0D\0A\00"
@.str.31 = [48 x i8] c" -s get sys state (fm,dab,am...)\0D\0A\00"
@.str.32 = [28 x i8] c" -h this help\0A\00"
define void @show_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.4, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.14, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.15, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.16, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.17, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.18, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.19, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.20, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.21, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.22, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.24, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.25, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.26, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.27, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.28, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.29, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.30, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.31, i64 0, i64 0))
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.32, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"usage: %s [-a|-b]\0A\00"
@str = [31 x i8] c" -a init DAB mode\00"
@str.33 = [30 x i8] c" -b init fm mode\00"
@str.34 = [43 x i8] c" -c frequency tune frequency in FM mode\00"
@str.35 = [27 x i8] c" -d fm status\00"
@str.36 = [28 x i8] c" -e dab status\00"
@str.37 = [51 x i8] c" -f service start service of dab service list\00"
@str.38 = [38 x i8] c" -g get dab service list\00"
@str.39 = [55 x i8] c" -i channel tune to channel in dab frequency list\00"
@str.40 = [36 x i8] c" -j region set frequency list\00"
@str.41 = [43 x i8] c" 0 Baden-Wuertemberg\0D\00"
@str.42 = [32 x i8] c" 1 Bayern\0D\00"
@str.43 = [44 x i8] c" 2 Berlin-Brandenburg\0D\00"
@str.44 = [32 x i8] c" 3 Bremen\0D\00"
@str.45 = [33 x i8] c" 4 Hamburg\0D\00"
@str.46 = [32 x i8] c" 5 Hessen\0D\00"
@str.47 = [48 x i8] c" 6 Mecklenburg-Vorpommern\0D\00"
@str.48 = [39 x i8] c" 7 Niedersachsen\0D\00"
@str.49 = [45 x i8] c" 8 Nordrhein-Westfalen\0D\00"
@str.50 = [41 x i8] c" 9 Rheinland-Pfalz\0D\00"
@str.51 = [34 x i8] c" 10 Saarland\0D\00"
@str.52 = [33 x i8] c" 11 Sachsen\0D\00"
@str.53 = [40 x i8] c" 12 Sachsen-Anhalt\0D\00"
@str.54 = [44 x i8] c" 13 Schleswig-Holstein\0D\00"
@str.55 = [36 x i8] c" 14 Thueringen\0D\00"
@str.56 = [45 x i8] c" 15 Suedtirol (Italien)\0D\00"
@str.57 = [38 x i8] c" -k region scan frequency list\0D\00"
@str.58 = [39 x i8] c" -l up|down fm seek next station\0D\00"
@str.59 = [32 x i8] c" -m fm rds status\0D\00"
@str.60 = [37 x i8] c" -n dab get audio info\0D\00"
@str.61 = [42 x i8] c" -o dab get subchannel info\0D\00"
@str.62 = [47 x i8] c" -s get sys state (fm,dab,am...)\0D\00"
@str.63 = [27 x i8] c" -h this help\00"
define void @show_help(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.33, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.34, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.35, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.36, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.37, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.38, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.39, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.40, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.41, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.42, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.43, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.44, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.45, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.46, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.47, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.48, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.49, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.50, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.51, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.52, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.53, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.54, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.55, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.56, i64 0, i64 0))
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.57, i64 0, i64 0))
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.58, i64 0, i64 0))
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.59, i64 0, i64 0))
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.60, i64 0, i64 0))
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.61, i64 0, i64 0))
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.62, i64 0, i64 0))
%34 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.63, i64 0, i64 0))
ret void
}