#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 printUsageThenExit() {
  printf("Usage:\n"
         "  ktool -L -k aws_key -i aws_key_id -r region -e endpoint [-t "
         "session_token]\n"
         "  ktool -D -k aws_key -i aws_key_id -r region -e endpoint [-t "
         "session_token]\n"
         "        -s stream_name\n"
         "  ktool -P -k aws_key -i aws_key_id -r region -e endpoint [-t "
         "session_token]\n"
         "        -s stream_name -p partition_key [-f filename] [-x text]\n\n"
         "  List Kinesis streams, describe a Kinesis stream or put data onto a "
         "Kinesis\n"
         "  stream from file and/or text on the command line. Provide a "
         "session_token\n"
         "  if using temporary AWS credentials. Specify a single -f or -x "
         "option to\n"
         "  make ktool to use the single record action 'PutRecord' otherwise\n"
         "  'PutRecords' will be used.\n\n");
  exit(1);
}


x86 assembly (clang, -O0):
<printUsageThenExit>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printUsageThenExit>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [651 x i8] c"Usage:\0A ktool -L -k aws_key -i aws_key_id -r region -e endpoint [-t session_token]\0A ktool -D -k aws_key -i aws_key_id -r region -e endpoint [-t session_token]\0A -s stream_name\0A ktool -P -k aws_key -i aws_key_id -r region -e endpoint [-t session_token]\0A -s stream_name -p partition_key [-f filename] [-x text]\0A\0A List Kinesis streams, describe a Kinesis stream or put data onto a Kinesis\0A stream from file and/or text on the command line. Provide a session_token\0A if using temporary AWS credentials. Specify a single -f or -x option to\0A make ktool to use the single record action 'PutRecord' otherwise\0A 'PutRecords' will be used.\0A\0A\00"
define void @printUsageThenExit() {
%1 = call i32 @printf(i8* getelementptr inbounds ([651 x i8], [651 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@str = [650 x i8] c"Usage:\0A ktool -L -k aws_key -i aws_key_id -r region -e endpoint [-t session_token]\0A ktool -D -k aws_key -i aws_key_id -r region -e endpoint [-t session_token]\0A -s stream_name\0A ktool -P -k aws_key -i aws_key_id -r region -e endpoint [-t session_token]\0A -s stream_name -p partition_key [-f filename] [-x text]\0A\0A List Kinesis streams, describe a Kinesis stream or put data onto a Kinesis\0A stream from file and/or text on the command line. Provide a session_token\0A if using temporary AWS credentials. Specify a single -f or -x option to\0A make ktool to use the single record action 'PutRecord' otherwise\0A 'PutRecords' will be used.\0A\00"
define void @printUsageThenExit() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([650 x i8], [650 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @exit(i32 1)
unreachable
}