#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 */
struct uriparams {
  int dummy;
};
struct templatevars {
  int dummy;
};

/* Variables and functions */
char *getParam(struct uriparams *, char *);
char *send_oscam_config_anticasc(struct templatevars *, struct uriparams *);
char *send_oscam_config_camd35(struct templatevars *, struct uriparams *);
char *send_oscam_config_camd35tcp(struct templatevars *, struct uriparams *);
char *send_oscam_config_cccam(struct templatevars *, struct uriparams *);
char *send_oscam_config_csp(struct templatevars *, struct uriparams *);
char *send_oscam_config_dvbapi(struct templatevars *, struct uriparams *);
char *send_oscam_config_global(struct templatevars *, struct uriparams *);
char *send_oscam_config_loadbalancer(struct templatevars *, struct uriparams *);
char *send_oscam_config_monitor(struct templatevars *, struct uriparams *);
char *send_oscam_config_newcamd(struct templatevars *, struct uriparams *);
char *send_oscam_config_radegast(struct templatevars *, struct uriparams *);
char *send_oscam_config_serial(struct templatevars *, struct uriparams *);
int /*<<< orphan*/ setActiveMenu(struct templatevars *, int);
int /*<<< orphan*/ strcmp(char *, char *);
char *send_oscam_config(struct templatevars *vars, struct uriparams *params) {
  setActiveMenu(vars, 1);
  char *part = getParam(params, "part");
  if (!strcmp(part, "monitor"))
    return send_oscam_config_monitor(vars, params);
  else if (!strcmp(part, "camd35"))
    return send_oscam_config_camd35(vars, params);
  else if (!strcmp(part, "camd35tcp"))
    return send_oscam_config_camd35tcp(vars, params);
  else if (!strcmp(part, "csp"))
    return send_oscam_config_csp(vars, params);
  else if (!strcmp(part, "newcamd"))
    return send_oscam_config_newcamd(vars, params);
  else if (!strcmp(part, "radegast"))
    return send_oscam_config_radegast(vars, params);
  else if (!strcmp(part, "cccam"))
    return send_oscam_config_cccam(vars, params);
  else if (!strcmp(part, "dvbapi"))
    return send_oscam_config_dvbapi(vars, params);
  else if (!strcmp(part, "anticasc"))
    return send_oscam_config_anticasc(vars, params);
  else if (!strcmp(part, "serial"))
    return send_oscam_config_serial(vars, params);
  else if (!strcmp(part, "loadbalancer"))
    return send_oscam_config_loadbalancer(vars, params);
  else
    return send_oscam_config_global(vars, params);
}


