#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 /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char const *);
void usage(const char *appli) {
  printf("%s have to be started with the address of the XellIP and the IP and "
         "the port where the videosupervision is sent\n",
         appli);
  printf("example: %s \"192.168.49.251\" \"192.168.49.5\" 10000 play will ask "
         "192.168.49.251 to send the video on 192.168.49.5:10000\n",
         appli);
  printf("example: %s \"192.168.49.251\" \"192.168.49.5\" 10000 stop will ask "
         "192.168.49.251 to stop sending the video on 192.168.49.5:10000\n",
         appli);
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xec9(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf2a(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf92(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xf37(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xfa0(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [113 x i8] c"%s have to be started with the address of the XellIP and the IP and the port where the videosupervision is sent\0A\00"
@.str.1 = [120 x i8] c"example: %s \22192.168.49.251\22 \22192.168.49.5\22 10000 play will ask 192.168.49.251 to send the video on 192.168.49.5:10000\0A\00"
@.str.2 = [128 x i8] c"example: %s \22192.168.49.251\22 \22192.168.49.5\22 10000 stop will ask 192.168.49.251 to stop sending the video on 192.168.49.5:10000\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([113 x i8], [113 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = load i8*, i8** %2
%6 = call i32 @printf(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%7 = load i8*, i8** %2
%8 = call i32 @printf(i8* getelementptr inbounds ([128 x i8], [128 x i8]* @.str.2, i64 0, i64 0), i8* %7)
%9 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [113 x i8] c"%s have to be started with the address of the XellIP and the IP and the port where the videosupervision is sent\0A\00"
@.str.1 = [120 x i8] c"example: %s \22192.168.49.251\22 \22192.168.49.5\22 10000 play will ask 192.168.49.251 to send the video on 192.168.49.5:10000\0A\00"
@.str.2 = [128 x i8] c"example: %s \22192.168.49.251\22 \22192.168.49.5\22 10000 stop will ask 192.168.49.251 to stop sending the video on 192.168.49.5:10000\0A\00"
define void @usage(i8* %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([113 x i8], [113 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([128 x i8], [128 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%5 = tail call i32 @exit(i32 0)
unreachable
}