#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*/ memset(char *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int strcat_descript_number(char *, char *, int);
scalar_t__ strcmp(char *, char *);
int strlen(char *);
int main(void) {
  int number_of_tests = 0, failed_tests = 0;
  char buffer[1024];
  int n;
  number_of_tests++;
  memset(buffer, 0, sizeof buffer);
  n = strcat_descript_number(buffer, "a", 1);
  if (strcmp(buffer, " a: 1") != 0) {
    printf("Expected:\n    %s (length %d)==\nComputed:\n    %s== (length %d)\n",
           " a: 1", strlen(" a: 1"), buffer, n);
    failed_tests++;
  }
  number_of_tests++;
  memset(buffer, 0, sizeof buffer);
  n = strcat_descript_number(buffer, "test A", 456);
  if (strcmp(buffer, " test A: 456") != 0) {
    printf("Expected:\n    %s (length %d)==\nComputed:\n    %s== (length %d)\n",
           " test A: 456", strlen(" test A: 456"), buffer, n);
    failed_tests++;
  }
  number_of_tests++;
  memset(buffer, 0, sizeof buffer);
  n = strcat_descript_number(buffer, "my-description-Z", -123456789);
  if (strcmp(buffer, " my-description-Z: -123456789") != 0) {
    printf("Expected:\n    %s (length %d)==\nComputed:\n    %s== (length %d)\n",
           " my-description-Z: -123456789",
           strlen(" my-description-Z: -123456789"), buffer, n);
    failed_tests++;
  }
  number_of_tests++;
  memset(buffer, 0, sizeof buffer);
  n = strcat_descript_number(buffer, "A-label", 0);
  if (strcmp(buffer, " A-label: 0") != 0) {
    printf("Expected:\n    %s (length %d)==\nComputed:\n    %s== (length %d)\n",
           " A-label: 0", strlen(" A-label: 0"), buffer, n);
    failed_tests++;
  }
  printf("\nAll unit-tests of strcat_descript_number() are done: "
         "total %d, failed %d tests\n",
         number_of_tests, failed_tests);
  return (failed_tests == 0) ? 0 : 1;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x420,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    -0x410(%rbp),%rdi
lea    0xe66(%rip),%rsi
mov    $0x1,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,-0x414(%rbp)
lea    -0x410(%rbp),%rdi
lea    0xe4a(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1201 <main+0xb1>
lea    0xe34(%rip),%rdi
call   1030 <strlen@plt>
mov    %eax,%edx
lea    -0x410(%rbp),%rcx
mov    -0x414(%rbp),%r8d
lea    0xe1e(%rip),%rdi
lea    0xe11(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    -0x410(%rbp),%rdi
lea    0xe1c(%rip),%rsi
mov    $0x1c8,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,-0x414(%rbp)
lea    -0x410(%rbp),%rdi
lea    0xe05(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1292 <main+0x142>
lea    0xdef(%rip),%rdi
call   1030 <strlen@plt>
mov    %eax,%edx
lea    -0x410(%rbp),%rcx
mov    -0x414(%rbp),%r8d
lea    0xd8d(%rip),%rdi
lea    0xdcc(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    -0x410(%rbp),%rdi
lea    0xd9f(%rip),%rsi
mov    $0xf8a432eb,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,-0x414(%rbp)
lea    -0x410(%rbp),%rdi
lea    0xd92(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     1323 <main+0x1d3>
lea    0xd7c(%rip),%rdi
call   1030 <strlen@plt>
mov    %eax,%edx
lea    -0x410(%rbp),%rcx
mov    -0x414(%rbp),%r8d
lea    0xcfc(%rip),%rdi
lea    0xd59(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
lea    -0x410(%rbp),%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    -0x410(%rbp),%rdi
lea    0xd3d(%rip),%rsi
xor    %edx,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,-0x414(%rbp)
lea    -0x410(%rbp),%rdi
lea    0xd2a(%rip),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
je     13b1 <main+0x261>
lea    0xd14(%rip),%rdi
call   1030 <strlen@plt>
mov    %eax,%edx
lea    -0x410(%rbp),%rcx
mov    -0x414(%rbp),%r8d
lea    0xc6e(%rip),%rdi
lea    0xcf1(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    0xce0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%edx
mov    $0x1,%eax
xor    %ecx,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
add    $0x420,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x400,%rsp
mov    %rsp,%rbp
xor    %ebx,%ebx
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    0xe8a(%rip),%rsi
mov    %rbp,%rdi
mov    $0x1,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,%r14d
lea    0xe75(%rip),%rsi
mov    %rbp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     11c7 <main+0x77>
lea    0xe61(%rip),%rbx
mov    %rbx,%rdi
call   1030 <strlen@plt>
lea    0xe58(%rip),%rdi
mov    %rsp,%rcx
mov    %rbx,%rsi
mov    %eax,%edx
mov    %r14d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%ebx
mov    %rsp,%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    0xe67(%rip),%rsi
mov    %rbp,%rdi
mov    $0x1c8,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,%r14d
lea    0xe57(%rip),%rsi
mov    %rbp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     122f <main+0xdf>
lea    0xe43(%rip),%rbp
mov    %rbp,%rdi
call   1030 <strlen@plt>
lea    0xdee(%rip),%rdi
mov    %rsp,%rcx
mov    %rbp,%rsi
mov    %eax,%edx
mov    %r14d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebx
mov    %rsp,%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    0xe13(%rip),%rsi
mov    %rbp,%rdi
mov    $0xf8a432eb,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,%r14d
lea    0xe0d(%rip),%rsi
mov    %rbp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     1297 <main+0x147>
lea    0xdf9(%rip),%rbp
mov    %rbp,%rdi
call   1030 <strlen@plt>
lea    0xd86(%rip),%rdi
mov    %rsp,%rcx
mov    %rbp,%rsi
mov    %eax,%edx
mov    %r14d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebx
mov    %rsp,%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    $0x400,%edx
call   1050 <memset@plt>
lea    0xdda(%rip),%rsi
mov    %rbp,%rdi
xor    %edx,%edx
call   1060 <strcat_descript_number@plt>
mov    %eax,%r14d
lea    0xdce(%rip),%rsi
mov    %rbp,%rdi
call   1070 <strcmp@plt>
test   %rax,%rax
je     12fc <main+0x1ac>
lea    0xdba(%rip),%rbp
mov    %rbp,%rdi
call   1030 <strlen@plt>
lea    0xd21(%rip),%rdi
mov    %rsp,%rcx
mov    %rbp,%rsi
mov    %eax,%edx
mov    %r14d,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebx
lea    0xd9b(%rip),%rdi
mov    $0x4,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
test   %ebx,%ebx
setne  %al
add    $0x400,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"a\00"
@.str.1 = [6 x i8] c" a: 1\00"
@.str.2 = [63 x i8] c"Expected:\0A %s (length %d)==\0AComputed:\0A %s== (length %d)\0A\00"
@.str.3 = [7 x i8] c"test A\00"
@.str.4 = [13 x i8] c" test A: 456\00"
@.str.5 = [17 x i8] c"my-description-Z\00"
@.str.6 = [30 x i8] c" my-description-Z: -123456789\00"
@.str.7 = [8 x i8] c"A-label\00"
@.str.8 = [12 x i8] c" A-label: 0\00"
@.str.9 = [81 x i8] c"\0AAll unit-tests of strcat_descript_number() are done: total %d, failed %d tests\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [1024 x i8]
%5 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
%6 = load i32, i32* %2
%7 = add nsw i32 %6, 1
store i32 %7, i32* %2
%8 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%9 = call i32 @memset(i8* %8, i32 0, i32 1024)
%10 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%11 = call i32 @strcat_descript_number(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 1)
store i32 %11, i32* %5
%12 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%13 = call i64 @strcmp(i8* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %22
15: ; preds = %0
%16 = call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%17 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%18 = load i32, i32* %5
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %16, i8* %17, i32 %18)
%20 = load i32, i32* %3
%21 = add nsw i32 %20, 1
store i32 %21, i32* %3
br label %22
22: ; preds = %15, %0
%23 = load i32, i32* %2
%24 = add nsw i32 %23, 1
store i32 %24, i32* %2
%25 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%26 = call i32 @memset(i8* %25, i32 0, i32 1024)
%27 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%28 = call i32 @strcat_descript_number(i8* %27, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 456)
store i32 %28, i32* %5
%29 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%30 = call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %39
32: ; preds = %22
%33 = call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%34 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%35 = load i32, i32* %5
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i32 %33, i8* %34, i32 %35)
%37 = load i32, i32* %3
%38 = add nsw i32 %37, 1
store i32 %38, i32* %3
br label %39
39: ; preds = %32, %22
%40 = load i32, i32* %2
%41 = add nsw i32 %40, 1
store i32 %41, i32* %2
%42 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%43 = call i32 @memset(i8* %42, i32 0, i32 1024)
%44 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%45 = call i32 @strcat_descript_number(i8* %44, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i32 -123456789)
store i32 %45, i32* %5
%46 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %56
49: ; preds = %39
%50 = call i32 @strlen(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%51 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%52 = load i32, i32* %5
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i32 %50, i8* %51, i32 %52)
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 1
store i32 %55, i32* %3
br label %56
56: ; preds = %49, %39
%57 = load i32, i32* %2
%58 = add nsw i32 %57, 1
store i32 %58, i32* %2
%59 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%60 = call i32 @memset(i8* %59, i32 0, i32 1024)
%61 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%62 = call i32 @strcat_descript_number(i8* %61, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 0)
store i32 %62, i32* %5
%63 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%64 = call i64 @strcmp(i8* %63, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %73
66: ; preds = %56
%67 = call i32 @strlen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%68 = getelementptr inbounds [1024 x i8], [1024 x i8]* %4, i64 0, i64 0
%69 = load i32, i32* %5
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 %67, i8* %68, i32 %69)
%71 = load i32, i32* %3
%72 = add nsw i32 %71, 1
store i32 %72, i32* %3
br label %73
73: ; preds = %66, %56
%74 = load i32, i32* %2
%75 = load i32, i32* %3
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.9, i64 0, i64 0), i32 %74, i32 %75)
%77 = load i32, i32* %3
%78 = icmp eq i32 %77, 0
%79 = zext i1 %78 to i64
%80 = select i1 %78, i32 0, i32 1
ret i32 %80
}

LLVM IR (-O2):
@.str = [2 x i8] c"a\00"
@.str.1 = [6 x i8] c" a: 1\00"
@.str.2 = [63 x i8] c"Expected:\0A %s (length %d)==\0AComputed:\0A %s== (length %d)\0A\00"
@.str.3 = [7 x i8] c"test A\00"
@.str.4 = [13 x i8] c" test A: 456\00"
@.str.5 = [17 x i8] c"my-description-Z\00"
@.str.6 = [30 x i8] c" my-description-Z: -123456789\00"
@.str.7 = [8 x i8] c"A-label\00"
@.str.8 = [12 x i8] c" A-label: 0\00"
@.str.9 = [81 x i8] c"\0AAll unit-tests of strcat_descript_number() are done: total %d, failed %d tests\0A\00"
define i32 @main() {
%1 = alloca [1024 x i8]
%2 = getelementptr inbounds [1024 x i8], [1024 x i8]* %1, i64 0, i64 0
%3 = call i32 @memset(i8* %2, i32 0, i32 1024)
%4 = call i32 @strcat_descript_number(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 1)
%5 = call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %0
%8 = call i32 @strlen(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %8, i8* %2, i32 %4)
br label %10
10: ; preds = %7, %0
%11 = phi i32 [ 1, %7 ], [ 0, %0 ]
%12 = call i32 @memset(i8* %2, i32 0, i32 1024)
%13 = call i32 @strcat_descript_number(i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i32 456)
%14 = call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %20, label %16
16: ; preds = %10
%17 = call i32 @strlen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i32 %17, i8* %2, i32 %13)
%19 = add nuw nsw i32 %11, 1
br label %20
20: ; preds = %16, %10
%21 = phi i32 [ %19, %16 ], [ %11, %10 ]
%22 = call i32 @memset(i8* %2, i32 0, i32 1024)
%23 = call i32 @strcat_descript_number(i8* %2, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i32 -123456789)
%24 = call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %30, label %26
26: ; preds = %20
%27 = call i32 @strlen(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i32 %27, i8* %2, i32 %23)
%29 = add nuw nsw i32 %21, 1
br label %30
30: ; preds = %26, %20
%31 = phi i32 [ %29, %26 ], [ %21, %20 ]
%32 = call i32 @memset(i8* %2, i32 0, i32 1024)
%33 = call i32 @strcat_descript_number(i8* %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 0)
%34 = call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %40, label %36
36: ; preds = %30
%37 = call i32 @strlen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 %37, i8* %2, i32 %33)
%39 = add nuw nsw i32 %31, 1
br label %40
40: ; preds = %36, %30
%41 = phi i32 [ %39, %36 ], [ %31, %30 ]
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @.str.9, i64 0, i64 0), i32 4, i32 %41)
%43 = icmp ne i32 %41, 0
%44 = zext i1 %43 to i32
ret i32 %44
}