x86 assembly (clang, -O0):
<send_oscam_config>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    $0x1,%esi
call   10a0 <setActiveMenu@plt>
mov    -0x18(%rbp),%rdi
lea    0xde7(%rip),%rsi
call   10f0 <getParam@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xdd8(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    1251 <send_oscam_config+0x61>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1030 <send_oscam_config_monitor@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xdb1(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    1280 <send_oscam_config+0x90>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10d0 <send_oscam_config_camd35@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xd89(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    12af <send_oscam_config+0xbf>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1050 <send_oscam_config_camd35tcp@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xd64(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    12de <send_oscam_config+0xee>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1100 <send_oscam_config_csp@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xd39(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    130d <send_oscam_config+0x11d>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10e0 <send_oscam_config_newcamd@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xd12(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    133c <send_oscam_config+0x14c>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1070 <send_oscam_config_radegast@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xcec(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    136b <send_oscam_config+0x17b>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1060 <send_oscam_config_cccam@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xcc3(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    139a <send_oscam_config+0x1aa>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1110 <send_oscam_config_dvbapi@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xc9b(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    13c9 <send_oscam_config+0x1d9>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10c0 <send_oscam_config_anticasc@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xc75(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    13f8 <send_oscam_config+0x208>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1090 <send_oscam_config_serial@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x20(%rbp),%rdi
lea    0xc4d(%rip),%rsi
call   1080 <strcmp@plt>
cmp    $0x0,%eax
jne    1427 <send_oscam_config+0x237>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   1040 <send_oscam_config_loadbalancer@plt>
mov    %rax,-0x8(%rbp)
jmp    1438 <send_oscam_config+0x248>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10b0 <send_oscam_config_global@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<send_oscam_config>:
push   %r15
push   %r14
push   %rbx
mov    %rsi,%r14
mov    %rdi,%r15
mov    $0x1,%esi
call   10a0 <setActiveMenu@plt>
lea    0xdf4(%rip),%rsi
mov    %r14,%rdi
call   10f0 <getParam@plt>
mov    %rax,%rbx
lea    0xde7(%rip),%rsi
mov    %rax,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1324 <send_oscam_config+0x134>
lea    0xdd8(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1334 <send_oscam_config+0x144>
lea    0xdc8(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1344 <send_oscam_config+0x154>
lea    0xdbb(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1354 <send_oscam_config+0x164>
lea    0xda8(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1364 <send_oscam_config+0x174>
lea    0xd99(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1374 <send_oscam_config+0x184>
lea    0xd8b(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1384 <send_oscam_config+0x194>
lea    0xd7a(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     1394 <send_oscam_config+0x1a4>
lea    0xd6a(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     13a4 <send_oscam_config+0x1b4>
lea    0xd5c(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %eax,%eax
je     13b4 <send_oscam_config+0x1c4>
lea    0xd4c(%rip),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
mov    %r15,%rdi
mov    %r14,%rsi
test   %eax,%eax
je     13c4 <send_oscam_config+0x1d4>
pop    %rbx
pop    %r14
pop    %r15
jmp    10b0 <send_oscam_config_global@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <send_oscam_config_monitor@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    10d0 <send_oscam_config_camd35@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1050 <send_oscam_config_camd35tcp@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1100 <send_oscam_config_csp@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    10e0 <send_oscam_config_newcamd@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1070 <send_oscam_config_radegast@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1060 <send_oscam_config_cccam@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1110 <send_oscam_config_dvbapi@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    10c0 <send_oscam_config_anticasc@plt>
mov    %r15,%rdi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1090 <send_oscam_config_serial@plt>
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <send_oscam_config_loadbalancer@plt>

LLVM IR (-O0):
%struct.templatevars = type { i32 }
%struct.uriparams = type { i32 }
@.str = [5 x i8] c"part\00"
@.str.1 = [8 x i8] c"monitor\00"
@.str.2 = [7 x i8] c"camd35\00"
@.str.3 = [10 x i8] c"camd35tcp\00"
@.str.4 = [4 x i8] c"csp\00"
@.str.5 = [8 x i8] c"newcamd\00"
@.str.6 = [9 x i8] c"radegast\00"
@.str.7 = [6 x i8] c"cccam\00"
@.str.8 = [7 x i8] c"dvbapi\00"
@.str.9 = [9 x i8] c"anticasc\00"
@.str.10 = [7 x i8] c"serial\00"
@.str.11 = [13 x i8] c"loadbalancer\00"
define i8* @send_oscam_config(%struct.templatevars* %0, %struct.uriparams* %1) {
%3 = alloca i8*
%4 = alloca %struct.templatevars*
%5 = alloca %struct.uriparams*
%6 = alloca i8*
store %struct.templatevars* %0, %struct.templatevars** %4
store %struct.uriparams* %1, %struct.uriparams** %5
%7 = load %struct.templatevars*, %struct.templatevars** %4
%8 = call i32 @setActiveMenu(%struct.templatevars* %7, i32 1)
%9 = load %struct.uriparams*, %struct.uriparams** %5
%10 = call i8* @getParam(%struct.uriparams* %9, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
store i8* %10, i8** %6
%11 = load i8*, i8** %6
%12 = call i32 @strcmp(i8* %11, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp ne i32 %12, 0
br i1 %13, label %18, label %14
14: ; preds = %2
%15 = load %struct.templatevars*, %struct.templatevars** %4
%16 = load %struct.uriparams*, %struct.uriparams** %5
%17 = call i8* @send_oscam_config_monitor(%struct.templatevars* %15, %struct.uriparams* %16)
store i8* %17, i8** %3
br label %102
18: ; preds = %2
%19 = load i8*, i8** %6
%20 = call i32 @strcmp(i8* %19, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%21 = icmp ne i32 %20, 0
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load %struct.templatevars*, %struct.templatevars** %4
%24 = load %struct.uriparams*, %struct.uriparams** %5
%25 = call i8* @send_oscam_config_camd35(%struct.templatevars* %23, %struct.uriparams* %24)
store i8* %25, i8** %3
br label %102
26: ; preds = %18
%27 = load i8*, i8** %6
%28 = call i32 @strcmp(i8* %27, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%29 = icmp ne i32 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load %struct.templatevars*, %struct.templatevars** %4
%32 = load %struct.uriparams*, %struct.uriparams** %5
%33 = call i8* @send_oscam_config_camd35tcp(%struct.templatevars* %31, %struct.uriparams* %32)
store i8* %33, i8** %3
br label %102
34: ; preds = %26
%35 = load i8*, i8** %6
%36 = call i32 @strcmp(i8* %35, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%37 = icmp ne i32 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load %struct.templatevars*, %struct.templatevars** %4
%40 = load %struct.uriparams*, %struct.uriparams** %5
%41 = call i8* @send_oscam_config_csp(%struct.templatevars* %39, %struct.uriparams* %40)
store i8* %41, i8** %3
br label %102
42: ; preds = %34
%43 = load i8*, i8** %6
%44 = call i32 @strcmp(i8* %43, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%45 = icmp ne i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load %struct.templatevars*, %struct.templatevars** %4
%48 = load %struct.uriparams*, %struct.uriparams** %5
%49 = call i8* @send_oscam_config_newcamd(%struct.templatevars* %47, %struct.uriparams* %48)
store i8* %49, i8** %3
br label %102
50: ; preds = %42
%51 = load i8*, i8** %6
%52 = call i32 @strcmp(i8* %51, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%53 = icmp ne i32 %52, 0
br i1 %53, label %58, label %54
54: ; preds = %50
%55 = load %struct.templatevars*, %struct.templatevars** %4
%56 = load %struct.uriparams*, %struct.uriparams** %5
%57 = call i8* @send_oscam_config_radegast(%struct.templatevars* %55, %struct.uriparams* %56)
store i8* %57, i8** %3
br label %102
58: ; preds = %50
%59 = load i8*, i8** %6
%60 = call i32 @strcmp(i8* %59, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%61 = icmp ne i32 %60, 0
br i1 %61, label %66, label %62
62: ; preds = %58
%63 = load %struct.templatevars*, %struct.templatevars** %4
%64 = load %struct.uriparams*, %struct.uriparams** %5
%65 = call i8* @send_oscam_config_cccam(%struct.templatevars* %63, %struct.uriparams* %64)
store i8* %65, i8** %3
br label %102
66: ; preds = %58
%67 = load i8*, i8** %6
%68 = call i32 @strcmp(i8* %67, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%69 = icmp ne i32 %68, 0
br i1 %69, label %74, label %70
70: ; preds = %66
%71 = load %struct.templatevars*, %struct.templatevars** %4
%72 = load %struct.uriparams*, %struct.uriparams** %5
%73 = call i8* @send_oscam_config_dvbapi(%struct.templatevars* %71, %struct.uriparams* %72)
store i8* %73, i8** %3
br label %102
74: ; preds = %66
%75 = load i8*, i8** %6
%76 = call i32 @strcmp(i8* %75, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%77 = icmp ne i32 %76, 0
br i1 %77, label %82, label %78
78: ; preds = %74
%79 = load %struct.templatevars*, %struct.templatevars** %4
%80 = load %struct.uriparams*, %struct.uriparams** %5
%81 = call i8* @send_oscam_config_anticasc(%struct.templatevars* %79, %struct.uriparams* %80)
store i8* %81, i8** %3
br label %102
82: ; preds = %74
%83 = load i8*, i8** %6
%84 = call i32 @strcmp(i8* %83, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%85 = icmp ne i32 %84, 0
br i1 %85, label %90, label %86
86: ; preds = %82
%87 = load %struct.templatevars*, %struct.templatevars** %4
%88 = load %struct.uriparams*, %struct.uriparams** %5
%89 = call i8* @send_oscam_config_serial(%struct.templatevars* %87, %struct.uriparams* %88)
store i8* %89, i8** %3
br label %102
90: ; preds = %82
%91 = load i8*, i8** %6
%92 = call i32 @strcmp(i8* %91, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%93 = icmp ne i32 %92, 0
br i1 %93, label %98, label %94
94: ; preds = %90
%95 = load %struct.templatevars*, %struct.templatevars** %4
%96 = load %struct.uriparams*, %struct.uriparams** %5
%97 = call i8* @send_oscam_config_loadbalancer(%struct.templatevars* %95, %struct.uriparams* %96)
store i8* %97, i8** %3
br label %102
98: ; preds = %90
%99 = load %struct.templatevars*, %struct.templatevars** %4
%100 = load %struct.uriparams*, %struct.uriparams** %5
%101 = call i8* @send_oscam_config_global(%struct.templatevars* %99, %struct.uriparams* %100)
store i8* %101, i8** %3
br label %102
102: ; preds = %98, %94, %86, %78, %70, %62, %54, %46, %38, %30, %22, %14
%103 = load i8*, i8** %3
ret i8* %103
}

LLVM IR (-O2):
%struct.templatevars = type { i32 }
%struct.uriparams = type { i32 }
@.str = [5 x i8] c"part\00"
@.str.1 = [8 x i8] c"monitor\00"
@.str.2 = [7 x i8] c"camd35\00"
@.str.3 = [10 x i8] c"camd35tcp\00"
@.str.4 = [4 x i8] c"csp\00"
@.str.5 = [8 x i8] c"newcamd\00"
@.str.6 = [9 x i8] c"radegast\00"
@.str.7 = [6 x i8] c"cccam\00"
@.str.8 = [7 x i8] c"dvbapi\00"
@.str.9 = [9 x i8] c"anticasc\00"
@.str.10 = [7 x i8] c"serial\00"
@.str.11 = [13 x i8] c"loadbalancer\00"
define i8* @send_oscam_config(%struct.templatevars* %0, %struct.uriparams* %1) {
%3 = tail call i32 @setActiveMenu(%struct.templatevars* %0, i32 1)
%4 = tail call i8* @getParam(%struct.uriparams* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(8) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = tail call i8* @send_oscam_config_monitor(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
9: ; preds = %2
%10 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = tail call i8* @send_oscam_config_camd35(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
14: ; preds = %9
%15 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(10) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = tail call i8* @send_oscam_config_camd35tcp(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
19: ; preds = %14
%20 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = tail call i8* @send_oscam_config_csp(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
24: ; preds = %19
%25 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(8) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = tail call i8* @send_oscam_config_newcamd(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
29: ; preds = %24
%30 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(9) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = tail call i8* @send_oscam_config_radegast(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
34: ; preds = %29
%35 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = tail call i8* @send_oscam_config_cccam(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
39: ; preds = %34
%40 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = tail call i8* @send_oscam_config_dvbapi(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
44: ; preds = %39
%45 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(9) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = tail call i8* @send_oscam_config_anticasc(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
49: ; preds = %44
%50 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = tail call i8* @send_oscam_config_serial(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
54: ; preds = %49
%55 = tail call i32 @strcmp(i8* dereferenceable(1) %4, i8* dereferenceable(13) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = tail call i8* @send_oscam_config_loadbalancer(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
59: ; preds = %54
%60 = tail call i8* @send_oscam_config_global(%struct.templatevars* %0, %struct.uriparams* %1)
br label %61
61: ; preds = %59, %57, %52, %47, %42, %37, %32, %27, %22, %17, %12, %7
%62 = phi i8* [ %60, %59 ], [ %58, %57 ], [ %53, %52 ], [ %48, %47 ], [ %43, %42 ], [ %38, %37 ], [ %33, %32 ], [ %28, %27 ], [ %23, %22 ], [ %18, %17 ], [ %13, %12 ], [ %8, %7 ]
ret i8* %62
}