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

/* Variables and functions */
int /*<<< orphan*/ isxdigit(int);
scalar_t__ memcmp(int *, char const *, int);
int /*<<< orphan*/ snprintf(char *, int, char *, int, int, int, ...);
int /*<<< orphan*/ writepsk(int /*<<< orphan*/ *, char *);
void testwifirsu(FILE *fhout, uint8_t essidlen, uint8_t *essid) {
  static int k1;
  static const char *wifirsu = "WiFiRSU_";
  static char essidtmp[64] = {};
  if (essidlen < 10)
    return;
  if (memcmp(essid, wifirsu, 8) != 0)
    return;
  if (essidlen == 10) {
    if ((!isxdigit(essid[8])) || (!isxdigit(essid[9])))
      return;
    for (k1 = 0; k1 < 0x10000; k1++) {
      snprintf(essidtmp, 64, "88%04x%c%c", k1, essid[8], essid[9]);
      writepsk(fhout, essidtmp);
    }
    return;
  }
  if (essidlen == 13) {
    if ((!isxdigit(essid[8])) || (!isxdigit(essid[9])) ||
        (!isxdigit(essid[10])) || (!isxdigit(essid[11])) ||
        (!isxdigit(essid[12])))
      return;
    for (k1 = 0; k1 < 0x10; k1++) {
      snprintf(essidtmp, 64, "88%x%c%c%c%c%c", k1, essid[8], essid[9],
               essid[10], essid[11], essid[12]);
      writepsk(fhout, essidtmp);
    }
    return;
  }
  return;
}


