#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*/ nonce;
typedef int /*<<< orphan*/ mac;

/* Variables and functions */
int /*<<< orphan*/ gen_sha256_nonce(int *, int, int, unsigned char *, int *);
int /*<<< orphan*/ memset(unsigned char *, int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ snprintf(char *, int, char *, unsigned char);
int /*<<< orphan*/ sscanf(char *, char *, unsigned char *);
void get_nonce_test() {
  int len;
  unsigned char nonce[32 * 2 + 1];
  char nonce_str[128] = {0};
  int i, nonce_len = sizeof(nonce);
  uint8_t mac[6] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05};
  gen_sha256_nonce(mac, sizeof(mac), i, nonce, &nonce_len);
  len = 0;
  for (i = 0; i < nonce_len; i++) {
    snprintf(nonce_str + len, sizeof(nonce) - len, "%02x ", nonce[i]);
    len += 2;
  }
  printf("nonce_str = %s\n", nonce_str);
  printf("\n");
  memset(nonce, 0x00, sizeof(nonce));
  len = 0;
  for (i = 0; i < 32; i++) {
    sscanf(nonce_str + len, "%02x", &nonce[i]);
    len += 2;
  }
  printf("\n");
  for (i = 0; i < 32; i++) {
    printf(" %02x", nonce[i]);
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<get_nonce_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
lea    -0xd0(%rbp),%rdi
xor    %esi,%esi
mov    $0x80,%edx
call   1060 <memset@plt>
movl   $0x41,-0xd8(%rbp)
mov    0xe81(%rip),%rax
mov    %rax,-0xf0(%rbp)
mov    0xe7b(%rip),%rax
mov    %rax,-0xe8(%rbp)
mov    0xe75(%rip),%rax
mov    %rax,-0xe0(%rbp)
lea    -0xf0(%rbp),%rdi
mov    -0xd4(%rbp),%edx
lea    -0x50(%rbp),%rcx
mov    $0x18,%esi
lea    -0xd8(%rbp),%r8
call   1030 <gen_sha256_nonce@plt>
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xd4(%rbp)
mov    -0xd4(%rbp),%eax
cmp    -0xd8(%rbp),%eax
jge    1238 <get_nonce_test+0xe8>
lea    -0xd0(%rbp),%rdi
movslq -0x4(%rbp),%rax
add    %rax,%rdi
movslq -0x4(%rbp),%rcx
mov    $0x41,%eax
sub    %rcx,%rax
mov    %eax,%esi
movslq -0xd4(%rbp),%rax
lea    0xe07(%rip),%rdx
movzbl -0x50(%rbp,%rax,1),%ecx
call   1050 <snprintf@plt>
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x4(%rbp)
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    11d5 <get_nonce_test+0x85>
lea    -0xd0(%rbp),%rsi
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x41,%edx
call   1060 <memset@plt>
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xd4(%rbp)
cmpl   $0x20,-0xd4(%rbp)
jge    12ce <get_nonce_test+0x17e>
lea    -0xd0(%rbp),%rdi
movslq -0x4(%rbp),%rax
add    %rax,%rdi
movslq -0xd4(%rbp),%rax
lea    -0x50(%rbp),%rdx
add    %rax,%rdx
lea    0xd83(%rip),%rsi
call   1070 <sscanf@plt>
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x4(%rbp)
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    127c <get_nonce_test+0x12c>
lea    0xd57(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xd4(%rbp)
cmpl   $0x20,-0xd4(%rbp)
jge    1321 <get_nonce_test+0x1d1>
movslq -0xd4(%rbp),%rax
movzbl -0x50(%rbp,%rax,1),%esi
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    12e6 <get_nonce_test+0x196>
lea    0xd04(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_nonce_test>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x108,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movl   $0x41,0xc(%rsp)
mov    0xe51(%rip),%rax
mov    %rax,0x70(%rsp)
movaps 0xe35(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
lea    0x60(%rsp),%rdi
lea    0x10(%rsp),%rcx
lea    0xc(%rsp),%r8
mov    $0x18,%esi
call   1040 <gen_sha256_nonce@plt>
cmpl   $0x0,0xc(%rsp)
jle    1237 <get_nonce_test+0xd7>
lea    0x80(%rsp),%r15
mov    $0x41,%ebp
xor    %ebx,%ebx
lea    0xe12(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
movzbl 0x10(%rsp,%rbx,1),%ecx
mov    %r15,%rdi
mov    %ebp,%esi
mov    %r14,%rdx
call   1060 <snprintf@plt>
add    $0x1,%rbx
movslq 0xc(%rsp),%rax
add    $0x2,%r15
add    $0xfffffffe,%ebp
cmp    %rax,%rbx
jl     1210 <get_nonce_test+0xb0>
lea    0xde0(%rip),%rdi
xor    %ebp,%ebp
lea    0x80(%rsp),%rbx
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    $0x41,%edx
call   1070 <memset@plt>
lea    0xdbb(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    (%rsp,%rbp,1),%rdx
add    $0x10,%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <sscanf@plt>
add    $0x1,%rbp
add    $0x2,%rbx
cmp    $0x20,%rbp
jne    1280 <get_nonce_test+0x120>
mov    $0xa,%edi
call   1030 <putchar@plt>
movzbl 0x10(%rsp),%esi
lea    0xd77(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x11(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x12(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x13(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x15(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x16(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x17(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x18(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x19(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x1a(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x1b(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x1c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x1d(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x1e(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x1f(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x20(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x21(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x22(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x23(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x24(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x25(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x26(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x27(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x28(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x29(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x2a(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x2b(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x2c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x2d(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x2e(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x2f(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x108,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.get_nonce_test.mac = [6 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5]
@.str = [6 x i8] c"%02x \00"
@.str.1 = [16 x i8] c"nonce_str = %s\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [5 x i8] c"%02x\00"
@.str.4 = [6 x i8] c" %02x\00"
define void @get_nonce_test() {
%1 = alloca i32
%2 = alloca [65 x i8]
%3 = alloca [128 x i8]
%4 = alloca i32
%5 = alloca i32
%6 = alloca [6 x i32]
%7 = bitcast [128 x i8]* %3 to i8*
store i32 65, i32* %5
%8 = bitcast [6 x i32]* %6 to i8*
%9 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 0
%10 = load i32, i32* %4
%11 = getelementptr inbounds [65 x i8], [65 x i8]* %2, i64 0, i64 0
%12 = call i32 @gen_sha256_nonce(i32* %9, i32 24, i32 %10, i8* %11, i32* %5)
store i32 0, i32* %1
store i32 0, i32* %4
br label %13
13: ; preds = %33, %0
%14 = load i32, i32* %4
%15 = load i32, i32* %5
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %36
17: ; preds = %13
%18 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%19 = load i32, i32* %1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, i8* %18, i64 %20
%22 = load i32, i32* %1
%23 = sext i32 %22 to i64
%24 = sub i64 65, %23
%25 = trunc i64 %24 to i32
%26 = load i32, i32* %4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [65 x i8], [65 x i8]* %2, i64 0, i64 %27
%29 = load i8, i8* %28
%30 = call i32 @snprintf(i8* %21, i32 %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8 zeroext %29)
%31 = load i32, i32* %1
%32 = add nsw i32 %31, 2
store i32 %32, i32* %1
br label %33
33: ; preds = %17
%34 = load i32, i32* %4
%35 = add nsw i32 %34, 1
store i32 %35, i32* %4
br label %13
36: ; preds = %13
%37 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* %37)
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%40 = getelementptr inbounds [65 x i8], [65 x i8]* %2, i64 0, i64 0
%41 = call i32 @memset(i8* %40, i32 0, i32 65)
store i32 0, i32* %1
store i32 0, i32* %4
br label %42
42: ; preds = %56, %36
%43 = load i32, i32* %4
%44 = icmp slt i32 %43, 32
br i1 %44, label %45, label %59
45: ; preds = %42
%46 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%47 = load i32, i32* %1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, i8* %46, i64 %48
%50 = load i32, i32* %4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [65 x i8], [65 x i8]* %2, i64 0, i64 %51
%53 = call i32 @sscanf(i8* %49, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* %52)
%54 = load i32, i32* %1
%55 = add nsw i32 %54, 2
store i32 %55, i32* %1
br label %56
56: ; preds = %45
%57 = load i32, i32* %4
%58 = add nsw i32 %57, 1
store i32 %58, i32* %4
br label %42
59: ; preds = %42
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %4
br label %61
61: ; preds = %71, %59
%62 = load i32, i32* %4
%63 = icmp slt i32 %62, 32
br i1 %63, label %64, label %74
64: ; preds = %61
%65 = load i32, i32* %4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [65 x i8], [65 x i8]* %2, i64 0, i64 %66
%68 = load i8, i8* %67
%69 = zext i8 %68 to i32
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i32 %69)
br label %71
71: ; preds = %64
%72 = load i32, i32* %4
%73 = add nsw i32 %72, 1
store i32 %73, i32* %4
br label %61
74: ; preds = %61
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret void
}

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