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

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
gen_med_find_esmf_coupling(FILE *fp) {
  int i;
  for (i = 1; i < 12; i++) {
    fprintf(fp, "IF ( .NOT. foundcoupling ) THEN\n");
    fprintf(fp, "  CALL nl_get_io_form_auxinput%d( 1, io_form )\n", i);
    fprintf(fp, "  IF ( use_package( io_form ) == IO_ESMF ) THEN\n");
    fprintf(
        fp,
        "    CALL ESMF_AlarmGet( head_grid%%alarms( AUXINPUT%d_ALARM ), &\n",
        i);
    fprintf(fp,
            "                        RingInterval=couplingInterval, rc=rc )\n");
    fprintf(fp, "    IF ( rc /= ESMF_SUCCESS ) THEN\n");
    fprintf(fp,
            "      CALL wrf_error_fatal ( 'wrf_findCouplingInterval:  "
            "ESMF_AlarmGet(AUXINPUT%d_ALARM) failed' )\n",
            i);
    fprintf(fp, "    ENDIF\n");
    fprintf(fp, "    foundcoupling = .TRUE.\n");
    fprintf(fp, "  ENDIF\n");
    fprintf(fp, "ENDIF\n");
    fprintf(fp, "IF ( .NOT. foundcoupling ) THEN\n");
    fprintf(fp, "  CALL nl_get_io_form_auxhist%d( 1, io_form )\n", i);
    fprintf(fp, "  IF ( use_package( io_form ) == IO_ESMF ) THEN\n");
    fprintf(fp,
            "    CALL ESMF_AlarmGet( head_grid%%alarms( AUXHIST%d_ALARM ), &\n",
            i);
    fprintf(fp,
            "                        RingInterval=couplingInterval, rc=rc )\n");
    fprintf(fp, "    IF ( rc /= ESMF_SUCCESS ) THEN\n");
    fprintf(fp,
            "      CALL wrf_error_fatal ( 'wrf_findCouplingInterval:  "
            "ESMF_AlarmGet(AUXHIST%d_ALARM) failed' )\n",
            i);
    fprintf(fp, "    ENDIF\n");
    fprintf(fp, "    foundcoupling = .TRUE.\n");
    fprintf(fp, "  ENDIF\n");
    fprintf(fp, "ENDIF\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<gen_med_find_esmf_coupling>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x1,-0xc(%rbp)
cmpl   $0xc,-0xc(%rbp)
jge    12d9 <gen_med_find_esmf_coupling+0x1c9>
mov    -0x8(%rbp),%rdi
lea    0xec8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xed4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xef2(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xf0e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf3e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf6c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xf7b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfcd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfc6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfab(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf9b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xdf9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xf97(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe23(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xf9f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe6f(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe9d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%edx
lea    0xfa7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xefe(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xef7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xedc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xecc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1123 <gen_med_find_esmf_coupling+0x13>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gen_med_find_esmf_coupling>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%rbx
mov    $0x1,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    $0x20,%esi
mov    $0x1,%edx
lea    0xeaf(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %rbx,%rdi
lea    0xebe(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x30,%esi
mov    $0x1,%edx
lea    0xed4(%rip),%r12
mov    %r12,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %rbx,%rdi
lea    0xef0(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x3f,%esi
mov    $0x1,%edx
lea    0xf18(%rip),%r15
mov    %r15,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x23,%esi
mov    $0x1,%edx
lea    0xf3c(%rip),%r13
mov    %r13,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %rbx,%rdi
lea    0xf4b(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0xa,%esi
mov    $0x1,%edx
lea    0xf95(%rip),%r14
mov    %r14,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x1b,%esi
mov    $0x1,%edx
lea    0xf84(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x8,%esi
mov    $0x1,%edx
lea    0xf62(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x6,%esi
mov    $0x1,%edx
lea    0xf4b(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x20,%esi
mov    $0x1,%edx
lea    0xda2(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %rbx,%rdi
lea    0xf43(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x30,%esi
mov    $0x1,%edx
mov    %r12,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %rbx,%rdi
lea    0xf4a(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x3f,%esi
mov    $0x1,%edx
mov    %r15,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x23,%esi
mov    $0x1,%edx
mov    %r13,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %rbx,%rdi
lea    0xf4e(%rip),%rsi
mov    %ebp,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0xa,%esi
mov    $0x1,%edx
mov    %r14,%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x1b,%esi
mov    $0x1,%edx
lea    0xe93(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x8,%esi
mov    $0x1,%edx
lea    0xe71(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0x6,%esi
mov    $0x1,%edx
lea    0xe5a(%rip),%rdi
mov    %rbx,%rcx
call   1040 <fwrite@plt>
add    $0x1,%ebp
cmp    $0xc,%ebp
jne    1140 <gen_med_find_esmf_coupling+0x20>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [33 x i8] c"IF ( .NOT. foundcoupling ) THEN\0A\00"
@.str.1 = [48 x i8] c" CALL nl_get_io_form_auxinput%d( 1, io_form )\0A\00"
@.str.2 = [49 x i8] c" IF ( use_package( io_form ) == IO_ESMF ) THEN\0A\00"
@.str.3 = [66 x i8] c" CALL ESMF_AlarmGet( head_grid%%alarms( AUXINPUT%d_ALARM ), &\0A\00"
@.str.4 = [64 x i8] c" RingInterval=couplingInterval, rc=rc )\0A\00"
@.str.5 = [36 x i8] c" IF ( rc /= ESMF_SUCCESS ) THEN\0A\00"
@.str.6 = [100 x i8] c" CALL wrf_error_fatal ( 'wrf_findCouplingInterval: ESMF_AlarmGet(AUXINPUT%d_ALARM) failed' )\0A\00"
@.str.7 = [11 x i8] c" ENDIF\0A\00"
@.str.8 = [28 x i8] c" foundcoupling = .TRUE.\0A\00"
@.str.9 = [9 x i8] c" ENDIF\0A\00"
@.str.10 = [7 x i8] c"ENDIF\0A\00"
@.str.11 = [47 x i8] c" CALL nl_get_io_form_auxhist%d( 1, io_form )\0A\00"
@.str.12 = [65 x i8] c" CALL ESMF_AlarmGet( head_grid%%alarms( AUXHIST%d_ALARM ), &\0A\00"
@.str.13 = [99 x i8] c" CALL wrf_error_fatal ( 'wrf_findCouplingInterval: ESMF_AlarmGet(AUXHIST%d_ALARM) failed' )\0A\00"
define i32 @gen_med_find_esmf_coupling(i32* %0) {
%2 = alloca i32*
%3 = alloca i32
store i32* %0, i32** %2
store i32 1, i32* %3
br label %4
4: ; preds = %58, %1
%5 = load i32, i32* %3
%6 = icmp slt i32 %5, 12
br i1 %6, label %7, label %61
7: ; preds = %4
%8 = load i32*, i32** %2
%9 = call i32 (i32*, i8*, ...) @fprintf(i32* %8, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%10 = load i32*, i32** %2
%11 = load i32, i32* %3
%12 = call i32 (i32*, i8*, ...) @fprintf(i32* %10, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%13 = load i32*, i32** %2
%14 = call i32 (i32*, i8*, ...) @fprintf(i32* %13, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%15 = load i32*, i32** %2
%16 = load i32, i32* %3
%17 = call i32 (i32*, i8*, ...) @fprintf(i32* %15, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.3, i64 0, i64 0), i32 %16)
%18 = load i32*, i32** %2
%19 = call i32 (i32*, i8*, ...) @fprintf(i32* %18, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0))
%20 = load i32*, i32** %2
%21 = call i32 (i32*, i8*, ...) @fprintf(i32* %20, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
%22 = load i32*, i32** %2
%23 = load i32, i32* %3
%24 = call i32 (i32*, i8*, ...) @fprintf(i32* %22, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.6, i64 0, i64 0), i32 %23)
%25 = load i32*, i32** %2
%26 = call i32 (i32*, i8*, ...) @fprintf(i32* %25, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%27 = load i32*, i32** %2
%28 = call i32 (i32*, i8*, ...) @fprintf(i32* %27, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%29 = load i32*, i32** %2
%30 = call i32 (i32*, i8*, ...) @fprintf(i32* %29, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%31 = load i32*, i32** %2
%32 = call i32 (i32*, i8*, ...) @fprintf(i32* %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%33 = load i32*, i32** %2
%34 = call i32 (i32*, i8*, ...) @fprintf(i32* %33, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%35 = load i32*, i32** %2
%36 = load i32, i32* %3
%37 = call i32 (i32*, i8*, ...) @fprintf(i32* %35, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.11, i64 0, i64 0), i32 %36)
%38 = load i32*, i32** %2
%39 = call i32 (i32*, i8*, ...) @fprintf(i32* %38, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%40 = load i32*, i32** %2
%41 = load i32, i32* %3
%42 = call i32 (i32*, i8*, ...) @fprintf(i32* %40, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.12, i64 0, i64 0), i32 %41)
%43 = load i32*, i32** %2
%44 = call i32 (i32*, i8*, ...) @fprintf(i32* %43, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0))
%45 = load i32*, i32** %2
%46 = call i32 (i32*, i8*, ...) @fprintf(i32* %45, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0))
%47 = load i32*, i32** %2
%48 = load i32, i32* %3
%49 = call i32 (i32*, i8*, ...) @fprintf(i32* %47, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.13, i64 0, i64 0), i32 %48)
%50 = load i32*, i32** %2
%51 = call i32 (i32*, i8*, ...) @fprintf(i32* %50, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%52 = load i32*, i32** %2
%53 = call i32 (i32*, i8*, ...) @fprintf(i32* %52, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%54 = load i32*, i32** %2
%55 = call i32 (i32*, i8*, ...) @fprintf(i32* %54, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%56 = load i32*, i32** %2
%57 = call i32 (i32*, i8*, ...) @fprintf(i32* %56, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
br label %58
58: ; preds = %7
%59 = load i32, i32* %3
%60 = add nsw i32 %59, 1
store i32 %60, i32* %3
br label %4
61: ; preds = %4
ret i32 0
}

LLVM IR (-O2):
@.str = [33 x i8] c"IF ( .NOT. foundcoupling ) THEN\0A\00"
@.str.1 = [48 x i8] c" CALL nl_get_io_form_auxinput%d( 1, io_form )\0A\00"
@.str.2 = [49 x i8] c" IF ( use_package( io_form ) == IO_ESMF ) THEN\0A\00"
@.str.3 = [66 x i8] c" CALL ESMF_AlarmGet( head_grid%%alarms( AUXINPUT%d_ALARM ), &\0A\00"
@.str.4 = [64 x i8] c" RingInterval=couplingInterval, rc=rc )\0A\00"
@.str.5 = [36 x i8] c" IF ( rc /= ESMF_SUCCESS ) THEN\0A\00"
@.str.6 = [100 x i8] c" CALL wrf_error_fatal ( 'wrf_findCouplingInterval: ESMF_AlarmGet(AUXINPUT%d_ALARM) failed' )\0A\00"
@.str.7 = [11 x i8] c" ENDIF\0A\00"
@.str.8 = [28 x i8] c" foundcoupling = .TRUE.\0A\00"
@.str.9 = [9 x i8] c" ENDIF\0A\00"
@.str.10 = [7 x i8] c"ENDIF\0A\00"
@.str.11 = [47 x i8] c" CALL nl_get_io_form_auxhist%d( 1, io_form )\0A\00"
@.str.12 = [65 x i8] c" CALL ESMF_AlarmGet( head_grid%%alarms( AUXHIST%d_ALARM ), &\0A\00"
@.str.13 = [99 x i8] c" CALL wrf_error_fatal ( 'wrf_findCouplingInterval: ESMF_AlarmGet(AUXHIST%d_ALARM) failed' )\0A\00"
define i32 @gen_med_find_esmf_coupling(i32* %0) {
br label %2
2: ; preds = %1, %2
%3 = phi i32 [ 1, %1 ], [ %26, %2 ]
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i64 32, i64 1, i32* %0)
%5 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0), i64 48, i64 1, i32* %0)
%7 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.3, i64 0, i64 0), i32 %3)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0), i64 63, i64 1, i32* %0)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i64 35, i64 1, i32* %0)
%10 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.6, i64 0, i64 0), i32 %3)
%11 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64 10, i64 1, i32* %0)
%12 = tail call i64 @fwrite(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0), i64 27, i64 1, i32* %0)
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i64 8, i64 1, i32* %0)
%14 = tail call i64 @fwrite(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i64 6, i64 1, i32* %0)
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i64 32, i64 1, i32* %0)
%16 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.11, i64 0, i64 0), i32 %3)
%17 = tail call i64 @fwrite(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0), i64 48, i64 1, i32* %0)
%18 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.12, i64 0, i64 0), i32 %3)
%19 = tail call i64 @fwrite(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.4, i64 0, i64 0), i64 63, i64 1, i32* %0)
%20 = tail call i64 @fwrite(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i64 35, i64 1, i32* %0)
%21 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.13, i64 0, i64 0), i32 %3)
%22 = tail call i64 @fwrite(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i64 10, i64 1, i32* %0)
%23 = tail call i64 @fwrite(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0), i64 27, i64 1, i32* %0)
%24 = tail call i64 @fwrite(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i64 8, i64 1, i32* %0)
%25 = tail call i64 @fwrite(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i64 6, i64 1, i32* %0)
%26 = add nuw nsw i32 %3, 1
%27 = icmp eq i32 %26, 12
br i1 %27, label %28, label %2
28: ; preds = %2
ret i32 0
}