#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*/ dbg_time(char *, ...);
int usage(const char *progname) {
  dbg_time("Usage: %s [-s [apn [user password auth]]] [-p pincode] [-f "
           "logfilename] ",
           progname);
  dbg_time("-s [apn [user password auth]] Set apn/user/password/auth get from "
           "your network provider");
  dbg_time("-p pincode                    Verify sim card pin if sim card is "
           "locked");
  dbg_time(
      "-f logfilename                Save log message of this program to file");
  dbg_time("Example 1: %s ", progname);
  dbg_time("Example 2: %s -s 3gnet ", progname);
  dbg_time("Example 3: %s -s 3gnet carl 1234 0 -p 1234 -f gobinet_log.txt",
           progname);
  return 0;
}


x86 assembly (clang, -O0):
<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 <dbg_time@plt>
lea    0xf14(%rip),%rdi
mov    $0x0,%al
call   1030 <dbg_time@plt>
lea    0xf5e(%rip),%rdi
mov    $0x0,%al
call   1030 <dbg_time@plt>
lea    0xf98(%rip),%rdi
mov    $0x0,%al
call   1030 <dbg_time@plt>
mov    -0x8(%rbp),%rsi
lea    0xfcd(%rip),%rdi
mov    $0x0,%al
call   1030 <dbg_time@plt>
mov    -0x8(%rbp),%rsi
lea    0xfca(%rip),%rdi
mov    $0x0,%al
call   1030 <dbg_time@plt>
mov    -0x8(%rbp),%rsi
lea    0xfd0(%rip),%rdi
mov    $0x0,%al
call   1030 <dbg_time@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <dbg_time@plt>
lea    0xf1d(%rip),%rdi
xor    %eax,%eax
call   1030 <dbg_time@plt>
lea    0xf67(%rip),%rdi
xor    %eax,%eax
call   1030 <dbg_time@plt>
lea    0xfa1(%rip),%rdi
xor    %eax,%eax
call   1030 <dbg_time@plt>
lea    0xfda(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <dbg_time@plt>
lea    0xfd8(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <dbg_time@plt>
lea    0xfdf(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <dbg_time@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [73 x i8] c"Usage: %s [-s [apn [user password auth]]] [-p pincode] [-f logfilename] \00"
@.str.1 = [88 x i8] c"-s [apn [user password auth]] Set apn/user/password/auth get from your network provider\00"
@.str.2 = [72 x i8] c"-p pincode Verify sim card pin if sim card is locked\00"
@.str.3 = [71 x i8] c"-f logfilename Save log message of this program to file\00"
@.str.4 = [15 x i8] c"Example 1: %s \00"
@.str.5 = [24 x i8] c"Example 2: %s -s 3gnet \00"
@.str.6 = [62 x i8] c"Example 3: %s -s 3gnet carl 1234 0 -p 1234 -f gobinet_log.txt\00"
define i32 @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.3, i64 0, i64 0))
%8 = load i8*, i8** %2
%9 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* %8)
%10 = load i8*, i8** %2
%11 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0), i8* %10)
%12 = load i8*, i8** %2
%13 = call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0), i8* %12)
ret i32 0
}

LLVM IR (-O2):
@.str = [73 x i8] c"Usage: %s [-s [apn [user password auth]]] [-p pincode] [-f logfilename] \00"
@.str.1 = [88 x i8] c"-s [apn [user password auth]] Set apn/user/password/auth get from your network provider\00"
@.str.2 = [72 x i8] c"-p pincode Verify sim card pin if sim card is locked\00"
@.str.3 = [71 x i8] c"-f logfilename Save log message of this program to file\00"
@.str.4 = [15 x i8] c"Example 1: %s \00"
@.str.5 = [24 x i8] c"Example 2: %s -s 3gnet \00"
@.str.6 = [62 x i8] c"Example 3: %s -s 3gnet carl 1234 0 -p 1234 -f gobinet_log.txt\00"
define i32 @usage(i8* %0) {
%2 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* %0)
%7 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.5, i64 0, i64 0), i8* %0)
%8 = tail call i32 (i8*, ...) @dbg_time(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.6, i64 0, i64 0), i8* %0)
ret i32 0
}