#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*/ auth_set_prefix(char *, char *);
int /*<<< orphan*/ chan_set_prefix(char *);
int /*<<< orphan*/ strcmp(char *, char *);
void isupport_unset(char *param) {
  if (!strcmp(param, "CHANTYPES"))
    chan_set_prefix("#&");
  else if (!strcmp(param, "PREFIX"))
    auth_set_prefix("ov", "@+");
}


x86 assembly (clang, -O0):
<isupport_unset>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xeb9(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1166 <isupport_unset+0x36>
lea    0xeae(%rip),%rdi
call   1040 <chan_set_prefix@plt>
jmp    1197 <isupport_unset+0x67>
mov    -0x8(%rbp),%rdi
lea    0xe9c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1192 <isupport_unset+0x62>
lea    0xe8e(%rip),%rdi
lea    0xe8a(%rip),%rsi
call   1030 <auth_set_prefix@plt>
jmp    1197 <isupport_unset+0x67>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<isupport_unset>:
push   %rbx
mov    %rdi,%rbx
lea    0xec5(%rip),%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1159 <isupport_unset+0x29>
lea    0xec2(%rip),%rsi
mov    %rbx,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1166 <isupport_unset+0x36>
pop    %rbx
ret
lea    0xeaa(%rip),%rdi
pop    %rbx
jmp    1040 <chan_set_prefix@plt>
lea    0xea7(%rip),%rdi
lea    0xea3(%rip),%rsi
pop    %rbx
jmp    1030 <auth_set_prefix@plt>

LLVM IR (-O0):
@.str = [10 x i8] c"CHANTYPES\00"
@.str.1 = [3 x i8] c"#&\00"
@.str.2 = [7 x i8] c"PREFIX\00"
@.str.3 = [3 x i8] c"ov\00"
@.str.4 = [3 x i8] c"@+\00"
define void @isupport_unset(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @strcmp(i8* %3, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @chan_set_prefix(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %15
8: ; preds = %1
%9 = load i8*, i8** %2
%10 = call i32 @strcmp(i8* %9, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %8
%13 = call i32 @auth_set_prefix(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %6
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"CHANTYPES\00"
@.str.1 = [3 x i8] c"#&\00"
@.str.2 = [7 x i8] c"PREFIX\00"
@.str.3 = [3 x i8] c"ov\00"
@.str.4 = [3 x i8] c"@+\00"
define void @isupport_unset(i8* nocapture %0) {
%2 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(10) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @chan_set_prefix(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %11
6: ; preds = %1
%7 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = tail call i32 @auth_set_prefix(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %11
11: ; preds = %6, %9, %4
ret void
}