#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(" -u username        Username\n");
  printf(" -p password        Password\n");
  printf(" -s server		Server\n");
  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");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe1(%rip),%rdi
call   1030 <printf@plt>
lea    0x100b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1037(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf16(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf89(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfab(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb2(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdc(%rip),%rdi
call   1030 <puts@plt>
lea    0x1005(%rip),%rdi
call   1030 <puts@plt>
lea    0x1030(%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 = [30 x i8] c" -u username Username\0A\00"
@.str.5 = [30 x i8] c" -p password Password\0A\00"
@.str.6 = [20 x i8] c" -s server\09\09Server\0A\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"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [58 x i8] c"BPALogin v2.0.2 - portable BigPond Broadband login client\00"
@str.11 = [44 x i8] c"Copyright (c) 2001-3 Shane Hyde and others\0A\00"
@str.12 = [53 x i8] c"This program is *not* a product of Big Pond Advance\0A\00"
@str.13 = [54 x i8] c"Usage: bpalogin [-c file] [-d level] [-l style] [-D]\0A\00"
@str.14 = [29 x i8] c" -u username Username\00"
@str.15 = [29 x i8] c" -p password Password\00"
@str.16 = [19 x i8] c" -s server\09\09Server\00"
@str.17 = [54 x i8] c" -d level Set the verbosity of log messages\00"
@str.18 = [53 x i8] c" (0 is quiet, 2 is most verbose)\0A\00"
@str.19 = [55 x i8] c" -l style Use syslog or stdout for messages\0A\00"
@str.20 = [71 x i8] c" -D Dont run bpalogin as a daemon (run in foreground)\0A\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.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.20, i64 0, i64 0))
ret void
}