#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 usage(void) {
  printf("BPALogin v2.0.2 - portable BigPond Broadband login client"
         "\n");
  printf("Copyright (c) 2001-3 Shane Hyde and others\n\n");
  printf("This program is *not* a product of Big Pond Advance\n\n");
  printf("Usage: bpalogin [-c file] [-d level] [-l style] [-D]\n\n");
  printf(" -c file            Specifies the configuration file to use\n");
  printf("                    (default is %s)\n\n",
         "/usr/local/etc/bpalogin.conf");
  printf(" -d level           Set the verbosity of log messages\n");
  printf("                    (0 is quiet, 2 is most verbose)\n\n");
  printf(" -l style           Use syslog or stdout for messages\n\n");
  printf(" -D                 Dont run bpalogin as a daemon (run in "
         "foreground)\n\n");
  printf("Command line options override the values in the configuration "
         "file\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb1(%rip),%rdi
lea    0xfd0(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfdf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1008(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1030(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x105a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1094(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xf1b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf49(%rip),%rdi
call   1030 <puts@plt>
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
lea    0xf92(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbc(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9c(%rip),%rdi
lea    0xebb(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfd7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1001(%rip),%rdi
call   1030 <puts@plt>
lea    0x102a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1055(%rip),%rdi
call   1030 <puts@plt>
lea    0x1090(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"BPALogin v2.0.2 - portable BigPond Broadband login client\0A\00"
@.str.1 = [45 x i8] c"Copyright (c) 2001-3 Shane Hyde and others\0A\0A\00"
@.str.2 = [54 x i8] c"This program is *not* a product of Big Pond Advance\0A\0A\00"
@.str.3 = [55 x i8] c"Usage: bpalogin [-c file] [-d level] [-l style] [-D]\0A\0A\00"
@.str.4 = [61 x i8] c" -c file Specifies the configuration file to use\0A\00"
@.str.5 = [38 x i8] c" (default is %s)\0A\0A\00"
@.str.6 = [29 x i8] c"/usr/local/etc/bpalogin.conf\00"
@.str.7 = [55 x i8] c" -d level Set the verbosity of log messages\0A\00"
@.str.8 = [54 x i8] c" (0 is quiet, 2 is most verbose)\0A\0A\00"
@.str.9 = [56 x i8] c" -l style Use syslog or stdout for messages\0A\0A\00"
@.str.10 = [72 x i8] c" -D Dont run bpalogin as a daemon (run in foreground)\0A\0A\00"
@.str.11 = [68 x i8] c"Command line options override the values in the configuration file\0A\00"
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.5 = [38 x i8] c" (default is %s)\0A\0A\00"
@.str.6 = [29 x i8] c"/usr/local/etc/bpalogin.conf\00"
@str = [58 x i8] c"BPALogin v2.0.2 - portable BigPond Broadband login client\00"
@str.12 = [44 x i8] c"Copyright (c) 2001-3 Shane Hyde and others\0A\00"
@str.13 = [53 x i8] c"This program is *not* a product of Big Pond Advance\0A\00"
@str.14 = [54 x i8] c"Usage: bpalogin [-c file] [-d level] [-l style] [-D]\0A\00"
@str.15 = [60 x i8] c" -c file Specifies the configuration file to use\00"
@str.16 = [54 x i8] c" -d level Set the verbosity of log messages\00"
@str.17 = [53 x i8] c" (0 is quiet, 2 is most verbose)\0A\00"
@str.18 = [55 x i8] c" -l style Use syslog or stdout for messages\0A\00"
@str.19 = [71 x i8] c" -D Dont run bpalogin as a daemon (run in foreground)\0A\00"
@str.20 = [67 x i8] c"Command line options override the values in the configuration file\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.20, i64 0, i64 0))
ret void
}