#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*/ config_addvalue(char *, char *);
int /*<<< orphan*/ config_setdescription(char *, char *);
int /*<<< orphan*/ config_setlist(char *);
int /*<<< orphan*/ config_setvalue(char *, char *);
int /*<<< orphan*/ save_config(char *, char *);
void generate_config(char *file) {
  config_addvalue("config.listen_ports", "1523");
  config_setdescription(
      "config.listen_ports",
      "Ports to listen on, comma-separated. They can be as many as you want.\n"
      "These will accept connections only from localhost.");
  config_setlist("config.unsecure_listen_ports");
  config_setdescription(
      "config.unsecure_listen_ports",
      "And these allow you to connect from another computer.");
  config_setvalue("config.server.host", "imperian.com");
  config_setvalue("config.server.port", "23");
  config_setdescription("config.server", "MUD Server address");
  config_addvalue("config.ilua_modules.Mapper", "loader.lua");
  config_setvalue("config.ilua_modules.Mapper.dir", "mapper");
  config_setdescription(
      "config.ilua_modules",
      "ILua modules. Examples on how to set up a basic module at:\n"
      "http://imts.sf.net/");
  config_setlist("config.advanced");
  config_setdescription("config.advanced",
                        "Advanced. Skip these if you're not interested.");
  config_setvalue("config.advanced.proxy.type", "none");
  config_setvalue("config.advanced.proxy.host", "none");
  config_setvalue("config.advanced.proxy.port", "none");
  config_setdescription(
      "config.advanced.proxy",
      "Proxy, if relevant. It can be \"http\", \"socks5\", or \"none\".");
  config_setvalue("config.advanced.autologin.user", "none");
  config_setvalue("config.advanced.autologin.pass", "none");
  config_setdescription(
      "config.advanced.autologin",
      "Autologin through ATCP. Keep your password here at your own risk!");
  config_setvalue("config.advanced.atcp_login_as", "default");
  config_setdescription(
      "config.advanced.atcp_login_as",
      "Name to use on ATCP authentication. To disable ATCP, use \"none\".\n"
      "To login as \"IronMoon <version>\", use \"default\".\n"
      "Other examples: \"Nexus 3.0.1\", \"JavaClient 2.4.8\"");
  config_setvalue("config.advanced.enable_mccp", "yes");
  config_setdescription("config.advanced.enable_mccp",
                        "MUD Client Compression Protocol.");
  config_setvalue("config.advanced.default_mxp_mode", "open");
  config_setdescription(
      "config.advanced.default_mxp_mode",
      "MUD eXtension Protocol. It can be \"disabled\", \"locked\", \"open\", "
      "or \"secure\".\n"
      "Read the MXP specifications on www.zuggsoft.com for more info.");
  config_setvalue("config.advanced.strip_telnet_ga", "no");
  config_setdescription("config.advanced.strip_telnet_ga",
                        "Telnet Go-Ahead sequence. Some clients can't live "
                        "with it, some can't without it.");
  config_setdescription("config", "IronMoon configuration file.\n"
                                  " \n"
                                  "If there's something you don't understand "
                                  "here, just leave it as it is.");
  save_config("config", file);
}


