#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*/ printf(char *, char *, int, int, int);
int wcsnlen(char *, int);
int main(void) {
  int result = 0;
  int n;
  n = wcsnlen(L"0123456789", 0);
  if (n != 0) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 0, n, 0);
  };
  n = wcsnlen(L"0123456789", 1);
  if (n != 1) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 1, n, 1);
  };
  n = wcsnlen(L"0123456789", 2);
  if (n != 2) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 2, n, 2);
  };
  n = wcsnlen(L"0123456789", 3);
  if (n != 3) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 3, n, 3);
  };
  n = wcsnlen(L"0123456789", 4);
  if (n != 4) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 4, n, 4);
  };
  n = wcsnlen(L"0123456789", 5);
  if (n != 5) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 5, n, 5);
  };
  n = wcsnlen(L"0123456789", 6);
  if (n != 6) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 6, n, 6);
  };
  n = wcsnlen(L"0123456789", 7);
  if (n != 7) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 7, n, 7);
  };
  n = wcsnlen(L"0123456789", 8);
  if (n != 8) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 8, n, 8);
  };
  n = wcsnlen(L"0123456789", 9);
  if (n != 9) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "0123456789", 9, n, 9);
  };
  n = wcsnlen(L"01234", 9);
  if (n != 5) {
    result = 1;
    printf("wcsnlen (L\"%s\", %d) = %d, not %d\n", "01234", 9, n, 5);
  };
  return result;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
