#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() {
  printf("BPALogin v2.0 - lightweight portable BIDS2 login client\n");
  printf("Copyright (c) 1999-2000 Shane Hyde (shyde@trontech.net)\n");
  printf("\nThis program is *not* a product of Big Pond Advance\n");
  printf("\nUsage: bpalogin [options], where options are:\n\n");
  printf(" -c conffile          Specifies the config file to read option\n");
  printf(
      "                      settings from (default is /etc/bpalogin.conf)\n");
  printf(" -D                   Dont run bpalogin as a daemon (run in "
         "foreground)\n");
  printf(" -s seconds           Sleep <seconds> before starting\n");
  printf(" -d level             Set debug level to <level>\n");
  printf(
      "\nNote that command line options override the values in the conffile\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf69(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc2(%rip),%rdi
call   1030 <printf@plt>
lea    0xffb(%rip),%rdi
call   1030 <printf@plt>
lea    0x1038(%rip),%rdi
call   1030 <printf@plt>
lea    0x1063(%rip),%rdi
call   1030 <printf@plt>
lea    0x1089(%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    0xf14(%rip),%rdi
call   1030 <puts@plt>
lea    0xf40(%rip),%rdi
call   1030 <puts@plt>
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc0(%rip),%rdi
call   1030 <puts@plt>
lea    0xff8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1034(%rip),%rdi
call   1030 <puts@plt>
lea    0x105e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1083(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [57 x i8] c"BPALogin v2.0 - lightweight portable BIDS2 login client\0A\00"
@.str.1 = [57 x i8] c"Copyright (c) 1999-2000 Shane Hyde (shyde@trontech.net)\0A\00"
@.str.2 = [54 x i8] c"\0AThis program is *not* a product of Big Pond Advance\0A\00"
@.str.3 = [49 x i8] c"\0AUsage: bpalogin [options], where options are:\0A\0A\00"
@.str.4 = [64 x i8] c" -c conffile Specifies the config file to read option\0A\00"
@.str.5 = [69 x i8] c" settings from (default is /etc/bpalogin.conf)\0A\00"
@.str.6 = [73 x i8] c" -D Dont run bpalogin as a daemon (run in foreground)\0A\00"
@.str.7 = [55 x i8] c" -s seconds Sleep <seconds> before starting\0A\00"
@.str.8 = [50 x i8] c" -d level Set debug level to <level>\0A\00"
@.str.9 = [69 x i8] c"\0ANote that command line options override the values in the conffile\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 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 ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 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 ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [56 x i8] c"BPALogin v2.0 - lightweight portable BIDS2 login client\00"
@str.10 = [56 x i8] c"Copyright (c) 1999-2000 Shane Hyde (shyde@trontech.net)\00"
@str.11 = [53 x i8] c"\0AThis program is *not* a product of Big Pond Advance\00"
@str.12 = [48 x i8] c"\0AUsage: bpalogin [options], where options are:\0A\00"
@str.13 = [63 x i8] c" -c conffile Specifies the config file to read option\00"
@str.14 = [68 x i8] c" settings from (default is /etc/bpalogin.conf)\00"
@str.15 = [72 x i8] c" -D Dont run bpalogin as a daemon (run in foreground)\00"
@str.16 = [54 x i8] c" -s seconds Sleep <seconds> before starting\00"
@str.17 = [49 x i8] c" -d level Set debug level to <level>\00"
@str.18 = [68 x i8] c"\0ANote that command line options override the values in the conffile\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.10, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.18, i64 0, i64 0))
ret void
}