#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*/ fprintf(void *, char *, char *, char *);
void dump_options(void *fp) {
  fprintf(fp, "%s = %s\n", "webui", "./webui");
  fprintf(fp, "%s = %s\n", "complete_directory", "./downloads");
  fprintf(fp, "%s = %s\n", "incoming_directory", "./tmp");
  fprintf(fp, "%s = %s\n", "pid_file", "./download/uirc.pid");
  fprintf(fp, "%s = %s\n", "listening_port", "9999");
  fprintf(fp, "%s = %s\n", "encryption", "no");
  fprintf(fp, "%s = %s\n", "user_name", "darknet");
  fprintf(fp, "%s = %s\n", "log_level", "4");
  fprintf(fp, "%s = %s\n", "log_buffer_size", "1000");
}


x86 assembly (clang, -O0):
<dump_options>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
lea    0xedd(%rip),%rdx
lea    0xed4(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xebb(%rip),%rsi
lea    0xec5(%rip),%rdx
lea    0xed1(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe9d(%rip),%rsi
lea    0xec6(%rip),%rdx
lea    0xed2(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe7f(%rip),%rsi
lea    0xec1(%rip),%rdx
lea    0xec3(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe61(%rip),%rsi
lea    0xec0(%rip),%rdx
lea    0xec8(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe43(%rip),%rsi
lea    0xeb6(%rip),%rdx
lea    0xeba(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe25(%rip),%rsi
lea    0xea6(%rip),%rdx
lea    0xea9(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe07(%rip),%rsi
lea    0xe9a(%rip),%rdx
lea    0xe9d(%rip),%rcx
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xde9(%rip),%rsi
lea    0xe88(%rip),%rdx
lea    0xe91(%rip),%rcx
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_options>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee2(%rip),%r14
lea    0xee6(%rip),%rdx
lea    0xedd(%rip),%rcx
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xed6(%rip),%rdx
lea    0xee2(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xedc(%rip),%rdx
lea    0xee8(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xedc(%rip),%rdx
lea    0xede(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xee0(%rip),%rdx
lea    0xee8(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xedb(%rip),%rdx
lea    0xedf(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xed0(%rip),%rdx
lea    0xed3(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xec9(%rip),%rdx
lea    0xecc(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <fprintf@plt>
lea    0xebc(%rip),%rdx
lea    0xec5(%rip),%rcx
mov    %rbx,%rdi
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"%s = %s\0A\00"
@.str.1 = [6 x i8] c"webui\00"
@.str.2 = [8 x i8] c"./webui\00"
@.str.3 = [19 x i8] c"complete_directory\00"
@.str.4 = [12 x i8] c"./downloads\00"
@.str.5 = [19 x i8] c"incoming_directory\00"
@.str.6 = [6 x i8] c"./tmp\00"
@.str.7 = [9 x i8] c"pid_file\00"
@.str.8 = [20 x i8] c"./download/uirc.pid\00"
@.str.9 = [15 x i8] c"listening_port\00"
@.str.10 = [5 x i8] c"9999\00"
@.str.11 = [11 x i8] c"encryption\00"
@.str.12 = [3 x i8] c"no\00"
@.str.13 = [10 x i8] c"user_name\00"
@.str.14 = [8 x i8] c"darknet\00"
@.str.15 = [10 x i8] c"log_level\00"
@.str.16 = [2 x i8] c"4\00"
@.str.17 = [16 x i8] c"log_buffer_size\00"
@.str.18 = [5 x i8] c"1000\00"
define void @dump_options(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @fprintf(i8* %3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%5 = load i8*, i8** %2
%6 = call i32 @fprintf(i8* %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%7 = load i8*, i8** %2
%8 = call i32 @fprintf(i8* %7, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%9 = load i8*, i8** %2
%10 = call i32 @fprintf(i8* %9, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%11 = load i8*, i8** %2
%12 = call i32 @fprintf(i8* %11, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%13 = load i8*, i8** %2
%14 = call i32 @fprintf(i8* %13, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%15 = load i8*, i8** %2
%16 = call i32 @fprintf(i8* %15, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%17 = load i8*, i8** %2
%18 = call i32 @fprintf(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%19 = load i8*, i8** %2
%20 = call i32 @fprintf(i8* %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c"%s = %s\0A\00"
@.str.1 = [6 x i8] c"webui\00"
@.str.2 = [8 x i8] c"./webui\00"
@.str.3 = [19 x i8] c"complete_directory\00"
@.str.4 = [12 x i8] c"./downloads\00"
@.str.5 = [19 x i8] c"incoming_directory\00"
@.str.6 = [6 x i8] c"./tmp\00"
@.str.7 = [9 x i8] c"pid_file\00"
@.str.8 = [20 x i8] c"./download/uirc.pid\00"
@.str.9 = [15 x i8] c"listening_port\00"
@.str.10 = [5 x i8] c"9999\00"
@.str.11 = [11 x i8] c"encryption\00"
@.str.12 = [3 x i8] c"no\00"
@.str.13 = [10 x i8] c"user_name\00"
@.str.14 = [8 x i8] c"darknet\00"
@.str.15 = [10 x i8] c"log_level\00"
@.str.16 = [2 x i8] c"4\00"
@.str.17 = [16 x i8] c"log_buffer_size\00"
@.str.18 = [5 x i8] c"1000\00"
define void @dump_options(i8* nocapture %0) {
%2 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%5 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%7 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%8 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%9 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%10 = tail call i32 @fprintf(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
ret void
}