#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
char *nvram_get(char *);
scalar_t__ strcmp(char *, char *);
void config_ppp_options(FILE *fp, char *mtu, char *usr, char *unit) {
  fprintf(fp, "no-replace-dns\n");
  fprintf(fp, "noipdefault\n");
  fprintf(fp, "hide-password\n");
  fprintf(fp, "noauth\n");
  if ((!strcmp(unit, "1") &&
       strcmp(nvram_get("wan_mulpppoe2_dns_assign"), "1")) ||
      (!strcmp(unit, "0") &&
       strcmp(nvram_get("wan_mulpppoe1_dns_assign"), "1")))
    fprintf(fp, "usepeerdns\n");
  fprintf(fp, "mru %s\n", mtu);
  fprintf(fp, "mtu %s\n", mtu);
  fprintf(fp, "noaccomp\n");
  fprintf(fp, "default-asyncmap\n");
  fprintf(fp, "plugin rp-pppoe.so %s\n", "brwan");
  if (strcmp(unit, "0") == 0 &&
      strcmp(nvram_get("wan_mulpppoe1_wan_assign"), "1") == 0)
    fprintf(fp, "%s:\n", nvram_get("wan_mulpppoe1_ip"));
  if (strcmp(unit, "1") == 0 &&
      strcmp(nvram_get("wan_mulpppoe2_wan_assign"), "1") == 0)
    fprintf(fp, "%s:\n", nvram_get("wan_mulpppoe2_ip"));
  fprintf(fp, "user %s\n", usr);
  fprintf(fp, "unit %s\n", unit);
}


