#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 *);
int /*<<< orphan*/ puts(char *);
void print_help(void) {
  printf("Ident2 version %s, Copyright (C) 1999-2004 Michael Bacarella\n",
         "1.05-FINAL");
  puts(
      "usage: ident2 [options]\n"
      "options:\n"
      "\n"
      "these parameters apply to all incarnations of ident2\n"
      "\n"
      "	-h		this command line information\n"
      "	-u		shows example command lines\n"
      "	-v		show version information\n"
      "	-l		show licensing information\n"
      "	-a		force inetd mode\n"
      "	-d		force standalone daemon\n"
      "	-i		allow user defined ident replies\n"
      "	-y		file in user's homedir for replies\n"
      "	-n		don't reply if user has a ~/NOIDENT file\n"
      "	-o		clients timeout after this many secs\n"
      "	-s		don't try to change uid (ex: to nobody)\n"
      "	-r		always send a random reply, even to bad requests\n"
      "\n"
      "these parameters only apply to the daemon ident2\n"
      "\n"
      "	-m		accept no more than this many clients\n"
      "	-p		bind this port, instead of 'auth'\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xf0c(%rip),%rsi
call   1040 <printf@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xf0f(%rip),%rsi
call   1040 <printf@plt>
lea    0xf0e(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [62 x i8] c"Ident2 version %s, Copyright (C) 1999-2004 Michael Bacarella\0A\00"
@.str.1 = [11 x i8] c"1.05-FINAL\00"
@.str.2 = [668 x i8] c"usage: ident2 [options]\0Aoptions:\0A\0Athese parameters apply to all incarnations of ident2\0A\0A\09-h\09\09this command line information\0A\09-u\09\09shows example command lines\0A\09-v\09\09show version information\0A\09-l\09\09show licensing information\0A\09-a\09\09force inetd mode\0A\09-d\09\09force standalone daemon\0A\09-i\09\09allow user defined ident replies\0A\09-y\09\09file in user's homedir for replies\0A\09-n\09\09don't reply if user has a ~/NOIDENT file\0A\09-o\09\09clients timeout after this many secs\0A\09-s\09\09don't try to change uid (ex: to nobody)\0A\09-r\09\09always send a random reply, even to bad requests\0A\0Athese parameters only apply to the daemon ident2\0A\0A\09-m\09\09accept no more than this many clients\0A\09-p\09\09bind this port, instead of 'auth'\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([668 x i8], [668 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [62 x i8] c"Ident2 version %s, Copyright (C) 1999-2004 Michael Bacarella\0A\00"
@.str.1 = [11 x i8] c"1.05-FINAL\00"
@.str.2 = [668 x i8] c"usage: ident2 [options]\0Aoptions:\0A\0Athese parameters apply to all incarnations of ident2\0A\0A\09-h\09\09this command line information\0A\09-u\09\09shows example command lines\0A\09-v\09\09show version information\0A\09-l\09\09show licensing information\0A\09-a\09\09force inetd mode\0A\09-d\09\09force standalone daemon\0A\09-i\09\09allow user defined ident replies\0A\09-y\09\09file in user's homedir for replies\0A\09-n\09\09don't reply if user has a ~/NOIDENT file\0A\09-o\09\09clients timeout after this many secs\0A\09-s\09\09don't try to change uid (ex: to nobody)\0A\09-r\09\09always send a random reply, even to bad requests\0A\0Athese parameters only apply to the daemon ident2\0A\0A\09-m\09\09accept no more than this many clients\0A\09-p\09\09bind this port, instead of 'auth'\0A\00"
define void @print_help() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([668 x i8], [668 x i8]* @.str.2, i64 0, i64 0))
ret void
}