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

/* Variables and functions */
int /*<<< orphan*/ SHA256_Final(unsigned char *, int /*<<< orphan*/ *);
int /*<<< orphan*/ SHA256_Init(int /*<<< orphan*/ *);
int /*<<< orphan*/ SHA256_Update(int /*<<< orphan*/ *, char *,
                                 int /*<<< orphan*/);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, char *);
int /*<<< orphan*/ stdin;
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ strlen(char *);
int /*<<< orphan*/ uchar2hexchar(unsigned char *, char *);
int main() {
  char input[512] = {0};
  unsigned char output[32];
  char ascii_output[65] = {0};
  SHA256_CTX c;
  SHA256_Init(&c);
  while (1) {
    printf("input: ");
    scanf("%511s", input);
    fflush(stdin);
    if (!strcmp(input, "exit") || !strcmp(input, "quit"))
      break;
    SHA256_Update(&c, input, strlen(input));
    SHA256_Final(output, &c);
    unsigned int i = 0;
    printf("unsigned char:\n");
    for (; i < 32; i++)
      printf("%02x", output[i]);
    printf("\n");
    uchar2hexchar(output, ascii_output);
    printf("ascii:\n%s\n", ascii_output);
    memset(input, 0, 512);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x290,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x210(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1050 <memset@plt>
lea    -0x280(%rbp),%rdi
xor    %esi,%esi
mov    $0x41,%edx
call   1050 <memset@plt>
lea    -0x284(%rbp),%rdi
call   1060 <SHA256_Init@plt>
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x210(%rbp),%rsi
lea    0xe08(%rip),%rdi
call   10a0 <scanf@plt>
mov    0x2ddc(%rip),%rax
mov    (%rax),%edi
call   1080 <fflush@plt>
lea    -0x210(%rbp),%rdi
lea    0xded(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
je     124b <main+0xab>
lea    -0x210(%rbp),%rdi
lea    0xdd6(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%eax
jne    1250 <main+0xb0>
jmp    1335 <main+0x195>
lea    -0x210(%rbp),%rax
mov    %rax,-0x290(%rbp)
lea    -0x210(%rbp),%rdi
call   1030 <strlen@plt>
mov    -0x290(%rbp),%rsi
mov    %eax,%edx
lea    -0x284(%rbp),%rdi
call   10c0 <SHA256_Update@plt>
lea    -0x230(%rbp),%rdi
lea    -0x284(%rbp),%rsi
call   10b0 <SHA256_Final@plt>
movl   $0x0,-0x288(%rbp)
lea    0xd75(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x20,-0x288(%rbp)
jae    12e7 <main+0x147>
mov    -0x288(%rbp),%eax
movzbl -0x230(%rbp,%rax,1),%esi
ff
lea    0xd5c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x288(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x288(%rbp)
jmp    12aa <main+0x10a>
lea    0xd38(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x230(%rbp),%rdi
lea    -0x280(%rbp),%rsi
call   1090 <uchar2hexchar@plt>
lea    -0x280(%rbp),%rsi
lea    0xd17(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x210(%rbp),%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1050 <memset@plt>
jmp    11e4 <main+0x44>
xor    %eax,%eax
add    $0x290,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x288,%rsp
lea    0x80(%rsp),%rbx
mov    $0x200,%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   1070 <memset@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movb   $0x0,0x70(%rsp)
lea    0x2c(%rsp),%rdi
call   1080 <SHA256_Init@plt>
lea    0xdfb(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xdf5(%rip),%rdi
mov    %rbx,%rsi
call   10b0 <scanf@plt>
mov    0x2dc6(%rip),%rax
mov    (%rax),%edi
call   1090 <fflush@plt>
mov    $0x74697865,%r12d
mov    0x80(%rsp),%eax
xor    %r12d,%eax
movzbl 0x84(%rsp),%ecx
or     %eax,%ecx
je     1513 <main+0x363>
lea    0x80(%rsp),%r13
lea    0x2c(%rsp),%r14
mov    %rsp,%r15
lea    0xdb8(%rip),%rbx
lea    0x30(%rsp),%rbp
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x80(%rsp),%eax
mov    $0x74697571,%ecx
xor    %ecx,%eax
movzbl 0x84(%rsp),%ecx
or     %eax,%ecx
je     1513 <main+0x363>
mov    %r13,%rdi
call   1050 <strlen@plt>
mov    %r14,%rdi
mov    %r13,%rsi
mov    %eax,%edx
call   10d0 <SHA256_Update@plt>
mov    %r15,%rdi
mov    %r14,%rsi
call   10c0 <SHA256_Final@plt>
lea    0xd73(%rip),%rdi
call   1040 <puts@plt>
movzbl (%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x2(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x3(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x5(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x6(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x7(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x9(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xa(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xb(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xd(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xe(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0xf(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x10(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x11(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x12(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x13(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x15(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x16(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x17(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x18(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x19(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1a(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1b(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1d(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1e(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
movzbl 0x1f(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   10a0 <uchar2hexchar@plt>
lea    0xb68(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r13,%rdi
xor    %esi,%esi
mov    $0x200,%edx
call   1070 <memset@plt>
lea    0xb2b(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xb25(%rip),%rdi
mov    %r13,%rsi
call   10b0 <scanf@plt>
mov    0x2af6(%rip),%rax
mov    (%rax),%edi
call   1090 <fflush@plt>
mov    0x80(%rsp),%eax
xor    %r12d,%eax
movzbl 0x84(%rsp),%ecx
or     %eax,%ecx
jne    1270 <main+0xc0>
xor    %eax,%eax
add    $0x288,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [8 x i8] c"input: \00"
@.str.1 = [6 x i8] c"%511s\00"
@stdin = global i32 0
@.str.2 = [5 x i8] c"exit\00"
@.str.3 = [5 x i8] c"quit\00"
@.str.4 = [16 x i8] c"unsigned char:\0A\00"
@.str.5 = [5 x i8] c"%02x\00"
@.str.6 = [2 x i8] c"\0A\00"
@.str.7 = [11 x i8] c"ascii:\0A%s\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [512 x i8]
%3 = alloca [32 x i8]
%4 = alloca [65 x i8]
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %1
%7 = bitcast [512 x i8]* %2 to i8*
%8 = bitcast [65 x i8]* %4 to i8*
%9 = call i32 @SHA256_Init(i32* %5)
br label %10
10: ; preds = %0, %45
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%12 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%13 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %12)
%14 = load i32, i32* @stdin
%15 = call i32 @fflush(i32 %14)
%16 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%17 = call i32 @strcmp(i8* %16, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %10
%20 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%21 = call i32 @strcmp(i8* %20, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp ne i32 %21, 0
br i1 %22, label %24, label %23
23: ; preds = %19, %10
br label %54
24: ; preds = %19
%25 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%26 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%27 = call i32 @strlen(i8* %26)
%28 = call i32 @SHA256_Update(i32* %5, i8* %25, i32 %27)
%29 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%30 = call i32 @SHA256_Final(i8* %29, i32* %5)
store i32 0, i32* %6
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
br label %32
32: ; preds = %42, %24
%33 = load i32, i32* %6
%34 = icmp ult i32 %33, 32
br i1 %34, label %35, label %45
35: ; preds = %32
%36 = load i32, i32* %6
%37 = zext i32 %36 to i64
%38 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 %37
%39 = load i8, i8* %38
%40 = zext i8 %39 to i32
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %40)
br label %42
42: ; preds = %35
%43 = load i32, i32* %6
%44 = add i32 %43, 1
store i32 %44, i32* %6
br label %32
45: ; preds = %32
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%47 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%48 = getelementptr inbounds [65 x i8], [65 x i8]* %4, i64 0, i64 0
%49 = call i32 @uchar2hexchar(i8* %47, i8* %48)
%50 = getelementptr inbounds [65 x i8], [65 x i8]* %4, i64 0, i64 0
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i8* %50)
%52 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%53 = call i32 @memset(i8* %52, i32 0, i32 512)
br label %10
54: ; preds = %23
ret i32 0
}

LLVM IR (-O2):
@.str = [8 x i8] c"input: \00"
@.str.1 = [6 x i8] c"%511s\00"
@stdin = global i32 0
@.str.2 = [5 x i8] c"exit\00"
@.str.3 = [5 x i8] c"quit\00"
@.str.5 = [5 x i8] c"%02x\00"
@.str.7 = [11 x i8] c"ascii:\0A%s\0A\00"
@str = [15 x i8] c"unsigned char:\00"
define i32 @main() {
%1 = alloca [512 x i8]
%2 = alloca [32 x i8]
%3 = alloca [65 x i8]
%4 = alloca i32
%5 = getelementptr inbounds [512 x i8], [512 x i8]* %1, i64 0, i64 0
%6 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 0
%7 = getelementptr inbounds [65 x i8], [65 x i8]* %3, i64 0, i64 0
%8 = bitcast i32* %4 to i8*
%9 = call i32 @SHA256_Init(i32* %4)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%12 = load i32, i32* @stdin
%13 = call i32 @fflush(i32 %12)
%14 = call i32 @bcmp(i8* dereferenceable(5) %5, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 5)
%15 = icmp eq i32 %14, 0
br i1 %15, label %162, label %16
16: ; preds = %0
%17 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 1
%18 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 2
%19 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 3
%20 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 4
%21 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 5
%22 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 6
%23 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 7
%24 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 8
%25 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 9
%26 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 10
%27 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 11
%28 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 12
%29 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 13
%30 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 14
%31 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 15
%32 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 16
%33 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 17
%34 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 18
%35 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 19
%36 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 20
%37 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 21
%38 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 22
%39 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 23
%40 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 24
%41 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 25
%42 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 26
%43 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 27
%44 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 28
%45 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 29
%46 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 30
%47 = getelementptr inbounds [32 x i8], [32 x i8]* %2, i64 0, i64 31
br label %48
48: ; preds = %16, %51
%49 = call i32 @bcmp(i8* dereferenceable(5) %5, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i64 5)
%50 = icmp eq i32 %49, 0
br i1 %50, label %162, label %51
51: ; preds = %48
%52 = call i32 @strlen(i8* %5)
%53 = call i32 @SHA256_Update(i32* %4, i8* %5, i32 %52)
%54 = call i32 @SHA256_Final(i8* %6, i32* %4)
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
%56 = load i8, i8* %6
%57 = zext i8 %56 to i32
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %57)
%59 = load i8, i8* %17
%60 = zext i8 %59 to i32
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %60)
%62 = load i8, i8* %18
%63 = zext i8 %62 to i32
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %63)
%65 = load i8, i8* %19
%66 = zext i8 %65 to i32
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %66)
%68 = load i8, i8* %20
%69 = zext i8 %68 to i32
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %69)
%71 = load i8, i8* %21
%72 = zext i8 %71 to i32
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %72)
%74 = load i8, i8* %22
%75 = zext i8 %74 to i32
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %75)
%77 = load i8, i8* %23
%78 = zext i8 %77 to i32
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %78)
%80 = load i8, i8* %24
%81 = zext i8 %80 to i32
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %81)
%83 = load i8, i8* %25
%84 = zext i8 %83 to i32
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %84)
%86 = load i8, i8* %26
%87 = zext i8 %86 to i32
%88 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %87)
%89 = load i8, i8* %27
%90 = zext i8 %89 to i32
%91 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %90)
%92 = load i8, i8* %28
%93 = zext i8 %92 to i32
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %93)
%95 = load i8, i8* %29
%96 = zext i8 %95 to i32
%97 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %96)
%98 = load i8, i8* %30
%99 = zext i8 %98 to i32
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %99)
%101 = load i8, i8* %31
%102 = zext i8 %101 to i32
%103 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %102)
%104 = load i8, i8* %32
%105 = zext i8 %104 to i32
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %105)
%107 = load i8, i8* %33
%108 = zext i8 %107 to i32
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %108)
%110 = load i8, i8* %34
%111 = zext i8 %110 to i32
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %111)
%113 = load i8, i8* %35
%114 = zext i8 %113 to i32
%115 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %114)
%116 = load i8, i8* %36
%117 = zext i8 %116 to i32
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %117)
%119 = load i8, i8* %37
%120 = zext i8 %119 to i32
%121 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %120)
%122 = load i8, i8* %38
%123 = zext i8 %122 to i32
%124 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %123)
%125 = load i8, i8* %39
%126 = zext i8 %125 to i32
%127 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %126)
%128 = load i8, i8* %40
%129 = zext i8 %128 to i32
%130 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %129)
%131 = load i8, i8* %41
%132 = zext i8 %131 to i32
%133 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %132)
%134 = load i8, i8* %42
%135 = zext i8 %134 to i32
%136 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %135)
%137 = load i8, i8* %43
%138 = zext i8 %137 to i32
%139 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %138)
%140 = load i8, i8* %44
%141 = zext i8 %140 to i32
%142 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %141)
%143 = load i8, i8* %45
%144 = zext i8 %143 to i32
%145 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %144)
%146 = load i8, i8* %46
%147 = zext i8 %146 to i32
%148 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %147)
%149 = load i8, i8* %47
%150 = zext i8 %149 to i32
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 %150)
%152 = call i32 @putchar(i32 10)
%153 = call i32 @uchar2hexchar(i8* %6, i8* %7)
%154 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i8* %7)
%155 = call i32 @memset(i8* %5, i32 0, i32 512)
%156 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%157 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %5)
%158 = load i32, i32* @stdin
%159 = call i32 @fflush(i32 %158)
%160 = call i32 @bcmp(i8* dereferenceable(5) %5, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 5)
%161 = icmp eq i32 %160, 0
br i1 %161, label %162, label %48
162: ; preds = %48, %51, %0
ret i32 0
}