x86 assembly (clang, -O0):
<config_ppp_options>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xead(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xeab(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xea6(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xea3(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xe99(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11cf <config_ppp_options+0x9f>
lea    0xe85(%rip),%rdi
call   1050 <nvram_get@plt>
mov    %rax,%rdi
lea    0xe74(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    120e <config_ppp_options+0xde>
mov    -0x20(%rbp),%rdi
lea    0xe75(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1220 <config_ppp_options+0xf0>
lea    0xe61(%rip),%rdi
call   1050 <nvram_get@plt>
mov    %rax,%rdi
lea    0xe35(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
je     1220 <config_ppp_options+0xf0>
mov    -0x8(%rbp),%rdi
lea    0xe51(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xe47(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xe39(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe2f(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe27(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe27(%rip),%rsi
lea    0xe37(%rip),%rdx
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xdbb(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12f1 <config_ppp_options+0x1c1>
lea    0xe15(%rip),%rdi
call   1050 <nvram_get@plt>
mov    %rax,%rdi
lea    0xd7b(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    12f1 <config_ppp_options+0x1c1>
mov    -0x8(%rbp),%rax
mov    %rax,-0x28(%rbp)
lea    0xe06(%rip),%rdi
call   1050 <nvram_get@plt>
mov    -0x28(%rbp),%rdi
mov    %rax,%rdx
lea    0xdee(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x20(%rbp),%rdi
lea    0xd38(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1359 <config_ppp_options+0x229>
lea    0xddc(%rip),%rdi
call   1050 <nvram_get@plt>
mov    %rax,%rdi
lea    0xd13(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1359 <config_ppp_options+0x229>
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
lea    0xdc8(%rip),%rdi
call   1050 <nvram_get@plt>
mov    -0x30(%rbp),%rdi
mov    %rax,%rdx
lea    0xd86(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xdb0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xda3(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<config_ppp_options>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rcx,%r14
mov    %rdx,%r15
mov    %rsi,%r12
mov    %rdi,%rbx
lea    0xea5(%rip),%rdi
mov    $0xf,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe9c(%rip),%rdi
mov    $0xc,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe90(%rip),%rdi
mov    $0xe,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe86(%rip),%rdi
mov    $0x7,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe75(%rip),%rsi
mov    %r14,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     1202 <config_ppp_options+0xc2>
lea    0xe7c(%rip),%rsi
mov    %r14,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
jne    123b <config_ppp_options+0xfb>
lea    0xe6a(%rip),%rdi
call   1060 <nvram_get@plt>
lea    0xe41(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
jne    1222 <config_ppp_options+0xe2>
jmp    123b <config_ppp_options+0xfb>
lea    0xe2d(%rip),%rdi
call   1060 <nvram_get@plt>
lea    0xe1f(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <config_ppp_options+0x8c>
lea    0xe41(%rip),%rdi
mov    $0xb,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe34(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
lea    0xe28(%rip),%rsi
mov    %rbx,%rdi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
lea    0xe1c(%rip),%rdi
mov    $0x9,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe0d(%rip),%rdi
mov    $0x11,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xe06(%rip),%rsi
lea    0xe16(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <fprintf@plt>
lea    0xd9b(%rip),%rsi
mov    %r14,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
jne    1301 <config_ppp_options+0x1c1>
lea    0xdf7(%rip),%rdi
call   1060 <nvram_get@plt>
lea    0xd60(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
jne    1301 <config_ppp_options+0x1c1>
lea    0xdf5(%rip),%rdi
call   1060 <nvram_get@plt>
lea    0xde4(%rip),%rsi
mov    %rbx,%rdi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
lea    0xd2c(%rip),%rsi
mov    %r14,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
jne    1355 <config_ppp_options+0x215>
lea    0xdd2(%rip),%rdi
call   1060 <nvram_get@plt>
lea    0xd0c(%rip),%rsi
mov    %rax,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
jne    1355 <config_ppp_options+0x215>
lea    0xdcb(%rip),%rdi
call   1060 <nvram_get@plt>
lea    0xd90(%rip),%rsi
mov    %rbx,%rdi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
lea    0xdbc(%rip),%rsi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
lea    0xdb1(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1040 <fprintf@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"no-replace-dns\0A\00"
@.str.1 = [13 x i8] c"noipdefault\0A\00"
@.str.2 = [15 x i8] c"hide-password\0A\00"
@.str.3 = [8 x i8] c"noauth\0A\00"
@.str.4 = [2 x i8] c"1\00"
@.str.5 = [25 x i8] c"wan_mulpppoe2_dns_assign\00"
@.str.6 = [2 x i8] c"0\00"
@.str.7 = [25 x i8] c"wan_mulpppoe1_dns_assign\00"
@.str.8 = [12 x i8] c"usepeerdns\0A\00"
@.str.9 = [8 x i8] c"mru %s\0A\00"
@.str.10 = [8 x i8] c"mtu %s\0A\00"
@.str.11 = [10 x i8] c"noaccomp\0A\00"
@.str.12 = [18 x i8] c"default-asyncmap\0A\00"
@.str.13 = [23 x i8] c"plugin rp-pppoe.so %s\0A\00"
@.str.14 = [6 x i8] c"brwan\00"
@.str.15 = [25 x i8] c"wan_mulpppoe1_wan_assign\00"
@.str.16 = [5 x i8] c"%s:\0A\00"
@.str.17 = [17 x i8] c"wan_mulpppoe1_ip\00"
@.str.18 = [25 x i8] c"wan_mulpppoe2_wan_assign\00"
@.str.19 = [17 x i8] c"wan_mulpppoe2_ip\00"
@.str.20 = [9 x i8] c"user %s\0A\00"
@.str.21 = [9 x i8] c"unit %s\0A\00"
define void @config_ppp_options(i32* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca i32*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
store i32* %0, i32** %5
store i8* %1, i8** %6
store i8* %2, i8** %7
store i8* %3, i8** %8
%9 = load i32*, i32** %5
%10 = call i32 (i32*, i8*, ...) @fprintf(i32* %9, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
%11 = load i32*, i32** %5
%12 = call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%13 = load i32*, i32** %5
%14 = call i32 (i32*, i8*, ...) @fprintf(i32* %13, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
%15 = load i32*, i32** %5
%16 = call i32 (i32*, i8*, ...) @fprintf(i32* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%17 = load i8*, i8** %8
%18 = call i64 @strcmp(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%19 = icmp ne i64 %18, 0
br i1 %19, label %24, label %20
20: ; preds = %4
%21 = call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%22 = call i64 @strcmp(i8* %21, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%23 = icmp ne i64 %22, 0
br i1 %23, label %32, label %24
24: ; preds = %20, %4
%25 = load i8*, i8** %8
%26 = call i64 @strcmp(i8* %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%27 = icmp ne i64 %26, 0
br i1 %27, label %35, label %28
28: ; preds = %24
%29 = call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %28, %20
%33 = load i32*, i32** %5
%34 = call i32 (i32*, i8*, ...) @fprintf(i32* %33, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
br label %35
35: ; preds = %32, %28, %24
%36 = load i32*, i32** %5
%37 = load i8*, i8** %6
%38 = call i32 (i32*, i8*, ...) @fprintf(i32* %36, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %37)
%39 = load i32*, i32** %5
%40 = load i8*, i8** %6
%41 = call i32 (i32*, i8*, ...) @fprintf(i32* %39, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8* %40)
%42 = load i32*, i32** %5
%43 = call i32 (i32*, i8*, ...) @fprintf(i32* %42, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%44 = load i32*, i32** %5
%45 = call i32 (i32*, i8*, ...) @fprintf(i32* %44, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0))
%46 = load i32*, i32** %5
%47 = call i32 (i32*, i8*, ...) @fprintf(i32* %46, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0))
%48 = load i8*, i8** %8
%49 = call i64 @strcmp(i8* %48, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %51, label %59
51: ; preds = %35
%52 = call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
%53 = call i64 @strcmp(i8* %52, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i32*, i32** %5
%57 = call i8* @nvram_get(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0))
%58 = call i32 (i32*, i8*, ...) @fprintf(i32* %56, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %57)
br label %59
59: ; preds = %55, %51, %35
%60 = load i8*, i8** %8
%61 = call i64 @strcmp(i8* %60, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %71
63: ; preds = %59
%64 = call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0))
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %71
67: ; preds = %63
%68 = load i32*, i32** %5
%69 = call i8* @nvram_get(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0))
%70 = call i32 (i32*, i8*, ...) @fprintf(i32* %68, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %69)
br label %71
71: ; preds = %67, %63, %59
%72 = load i32*, i32** %5
%73 = load i8*, i8** %7
%74 = call i32 (i32*, i8*, ...) @fprintf(i32* %72, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), i8* %73)
%75 = load i32*, i32** %5
%76 = load i8*, i8** %8
%77 = call i32 (i32*, i8*, ...) @fprintf(i32* %75, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8* %76)
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"no-replace-dns\0A\00"
@.str.1 = [13 x i8] c"noipdefault\0A\00"
@.str.2 = [15 x i8] c"hide-password\0A\00"
@.str.3 = [8 x i8] c"noauth\0A\00"
@.str.4 = [2 x i8] c"1\00"
@.str.5 = [25 x i8] c"wan_mulpppoe2_dns_assign\00"
@.str.6 = [2 x i8] c"0\00"
@.str.7 = [25 x i8] c"wan_mulpppoe1_dns_assign\00"
@.str.8 = [12 x i8] c"usepeerdns\0A\00"
@.str.9 = [8 x i8] c"mru %s\0A\00"
@.str.10 = [8 x i8] c"mtu %s\0A\00"
@.str.11 = [10 x i8] c"noaccomp\0A\00"
@.str.12 = [18 x i8] c"default-asyncmap\0A\00"
@.str.13 = [23 x i8] c"plugin rp-pppoe.so %s\0A\00"
@.str.14 = [6 x i8] c"brwan\00"
@.str.15 = [25 x i8] c"wan_mulpppoe1_wan_assign\00"
@.str.16 = [5 x i8] c"%s:\0A\00"
@.str.17 = [17 x i8] c"wan_mulpppoe1_ip\00"
@.str.18 = [25 x i8] c"wan_mulpppoe2_wan_assign\00"
@.str.19 = [17 x i8] c"wan_mulpppoe2_ip\00"
@.str.20 = [9 x i8] c"user %s\0A\00"
@.str.21 = [9 x i8] c"unit %s\0A\00"
define void @config_ppp_options(i32* nocapture %0, i8* %1, i8* %2, i8* %3) {
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i64 15, i64 1, i32* %0)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i64 12, i64 1, i32* %0)
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i64 14, i64 1, i32* %0)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i64 7, i64 1, i32* %0)
%9 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %4
%12 = tail call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%13 = tail call i64 @strcmp(i8* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %11, %4
%16 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = tail call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%20 = tail call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %18, %11
%23 = tail call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i64 11, i64 1, i32* %0)
br label %24
24: ; preds = %22, %18, %15
%25 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* %1)
%26 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8* %1)
%27 = tail call i64 @fwrite(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i64 9, i64 1, i32* %0)
%28 = tail call i64 @fwrite(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i64 17, i64 1, i32* %0)
%29 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0))
%30 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %24
%33 = tail call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0))
%34 = tail call i64 @strcmp(i8* %33, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = tail call i8* @nvram_get(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0))
%38 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %37)
br label %39
39: ; preds = %36, %32, %24
%40 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %49
42: ; preds = %39
%43 = tail call i8* @nvram_get(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0))
%44 = tail call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %42
%47 = tail call i8* @nvram_get(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0))
%48 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* %47)
br label %49
49: ; preds = %46, %42, %39
%50 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), i8* %2)
%51 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8* %3)
ret void
}