#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 printHelp(void) {
  printf("usage: silcat -h                print Help\n");
  printf("       silcat -s [port]         udp Server\n");
  printf("       silcat -c [port [host]]  udp Client\n");
  printf("       silcat -l [port [baud]]  seriaL\n");
  printf("       port: udp port number, or serial port\n");
  printf(
      "       host: udp host to connect to, e.g. 127.0.0.1. (For -c only)\n");
  printf("       baud: serial port speed\n");
  printf("       (With no arguments, will connect to MatrixPilot-SIL's "
         "telemetry port.)\n");
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
call   1030 <printf@plt>
lea    0xf83(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbb(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcf(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf26(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf60(%rip),%rdi
call   1030 <puts@plt>
lea    0xf81(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcb(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"usage: silcat -h print Help\0A\00"
@.str.1 = [44 x i8] c" silcat -s [port] udp Server\0A\00"
@.str.2 = [44 x i8] c" silcat -c [port [host]] udp Client\0A\00"
@.str.3 = [40 x i8] c" silcat -l [port [baud]] seriaL\0A\00"
@.str.4 = [46 x i8] c" port: udp port number, or serial port\0A\00"
@.str.5 = [68 x i8] c" host: udp host to connect to, e.g. 127.0.0.1. (For -c only)\0A\00"
@.str.6 = [32 x i8] c" baud: serial port speed\0A\00"
@.str.7 = [79 x i8] c" (With no arguments, will connect to MatrixPilot-SIL's telemetry port.)\0A\00"
define void @printHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [43 x i8] c"usage: silcat -h print Help\00"
@str.8 = [43 x i8] c" silcat -s [port] udp Server\00"
@str.9 = [43 x i8] c" silcat -c [port [host]] udp Client\00"
@str.10 = [39 x i8] c" silcat -l [port [baud]] seriaL\00"
@str.11 = [45 x i8] c" port: udp port number, or serial port\00"
@str.12 = [67 x i8] c" host: udp host to connect to, e.g. 127.0.0.1. (For -c only)\00"
@str.13 = [31 x i8] c" baud: serial port speed\00"
@str.14 = [78 x i8] c" (With no arguments, will connect to MatrixPilot-SIL's telemetry port.)\00"
define void @printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.10, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.12, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.13, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.14, i64 0, i64 0))
ret void
}