#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 usage_hook() {
  printf("  -d, --delimiter <delim>           set the delimiter to be used "
         "in-between log fields\n");
  printf("                                    (defaults to character 0x%x)\n",
         30U);
  printf("  -f, --file <file>                 send log data to the file <file> "
         "(use `-' for stdout, which is the default)\n");
  printf("                                    <file> can be a format "
         "specification and supports conversion specifications as per "
         "strftime(3)\n");
}


x86 assembly (clang, -O0):
<usage_hook>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2f(%rip),%rdi
mov    $0x1e,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfc1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage_hook>:
push   %rax
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
mov    $0x1e,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf52(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb6(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [88 x i8] c" -d, --delimiter <delim> set the delimiter to be used in-between log fields\0A\00"
@.str.1 = [66 x i8] c" (defaults to character 0x%x)\0A\00"
@.str.2 = [113 x i8] c" -f, --file <file> send log data to the file <file> (use `-' for stdout, which is the default)\0A\00"
@.str.3 = [132 x i8] c" <file> can be a format specification and supports conversion specifications as per strftime(3)\0A\00"
define void @usage_hook() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i32 30)
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([113 x i8], [113 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([132 x i8], [132 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [66 x i8] c" (defaults to character 0x%x)\0A\00"
@str = [87 x i8] c" -d, --delimiter <delim> set the delimiter to be used in-between log fields\00"
@str.4 = [112 x i8] c" -f, --file <file> send log data to the file <file> (use `-' for stdout, which is the default)\00"
@str.5 = [131 x i8] c" <file> can be a format specification and supports conversion specifications as per strftime(3)\00"
define void @usage_hook() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @.str.1, i64 0, i64 0), i32 30)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([112 x i8], [112 x i8]* @str.4, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([131 x i8], [131 x i8]* @str.5, i64 0, i64 0))
ret void
}