lea    0xec3(%rip),%rdi
xor    %esi,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x0,-0xc(%rbp)
je     1174 <main+0x54>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xee2(%rip),%rdi
lea    0xefd(%rip),%rsi
xor    %r8d,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xe85(%rip),%rdi
mov    $0x1,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x1,-0xc(%rbp)
je     11b8 <main+0x98>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xea1(%rip),%rdi
lea    0xebc(%rip),%rsi
mov    $0x1,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xe41(%rip),%rdi
mov    $0x2,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x2,-0xc(%rbp)
je     11fc <main+0xdc>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xe5d(%rip),%rdi
lea    0xe78(%rip),%rsi
mov    $0x2,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xdfd(%rip),%rdi
mov    $0x3,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x3,-0xc(%rbp)
je     1240 <main+0x120>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xe19(%rip),%rdi
lea    0xe34(%rip),%rsi
mov    $0x3,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xdb9(%rip),%rdi
mov    $0x4,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x4,-0xc(%rbp)
je     1284 <main+0x164>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xdd5(%rip),%rdi
lea    0xdf0(%rip),%rsi
mov    $0x4,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xd75(%rip),%rdi
mov    $0x5,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x5,-0xc(%rbp)
je     12c8 <main+0x1a8>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xd91(%rip),%rdi
lea    0xdac(%rip),%rsi
mov    $0x5,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xd31(%rip),%rdi
mov    $0x6,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x6,-0xc(%rbp)
je     130c <main+0x1ec>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xd4d(%rip),%rdi
lea    0xd68(%rip),%rsi
mov    $0x6,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xced(%rip),%rdi
mov    $0x7,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x7,-0xc(%rbp)
je     1350 <main+0x230>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xd09(%rip),%rdi
lea    0xd24(%rip),%rsi
mov    $0x7,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xca9(%rip),%rdi
mov    $0x8,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x8,-0xc(%rbp)
je     1394 <main+0x274>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xcc5(%rip),%rdi
lea    0xce0(%rip),%rsi
mov    $0x8,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xc65(%rip),%rdi
mov    $0x9,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x9,-0xc(%rbp)
je     13d8 <main+0x2b8>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xc81(%rip),%rdi
lea    0xc9c(%rip),%rsi
mov    $0x9,%r8d
mov    %r8d,%edx
call   1030 <printf@plt>
lea    0xc4d(%rip),%rdi
mov    $0x9,%esi
call   1040 <wcsnlen@plt>
mov    %eax,-0xc(%rbp)
cmpl   $0x5,-0xc(%rbp)
je     141e <main+0x2fe>
movl   $0x1,-0x8(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xc3d(%rip),%rdi
lea    0xc63(%rip),%rsi
mov    $0x9,%edx
mov    $0x5,%r8d
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xed8(%rip),%rdi
xor    %ebx,%ebx
xor    %esi,%esi
call   1040 <wcsnlen@plt>
test   %eax,%eax
je     1154 <main+0x34>
lea    0xf08(%rip),%rdi
lea    0xf23(%rip),%rsi
xor    %edx,%edx
mov    %eax,%ecx
xor    %r8d,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xea5(%rip),%rdi
mov    $0x1,%esi
call   1040 <wcsnlen@plt>
cmp    $0x1,%eax
je     118f <main+0x6f>
lea    0xed3(%rip),%rdi
lea    0xeee(%rip),%rsi
mov    $0x1,%edx
mov    %eax,%ecx
mov    $0x1,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xe6a(%rip),%rdi
mov    $0x2,%esi
call   1040 <wcsnlen@plt>
cmp    $0x2,%eax
je     11ca <main+0xaa>
lea    0xe98(%rip),%rdi
lea    0xeb3(%rip),%rsi
mov    $0x2,%edx
mov    %eax,%ecx
mov    $0x2,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xe2f(%rip),%rdi
mov    $0x3,%esi
call   1040 <wcsnlen@plt>
cmp    $0x3,%eax
je     1205 <main+0xe5>
lea    0xe5d(%rip),%rdi
lea    0xe78(%rip),%rsi
mov    $0x3,%edx
mov    %eax,%ecx
mov    $0x3,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xdf4(%rip),%rdi
mov    $0x4,%esi
call   1040 <wcsnlen@plt>
cmp    $0x4,%eax
je     1240 <main+0x120>
lea    0xe22(%rip),%rdi
lea    0xe3d(%rip),%rsi
mov    $0x4,%edx
mov    %eax,%ecx
mov    $0x4,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xdb9(%rip),%rdi
mov    $0x5,%esi
call   1040 <wcsnlen@plt>
cmp    $0x5,%eax
je     127b <main+0x15b>
lea    0xde7(%rip),%rdi
lea    0xe02(%rip),%rsi
mov    $0x5,%edx
mov    %eax,%ecx
mov    $0x5,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xd7e(%rip),%rdi
mov    $0x6,%esi
call   1040 <wcsnlen@plt>
cmp    $0x6,%eax
je     12b6 <main+0x196>
lea    0xdac(%rip),%rdi
lea    0xdc7(%rip),%rsi
mov    $0x6,%edx
mov    %eax,%ecx
mov    $0x6,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xd43(%rip),%rdi
mov    $0x7,%esi
call   1040 <wcsnlen@plt>
cmp    $0x7,%eax
je     12f1 <main+0x1d1>
lea    0xd71(%rip),%rdi
lea    0xd8c(%rip),%rsi
mov    $0x7,%edx
mov    %eax,%ecx
mov    $0x7,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xd08(%rip),%rdi
mov    $0x8,%esi
call   1040 <wcsnlen@plt>
cmp    $0x8,%eax
je     132c <main+0x20c>
lea    0xd36(%rip),%rdi
lea    0xd51(%rip),%rsi
mov    $0x8,%edx
mov    %eax,%ecx
mov    $0x8,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xccd(%rip),%rdi
mov    $0x9,%esi
call   1040 <wcsnlen@plt>
cmp    $0x9,%eax
je     1367 <main+0x247>
lea    0xcfb(%rip),%rdi
lea    0xd16(%rip),%rsi
mov    $0x9,%edx
mov    %eax,%ecx
mov    $0x9,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
lea    0xcbe(%rip),%rdi
mov    $0x9,%esi
call   1040 <wcsnlen@plt>
cmp    $0x5,%eax
je     13a2 <main+0x282>
lea    0xcc0(%rip),%rdi
lea    0xce6(%rip),%rsi
mov    $0x9,%edx
mov    %eax,%ecx
mov    $0x5,%r8d
call   1030 <printf@plt>
mov    $0x1,%ebx
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [11 x i32] [i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 0]
@.str.1 = [34 x i8] c"wcsnlen (L\22%s\22, %d) = %d, not %d\0A\00"
@.str.2 = [11 x i8] c"0123456789\00"
@.str.3 = [6 x i32] [i32 48, i32 49, i32 50, i32 51, i32 52, i32 0]
@.str.4 = [6 x i8] c"01234\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
%4 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 0)
store i32 %4, i32* %3
%5 = load i32, i32* %3
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
store i32 1, i32* %2
%8 = load i32, i32* %3
%9 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %8, i32 0)
br label %10
10: ; preds = %7, %0
%11 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 1)
store i32 %11, i32* %3
%12 = load i32, i32* %3
%13 = icmp ne i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %10
store i32 1, i32* %2
%15 = load i32, i32* %3
%16 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 %15, i32 1)
br label %17
17: ; preds = %14, %10
%18 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 2)
store i32 %18, i32* %3
%19 = load i32, i32* %3
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %24
21: ; preds = %17
store i32 1, i32* %2
%22 = load i32, i32* %3
%23 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 %22, i32 2)
br label %24
24: ; preds = %21, %17
%25 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 3)
store i32 %25, i32* %3
%26 = load i32, i32* %3
%27 = icmp ne i32 %26, 3
br i1 %27, label %28, label %31
28: ; preds = %24
store i32 1, i32* %2
%29 = load i32, i32* %3
%30 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 %29, i32 3)
br label %31
31: ; preds = %28, %24
%32 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 4)
store i32 %32, i32* %3
%33 = load i32, i32* %3
%34 = icmp ne i32 %33, 4
br i1 %34, label %35, label %38
35: ; preds = %31
store i32 1, i32* %2
%36 = load i32, i32* %3
%37 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 %36, i32 4)
br label %38
38: ; preds = %35, %31
%39 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 5)
store i32 %39, i32* %3
%40 = load i32, i32* %3
%41 = icmp ne i32 %40, 5
br i1 %41, label %42, label %45
42: ; preds = %38
store i32 1, i32* %2
%43 = load i32, i32* %3
%44 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 5, i32 %43, i32 5)
br label %45
45: ; preds = %42, %38
%46 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 6)
store i32 %46, i32* %3
%47 = load i32, i32* %3
%48 = icmp ne i32 %47, 6
br i1 %48, label %49, label %52
49: ; preds = %45
store i32 1, i32* %2
%50 = load i32, i32* %3
%51 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 6, i32 %50, i32 6)
br label %52
52: ; preds = %49, %45
%53 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 7)
store i32 %53, i32* %3
%54 = load i32, i32* %3
%55 = icmp ne i32 %54, 7
br i1 %55, label %56, label %59
56: ; preds = %52
store i32 1, i32* %2
%57 = load i32, i32* %3
%58 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 7, i32 %57, i32 7)
br label %59
59: ; preds = %56, %52
%60 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 8)
store i32 %60, i32* %3
%61 = load i32, i32* %3
%62 = icmp ne i32 %61, 8
br i1 %62, label %63, label %66
63: ; preds = %59
store i32 1, i32* %2
%64 = load i32, i32* %3
%65 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 8, i32 %64, i32 8)
br label %66
66: ; preds = %63, %59
%67 = call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 9)
store i32 %67, i32* %3
%68 = load i32, i32* %3
%69 = icmp ne i32 %68, 9
br i1 %69, label %70, label %73
70: ; preds = %66
store i32 1, i32* %2
%71 = load i32, i32* %3
%72 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 %71, i32 9)
br label %73
73: ; preds = %70, %66
%74 = call i32 @wcsnlen(i8* bitcast ([6 x i32]* @.str.3 to i8*), i32 9)
store i32 %74, i32* %3
%75 = load i32, i32* %3
%76 = icmp ne i32 %75, 5
br i1 %76, label %77, label %80
77: ; preds = %73
store i32 1, i32* %2
%78 = load i32, i32* %3
%79 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i32 9, i32 %78, i32 5)
br label %80
80: ; preds = %77, %73
%81 = load i32, i32* %2
ret i32 %81
}

