#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*/ exit(int);
int /*<<< orphan*/ printf(char *);
void usage() {
  printf("convert text to binary barcodes.\n");
  printf("\t -h, --help\t\tshow this usage.\n");
  printf("\t -c, --checksum\t\tadd checksum to barcodes.\n");
  printf("\t -e, --encoding <char*>\tset the encoding. Standard is code39. See "
         "ENCODINGS for valid inputs.\n");
  printf("\t -b, --bar <char>\tcharacter that represents the bars.\n");
  printf("\t -s, --space <char>\tcharacter that represents the spaces.\n");
  printf("\t -w, --width <int>\twidth that represents an element.\n");
  printf("\t -d, --debug <int>\tsets the debug level (ERROR = 0; WARNING = 1; "
         "DEBUG = 2; INFO = 3).\n");
  printf("\n");
  printf("encodings:\n");
  printf("\t39\t-\tcode39\n");
  printf("\tean\t-\tean\n");
  printf("\tupc\t-\tupc == 12-digit ean\n");
  printf("\tisbn\t-\tisbn numbers (still EAN13)\n");
  printf("\t128\t-\tcode128 (a,b,c: autoselection)\n");
  printf("\t128c\t-\tcode128 (compact form for digits)\n");
  printf("\t128b\t-\tcode128, full printable ascii\n");
  printf("\ti25\t-\tinterleaved 2 of 5 (only digits)\n");
  printf("\t128raw\t-\traw code 128 (by Leonid A. Broukhis)\n");
  printf("\tcbr\t-\tCodebar (by Leonid A. Broukhis)\n");
  printf("\tmsi\t-\tMSI (by Leonid A. Broukhis)\n");
  printf("\tpls\t-\tPlessey (by Leonid A. Broukhis)\n");
  printf("\t93\t-\tcode93 (by Nathan D. Holmes)\n");
  exit(3);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeeb(%rip),%rdi
call   1030 <printf@plt>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd0(%rip),%rdi
call   1030 <printf@plt>
lea    0xffb(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ac(%rip),%rdi
call   1030 <printf@plt>
lea    0x103c(%rip),%rdi
call   1030 <printf@plt>
lea    0x103c(%rip),%rdi
call   1030 <printf@plt>
lea    0x103e(%rip),%rdi
call   1030 <printf@plt>
lea    0x103e(%rip),%rdi
call   1030 <printf@plt>
lea    0x104e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1066(%rip),%rdi
call   1030 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a0(%rip),%rdi
call   1030 <printf@plt>
lea    0x10bb(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d8(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1118(%rip),%rdi
call   1030 <printf@plt>
lea    0x1130(%rip),%rdi
call   1030 <printf@plt>
lea    0x114c(%rip),%rdi
call   1030 <printf@plt>
mov    $0x3,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
lea    0xedd(%rip),%rdi
call   1040 <puts@plt>
lea    0xef0(%rip),%rdi
call   1040 <puts@plt>
lea    0xf10(%rip),%rdi
call   1040 <puts@plt>
lea    0xf63(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8e(%rip),%rdi
call   1040 <puts@plt>
lea    0xfbd(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe7(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1029(%rip),%rdi
call   1040 <puts@plt>
lea    0x1028(%rip),%rdi
call   1040 <puts@plt>
lea    0x1029(%rip),%rdi
call   1040 <puts@plt>
lea    0x1028(%rip),%rdi
call   1040 <puts@plt>
lea    0x1037(%rip),%rdi
call   1040 <puts@plt>
lea    0x104e(%rip),%rdi
call   1040 <puts@plt>
lea    0x1068(%rip),%rdi
call   1040 <puts@plt>
lea    0x1086(%rip),%rdi
call   1040 <puts@plt>
lea    0x10a0(%rip),%rdi
call   1040 <puts@plt>
lea    0x10bc(%rip),%rdi
call   1040 <puts@plt>
lea    0x10df(%rip),%rdi
call   1040 <puts@plt>
lea    0x10fa(%rip),%rdi
call   1040 <puts@plt>
lea    0x1111(%rip),%rdi
call   1040 <puts@plt>
lea    0x112c(%rip),%rdi
call   1040 <puts@plt>
mov    $0x3,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [34 x i8] c"convert text to binary barcodes.\0A\00"
@.str.1 = [32 x i8] c"\09 -h, --help\09\09show this usage.\0A\00"
@.str.2 = [45 x i8] c"\09 -c, --checksum\09\09add checksum to barcodes.\0A\00"
@.str.3 = [96 x i8] c"\09 -e, --encoding <char*>\09set the encoding. Standard is code39. See ENCODINGS for valid inputs.\0A\00"
@.str.4 = [56 x i8] c"\09 -b, --bar <char>\09character that represents the bars.\0A\00"
@.str.5 = [60 x i8] c"\09 -s, --space <char>\09character that represents the spaces.\0A\00"
@.str.6 = [55 x i8] c"\09 -w, --width <int>\09width that represents an element.\0A\00"
@.str.7 = [89 x i8] c"\09 -d, --debug <int>\09sets the debug level (ERROR = 0; WARNING = 1; DEBUG = 2; INFO = 3).\0A\00"
@.str.8 = [2 x i8] c"\0A\00"
@.str.9 = [12 x i8] c"encodings:\0A\00"
@.str.10 = [14 x i8] c"\0939\09-\09code39\0A\00"
@.str.11 = [12 x i8] c"\09ean\09-\09ean\0A\00"
@.str.12 = [28 x i8] c"\09upc\09-\09upc == 12-digit ean\0A\00"
@.str.13 = [36 x i8] c"\09isbn\09-\09isbn numbers (still EAN13)\0A\00"
@.str.14 = [39 x i8] c"\09128\09-\09code128 (a,b,c: autoselection)\0A\00"
@.str.15 = [43 x i8] c"\09128c\09-\09code128 (compact form for digits)\0A\00"
@.str.16 = [39 x i8] c"\09128b\09-\09code128, full printable ascii\0A\00"
@.str.17 = [41 x i8] c"\09i25\09-\09interleaved 2 of 5 (only digits)\0A\00"
@.str.18 = [48 x i8] c"\09128raw\09-\09raw code 128 (by Leonid A. Broukhis)\0A\00"
@.str.19 = [40 x i8] c"\09cbr\09-\09Codebar (by Leonid A. Broukhis)\0A\00"
@.str.20 = [36 x i8] c"\09msi\09-\09MSI (by Leonid A. Broukhis)\0A\00"
@.str.21 = [40 x i8] c"\09pls\09-\09Plessey (by Leonid A. Broukhis)\0A\00"
@.str.22 = [36 x i8] c"\0993\09-\09code93 (by Nathan D. Holmes)\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 @exit(i32 3)
unreachable
}

LLVM IR (-O2):
@str = [33 x i8] c"convert text to binary barcodes.\00"
@str.23 = [31 x i8] c"\09 -h, --help\09\09show this usage.\00"
@str.24 = [44 x i8] c"\09 -c, --checksum\09\09add checksum to barcodes.\00"
@str.25 = [95 x i8] c"\09 -e, --encoding <char*>\09set the encoding. Standard is code39. See ENCODINGS for valid inputs.\00"
@str.26 = [55 x i8] c"\09 -b, --bar <char>\09character that represents the bars.\00"
@str.27 = [59 x i8] c"\09 -s, --space <char>\09character that represents the spaces.\00"
@str.28 = [54 x i8] c"\09 -w, --width <int>\09width that represents an element.\00"
@str.29 = [88 x i8] c"\09 -d, --debug <int>\09sets the debug level (ERROR = 0; WARNING = 1; DEBUG = 2; INFO = 3).\00"
@str.30 = [11 x i8] c"encodings:\00"
@str.31 = [13 x i8] c"\0939\09-\09code39\00"
@str.32 = [11 x i8] c"\09ean\09-\09ean\00"
@str.33 = [27 x i8] c"\09upc\09-\09upc == 12-digit ean\00"
@str.34 = [35 x i8] c"\09isbn\09-\09isbn numbers (still EAN13)\00"
@str.35 = [38 x i8] c"\09128\09-\09code128 (a,b,c: autoselection)\00"
@str.36 = [42 x i8] c"\09128c\09-\09code128 (compact form for digits)\00"
@str.37 = [38 x i8] c"\09128b\09-\09code128, full printable ascii\00"
@str.38 = [40 x i8] c"\09i25\09-\09interleaved 2 of 5 (only digits)\00"
@str.39 = [47 x i8] c"\09128raw\09-\09raw code 128 (by Leonid A. Broukhis)\00"
@str.40 = [39 x i8] c"\09cbr\09-\09Codebar (by Leonid A. Broukhis)\00"
@str.41 = [35 x i8] c"\09msi\09-\09MSI (by Leonid A. Broukhis)\00"
@str.42 = [39 x i8] c"\09pls\09-\09Plessey (by Leonid A. Broukhis)\00"
@str.43 = [35 x i8] c"\0993\09-\09code93 (by Nathan D. Holmes)\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.23, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.24, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @str.25, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.26, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.27, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.28, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([88 x i8], [88 x i8]* @str.29, i64 0, i64 0))
%9 = tail call i32 @putchar(i32 10)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.30, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.31, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.32, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.33, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.34, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.35, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.36, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.37, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.38, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.39, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.40, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.41, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.42, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.43, i64 0, i64 0))
%24 = tail call i32 @exit(i32 3)
unreachable
}