#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*/ imprimirASCII();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  int resposta, alt, comp, i, j, o;
  o = 0;
  char nome[30], continuar;
  do {
    printf("Digite o seu nome:\n");
    scanf("%s", nome);
    imprimirASCII();
    printf("\n%s, para desenhar um Retangulo escolha qualquer character da "
           "lista acima e digite o numero correspondente:\n \n",
           nome);
    scanf("%d", &resposta);
    printf("\n%s, digite um numero para o Comprimento do seu Retangulo, este "
           "numero devera ser maior do que 2:\n",
           nome);
    scanf("%d", &comp);
    while (comp < 3) {
      printf("\n%s, voce digitou para o Comprimento, um numero menor ou igual "
             "a 2. \nPara desenhar o seu Retangulo, digite um numero maior do "
             "que 2:\n",
             nome);
      scanf("%d", &comp);
    }
    printf("\n%s, digite um numero para a Altura do seu Retangulo, este numero "
           "devera ser maior do que 2:\n",
           nome);
    scanf("%d", &alt);
    while (alt < 3) {
      printf(
          "\n%s, voce digitou para a Altura, um numero menor ou igual a 2. "
          "\nPara desenhar o seu Retangulo, digite um numero maior do que 2:\n",
          nome);
      scanf("%d", &alt);
    }
    printf("\n\nOlá, meu nome eh %s, e o meu retangulo ficou assim:\n\n", nome);
    for (i = 1; i <= alt; i++) {
      for (j = 1; j <= comp; j++) {
        if (i > 1 && j > 1 && j < comp && i < alt) {
          printf(" ");
        } else {
          printf("%c", resposta);
        }
      }
      printf("\n");
    }
    printf("\nDeseja continuar (s/n)?\n");
    scanf(" %c", &continuar);
  } while (continuar == 's');
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x40(%rbp),%rsi
lea    0xeb5(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    $0x0,%al
call   1040 <imprimirASCII@plt>
lea    -0x40(%rbp),%rsi
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    -0x40(%rbp),%rsi
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedc(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
cmpl   $0x3,-0x10(%rbp)
jge    11e8 <main+0xb8>
lea    -0x40(%rbp),%rsi
lea    0xf22(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeae(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
jmp    11b5 <main+0x85>
lea    -0x40(%rbp),%rsi
lea    0xf7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe85(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
cmpl   $0x3,-0xc(%rbp)
jge    123f <main+0x10f>
lea    -0x40(%rbp),%rsi
lea    0xfaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe57(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
jmp    120c <main+0xdc>
lea    -0x40(%rbp),%rsi
lea    0x1007(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     12f6 <main+0x1c6>
movl   $0x1,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jg     12da <main+0x1aa>
cmpl   $0x1,-0x14(%rbp)
jle    12b6 <main+0x186>
cmpl   $0x1,-0x18(%rbp)
jle    12b6 <main+0x186>
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    12b6 <main+0x186>
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12b6 <main+0x186>
lea    0xfe0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12c7 <main+0x197>
mov    -0x8(%rbp),%esi
lea    0xfe7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12cc <main+0x19c>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    126b <main+0x13b>
lea    0xfa7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1258 <main+0x128>
lea    0xf8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
lea    -0x41(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movsbl -0x41(%rbp),%eax
cmp    $0x73,%eax
je     1146 <main+0x16>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
lea    0x10(%rsp),%r14
lea    0xf08(%rip),%r13
lea    0x4(%rsp),%rbp
lea    0xf62(%rip),%rbx
lea    0x8(%rsp),%r15
mov    $0x20,%r12d
jmp    11c4 <main+0x74>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x10f6(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d3(%rip),%rdi
lea    0x3(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
cmpb   $0x73,0x3(%rsp)
lea    0x4(%rsp),%rbp
lea    0x8(%rsp),%r15
jne    1341 <main+0x1f1>
lea    0x10af(%rip),%rdi
call   1040 <puts@plt>
lea    0xe29(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
xor    %eax,%eax
call   1060 <imprimirASCII@plt>
lea    0xe14(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r13,%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
lea    0xe66(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r13,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
cmpl   $0x2,0x4(%rsp)
jg     1251 <main+0x101>
nopl   (%rax)
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r13,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
cmpl   $0x3,0x4(%rsp)
jl     1230 <main+0xe0>
lea    0xf06(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r13,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
cmpl   $0x2,0x8(%rsp)
lea    0xf41(%rip),%rbp
jg     12a1 <main+0x151>
nopl   (%rax)
mov    %rbp,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r13,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
cmpl   $0x3,0x8(%rsp)
jl     1280 <main+0x130>
lea    0xf95(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x0,0x8(%rsp)
jle    1190 <main+0x40>
mov    $0x1,%ebp
jmp    12e9 <main+0x199>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1(%rbp),%eax
cmp    0x8(%rsp),%ebp
mov    %eax,%ebp
jge    1190 <main+0x40>
cmpl   $0x0,0x4(%rsp)
jle    12d0 <main+0x180>
mov    0xc(%rsp),%edi
call   1030 <putchar@plt>
mov    0x4(%rsp),%eax
cmp    $0x2,%eax
jl     12d0 <main+0x180>
mov    $0x2,%r15d
nopl   0x0(%rax,%rax,1)
cmp    0x8(%rsp),%ebp
mov    0xc(%rsp),%ecx
mov    %ecx,%edi
cmovl  %r12d,%edi
cmp    %eax,%r15d
cmovge %ecx,%edi
cmp    $0x2,%ebp
cmovb  %ecx,%edi
call   1030 <putchar@plt>
mov    0x4(%rsp),%eax
lea    0x1(%r15),%ecx
cmp    %eax,%r15d
mov    %ecx,%r15d
jl     1310 <main+0x1c0>
jmp    12d0 <main+0x180>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [20 x i8] c"Digite o seu nome:\0A\00"
@.str.1 = [3 x i8] c"%s\00"
@.str.2 = [111 x i8] c"\0A%s, para desenhar um Retangulo escolha qualquer character da lista acima e digite o numero correspondente:\0A \0A\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [99 x i8] c"\0A%s, digite um numero para o Comprimento do seu Retangulo, este numero devera ser maior do que 2:\0A\00"
@.str.5 = [134 x i8] c"\0A%s, voce digitou para o Comprimento, um numero menor ou igual a 2. \0APara desenhar o seu Retangulo, digite um numero maior do que 2:\0A\00"
@.str.6 = [94 x i8] c"\0A%s, digite um numero para a Altura do seu Retangulo, este numero devera ser maior do que 2:\0A\00"
@.str.7 = [129 x i8] c"\0A%s, voce digitou para a Altura, um numero menor ou igual a 2. \0APara desenhar o seu Retangulo, digite um numero maior do que 2:\0A\00"
@.str.8 = [57 x i8] c"\0A\0AOl\C3\A1, meu nome eh %s, e o meu retangulo ficou assim:\0A\0A\00"
@.str.9 = [2 x i8] c" \00"
@.str.10 = [3 x i8] c"%c\00"
@.str.11 = [2 x i8] c"\0A\00"
@.str.12 = [26 x i8] c"\0ADeseja continuar (s/n)?\0A\00"
@.str.13 = [4 x i8] c" %c\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca [30 x i8]
%9 = alloca i8
store i32 0, i32* %1
store i32 0, i32* %7
br label %10
10: ; preds = %82, %0
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%12 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%13 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %12)
%14 = call i32 (...) @imprimirASCII()
%15 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([111 x i8], [111 x i8]* @.str.2, i64 0, i64 0), i8* %15)
%17 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %2)
%18 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.4, i64 0, i64 0), i8* %18)
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %4)
br label %21
21: ; preds = %24, %10
%22 = load i32, i32* %4
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([134 x i8], [134 x i8]* @.str.5, i64 0, i64 0), i8* %25)
%27 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %4)
br label %21
28: ; preds = %21
%29 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.6, i64 0, i64 0), i8* %29)
%31 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %3)
br label %32
32: ; preds = %35, %28
%33 = load i32, i32* %3
%34 = icmp slt i32 %33, 3
br i1 %34, label %35, label %39
35: ; preds = %32
%36 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str.7, i64 0, i64 0), i8* %36)
%38 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %3)
br label %32
39: ; preds = %32
%40 = getelementptr inbounds [30 x i8], [30 x i8]* %8, i64 0, i64 0
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0), i8* %40)
store i32 1, i32* %5
br label %42
42: ; preds = %76, %39
%43 = load i32, i32* %5
%44 = load i32, i32* %3
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %79
46: ; preds = %42
store i32 1, i32* %6
br label %47
47: ; preds = %71, %46
%48 = load i32, i32* %6
%49 = load i32, i32* %4
%50 = icmp sle i32 %48, %49
br i1 %50, label %51, label %74
51: ; preds = %47
%52 = load i32, i32* %5
%53 = icmp sgt i32 %52, 1
br i1 %53, label %54, label %67
54: ; preds = %51
%55 = load i32, i32* %6
%56 = icmp sgt i32 %55, 1
br i1 %56, label %57, label %67
57: ; preds = %54
%58 = load i32, i32* %6
%59 = load i32, i32* %4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %67
61: ; preds = %57
%62 = load i32, i32* %5
%63 = load i32, i32* %3
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %70
67: ; preds = %61, %57, %54, %51
%68 = load i32, i32* %2
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %68)
br label %70
70: ; preds = %67, %65
br label %71
71: ; preds = %70
%72 = load i32, i32* %6
%73 = add nsw i32 %72, 1
store i32 %73, i32* %6
br label %47
74: ; preds = %47
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %76
76: ; preds = %74
%77 = load i32, i32* %5
%78 = add nsw i32 %77, 1
store i32 %78, i32* %5
br label %42
79: ; preds = %42
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%81 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8* %9)
br label %82
82: ; preds = %79
%83 = load i8, i8* %9
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 115
br i1 %85, label %10, label %86
86: ; preds = %82
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [3 x i8] c"%s\00"
@.str.2 = [111 x i8] c"\0A%s, para desenhar um Retangulo escolha qualquer character da lista acima e digite o numero correspondente:\0A \0A\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [99 x i8] c"\0A%s, digite um numero para o Comprimento do seu Retangulo, este numero devera ser maior do que 2:\0A\00"
@.str.5 = [134 x i8] c"\0A%s, voce digitou para o Comprimento, um numero menor ou igual a 2. \0APara desenhar o seu Retangulo, digite um numero maior do que 2:\0A\00"
@.str.6 = [94 x i8] c"\0A%s, digite um numero para a Altura do seu Retangulo, este numero devera ser maior do que 2:\0A\00"
@.str.7 = [129 x i8] c"\0A%s, voce digitou para a Altura, um numero menor ou igual a 2. \0APara desenhar o seu Retangulo, digite um numero maior do que 2:\0A\00"
@.str.8 = [57 x i8] c"\0A\0AOl\C3\A1, meu nome eh %s, e o meu retangulo ficou assim:\0A\0A\00"
@.str.13 = [4 x i8] c" %c\00"
@str = [19 x i8] c"Digite o seu nome:\00"
@str.14 = [25 x i8] c"\0ADeseja continuar (s/n)?\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [30 x i8]
%5 = alloca i8
%6 = bitcast i32* %1 to i8*
%7 = bitcast i32* %2 to i8*
%8 = bitcast i32* %3 to i8*
%9 = getelementptr inbounds [30 x i8], [30 x i8]* %4, i64 0, i64 0
br label %10
10: ; preds = %68, %0
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %9)
%13 = call i32 (...) @imprimirASCII()
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([111 x i8], [111 x i8]* @.str.2, i64 0, i64 0), i8* %9)
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %1)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @.str.4, i64 0, i64 0), i8* %9)
%17 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %3)
%18 = load i32, i32* %3
%19 = icmp slt i32 %18, 3
br i1 %19, label %20, label %25
20: ; preds = %10, %20
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([134 x i8], [134 x i8]* @.str.5, i64 0, i64 0), i8* %9)
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %3)
%23 = load i32, i32* %3
%24 = icmp slt i32 %23, 3
br i1 %24, label %20, label %25
25: ; preds = %20, %10
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @.str.6, i64 0, i64 0), i8* %9)
%27 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %2)
%28 = load i32, i32* %2
%29 = icmp slt i32 %28, 3
br i1 %29, label %30, label %35
30: ; preds = %25, %30
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([129 x i8], [129 x i8]* @.str.7, i64 0, i64 0), i8* %9)
%32 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %2)
%33 = load i32, i32* %2
%34 = icmp slt i32 %33, 3
br i1 %34, label %30, label %35
35: ; preds = %30, %25
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.8, i64 0, i64 0), i8* %9)
%37 = load i32, i32* %2
%38 = icmp slt i32 %37, 1
br i1 %38, label %68, label %39
39: ; preds = %35, %63
%40 = phi i32 [ %65, %63 ], [ 1, %35 ]
%41 = load i32, i32* %3
%42 = icmp slt i32 %41, 1
br i1 %42, label %63, label %43
43: ; preds = %39
%44 = icmp ugt i32 %40, 1
%45 = load i32, i32* %1
%46 = call i32 @putchar(i32 %45)
%47 = load i32, i32* %3
%48 = icmp sgt i32 %47, 1
br i1 %48, label %49, label %63
49: ; preds = %43, %49
%50 = phi i32 [ %61, %49 ], [ %47, %43 ]
%51 = phi i32 [ %52, %49 ], [ 1, %43 ]
%52 = add nuw nsw i32 %51, 1
%53 = load i32, i32* %2
%54 = icmp slt i32 %52, %50
%55 = select i1 %44, i1 %54, i1 false
%56 = icmp slt i32 %40, %53
%57 = select i1 %55, i1 %56, i1 false
%58 = load i32, i32* %1
%59 = select i1 %57, i32 32, i32 %58
%60 = call i32 @putchar(i32 %59)
%61 = load i32, i32* %3
%62 = icmp slt i32 %52, %61
br i1 %62, label %49, label %63
63: ; preds = %49, %43, %39
%64 = call i32 @putchar(i32 10)
%65 = add nuw nsw i32 %40, 1
%66 = load i32, i32* %2
%67 = icmp slt i32 %40, %66
br i1 %67, label %39, label %68
68: ; preds = %63, %35
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.14, i64 0, i64 0))
%70 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8* %5)
%71 = load i8, i8* %5
%72 = icmp eq i8 %71, 115
br i1 %72, label %10, label %73
73: ; preds = %68
ret i32 0
}