LLVM IR (-O2):
@.str = [11 x i32] [i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 0]
@.str.1 = [34 x i8] c"wcsnlen (L\22%s\22, %d) = %d, not %d\0A\00"
@.str.2 = [11 x i8] c"0123456789\00"
@.str.3 = [6 x i32] [i32 48, i32 49, i32 50, i32 51, i32 52, i32 0]
@.str.4 = [6 x i8] c"01234\00"
define i32 @main() {
%1 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 0)
%2 = icmp eq i32 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 0, i32 %1, i32 0)
br label %5
5: ; preds = %3, %0
%6 = phi i32 [ 1, %3 ], [ 0, %0 ]
%7 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 1)
%8 = icmp eq i32 %7, 1
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 %7, i32 1)
br label %11
11: ; preds = %9, %5
%12 = phi i32 [ 1, %9 ], [ %6, %5 ]
%13 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 2)
%14 = icmp eq i32 %13, 2
br i1 %14, label %17, label %15
15: ; preds = %11
%16 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 %13, i32 2)
br label %17
17: ; preds = %15, %11
%18 = phi i32 [ 1, %15 ], [ %12, %11 ]
%19 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 3)
%20 = icmp eq i32 %19, 3
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 %19, i32 3)
br label %23
23: ; preds = %21, %17
%24 = phi i32 [ 1, %21 ], [ %18, %17 ]
%25 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 4)
%26 = icmp eq i32 %25, 4
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 %25, i32 4)
br label %29
29: ; preds = %27, %23
%30 = phi i32 [ 1, %27 ], [ %24, %23 ]
%31 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 5)
%32 = icmp eq i32 %31, 5
br i1 %32, label %35, label %33
33: ; preds = %29
%34 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 5, i32 %31, i32 5)
br label %35
35: ; preds = %33, %29
%36 = phi i32 [ 1, %33 ], [ %30, %29 ]
%37 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 6)
%38 = icmp eq i32 %37, 6
br i1 %38, label %41, label %39
39: ; preds = %35
%40 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 6, i32 %37, i32 6)
br label %41
41: ; preds = %39, %35
%42 = phi i32 [ 1, %39 ], [ %36, %35 ]
%43 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 7)
%44 = icmp eq i32 %43, 7
br i1 %44, label %47, label %45
45: ; preds = %41
%46 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 7, i32 %43, i32 7)
br label %47
47: ; preds = %45, %41
%48 = phi i32 [ 1, %45 ], [ %42, %41 ]
%49 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 8)
%50 = icmp eq i32 %49, 8
br i1 %50, label %53, label %51
51: ; preds = %47
%52 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 8, i32 %49, i32 8)
br label %53
53: ; preds = %51, %47
%54 = phi i32 [ 1, %51 ], [ %48, %47 ]
%55 = tail call i32 @wcsnlen(i8* bitcast ([11 x i32]* @.str to i8*), i32 9)
%56 = icmp eq i32 %55, 9
br i1 %56, label %59, label %57
57: ; preds = %53
%58 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 %55, i32 9)
br label %59
59: ; preds = %57, %53
%60 = phi i32 [ 1, %57 ], [ %54, %53 ]
%61 = tail call i32 @wcsnlen(i8* bitcast ([6 x i32]* @.str.3 to i8*), i32 9)
%62 = icmp eq i32 %61, 5
br i1 %62, label %65, label %63
63: ; preds = %59
%64 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i32 9, i32 %61, i32 5)
br label %65
65: ; preds = %63, %59
%66 = phi i32 [ 1, %63 ], [ %60, %59 ]
ret i32 %66
}