#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 *, char *, char *, int, int, int /*<<< orphan*/);
void printUsage(void) {
  printf("\n"
         "plx2csv version 0.1.1, Copyright (c) 2011 by Gerold Bausch\n"
         "  built on %s %s with gcc %d.%d.%d\n\n"
         "Plexon file to CSV file converter.\n"
         "Usage: plx2csv <inputfile> [channel] [options]\n\n"
         "Options:\n"
         "  -spikechannel : extract spike channel only (default)\n"
         "  -eventchannel : extract event channel only\n"
         "  -slowchannel  : extract slow channel only\n"
         "  -noheader     : create csv file without header information\n"
         "  -headerfile   : create separate file for header information\n",
         "Mar 16 2022", "00:59:46", 9, 4, 0);
}


x86 assembly (clang, -O0):
<printUsage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0x10a6(%rip),%rsi
lea    0x10ab(%rip),%rdx
mov    $0x9,%ecx
mov    $0x4,%r8d
xor    %r9d,%r9d
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printUsage>:
lea    0xee9(%rip),%rdi
lea    0x10aa(%rip),%rsi
lea    0x10af(%rip),%rdx
mov    $0x9,%ecx
mov    $0x4,%r8d
xor    %r9d,%r9d
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [456 x i8] c"\0Aplx2csv version 0.1.1, Copyright (c) 2011 by Gerold Bausch\0A built on %s %s with gcc %d.%d.%d\0A\0APlexon file to CSV file converter.\0AUsage: plx2csv <inputfile> [channel] [options]\0A\0AOptions:\0A -spikechannel : extract spike channel only (default)\0A -eventchannel : extract event channel only\0A -slowchannel : extract slow channel only\0A -noheader : create csv file without header information\0A -headerfile : create separate file for header information\0A\00"
@.str.1 = [12 x i8] c"Mar 16 2022\00"
@.str.2 = [9 x i8] c"00:59:46\00"
define void @printUsage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([456 x i8], [456 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 4, i32 0)
ret void
}

LLVM IR (-O2):
@.str = [456 x i8] c"\0Aplx2csv version 0.1.1, Copyright (c) 2011 by Gerold Bausch\0A built on %s %s with gcc %d.%d.%d\0A\0APlexon file to CSV file converter.\0AUsage: plx2csv <inputfile> [channel] [options]\0A\0AOptions:\0A -spikechannel : extract spike channel only (default)\0A -eventchannel : extract event channel only\0A -slowchannel : extract slow channel only\0A -noheader : create csv file without header information\0A -headerfile : create separate file for header information\0A\00"
@.str.1 = [12 x i8] c"Mar 16 2022\00"
@.str.2 = [9 x i8] c"00:59:46\00"
define void @printUsage() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([456 x i8], [456 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 4, i32 0)
ret void
}