#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*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
void print_usage() {
  fputs("Usage: ujoin SMALL LARGE [OPTION]*"
        "\n",
        stderr);
  fputs("    SMALL is a file used for lookup."
        "\n",
        stderr);
  fputs("    LARGE can be a stream, which tries to match the fields in SMALL."
        "\n",
        stderr);
  fputs("    -x  Nix the join field."
        "\n",
        stderr);
  fputs("    -l  Output from LARGE on the left."
        "\n",
        stderr);
  fputs("    -ws  Use any whitespace as the delimiter."
        "\n",
        stderr);
  fputs("    -d DELIM  Use a delimiter other than tab."
        "\n",
        stderr);
  fputs("    -p DFLT  Default record to use when it is empty."
        "\n",
        stderr);
  fputs("    -nomatch FILE  Put lines whose fields could not be matched here."
        "\n",
        stderr);
  fputs("    -dupmatch FILE  Put fields who got matched here."
        "\n",
        stderr);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%esi
lea    0xeeb(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e9b(%rip),%rax
mov    (%rax),%esi
lea    0xefc(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e86(%rip),%rax
mov    (%rax),%esi
lea    0xf2d(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%esi
lea    0xf35(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%esi
lea    0xf48(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%esi
lea    0xf62(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%esi
lea    0xf7c(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e1d(%rip),%rax
mov    (%rax),%esi
lea    0xf9d(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e08(%rip),%rax
mov    (%rax),%esi
lea    0xfce(%rip),%rdi
call   1030 <fputs@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%esi
lea    0xedf(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xef5(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf0d(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf45(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf54(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf6e(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xf8f(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfb0(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xfd8(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1010(%rip),%rdi
pop    %rbx
jmp    1030 <fputs@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"Usage: ujoin SMALL LARGE [OPTION]*\0A\00"
@stderr = global i32 0
@.str.1 = [38 x i8] c" SMALL is a file used for lookup.\0A\00"
@.str.2 = [70 x i8] c" LARGE can be a stream, which tries to match the fields in SMALL.\0A\00"
@.str.3 = [29 x i8] c" -x Nix the join field.\0A\00"
@.str.4 = [40 x i8] c" -l Output from LARGE on the left.\0A\00"
@.str.5 = [47 x i8] c" -ws Use any whitespace as the delimiter.\0A\00"
@.str.6 = [47 x i8] c" -d DELIM Use a delimiter other than tab.\0A\00"
@.str.7 = [54 x i8] c" -p DFLT Default record to use when it is empty.\0A\00"
@.str.8 = [70 x i8] c" -nomatch FILE Put lines whose fields could not be matched here.\0A\00"
@.str.9 = [54 x i8] c" -dupmatch FILE Put fields who got matched here.\0A\00"
define void @print_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fputs(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = call i32 @fputs(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @stderr
%6 = call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stderr
%8 = call i32 @fputs(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @stderr
%10 = call i32 @fputs(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stderr
%12 = call i32 @fputs(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stderr
%14 = call i32 @fputs(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @stderr
%16 = call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stderr
%18 = call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @stderr
%20 = call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.9, i64 0, i64 0), i32 %19)
ret void
}

LLVM IR (-O2):
@.str = [36 x i8] c"Usage: ujoin SMALL LARGE [OPTION]*\0A\00"
@stderr = global i32 0
@.str.1 = [38 x i8] c" SMALL is a file used for lookup.\0A\00"
@.str.2 = [70 x i8] c" LARGE can be a stream, which tries to match the fields in SMALL.\0A\00"
@.str.3 = [29 x i8] c" -x Nix the join field.\0A\00"
@.str.4 = [40 x i8] c" -l Output from LARGE on the left.\0A\00"
@.str.5 = [47 x i8] c" -ws Use any whitespace as the delimiter.\0A\00"
@.str.6 = [47 x i8] c" -d DELIM Use a delimiter other than tab.\0A\00"
@.str.7 = [54 x i8] c" -p DFLT Default record to use when it is empty.\0A\00"
@.str.8 = [70 x i8] c" -nomatch FILE Put lines whose fields could not be matched here.\0A\00"
@.str.9 = [54 x i8] c" -dupmatch FILE Put fields who got matched here.\0A\00"
define void @print_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fputs(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = tail call i32 @fputs(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @stderr
%6 = tail call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @stderr
%8 = tail call i32 @fputs(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @stderr
%10 = tail call i32 @fputs(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stderr
%12 = tail call i32 @fputs(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.5, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stderr
%14 = tail call i32 @fputs(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0), i32 %13)
%15 = load i32, i32* @stderr
%16 = tail call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stderr
%18 = tail call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.8, i64 0, i64 0), i32 %17)
%19 = load i32, i32* @stderr
%20 = tail call i32 @fputs(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.9, i64 0, i64 0), i32 %19)
ret void
}