#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*/ gets_s(char *);
scalar_t__ isdigit(char);
scalar_t__ islower(char);
scalar_t__ isschar(char);
scalar_t__ isupper(char);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ strcpy(char *, char *);
int main(void) {
  char input[100] = {0}, password[100] = {0};
  while (1) {
    char is_ok[4] = {0};
    int is_str_ok = 0, count = 0;
    for (int n = 0; n < 100; n++)
      input[n] = 0;
    printf("설정하실 비밀번호를 입력해주세요. ");
    gets_s(input);
    for (count; input[count]; count++) {
      if (isupper(input[count]) && !is_ok[0])
        is_ok[0] = 1;
      else if (islower(input[count]) && !is_ok[1])
        is_ok[1] = 1;
      else if (isdigit(input[count]) && !is_ok[2])
        is_ok[2] = 1;
      else if (isschar(input[count]) && !is_ok[3])
        is_ok[3] = 1;
    }
    if (count < 9) {
      printf("비밀번호가 너무 짧습니다. 최소 9자 이상 사용해 주십시오.\n");
      continue;
    } else if (is_str_ok != 15) {
      if (!is_ok[0]) {
        printf("대문자를 1개 이상 사용해 주십시오.\n");
        continue;
      }
      if (!is_ok[1]) {
        printf("소문자를 1개 이상 사용해 주십시오.\n");
        continue;
      }
      if (!is_ok[2]) {
        printf("숫자를 1개 이상 사용해 주십시오.\n");
        continue;
      }
      if (!is_ok[3]) {
        printf("특수문자를 1개 이상 사용해 주십시오.\n");
        continue;
      }
    } else
      break;
  }
  strcpy(password, input);
  printf("Success! Set to '%s'\n", password);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1070 <memset@plt>
lea    -0xe0(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1070 <memset@plt>
lea    -0xe4(%rbp),%rdi
xor    %esi,%esi
mov    $0x4,%edx
call   1070 <memset@plt>
movl   $0x0,-0xe8(%rbp)
movl   $0x0,-0xec(%rbp)
movl   $0x0,-0xf0(%rbp)
cmpl   $0x64,-0xf0(%rbp)
jge    1213 <main+0x93>
movslq -0xf0(%rbp),%rax
movb   $0x0,-0x70(%rbp,%rax,1)
mov    -0xf0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf0(%rbp)
jmp    11e6 <main+0x66>
lea    0xde6(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    -0x70(%rbp),%rdi
call   1080 <gets_s@plt>
movslq -0xec(%rbp),%rax
cmpb   $0x0,-0x70(%rbp,%rax,1)
je     132f <main+0x1af>
movslq -0xec(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%edi
call   1090 <isupper@plt>
cmp    $0x0,%rax
je     1270 <main+0xf0>
cmpb   $0x0,-0xe4(%rbp)
jne    1270 <main+0xf0>
movb   $0x1,-0xe4(%rbp)
jmp    1316 <main+0x196>
movslq -0xec(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
je     12a4 <main+0x124>
cmpb   $0x0,-0xe3(%rbp)
jne    12a4 <main+0x124>
movb   $0x1,-0xe3(%rbp)
jmp    1311 <main+0x191>
movslq -0xec(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     12d8 <main+0x158>
cmpb   $0x0,-0xe2(%rbp)
jne    12d8 <main+0x158>
movb   $0x1,-0xe2(%rbp)
jmp    130c <main+0x18c>
movslq -0xec(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%edi
call   10a0 <isschar@plt>
cmp    $0x0,%rax
je     1307 <main+0x187>
cmpb   $0x0,-0xe1(%rbp)
jne    1307 <main+0x187>
movb   $0x1,-0xe1(%rbp)
jmp    130c <main+0x18c>
jmp    1311 <main+0x191>
jmp    1316 <main+0x196>
jmp    131b <main+0x19b>
mov    -0xec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xec(%rbp)
jmp    122a <main+0xaa>
cmpl   $0x9,-0xec(%rbp)
jge    134f <main+0x1cf>
lea    0xcef(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    11b5 <main+0x35>
cmpl   $0xf,-0xe8(%rbp)
je     13e1 <main+0x261>
cmpb   $0x0,-0xe4(%rbp)
jne    137c <main+0x1fc>
lea    0xd13(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    11b5 <main+0x35>
cmpb   $0x0,-0xe3(%rbp)
jne    139c <main+0x21c>
lea    0xd25(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    11b5 <main+0x35>
cmpb   $0x0,-0xe2(%rbp)
jne    13bc <main+0x23c>
lea    0xd37(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    11b5 <main+0x35>
cmpb   $0x0,-0xe1(%rbp)
jne    13dc <main+0x25c>
lea    0xd46(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    11b5 <main+0x35>
jmp    13e6 <main+0x266>
jmp    13f0 <main+0x270>
jmp    13eb <main+0x26b>
jmp    11b5 <main+0x35>
lea    -0xe0(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0xe0(%rbp),%rsi
lea    0xd3d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
lea    0xf71(%rip),%rbx
jmp    1195 <main+0x25>
nopw   0x0(%rax,%rax,1)
call   1050 <puts@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movl   $0x0,0x60(%rsp)
lea    0xe3c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rsp,%rdi
call   1070 <gets_s@plt>
mov    (%rsp),%al
mov    %rbx,%rdi
test   %al,%al
je     1190 <main+0x20>
xor    %r14d,%r14d
xor    %ebp,%ebp
xor    %r13d,%r13d
xor    %r12d,%r12d
xor    %r15d,%r15d
jmp    1201 <main+0x91>
nopl   (%rax)
mov    $0x1,%r15b
movzbl 0x1(%rsp,%r14,1),%eax
add    $0x1,%r14
test   %al,%al
je     1270 <main+0x100>
movsbl %al,%edi
call   1080 <isupper@plt>
test   %rax,%rax
je     1213 <main+0xa3>
test   %r15b,%r15b
je     11f0 <main+0x80>
movsbl (%rsp,%r14,1),%edi
call   1040 <islower@plt>
test   %rax,%rax
je     1230 <main+0xc0>
test   %r12b,%r12b
jne    1230 <main+0xc0>
mov    $0x1,%r12b
jmp    11f3 <main+0x83>
nopl   0x0(%rax)
movsbl (%rsp,%r14,1),%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     1249 <main+0xd9>
test   %r13b,%r13b
jne    1249 <main+0xd9>
mov    $0x1,%r13b
jmp    11f3 <main+0x83>
movsbl (%rsp,%r14,1),%edi
call   1090 <isschar@plt>
test   %bpl,%bpl
movzbl %bpl,%ecx
mov    $0x1,%ebp
cmovne %ecx,%ebp
test   %rax,%rax
cmove  %ecx,%ebp
jmp    11f3 <main+0x83>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
cmp    $0x9,%r14d
jb     1190 <main+0x20>
lea    0xdae(%rip),%rdi
test   %r15b,%r15b
je     1190 <main+0x20>
lea    0xdcf(%rip),%rdi
test   %r12b,%r12b
je     1190 <main+0x20>
lea    0xdf0(%rip),%rdi
test   %r13b,%r13b
je     1190 <main+0x20>
lea    0xe0e(%rip),%rdi
test   %bpl,%bpl
jne    1195 <main+0x25>
jmp    1190 <main+0x20>

LLVM IR (-O0):
@.str = [50 x i8] c"\EC\84\A4\EC\A0\95\ED\95\98\EC\8B\A4 \EB\B9\84\EB\B0\80\EB\B2\88\ED\98\B8\EB\A5\BC \EC\9E\85\EB\A0\A5\ED\95\B4\EC\A3\BC\EC\84\B8\EC\9A\94. \00"
@.str.1 = [81 x i8] c"\EB\B9\84\EB\B0\80\EB\B2\88\ED\98\B8\EA\B0\80 \EB\84\88\EB\AC\B4 \EC\A7\A7\EC\8A\B5\EB\8B\88\EB\8B\A4. \EC\B5\9C\EC\86\8C 9\EC\9E\90 \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\0A\00"
@.str.2 = [50 x i8] c"\EB\8C\80\EB\AC\B8\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\0A\00"
@.str.3 = [50 x i8] c"\EC\86\8C\EB\AC\B8\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\0A\00"
@.str.4 = [47 x i8] c"\EC\88\AB\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\0A\00"
@.str.5 = [53 x i8] c"\ED\8A\B9\EC\88\98\EB\AC\B8\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\0A\00"
@.str.6 = [22 x i8] c"Success! Set to '%s'\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [100 x i8]
%3 = alloca [100 x i8]
%4 = alloca [4 x i8]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = bitcast [100 x i8]* %2 to i8*
%9 = bitcast [100 x i8]* %3 to i8*
br label %10
10: ; preds = %0, %95, %104, %110, %116, %122, %127
%11 = bitcast [4 x i8]* %4 to i8*
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
br label %12
12: ; preds = %19, %10
%13 = load i32, i32* %7
%14 = icmp slt i32 %13, 100
br i1 %14, label %15, label %22
15: ; preds = %12
%16 = load i32, i32* %7
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %17
store i8 0, i8* %18
br label %19
19: ; preds = %15
%20 = load i32, i32* %7
%21 = add nsw i32 %20, 1
store i32 %21, i32* %7
br label %12
22: ; preds = %12
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0))
%24 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 0
%25 = call i32 @gets_s(i8* %24)
%26 = load i32, i32* %6
br label %27
27: ; preds = %89, %22
%28 = load i32, i32* %6
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %29
%31 = load i8, i8* %30
%32 = icmp ne i8 %31, 0
br i1 %32, label %33, label %92
33: ; preds = %27
%34 = load i32, i32* %6
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %35
%37 = load i8, i8* %36
%38 = call i64 @isupper(i8 signext %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %33
%41 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 0
%42 = load i8, i8* %41
%43 = icmp ne i8 %42, 0
br i1 %43, label %46, label %44
44: ; preds = %40
%45 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 0
store i8 1, i8* %45
br label %88
46: ; preds = %40, %33
%47 = load i32, i32* %6
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %48
%50 = load i8, i8* %49
%51 = call i64 @islower(i8 signext %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %46
%54 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 1
%55 = load i8, i8* %54
%56 = icmp ne i8 %55, 0
br i1 %56, label %59, label %57
57: ; preds = %53
%58 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 1
store i8 1, i8* %58
br label %87
59: ; preds = %53, %46
%60 = load i32, i32* %6
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %61
%63 = load i8, i8* %62
%64 = call i64 @isdigit(i8 signext %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %72
66: ; preds = %59
%67 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 2
%68 = load i8, i8* %67
%69 = icmp ne i8 %68, 0
br i1 %69, label %72, label %70
70: ; preds = %66
%71 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 2
store i8 1, i8* %71
br label %86
72: ; preds = %66, %59
%73 = load i32, i32* %6
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %74
%76 = load i8, i8* %75
%77 = call i64 @isschar(i8 signext %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %85
79: ; preds = %72
%80 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 3
%81 = load i8, i8* %80
%82 = icmp ne i8 %81, 0
br i1 %82, label %85, label %83
83: ; preds = %79
%84 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 3
store i8 1, i8* %84
br label %85
85: ; preds = %83, %79, %72
br label %86
86: ; preds = %85, %70
br label %87
87: ; preds = %86, %57
br label %88
88: ; preds = %87, %44
br label %89
89: ; preds = %88
%90 = load i32, i32* %6
%91 = add nsw i32 %90, 1
store i32 %91, i32* %6
br label %27
92: ; preds = %27
%93 = load i32, i32* %6
%94 = icmp slt i32 %93, 9
br i1 %94, label %95, label %97
95: ; preds = %92
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.1, i64 0, i64 0))
br label %10
97: ; preds = %92
%98 = load i32, i32* %5
%99 = icmp ne i32 %98, 15
br i1 %99, label %100, label %125
100: ; preds = %97
%101 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 0
%102 = load i8, i8* %101
%103 = icmp ne i8 %102, 0
br i1 %103, label %106, label %104
104: ; preds = %100
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
br label %10
106: ; preds = %100
%107 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 1
%108 = load i8, i8* %107
%109 = icmp ne i8 %108, 0
br i1 %109, label %112, label %110
110: ; preds = %106
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.3, i64 0, i64 0))
br label %10
112: ; preds = %106
%113 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 2
%114 = load i8, i8* %113
%115 = icmp ne i8 %114, 0
br i1 %115, label %118, label %116
116: ; preds = %112
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
br label %10
118: ; preds = %112
%119 = getelementptr inbounds [4 x i8], [4 x i8]* %4, i64 0, i64 3
%120 = load i8, i8* %119
%121 = icmp ne i8 %120, 0
br i1 %121, label %124, label %122
122: ; preds = %118
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.5, i64 0, i64 0))
br label %10
124: ; preds = %118
br label %126
125: ; preds = %97
br label %128
126: ; preds = %124
br label %127
127: ; preds = %126
br label %10
128: ; preds = %125
%129 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%130 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 0
%131 = call i32 @strcpy(i8* %129, i8* %130)
%132 = getelementptr inbounds [100 x i8], [100 x i8]* %3, i64 0, i64 0
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i8* %132)
ret i32 0
}

LLVM IR (-O2):
@.str = [50 x i8] c"\EC\84\A4\EC\A0\95\ED\95\98\EC\8B\A4 \EB\B9\84\EB\B0\80\EB\B2\88\ED\98\B8\EB\A5\BC \EC\9E\85\EB\A0\A5\ED\95\B4\EC\A3\BC\EC\84\B8\EC\9A\94. \00"
@str = [49 x i8] c"\EB\8C\80\EB\AC\B8\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\00"
@str.7 = [49 x i8] c"\EC\86\8C\EB\AC\B8\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\00"
@str.8 = [46 x i8] c"\EC\88\AB\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\00"
@str.9 = [52 x i8] c"\ED\8A\B9\EC\88\98\EB\AC\B8\EC\9E\90\EB\A5\BC 1\EA\B0\9C \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\00"
@str.10 = [80 x i8] c"\EB\B9\84\EB\B0\80\EB\B2\88\ED\98\B8\EA\B0\80 \EB\84\88\EB\AC\B4 \EC\A7\A7\EC\8A\B5\EB\8B\88\EB\8B\A4. \EC\B5\9C\EC\86\8C 9\EC\9E\90 \EC\9D\B4\EC\83\81 \EC\82\AC\EC\9A\A9\ED\95\B4 \EC\A3\BC\EC\8B\AD\EC\8B\9C\EC\98\A4.\00"
define i32 @main() {
%1 = alloca [100 x i8]
%2 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 0
%3 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 0
br label %4
4: ; preds = %63, %0
%5 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @gets_s(i8* %3)
%7 = load i8, i8* %3
%8 = icmp eq i8 %7, 0
br i1 %8, label %60, label %9
9: ; preds = %4, %40
%10 = phi i64 [ %45, %40 ], [ 0, %4 ]
%11 = phi i8 [ %47, %40 ], [ %7, %4 ]
%12 = phi i8* [ %46, %40 ], [ %3, %4 ]
%13 = phi i8 [ %44, %40 ], [ 0, %4 ]
%14 = phi i8 [ %43, %40 ], [ 0, %4 ]
%15 = phi i8 [ %42, %40 ], [ 0, %4 ]
%16 = phi i8 [ %41, %40 ], [ 0, %4 ]
%17 = call i64 @isupper(i8 signext %11)
%18 = icmp eq i64 %17, 0
%19 = icmp ne i8 %16, 0
%20 = select i1 %18, i1 true, i1 %19
br i1 %20, label %21, label %40
21: ; preds = %9
%22 = load i8, i8* %12
%23 = call i64 @islower(i8 signext %22)
%24 = icmp eq i64 %23, 0
%25 = icmp ne i8 %15, 0
%26 = select i1 %24, i1 true, i1 %25
br i1 %26, label %27, label %40
27: ; preds = %21
%28 = load i8, i8* %12
%29 = call i64 @isdigit(i8 signext %28)
%30 = icmp eq i64 %29, 0
%31 = icmp ne i8 %14, 0
%32 = select i1 %30, i1 true, i1 %31
br i1 %32, label %33, label %40
33: ; preds = %27
%34 = load i8, i8* %12
%35 = call i64 @isschar(i8 signext %34)
%36 = icmp eq i64 %35, 0
%37 = icmp ne i8 %13, 0
%38 = select i1 %36, i1 true, i1 %37
%39 = select i1 %38, i8 %13, i8 1
br label %40
40: ; preds = %33, %27, %21, %9
%41 = phi i8 [ 1, %9 ], [ %16, %21 ], [ %16, %27 ], [ %16, %33 ]
%42 = phi i8 [ %15, %9 ], [ 1, %21 ], [ %15, %27 ], [ %15, %33 ]
%43 = phi i8 [ %14, %9 ], [ %14, %21 ], [ 1, %27 ], [ %14, %33 ]
%44 = phi i8 [ %13, %9 ], [ %13, %21 ], [ %13, %27 ], [ %39, %33 ]
%45 = add nuw i64 %10, 1
%46 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 %45
%47 = load i8, i8* %46
%48 = icmp eq i8 %47, 0
br i1 %48, label %49, label %9
49: ; preds = %40
%50 = trunc i64 %45 to i32
%51 = icmp ult i32 %50, 9
br i1 %51, label %60, label %52
52: ; preds = %49
%53 = icmp eq i8 %41, 0
br i1 %53, label %60, label %54
54: ; preds = %52
%55 = icmp eq i8 %42, 0
br i1 %55, label %60, label %56
56: ; preds = %54
%57 = icmp eq i8 %43, 0
br i1 %57, label %60, label %58
58: ; preds = %56
%59 = icmp eq i8 %44, 0
br i1 %59, label %60, label %63
60: ; preds = %58, %56, %54, %52, %49, %4
%61 = phi i8* [ getelementptr inbounds ([80 x i8], [80 x i8]* @str.10, i64 0, i64 0), %4 ], [ getelementptr inbounds ([80 x i8], [80 x i8]* @str.10, i64 0, i64 0), %49 ], [ getelementptr inbounds ([49 x i8], [49 x i8]* @str, i64 0, i64 0), %52 ], [ getelementptr inbounds ([49 x i8], [49 x i8]* @str.7, i64 0, i64 0), %54 ], [ getelementptr inbounds ([46 x i8], [46 x i8]* @str.8, i64 0, i64 0), %56 ], [ getelementptr inbounds ([52 x i8], [52 x i8]* @str.9, i64 0, i64 0), %58 ]
%62 = call i32 @puts(i8* dereferenceable(1) %61)
br label %63
63: ; preds = %60, %58
br label %4
}