#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 /*<<< orphan*/ DSA;

/* Variables and functions */
int /*<<< orphan*/ DSA_generate_key(int /*<<< orphan*/ *);
int /*<<< orphan*/ *
DSA_generate_parameters(int, int /*<<< orphan*/ *, int /*<<< orphan*/,
                        int /*<<< orphan*/ *, int /*<<< orphan*/ *,
                        int /*<<< orphan*/ *, int /*<<< orphan*/ *);
scalar_t__ DSA_sign(int /*<<< orphan*/, unsigned char *, int /*<<< orphan*/,
                    unsigned char *, unsigned int *, int /*<<< orphan*/ *);
int /*<<< orphan*/ DSA_size(int /*<<< orphan*/ *);
int DSA_verify(int /*<<< orphan*/, unsigned char *, int /*<<< orphan*/,
               unsigned char *, unsigned int, int /*<<< orphan*/ *);
int /*<<< orphan*/ DSAparams_print_fp(int /*<<< orphan*/, int /*<<< orphan*/ *);
scalar_t__ calloc(int /*<<< orphan*/, int);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ strlen(char *);
int /*<<< orphan*/ strncpy(char *, char *, int /*<<< orphan*/);
int main(int argc, char **argv) {
  DSA *dsa;
  unsigned char *input_string;
  unsigned char *sign_string;
  unsigned int sig_len;
  unsigned int i;
  if (argc != 2) {
    fprintf(stderr, "%s <plain text>\n", argv[0]);
    exit(-1);
  }
  input_string =
      (unsigned char *)calloc(strlen(argv[1]) + 1, sizeof(unsigned char));
  if (input_string == NULL) {
    fprintf(stderr, "Unable to allocate memory for input_string\n");
    exit(-1);
  }
  strncpy((char *)input_string, argv[1], strlen(argv[1]));
  dsa = DSA_generate_parameters(1024, NULL, 0, NULL, NULL, NULL, NULL);
  DSA_generate_key(dsa);
  sign_string = (unsigned char *)calloc(DSA_size(dsa), sizeof(unsigned char));
  if (sign_string == NULL) {
    fprintf(stderr, "Unable to allocate memory for sign_string\n");
    exit(-1);
  }
  if (DSA_sign(0, input_string, strlen((char *)input_string), sign_string,
               &sig_len, dsa) == 0) {
    fprintf(stderr, "Sign Error.\n");
    exit(-1);
  }
  int is_valid_signature = DSA_verify(
      0, input_string, strlen((char *)input_string), sign_string, sig_len, dsa);
  DSAparams_print_fp(stdout, dsa);
  printf("input_string = %s\n", input_string);
  printf("signed string = ");
  for (i = 0; i < sig_len; ++i) {
    printf("%x%x", (sign_string[i] >> 4) & 0xf, sign_string[i] & 0xf);
  }
  printf("\n");
  printf("is_valid_signature? = %d\n", is_valid_signature);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     1208 <main+0x48>
mov    0x2df9(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe09(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0xffffffff,%edi
call   10c0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1050 <strlen@plt>
mov    %eax,%edi
add    $0x1,%edi
mov    $0x1,%esi
call   1080 <calloc@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    1254 <main+0x94>
mov    0x2da6(%rip),%rax
mov    (%rax),%edi
lea    0xdce(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0xffffffff,%edi
call   10c0 <exit@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1050 <strlen@plt>
mov    -0x48(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    %eax,%edx
call   1040 <strncpy@plt>
mov    $0x400,%edi
xor    %eax,%eax
mov    %eax,%r9d
xor    %edx,%edx
mov    %r9,%rsi
mov    %r9,%rcx
mov    %r9,%r8
movq   $0x0,(%rsp)
call   10d0 <DSA_generate_parameters@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   10b0 <DSA_generate_key@plt>
mov    -0x18(%rbp),%rdi
call   10a0 <DSA_size@plt>
mov    %eax,%edi
mov    $0x1,%esi
call   1080 <calloc@plt>
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
jne    12f8 <main+0x138>
mov    0x2d02(%rip),%rax
mov    (%rax),%edi
lea    0xd56(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0xffffffff,%edi
call   10c0 <exit@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x20(%rbp),%rdi
call   1050 <strlen@plt>
mov    -0x50(%rbp),%rsi
mov    %eax,%edx
mov    -0x28(%rbp),%rcx
mov    -0x18(%rbp),%r9
xor    %edi,%edi
lea    -0x2c(%rbp),%r8
call   1030 <DSA_sign@plt>
cmp    $0x0,%rax
jne    134d <main+0x18d>
mov    0x2cad(%rip),%rax
mov    (%rax),%edi
lea    0xd2c(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
mov    $0xffffffff,%edi
call   10c0 <exit@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x20(%rbp),%rdi
call   1050 <strlen@plt>
mov    -0x58(%rbp),%rsi
mov    %eax,%edx
mov    -0x28(%rbp),%rcx
mov    -0x2c(%rbp),%r8d
mov    -0x18(%rbp),%r9
xor    %edi,%edi
call   10e0 <DSA_verify@plt>
mov    %eax,-0x34(%rbp)
mov    0x2c57(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rsi
call   1070 <DSAparams_print_fp@plt>
mov    -0x20(%rbp),%rsi
lea    0xcde(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xce3(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jae    13fa <main+0x23a>
mov    -0x28(%rbp),%rax
mov    -0x30(%rbp),%ecx
movzbl (%rax,%rcx,1),%esi
sar    $0x4,%esi
and    $0xf,%esi
mov    -0x28(%rbp),%rax
mov    -0x30(%rbp),%ecx
movzbl (%rax,%rcx,1),%edx
and    $0xf,%edx
lea    0xcb4(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    13b3 <main+0x1f3>
lea    0xc72(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x34(%rbp),%esi
lea    0xc8c(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%rbx
cmp    $0x2,%edi
jne    1351 <main+0x181>
mov    0x8(%rbx),%rdi
call   1060 <strlen@plt>
lea    0x1(%rax),%edi
mov    $0x1,%esi
call   1090 <calloc@plt>
test   %rax,%rax
je     1375 <main+0x1a5>
mov    %rax,%r14
mov    0x8(%rbx),%rbx
mov    %rbx,%rdi
call   1060 <strlen@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %eax,%edx
call   1050 <strncpy@plt>
movq   $0x0,(%rsp)
mov    $0x400,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   10e0 <DSA_generate_parameters@plt>
mov    %rax,%r15
mov    %rax,%rdi
call   10c0 <DSA_generate_key@plt>
mov    %r15,%rdi
call   10b0 <DSA_size@plt>
mov    %eax,%edi
mov    $0x1,%esi
call   1090 <calloc@plt>
test   %rax,%rax
je     1387 <main+0x1b7>
mov    %rax,%r13
mov    %r14,%rdi
call   1060 <strlen@plt>
lea    0x14(%rsp),%r8
xor    %edi,%edi
mov    %r14,%rsi
mov    %eax,%edx
mov    %r13,%rcx
mov    %r15,%r9
call   1030 <DSA_sign@plt>
test   %rax,%rax
je     1399 <main+0x1c9>
mov    %r14,%rdi
call   1060 <strlen@plt>
mov    0x14(%rsp),%r8d
xor    %edi,%edi
mov    %r14,%rsi
mov    %eax,%edx
mov    %r13,%rcx
mov    %r15,%r9
call   10f0 <DSA_verify@plt>
mov    %eax,%r12d
mov    0x2d19(%rip),%rax
mov    (%rax),%edi
mov    %r15,%rsi
call   1080 <DSAparams_print_fp@plt>
lea    0xda5(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xda7(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
cmpl   $0x0,0x14(%rsp)
je     1325 <main+0x155>
lea    0xda3(%rip),%rbp
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
movzbl 0x0(%r13,%rbx,1),%edx
mov    %edx,%esi
shr    $0x4,%esi
and    $0xf,%edx
mov    %rbp,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
add    $0x1,%rbx
mov    0x14(%rsp),%eax
cmp    %rax,%rbx
jb     1300 <main+0x130>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xd68(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1070 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c88(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xc9c(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    $0xffffffff,%edi
call   10d0 <exit@plt>
mov    0x2c64(%rip),%rax
mov    (%rax),%edi
lea    0xc8c(%rip),%rsi
jmp    13a9 <main+0x1d9>
mov    0x2c52(%rip),%rax
mov    (%rax),%edi
lea    0xca6(%rip),%rsi
jmp    13a9 <main+0x1d9>
mov    0x2c40(%rip),%rax
mov    (%rax),%edi
lea    0xcbf(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
mov    $0xffffffff,%edi
call   10d0 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [17 x i8] c"%s <plain text>\0A\00"
@.str.1 = [44 x i8] c"Unable to allocate memory for input_string\0A\00"
@.str.2 = [43 x i8] c"Unable to allocate memory for sign_string\0A\00"
@.str.3 = [13 x i8] c"Sign Error.\0A\00"
@stdout = global i32 0
@.str.4 = [19 x i8] c"input_string = %s\0A\00"
@.str.5 = [17 x i8] c"signed string = \00"
@.str.6 = [5 x i8] c"%x%x\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [26 x i8] c"is_valid_signature? = %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = load i32, i32* %4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, i32* @stderr
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 0
%18 = load i8*, i8** %17
%19 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %18)
%20 = call i32 @exit(i32 -1)
unreachable
21: ; preds = %2
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
%25 = call i32 @strlen(i8* %24)
%26 = add nsw i32 %25, 1
%27 = call i64 @calloc(i32 %26, i32 1)
%28 = inttoptr i64 %27 to i8*
store i8* %28, i8** %7
%29 = load i8*, i8** %7
%30 = icmp eq i8* %29, null
br i1 %30, label %31, label %35
31: ; preds = %21
%32 = load i32, i32* @stderr
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%34 = call i32 @exit(i32 -1)
unreachable
35: ; preds = %21
%36 = load i8*, i8** %7
%37 = load i8**, i8*** %5
%38 = getelementptr inbounds i8*, i8** %37, i64 1
%39 = load i8*, i8** %38
%40 = load i8**, i8*** %5
%41 = getelementptr inbounds i8*, i8** %40, i64 1
%42 = load i8*, i8** %41
%43 = call i32 @strlen(i8* %42)
%44 = call i32 @strncpy(i8* %36, i8* %39, i32 %43)
%45 = call i32* @DSA_generate_parameters(i32 1024, i32* null, i32 0, i32* null, i32* null, i32* null, i32* null)
store i32* %45, i32** %6
%46 = load i32*, i32** %6
%47 = call i32 @DSA_generate_key(i32* %46)
%48 = load i32*, i32** %6
%49 = call i32 @DSA_size(i32* %48)
%50 = call i64 @calloc(i32 %49, i32 1)
%51 = inttoptr i64 %50 to i8*
store i8* %51, i8** %8
%52 = load i8*, i8** %8
%53 = icmp eq i8* %52, null
br i1 %53, label %54, label %58
54: ; preds = %35
%55 = load i32, i32* @stderr
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0))
%57 = call i32 @exit(i32 -1)
unreachable
58: ; preds = %35
%59 = load i8*, i8** %7
%60 = load i8*, i8** %7
%61 = call i32 @strlen(i8* %60)
%62 = load i8*, i8** %8
%63 = load i32*, i32** %6
%64 = call i64 @DSA_sign(i32 0, i8* %59, i32 %61, i8* %62, i32* %9, i32* %63)
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %58
%67 = load i32, i32* @stderr
%68 = call i32 (i32, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%69 = call i32 @exit(i32 -1)
unreachable
70: ; preds = %58
%71 = load i8*, i8** %7
%72 = load i8*, i8** %7
%73 = call i32 @strlen(i8* %72)
%74 = load i8*, i8** %8
%75 = load i32, i32* %9
%76 = load i32*, i32** %6
%77 = call i32 @DSA_verify(i32 0, i8* %71, i32 %73, i8* %74, i32 %75, i32* %76)
store i32 %77, i32* %11
%78 = load i32, i32* @stdout
%79 = load i32*, i32** %6
%80 = call i32 @DSAparams_print_fp(i32 %78, i32* %79)
%81 = load i8*, i8** %7
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i8* %81)
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %10
br label %84
84: ; preds = %105, %70
%85 = load i32, i32* %10
%86 = load i32, i32* %9
%87 = icmp ult i32 %85, %86
br i1 %87, label %88, label %108
88: ; preds = %84
%89 = load i8*, i8** %8
%90 = load i32, i32* %10
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds i8, i8* %89, i64 %91
%93 = load i8, i8* %92
%94 = zext i8 %93 to i32
%95 = ashr i32 %94, 4
%96 = and i32 %95, 15
%97 = load i8*, i8** %8
%98 = load i32, i32* %10
%99 = zext i32 %98 to i64
%100 = getelementptr inbounds i8, i8* %97, i64 %99
%101 = load i8, i8* %100
%102 = zext i8 %101 to i32
%103 = and i32 %102, 15
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %96, i32 %103)
br label %105
105: ; preds = %88
%106 = load i32, i32* %10
%107 = add i32 %106, 1
store i32 %107, i32* %10
br label %84
108: ; preds = %84
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%110 = load i32, i32* %11
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i32 %110)
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [17 x i8] c"%s <plain text>\0A\00"
@.str.1 = [44 x i8] c"Unable to allocate memory for input_string\0A\00"
@.str.2 = [43 x i8] c"Unable to allocate memory for sign_string\0A\00"
@.str.3 = [13 x i8] c"Sign Error.\0A\00"
@stdout = global i32 0
@.str.4 = [19 x i8] c"input_string = %s\0A\00"
@.str.5 = [17 x i8] c"signed string = \00"
@.str.6 = [5 x i8] c"%x%x\00"
@.str.8 = [26 x i8] c"is_valid_signature? = %d\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = bitcast i32* %3 to i8*
%5 = icmp eq i32 %0, 2
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = load i8*, i8** %1
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = tail call i32 @exit(i32 -1)
unreachable
11: ; preds = %2
%12 = getelementptr inbounds i8*, i8** %1, i64 1
%13 = load i8*, i8** %12
%14 = tail call i32 @strlen(i8* %13)
%15 = add nsw i32 %14, 1
%16 = tail call i64 @calloc(i32 %15, i32 1)
%17 = inttoptr i64 %16 to i8*
%18 = icmp eq i64 %16, 0
br i1 %18, label %19, label %23
19: ; preds = %11
%20 = load i32, i32* @stderr
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%22 = tail call i32 @exit(i32 -1)
unreachable
23: ; preds = %11
%24 = load i8*, i8** %12
%25 = tail call i32 @strlen(i8* %24)
%26 = tail call i32 @strncpy(i8* %17, i8* %24, i32 %25)
%27 = tail call i32* @DSA_generate_parameters(i32 1024, i32* null, i32 0, i32* null, i32* null, i32* null, i32* null)
%28 = tail call i32 @DSA_generate_key(i32* %27)
%29 = tail call i32 @DSA_size(i32* %27)
%30 = tail call i64 @calloc(i32 %29, i32 1)
%31 = inttoptr i64 %30 to i8*
%32 = icmp eq i64 %30, 0
br i1 %32, label %33, label %37
33: ; preds = %23
%34 = load i32, i32* @stderr
%35 = tail call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0))
%36 = tail call i32 @exit(i32 -1)
unreachable
37: ; preds = %23
%38 = tail call i32 @strlen(i8* %17)
%39 = call i64 @DSA_sign(i32 0, i8* %17, i32 %38, i8* %31, i32* %3, i32* %27)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = load i32, i32* @stderr
%43 = call i32 (i32, i8*, ...) @fprintf(i32 %42, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%44 = call i32 @exit(i32 -1)
unreachable
45: ; preds = %37
%46 = call i32 @strlen(i8* %17)
%47 = load i32, i32* %3
%48 = call i32 @DSA_verify(i32 0, i8* %17, i32 %46, i8* %31, i32 %47, i32* %27)
%49 = load i32, i32* @stdout
%50 = call i32 @DSAparams_print_fp(i32 %49, i32* %27)
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i8* %17)
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%53 = load i32, i32* %3
%54 = icmp eq i32 %53, 0
br i1 %54, label %67, label %55
55: ; preds = %45, %55
%56 = phi i64 [ %63, %55 ], [ 0, %45 ]
%57 = getelementptr inbounds i8, i8* %31, i64 %56
%58 = load i8, i8* %57
%59 = zext i8 %58 to i32
%60 = lshr i32 %59, 4
%61 = and i32 %59, 15
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %60, i32 %61)
%63 = add nuw nsw i64 %56, 1
%64 = load i32, i32* %3
%65 = zext i32 %64 to i64
%66 = icmp ult i64 %63, %65
br i1 %66, label %55, label %67
67: ; preds = %55, %45
%68 = call i32 @putchar(i32 10)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i32 %48)
ret i32 0
}