x86 assembly (clang, -O0):
<generate_config>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xe9d(%rip),%rdi
lea    0xeaa(%rip),%rsi
call   1050 <config_addvalue@plt>
lea    0xe8a(%rip),%rdi
lea    0xe9c(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xf09(%rip),%rdi
call   1040 <config_setlist@plt>
lea    0xefd(%rip),%rdi
lea    0xf13(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xf3d(%rip),%rdi
lea    0xf49(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xf4a(%rip),%rdi
lea    0xe54(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xf4a(%rip),%rdi
lea    0xf51(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xf58(%rip),%rdi
lea    0xf6c(%rip),%rsi
call   1050 <config_addvalue@plt>
lea    0xf6b(%rip),%rdi
lea    0xf83(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xf7e(%rip),%rdi
lea    0xf8b(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xfce(%rip),%rdi
call   1040 <config_setlist@plt>
lea    0xfc2(%rip),%rdi
lea    0xfcb(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xfee(%rip),%rdi
lea    0x1002(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xffb(%rip),%rdi
lea    0xfef(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x1003(%rip),%rdi
lea    0xfdc(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x100b(%rip),%rdi
lea    0x101a(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x1049(%rip),%rdi
lea    0xfb6(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x1055(%rip),%rdi
lea    0xfa3(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x1061(%rip),%rdi
lea    0x1074(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x10aa(%rip),%rdi
lea    0x10c1(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x1097(%rip),%rdi
lea    0x10b6(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x114e(%rip),%rdi
lea    0x1163(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x113b(%rip),%rdi
lea    0x1154(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x1169(%rip),%rdi
lea    0x1183(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x1156(%rip),%rdi
lea    0x1175(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x11f5(%rip),%rdi
lea    0x120e(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0x11e2(%rip),%rdi
lea    0x11fe(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x1244(%rip),%rdi
lea    0x1244(%rip),%rsi
call   1030 <config_setdescription@plt>
mov    -0x8(%rbp),%rsi
lea    0x122d(%rip),%rdi
call   1060 <save_config@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<generate_config>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%r14
lea    0xea2(%rip),%rbx
lea    0xeaf(%rip),%rsi
mov    %rbx,%rdi
call   1050 <config_addvalue@plt>
lea    0xea5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0xf0f(%rip),%rbx
mov    %rbx,%rdi
call   1040 <config_setlist@plt>
lea    0xf1d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0xf44(%rip),%rdi
lea    0xf50(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xf51(%rip),%rdi
lea    0xe5b(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xf51(%rip),%rdi
lea    0xf58(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xf5f(%rip),%rdi
lea    0xf73(%rip),%rsi
call   1050 <config_addvalue@plt>
lea    0xf72(%rip),%rdi
lea    0xf8a(%rip),%rsi
call   1070 <config_setvalue@plt>
lea    0xf85(%rip),%rdi
lea    0xf92(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0xfd5(%rip),%rbx
mov    %rbx,%rdi
call   1040 <config_setlist@plt>
lea    0xfd6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0xff6(%rip),%rdi
lea    0x100a(%rip),%rbx
mov    %rbx,%rsi
call   1070 <config_setvalue@plt>
lea    0x1000(%rip),%rdi
mov    %rbx,%rsi
call   1070 <config_setvalue@plt>
lea    0x100c(%rip),%rdi
mov    %rbx,%rsi
call   1070 <config_setvalue@plt>
lea    0x1018(%rip),%rdi
lea    0x1027(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x1056(%rip),%rdi
mov    %rbx,%rsi
call   1070 <config_setvalue@plt>
lea    0x1066(%rip),%rdi
mov    %rbx,%rsi
call   1070 <config_setvalue@plt>
lea    0x1076(%rip),%rdi
lea    0x1089(%rip),%rsi
call   1030 <config_setdescription@plt>
lea    0x10bf(%rip),%rbx
lea    0x10d6(%rip),%rsi
mov    %rbx,%rdi
call   1070 <config_setvalue@plt>
lea    0x10cf(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0x1164(%rip),%rbx
lea    0x1179(%rip),%rsi
mov    %rbx,%rdi
call   1070 <config_setvalue@plt>
lea    0x116e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0x1180(%rip),%rbx
lea    0x119a(%rip),%rsi
mov    %rbx,%rdi
call   1070 <config_setvalue@plt>
lea    0x1190(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0x120d(%rip),%rbx
lea    0x1226(%rip),%rsi
mov    %rbx,%rdi
call   1070 <config_setvalue@plt>
lea    0x121a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
lea    0x125d(%rip),%rbx
lea    0x125d(%rip),%rsi
mov    %rbx,%rdi
call   1030 <config_setdescription@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1060 <save_config@plt>

LLVM IR (-O0):
@.str = [20 x i8] c"config.listen_ports\00"
@.str.1 = [5 x i8] c"1523\00"
@.str.2 = [121 x i8] c"Ports to listen on, comma-separated. They can be as many as you want.\0AThese will accept connections only from localhost.\00"
@.str.3 = [29 x i8] c"config.unsecure_listen_ports\00"
@.str.4 = [54 x i8] c"And these allow you to connect from another computer.\00"
@.str.5 = [19 x i8] c"config.server.host\00"
@.str.6 = [13 x i8] c"imperian.com\00"
@.str.7 = [19 x i8] c"config.server.port\00"
@.str.8 = [3 x i8] c"23\00"
@.str.9 = [14 x i8] c"config.server\00"
@.str.10 = [19 x i8] c"MUD Server address\00"
@.str.11 = [27 x i8] c"config.ilua_modules.Mapper\00"
@.str.12 = [11 x i8] c"loader.lua\00"
@.str.13 = [31 x i8] c"config.ilua_modules.Mapper.dir\00"
@.str.14 = [7 x i8] c"mapper\00"
@.str.15 = [20 x i8] c"config.ilua_modules\00"
@.str.16 = [79 x i8] c"ILua modules. Examples on how to set up a basic module at:\0Ahttp://imts.sf.net/\00"
@.str.17 = [16 x i8] c"config.advanced\00"
@.str.18 = [47 x i8] c"Advanced. Skip these if you're not interested.\00"
@.str.19 = [27 x i8] c"config.advanced.proxy.type\00"
@.str.20 = [5 x i8] c"none\00"
@.str.21 = [27 x i8] c"config.advanced.proxy.host\00"
@.str.22 = [27 x i8] c"config.advanced.proxy.port\00"
@.str.23 = [22 x i8] c"config.advanced.proxy\00"
@.str.24 = [59 x i8] c"Proxy, if relevant. It can be \22http\22, \22socks5\22, or \22none\22.\00"
@.str.25 = [31 x i8] c"config.advanced.autologin.user\00"
@.str.26 = [31 x i8] c"config.advanced.autologin.pass\00"
@.str.27 = [26 x i8] c"config.advanced.autologin\00"
@.str.28 = [66 x i8] c"Autologin through ATCP. Keep your password here at your own risk!\00"
@.str.29 = [30 x i8] c"config.advanced.atcp_login_as\00"
@.str.30 = [8 x i8] c"default\00"
@.str.31 = [164 x i8] c"Name to use on ATCP authentication. To disable ATCP, use \22none\22.\0ATo login as \22IronMoon <version>\22, use \22default\22.\0AOther examples: \22Nexus 3.0.1\22, \22JavaClient 2.4.8\22\00"
@.str.32 = [28 x i8] c"config.advanced.enable_mccp\00"
@.str.33 = [4 x i8] c"yes\00"
@.str.34 = [33 x i8] c"MUD Client Compression Protocol.\00"
@.str.35 = [33 x i8] c"config.advanced.default_mxp_mode\00"
@.str.36 = [5 x i8] c"open\00"
@.str.37 = [140 x i8] c"MUD eXtension Protocol. It can be \22disabled\22, \22locked\22, \22open\22, or \22secure\22.\0ARead the MXP specifications on www.zuggsoft.com for more info.\00"
@.str.38 = [32 x i8] c"config.advanced.strip_telnet_ga\00"
@.str.39 = [3 x i8] c"no\00"
@.str.40 = [82 x i8] c"Telnet Go-Ahead sequence. Some clients can't live with it, some can't without it.\00"
@.str.41 = [7 x i8] c"config\00"
@.str.42 = [103 x i8] c"IronMoon configuration file.\0A \0AIf there's something you don't understand here, just leave it as it is.\00"
define void @generate_config(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 @config_addvalue(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @config_setdescription(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([121 x i8], [121 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @config_setlist(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @config_setdescription(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @config_setvalue(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @config_setvalue(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 @config_setdescription(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%10 = call i32 @config_addvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
%11 = call i32 @config_setvalue(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0))
%12 = call i32 @config_setdescription(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.16, i64 0, i64 0))
%13 = call i32 @config_setlist(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
%14 = call i32 @config_setdescription(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0))
%15 = call i32 @config_setvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%16 = call i32 @config_setvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%17 = call i32 @config_setvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%18 = call i32 @config_setdescription(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.24, i64 0, i64 0))
%19 = call i32 @config_setvalue(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%20 = call i32 @config_setvalue(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%21 = call i32 @config_setdescription(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.28, i64 0, i64 0))
%22 = call i32 @config_setvalue(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0))
%23 = call i32 @config_setdescription(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([164 x i8], [164 x i8]* @.str.31, i64 0, i64 0))
%24 = call i32 @config_setvalue(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.33, i64 0, i64 0))
%25 = call i32 @config_setdescription(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.34, i64 0, i64 0))
%26 = call i32 @config_setvalue(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0))
%27 = call i32 @config_setdescription(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.37, i64 0, i64 0))
%28 = call i32 @config_setvalue(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i64 0, i64 0))
%29 = call i32 @config_setdescription(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.40, i64 0, i64 0))
%30 = call i32 @config_setdescription(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.42, i64 0, i64 0))
%31 = load i8*, i8** %2
%32 = call i32 @save_config(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.41, i64 0, i64 0), i8* %31)
ret void
}

LLVM IR (-O2):
@.str = [20 x i8] c"config.listen_ports\00"
@.str.1 = [5 x i8] c"1523\00"
@.str.2 = [121 x i8] c"Ports to listen on, comma-separated. They can be as many as you want.\0AThese will accept connections only from localhost.\00"
@.str.3 = [29 x i8] c"config.unsecure_listen_ports\00"
@.str.4 = [54 x i8] c"And these allow you to connect from another computer.\00"
@.str.5 = [19 x i8] c"config.server.host\00"
@.str.6 = [13 x i8] c"imperian.com\00"
@.str.7 = [19 x i8] c"config.server.port\00"
@.str.8 = [3 x i8] c"23\00"
@.str.9 = [14 x i8] c"config.server\00"
@.str.10 = [19 x i8] c"MUD Server address\00"
@.str.11 = [27 x i8] c"config.ilua_modules.Mapper\00"
@.str.12 = [11 x i8] c"loader.lua\00"
@.str.13 = [31 x i8] c"config.ilua_modules.Mapper.dir\00"
@.str.14 = [7 x i8] c"mapper\00"
@.str.15 = [20 x i8] c"config.ilua_modules\00"
@.str.16 = [79 x i8] c"ILua modules. Examples on how to set up a basic module at:\0Ahttp://imts.sf.net/\00"
@.str.17 = [16 x i8] c"config.advanced\00"
@.str.18 = [47 x i8] c"Advanced. Skip these if you're not interested.\00"
@.str.19 = [27 x i8] c"config.advanced.proxy.type\00"
@.str.20 = [5 x i8] c"none\00"
@.str.21 = [27 x i8] c"config.advanced.proxy.host\00"
@.str.22 = [27 x i8] c"config.advanced.proxy.port\00"
@.str.23 = [22 x i8] c"config.advanced.proxy\00"
@.str.24 = [59 x i8] c"Proxy, if relevant. It can be \22http\22, \22socks5\22, or \22none\22.\00"
@.str.25 = [31 x i8] c"config.advanced.autologin.user\00"
@.str.26 = [31 x i8] c"config.advanced.autologin.pass\00"
@.str.27 = [26 x i8] c"config.advanced.autologin\00"
@.str.28 = [66 x i8] c"Autologin through ATCP. Keep your password here at your own risk!\00"
@.str.29 = [30 x i8] c"config.advanced.atcp_login_as\00"
@.str.30 = [8 x i8] c"default\00"
@.str.31 = [164 x i8] c"Name to use on ATCP authentication. To disable ATCP, use \22none\22.\0ATo login as \22IronMoon <version>\22, use \22default\22.\0AOther examples: \22Nexus 3.0.1\22, \22JavaClient 2.4.8\22\00"
@.str.32 = [28 x i8] c"config.advanced.enable_mccp\00"
@.str.33 = [4 x i8] c"yes\00"
@.str.34 = [33 x i8] c"MUD Client Compression Protocol.\00"
@.str.35 = [33 x i8] c"config.advanced.default_mxp_mode\00"
@.str.36 = [5 x i8] c"open\00"
@.str.37 = [140 x i8] c"MUD eXtension Protocol. It can be \22disabled\22, \22locked\22, \22open\22, or \22secure\22.\0ARead the MXP specifications on www.zuggsoft.com for more info.\00"
@.str.38 = [32 x i8] c"config.advanced.strip_telnet_ga\00"
@.str.39 = [3 x i8] c"no\00"
@.str.40 = [82 x i8] c"Telnet Go-Ahead sequence. Some clients can't live with it, some can't without it.\00"
@.str.41 = [7 x i8] c"config\00"
@.str.42 = [103 x i8] c"IronMoon configuration file.\0A \0AIf there's something you don't understand here, just leave it as it is.\00"
define void @generate_config(i8* %0) {
%2 = tail call i32 @config_addvalue(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([121 x i8], [121 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @config_setlist(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%7 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%8 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
%9 = tail call i32 @config_addvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0))
%10 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0))
%11 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.16, i64 0, i64 0))
%12 = tail call i32 @config_setlist(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0))
%13 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.18, i64 0, i64 0))
%14 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%15 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%16 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%17 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.24, i64 0, i64 0))
%18 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%19 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%20 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.28, i64 0, i64 0))
%21 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0))
%22 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([164 x i8], [164 x i8]* @.str.31, i64 0, i64 0))
%23 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.33, i64 0, i64 0))
%24 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.34, i64 0, i64 0))
%25 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.36, i64 0, i64 0))
%26 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.37, i64 0, i64 0))
%27 = tail call i32 @config_setvalue(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i64 0, i64 0))
%28 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.40, i64 0, i64 0))
%29 = tail call i32 @config_setdescription(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.42, i64 0, i64 0))
%30 = tail call i32 @save_config(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.41, i64 0, i64 0), i8* %0)
ret void
}