x86 assembly (clang, -O0):
<testwifirsu>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1162 <testwifirsu+0x22>
jmp    1343 <testwifirsu+0x203>
mov    -0x18(%rbp),%rdi
mov    0x2ed3(%rip),%rsi
mov    $0x8,%edx
call   1050 <memcmp@plt>
cmp    $0x0,%rax
je     1186 <testwifirsu+0x46>
jmp    1343 <testwifirsu+0x203>
cmpl   $0xa,-0xc(%rbp)
jne    1232 <testwifirsu+0xf2>
mov    -0x18(%rbp),%rax
mov    0x20(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
je     11ba <testwifirsu+0x7a>
mov    -0x18(%rbp),%rax
mov    0x24(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
jne    11bf <testwifirsu+0x7f>
jmp    1343 <testwifirsu+0x203>
movl   $0x0,0x2e97(%rip)
cmpl   $0x10000,0x2e8d(%rip)
jge    122d <testwifirsu+0xed>
mov    0x2e81(%rip),%ecx
mov    -0x18(%rbp),%rax
mov    0x20(%rax),%r8d
mov    -0x18(%rbp),%rax
mov    0x24(%rax),%r9d
lea    0x2e7a(%rip),%rdi
mov    $0x40,%esi
lea    0xe07(%rip),%rdx
mov    $0x0,%al
call   1030 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2e5c(%rip),%rsi
call   1040 <writepsk@plt>
mov    0x2e41(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2e38(%rip)
jmp    11c9 <testwifirsu+0x89>
jmp    1343 <testwifirsu+0x203>
cmpl   $0xd,-0xc(%rbp)
jne    133e <testwifirsu+0x1fe>
mov    -0x18(%rbp),%rax
mov    0x20(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
je     12a5 <testwifirsu+0x165>
mov    -0x18(%rbp),%rax
mov    0x24(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
je     12a5 <testwifirsu+0x165>
mov    -0x18(%rbp),%rax
mov    0x28(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
je     12a5 <testwifirsu+0x165>
mov    -0x18(%rbp),%rax
mov    0x2c(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
je     12a5 <testwifirsu+0x165>
mov    -0x18(%rbp),%rax
mov    0x30(%rax),%edi
call   1060 <isxdigit@plt>
cmp    $0x0,%eax
jne    12aa <testwifirsu+0x16a>
jmp    1343 <testwifirsu+0x203>
movl   $0x0,0x2dac(%rip)
cmpl   $0x10,0x2da5(%rip)
jge    1339 <testwifirsu+0x1f9>
mov    0x2d99(%rip),%ecx
mov    -0x18(%rbp),%rax
mov    0x20(%rax),%r8d
mov    -0x18(%rbp),%rax
mov    0x24(%rax),%r9d
mov    -0x18(%rbp),%rax
mov    0x28(%rax),%r11d
mov    -0x18(%rbp),%rax
mov    0x2c(%rax),%r10d
mov    -0x18(%rbp),%rax
mov    0x30(%rax),%eax
lea    0x2d7b(%rip),%rdi
mov    $0x40,%esi
lea    0xd13(%rip),%rdx
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
mov    $0x0,%al
call   1030 <snprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x2d50(%rip),%rsi
call   1040 <writepsk@plt>
mov    0x2d35(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2d2c(%rip)
jmp    12b4 <testwifirsu+0x174>
jmp    1343 <testwifirsu+0x203>
jmp    1343 <testwifirsu+0x203>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<testwifirsu>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
cmp    $0xa,%esi
jl     1171 <testwifirsu+0x31>
mov    %rdx,%rbx
mov    %esi,%ebp
mov    %rdi,%r14
lea    0xea1(%rip),%rsi
mov    %rdx,%rdi
mov    $0x8,%edx
call   1050 <memcmp@plt>
test   %rax,%rax
je     1180 <testwifirsu+0x40>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
cmp    $0xd,%ebp
je     1250 <testwifirsu+0x110>
cmp    $0xa,%ebp
jne    1171 <testwifirsu+0x31>
mov    0x20(%rbx),%ebp
mov    %ebp,%edi
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
mov    0x24(%rbx),%r15d
mov    %r15d,%edi
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
movl   $0x0,0x2e9a(%rip)
lea    0x2ea3(%rip),%r12
lea    0xe45(%rip),%rdx
mov    %r12,%rdi
mov    $0x40,%esi
xor    %ecx,%ecx
mov    %ebp,%r8d
mov    %r15d,%r9d
xor    %eax,%eax
call   1030 <snprintf@plt>
mov    %r14,%rdi
mov    %r12,%rsi
call   1040 <writepsk@plt>
mov    0x2e64(%rip),%eax
lea    0x1(%rax),%ecx
mov    %ecx,0x2e5b(%rip)
cmp    $0xfffe,%eax
jg     1171 <testwifirsu+0x31>
lea    0x2e59(%rip),%rbp
lea    0xdfb(%rip),%r15
xchg   %ax,%ax
mov    0x20(%rbx),%r8d
mov    0x24(%rbx),%r9d
mov    %rbp,%rdi
mov    $0x40,%esi
mov    %r15,%rdx
xor    %eax,%eax
call   1030 <snprintf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
call   1040 <writepsk@plt>
mov    0x2e15(%rip),%eax
lea    0x1(%rax),%ecx
mov    %ecx,0x2e0c(%rip)
cmp    $0xffff,%eax
jl     1210 <testwifirsu+0xd0>
jmp    1171 <testwifirsu+0x31>
mov    0x20(%rbx),%ebp
mov    %ebp,%edi
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
mov    0x24(%rbx),%r15d
mov    %r15d,%edi
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
mov    0x28(%rbx),%r12d
mov    %r12d,%edi
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
mov    0x2c(%rbx),%r13d
mov    %r13d,%edi
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
mov    0x30(%rbx),%edi
mov    %rdi,(%rsp)
call   1060 <isxdigit@plt>
test   %eax,%eax
je     1171 <testwifirsu+0x31>
movl   $0x0,0x2d94(%rip)
sub    $0x8,%rsp
lea    0x2d99(%rip),%rdi
lea    0xd46(%rip),%rdx
mov    $0x40,%esi
xor    %ecx,%ecx
mov    %ebp,%r8d
mov    %r15d,%r9d
xor    %eax,%eax
push   0x8(%rsp)
push   %r13
push   %r12
call   1030 <snprintf@plt>
add    $0x20,%rsp
mov    %r14,%rdi
lea    0x2d68(%rip),%rsi
call   1040 <writepsk@plt>
mov    0x2d4d(%rip),%eax
lea    0x1(%rax),%ecx
mov    %ecx,0x2d44(%rip)
cmp    $0xe,%eax
jg     1171 <testwifirsu+0x31>
lea    0x2d44(%rip),%r12
lea    0xcf1(%rip),%r15
mov    0x20(%rbx),%r8d
mov    0x24(%rbx),%r9d
mov    0x28(%rbx),%r10d
mov    0x2c(%rbx),%r11d
mov    0x30(%rbx),%ebp
sub    $0x8,%rsp
mov    %r12,%rdi
mov    $0x40,%esi
mov    %r15,%rdx
xor    %eax,%eax
push   %rbp
push   %r11
push   %r10
call   1030 <snprintf@plt>
add    $0x20,%rsp
mov    %r14,%rdi
mov    %r12,%rsi
call   1040 <writepsk@plt>
mov    0x2cea(%rip),%eax
lea    0x1(%rax),%ecx
mov    %ecx,0x2ce1(%rip)
cmp    $0xf,%eax
jl     1323 <testwifirsu+0x1e3>
jmp    1171 <testwifirsu+0x31>

LLVM IR (-O0):
@testwifirsu.k1 = internal global i32 0
@testwifirsu.wifirsu = internal global i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i32 0, i32 0)
@.str = [9 x i8] c"WiFiRSU_\00"
@testwifirsu.essidtmp = internal global [64 x i8] zeroinitializer
@.str.1 = [11 x i8] c"88%04x%c%c\00"
@.str.2 = [15 x i8] c"88%x%c%c%c%c%c\00"
define void @testwifirsu(i32* %0, i32 %1, i32* %2) {
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32*
store i32* %0, i32** %4
store i32 %1, i32* %5
store i32* %2, i32** %6
%7 = load i32, i32* %5
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %10
9: ; preds = %3
br label %114
10: ; preds = %3
%11 = load i32*, i32** %6
%12 = load i8*, i8** @testwifirsu.wifirsu
%13 = call i64 @memcmp(i32* %11, i8* %12, i32 8)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
br label %114
16: ; preds = %10
%17 = load i32, i32* %5
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %51
19: ; preds = %16
%20 = load i32*, i32** %6
%21 = getelementptr inbounds i32, i32* %20, i64 8
%22 = load i32, i32* %21
%23 = call i32 @isxdigit(i32 %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %19
%26 = load i32*, i32** %6
%27 = getelementptr inbounds i32, i32* %26, i64 9
%28 = load i32, i32* %27
%29 = call i32 @isxdigit(i32 %28)
%30 = icmp ne i32 %29, 0
br i1 %30, label %32, label %31
31: ; preds = %25, %19
br label %114
32: ; preds = %25
store i32 0, i32* @testwifirsu.k1
br label %33
33: ; preds = %47, %32
%34 = load i32, i32* @testwifirsu.k1
%35 = icmp slt i32 %34, 65536
br i1 %35, label %36, label %50
36: ; preds = %33
%37 = load i32, i32* @testwifirsu.k1
%38 = load i32*, i32** %6
%39 = getelementptr inbounds i32, i32* %38, i64 8
%40 = load i32, i32* %39
%41 = load i32*, i32** %6
%42 = getelementptr inbounds i32, i32* %41, i64 9
%43 = load i32, i32* %42
%44 = call i32 (i8*, i32, i8*, i32, i32, i32, ...) @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %37, i32 %40, i32 %43)
%45 = load i32*, i32** %4
%46 = call i32 @writepsk(i32* %45, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0))
br label %47
47: ; preds = %36
%48 = load i32, i32* @testwifirsu.k1
%49 = add nsw i32 %48, 1
store i32 %49, i32* @testwifirsu.k1
br label %33
50: ; preds = %33
br label %114
51: ; preds = %16
%52 = load i32, i32* %5
%53 = icmp eq i32 %52, 13
br i1 %53, label %54, label %113
54: ; preds = %51
%55 = load i32*, i32** %6
%56 = getelementptr inbounds i32, i32* %55, i64 8
%57 = load i32, i32* %56
%58 = call i32 @isxdigit(i32 %57)
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %84
60: ; preds = %54
%61 = load i32*, i32** %6
%62 = getelementptr inbounds i32, i32* %61, i64 9
%63 = load i32, i32* %62
%64 = call i32 @isxdigit(i32 %63)
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %84
66: ; preds = %60
%67 = load i32*, i32** %6
%68 = getelementptr inbounds i32, i32* %67, i64 10
%69 = load i32, i32* %68
%70 = call i32 @isxdigit(i32 %69)
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %84
72: ; preds = %66
%73 = load i32*, i32** %6
%74 = getelementptr inbounds i32, i32* %73, i64 11
%75 = load i32, i32* %74
%76 = call i32 @isxdigit(i32 %75)
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %84
78: ; preds = %72
%79 = load i32*, i32** %6
%80 = getelementptr inbounds i32, i32* %79, i64 12
%81 = load i32, i32* %80
%82 = call i32 @isxdigit(i32 %81)
%83 = icmp ne i32 %82, 0
br i1 %83, label %85, label %84
84: ; preds = %78, %72, %66, %60, %54
br label %114
85: ; preds = %78
store i32 0, i32* @testwifirsu.k1
br label %86
86: ; preds = %109, %85
%87 = load i32, i32* @testwifirsu.k1
%88 = icmp slt i32 %87, 16
br i1 %88, label %89, label %112
89: ; preds = %86
%90 = load i32, i32* @testwifirsu.k1
%91 = load i32*, i32** %6
%92 = getelementptr inbounds i32, i32* %91, i64 8
%93 = load i32, i32* %92
%94 = load i32*, i32** %6
%95 = getelementptr inbounds i32, i32* %94, i64 9
%96 = load i32, i32* %95
%97 = load i32*, i32** %6
%98 = getelementptr inbounds i32, i32* %97, i64 10
%99 = load i32, i32* %98
%100 = load i32*, i32** %6
%101 = getelementptr inbounds i32, i32* %100, i64 11
%102 = load i32, i32* %101
%103 = load i32*, i32** %6
%104 = getelementptr inbounds i32, i32* %103, i64 12
%105 = load i32, i32* %104
%106 = call i32 (i8*, i32, i8*, i32, i32, i32, ...) @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 %90, i32 %93, i32 %96, i32 %99, i32 %102, i32 %105)
%107 = load i32*, i32** %4
%108 = call i32 @writepsk(i32* %107, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0))
br label %109
109: ; preds = %89
%110 = load i32, i32* @testwifirsu.k1
%111 = add nsw i32 %110, 1
store i32 %111, i32* @testwifirsu.k1
br label %86
112: ; preds = %86
br label %114
113: ; preds = %51
br label %114
114: ; preds = %113, %112, %84, %50, %31, %15, %9
ret void
}

LLVM IR (-O2):
@testwifirsu.k1 = internal unnamed_addr global i32 0
@.str = [9 x i8] c"WiFiRSU_\00"
@testwifirsu.essidtmp = internal global [64 x i8] zeroinitializer
@.str.1 = [11 x i8] c"88%04x%c%c\00"
@.str.2 = [15 x i8] c"88%x%c%c%c%c%c\00"
define void @testwifirsu(i32* %0, i32 %1, i32* %2) {
%4 = icmp slt i32 %1, 10
br i1 %4, label %77, label %5
5: ; preds = %3
%6 = tail call i64 @memcmp(i32* %2, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 8)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %77
8: ; preds = %5
switch i32 %1, label %77 [
i32 10, label %9
i32 13, label %34
]
9: ; preds = %8
%10 = getelementptr inbounds i32, i32* %2, i64 8
%11 = load i32, i32* %10
%12 = tail call i32 @isxdigit(i32 %11)
%13 = icmp eq i32 %12, 0
br i1 %13, label %77, label %14
14: ; preds = %9
%15 = getelementptr inbounds i32, i32* %2, i64 9
%16 = load i32, i32* %15
%17 = tail call i32 @isxdigit(i32 %16)
%18 = icmp eq i32 %17, 0
br i1 %18, label %77, label %19
19: ; preds = %14
store i32 0, i32* @testwifirsu.k1
%20 = tail call i32 (i8*, i32, i8*, i32, i32, i32, ...) @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 %11, i32 %16)
%21 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0))
%22 = load i32, i32* @testwifirsu.k1
%23 = add nsw i32 %22, 1
store i32 %23, i32* @testwifirsu.k1
%24 = icmp slt i32 %22, 65535
br i1 %24, label %25, label %77
25: ; preds = %19, %25
%26 = phi i32 [ %32, %25 ], [ %23, %19 ]
%27 = load i32, i32* %10
%28 = load i32, i32* %15
%29 = tail call i32 (i8*, i32, i8*, i32, i32, i32, ...) @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %26, i32 %27, i32 %28)
%30 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0))
%31 = load i32, i32* @testwifirsu.k1
%32 = add nsw i32 %31, 1
store i32 %32, i32* @testwifirsu.k1
%33 = icmp slt i32 %31, 65535
br i1 %33, label %25, label %77
34: ; preds = %8
%35 = getelementptr inbounds i32, i32* %2, i64 8
%36 = load i32, i32* %35
%37 = tail call i32 @isxdigit(i32 %36)
%38 = icmp eq i32 %37, 0
br i1 %38, label %77, label %39
39: ; preds = %34
%40 = getelementptr inbounds i32, i32* %2, i64 9
%41 = load i32, i32* %40
%42 = tail call i32 @isxdigit(i32 %41)
%43 = icmp eq i32 %42, 0
br i1 %43, label %77, label %44
44: ; preds = %39
%45 = getelementptr inbounds i32, i32* %2, i64 10
%46 = load i32, i32* %45
%47 = tail call i32 @isxdigit(i32 %46)
%48 = icmp eq i32 %47, 0
br i1 %48, label %77, label %49
49: ; preds = %44
%50 = getelementptr inbounds i32, i32* %2, i64 11
%51 = load i32, i32* %50
%52 = tail call i32 @isxdigit(i32 %51)
%53 = icmp eq i32 %52, 0
br i1 %53, label %77, label %54
54: ; preds = %49
%55 = getelementptr inbounds i32, i32* %2, i64 12
%56 = load i32, i32* %55
%57 = tail call i32 @isxdigit(i32 %56)
%58 = icmp eq i32 %57, 0
br i1 %58, label %77, label %59
59: ; preds = %54
store i32 0, i32* @testwifirsu.k1
%60 = tail call i32 (i8*, i32, i8*, i32, i32, i32, ...) @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %36, i32 %41, i32 %46, i32 %51, i32 %56)
%61 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0))
%62 = load i32, i32* @testwifirsu.k1
%63 = add nsw i32 %62, 1
store i32 %63, i32* @testwifirsu.k1
%64 = icmp slt i32 %62, 15
br i1 %64, label %65, label %77
65: ; preds = %59, %65
%66 = phi i32 [ %75, %65 ], [ %63, %59 ]
%67 = load i32, i32* %35
%68 = load i32, i32* %40
%69 = load i32, i32* %45
%70 = load i32, i32* %50
%71 = load i32, i32* %55
%72 = tail call i32 (i8*, i32, i8*, i32, i32, i32, ...) @snprintf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 %66, i32 %67, i32 %68, i32 %69, i32 %70, i32 %71)
%73 = tail call i32 @writepsk(i32* %0, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @testwifirsu.essidtmp, i64 0, i64 0))
%74 = load i32, i32* @testwifirsu.k1
%75 = add nsw i32 %74, 1
store i32 %75, i32* @testwifirsu.k1
%76 = icmp slt i32 %74, 15
br i1 %76, label %65, label %77
77: ; preds = %65, %25, %59, %19, %8, %34, %39, %44, %49, %54, %9, %14, %5, %3
ret void
}