#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 const *);
void print_usage(const char *prog) {
  printf("%s init name -u manifest [-b branch] [-g groups] [--mirror] [-j "
         "threads]\n",
         prog);
  printf("%s sync [-f] [-b branch] [-g groups] [-j threads]\n", prog);
  printf("%s snapshot name [-g groups]\n", prog);
  printf("%s list [-g groups]\n", prog);
  printf("%s forall  [-g groups] [-p] -c command\n", prog);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf13(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf44(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf49(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xf44(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xf53(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
lea    0xf59(%rip),%rdi
mov    %rbx,%rsi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [74 x i8] c"%s init name -u manifest [-b branch] [-g groups] [--mirror] [-j threads]\0A\00"
@.str.1 = [51 x i8] c"%s sync [-f] [-b branch] [-g groups] [-j threads]\0A\00"
@.str.2 = [30 x i8] c"%s snapshot name [-g groups]\0A\00"
@.str.3 = [21 x i8] c"%s list [-g groups]\0A\00"
@.str.4 = [40 x i8] c"%s forall [-g groups] [-p] -c command\0A\00"
define void @print_usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = load i8*, i8** %2
%6 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%7 = load i8*, i8** %2
%8 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i8* %7)
%9 = load i8*, i8** %2
%10 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8* %9)
%11 = load i8*, i8** %2
%12 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i8* %11)
ret void
}

LLVM IR (-O2):
@.str = [74 x i8] c"%s init name -u manifest [-b branch] [-g groups] [--mirror] [-j threads]\0A\00"
@.str.1 = [51 x i8] c"%s sync [-f] [-b branch] [-g groups] [-j threads]\0A\00"
@.str.2 = [30 x i8] c"%s snapshot name [-g groups]\0A\00"
@.str.3 = [21 x i8] c"%s list [-g groups]\0A\00"
@.str.4 = [40 x i8] c"%s forall [-g groups] [-p] -c command\0A\00"
define void @print_usage(i8* %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8* %0)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0), i8* %0)
ret void
}