#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 print_help(char *program_name) {
  printf("\nHelp\nTo cluster a graph into a given number of clusters:\n %s "
         "[options] graph_file number_of_clusters\n",
         program_name);
  printf(" options: -o ncut|rassoc\n");
  printf(" \t\t ncut --- normalized cut (default)\n\t\t rassoc --- ratio "
         "association\n");
  printf("          -l number_of_local_search_steps (default is 0)\n");
  printf(
      "          -b use only boundary points (default is to use all points)\n");
  printf("\nTo compute objective function value for a given clustering:\n %s "
         "[options] -e clustering_file graph_file\n\n",
         program_name);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf32(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xfd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf96(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdd(%rip),%rdi
call   1030 <puts@plt>
lea    0x100a(%rip),%rdi
call   1030 <puts@plt>
lea    0xefb(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [103 x i8] c"\0AHelp\0ATo cluster a graph into a given number of clusters:\0A %s [options] graph_file number_of_clusters\0A\00"
@.str.1 = [26 x i8] c" options: -o ncut|rassoc\0A\00"
@.str.2 = [71 x i8] c" \09\09 ncut --- normalized cut (default)\0A\09\09 rassoc --- ratio association\0A\00"
@.str.3 = [58 x i8] c" -l number_of_local_search_steps (default is 0)\0A\00"
@.str.4 = [70 x i8] c" -b use only boundary points (default is to use all points)\0A\00"
@.str.5 = [107 x i8] c"\0ATo compute objective function value for a given clustering:\0A %s [options] -e clustering_file graph_file\0A\0A\00"
define void @print_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0))
%9 = load i8*, i8** %2
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.5, i64 0, i64 0), i8* %9)
ret void
}

LLVM IR (-O2):
@.str = [103 x i8] c"\0AHelp\0ATo cluster a graph into a given number of clusters:\0A %s [options] graph_file number_of_clusters\0A\00"
@.str.5 = [107 x i8] c"\0ATo compute objective function value for a given clustering:\0A %s [options] -e clustering_file graph_file\0A\0A\00"
@str = [25 x i8] c" options: -o ncut|rassoc\00"
@str.6 = [70 x i8] c" \09\09 ncut --- normalized cut (default)\0A\09\09 rassoc --- ratio association\00"
@str.7 = [57 x i8] c" -l number_of_local_search_steps (default is 0)\00"
@str.8 = [69 x i8] c" -b use only boundary points (default is to use all points)\00"
define void @print_help(i8* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([103 x i8], [103 x i8]* @.str, i64 0, i64 0), i8* %0)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.6, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.7, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.8, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([107 x i8], [107 x i8]* @.str.5, i64 0, i64 0), i8* %0)
ret void
}