#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*/ fprintf(int /*<<< orphan*/, char *, int, char *, char *,
                           float, int, ...);
int pow(int, int);
int /*<<< orphan*/ stderr;
scalar_t__ work_counter_parallel(int, int, int);
scalar_t__ work_counter_serial(int);
void counter_2() {
  int in_count;
  float out_time;
  int lock_mode;
  for (int b = 10; b <= 20; b++) {
    out_time = 0;
    in_count = pow(2, b);
    for (short iter = 0; iter < 3; iter++) {
      out_time += work_counter_serial(in_count);
    }
    fprintf(stderr, "%i\t%s\t%s\t%f\t%i\n", 2, "COUNTER_2", "serial", out_time,
            in_count);
  }
  for (int b = 10; b <= 20; b++) {
    for (int m = 0; m < 5; m++) {
      out_time = 0;
      in_count = pow(2, b);
      lock_mode = pow(2, m);
      for (short iter = 0; iter < 3; iter++) {
        out_time += work_counter_parallel(in_count, 1, lock_mode);
      }
      fprintf(stderr, "%i\t%s\t%s\t%f\t%i\t%i\n", 2, "COUNTER_2", "parallel",
              out_time, in_count, lock_mode);
    }
  }
}


x86 assembly (clang, -O0):
<counter_2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0xa,-0x10(%rbp)
cmpl   $0x14,-0x10(%rbp)
jg     11ed <counter_2+0xad>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
mov    -0x10(%rbp),%esi
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %eax,-0x4(%rbp)
movw   $0x0,-0x12(%rbp)
movswl -0x12(%rbp),%eax
cmp    $0x3,%eax
jge    11ac <counter_2+0x6c>
mov    -0x4(%rbp),%edi
call   1030 <work_counter_serial@plt>
cvtsi2ss %rax,%xmm0
addss  -0x8(%rbp),%xmm0
movss  %xmm0,-0x8(%rbp)
mov    -0x12(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x12(%rbp)
jmp    1177 <counter_2+0x37>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
movss  -0x8(%rbp),%xmm0
mov    -0x4(%rbp),%r9d
lea    0xe3b(%rip),%rsi
mov    $0x2,%edx
lea    0xe3f(%rip),%rcx
lea    0xe42(%rip),%r8
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    114f <counter_2+0xf>
movl   $0xa,-0x18(%rbp)
cmpl   $0x14,-0x18(%rbp)
jg     12d4 <counter_2+0x194>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x5,-0x1c(%rbp)
jge    12c1 <counter_2+0x181>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
mov    -0x18(%rbp),%esi
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %eax,-0x4(%rbp)
mov    -0x1c(%rbp),%esi
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %eax,-0xc(%rbp)
movw   $0x0,-0x1e(%rbp)
movswl -0x1e(%rbp),%eax
cmp    $0x3,%eax
jge    127a <counter_2+0x13a>
mov    -0x4(%rbp),%edi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <work_counter_parallel@plt>
cvtsi2ss %rax,%xmm0
addss  -0x8(%rbp),%xmm0
movss  %xmm0,-0x8(%rbp)
mov    -0x1e(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x1e(%rbp)
jmp    123d <counter_2+0xfd>
mov    0x2d5f(%rip),%rax
mov    (%rax),%edi
movss  -0x8(%rbp),%xmm0
mov    -0x4(%rbp),%r9d
mov    -0xc(%rbp),%eax
lea    0xd8b(%rip),%rsi
mov    $0x2,%edx
lea    0xd6e(%rip),%rcx
lea    0xd8b(%rip),%r8
mov    %eax,(%rsp)
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1205 <counter_2+0xc5>
jmp    12c6 <counter_2+0x186>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11f4 <counter_2+0xb4>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<counter_2>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    $0xa,%ebx
mov    0x2e86(%rip),%r13
lea    0xe9f(%rip),%r14
lea    0xea8(%rip),%r15
lea    0xeab(%rip),%r12
nop
mov    $0x2,%edi
mov    %ebx,%esi
call   1060 <pow@plt>
mov    %eax,%ebp
mov    %eax,%edi
call   1030 <work_counter_serial@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
call   1030 <work_counter_serial@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
call   1030 <work_counter_serial@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
mov    0x0(%r13),%edi
mov    %r14,%rsi
mov    $0x2,%edx
mov    %r15,%rcx
mov    %r12,%r8
mov    %ebp,%r9d
mov    $0x1,%al
call   1040 <fprintf@plt>
add    $0x1,%ebx
cmp    $0x15,%ebx
jne    1170 <counter_2+0x30>
mov    $0xa,%r13d
nopl   (%rax)
mov    $0x2,%edi
mov    %r13d,%esi
call   1060 <pow@plt>
mov    %eax,%ebp
mov    $0x2,%edi
xor    %esi,%esi
call   1060 <pow@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x1,%esi
mov    %eax,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
mov    0x2d72(%rip),%r14
mov    (%r14),%edi
mov    %ebx,(%rsp)
lea    0xda6(%rip),%r15
mov    %r15,%rsi
mov    $0x2,%edx
lea    0xd86(%rip),%rcx
lea    0xda3(%rip),%r12
mov    %r12,%r8
mov    %ebp,%r9d
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    $0x2,%edi
mov    %r13d,%esi
call   1060 <pow@plt>
mov    %eax,%ebp
mov    $0x2,%edi
mov    $0x1,%esi
call   1060 <pow@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x1,%esi
mov    %eax,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
mov    (%r14),%edi
mov    %ebx,(%rsp)
mov    %r15,%rsi
mov    $0x2,%edx
lea    0xce3(%rip),%rcx
mov    %r12,%r8
mov    %ebp,%r9d
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    $0x2,%edi
mov    %r13d,%esi
call   1060 <pow@plt>
mov    %eax,%ebp
mov    $0x2,%edi
mov    $0x2,%esi
call   1060 <pow@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x1,%esi
mov    %eax,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
mov    (%r14),%edi
mov    %ebx,(%rsp)
mov    %r15,%rsi
mov    %r15,%r14
mov    $0x2,%edx
lea    0xc44(%rip),%rcx
mov    %rcx,%r15
mov    %r12,%r8
mov    %ebp,%r9d
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    $0x2,%edi
mov    %r13d,%esi
call   1060 <pow@plt>
mov    %eax,%ebp
mov    $0x2,%edi
mov    $0x3,%esi
call   1060 <pow@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x1,%esi
mov    %eax,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
mov    0x2b83(%rip),%rax
mov    (%rax),%edi
mov    %ebx,(%rsp)
mov    %r14,%rsi
mov    $0x2,%edx
mov    %r15,%rcx
mov    %r12,%r8
mov    %ebp,%r9d
mov    $0x1,%al
call   1040 <fprintf@plt>
mov    $0x2,%edi
mov    %r13d,%esi
call   1060 <pow@plt>
mov    %eax,%ebp
mov    $0x2,%edi
mov    $0x4,%esi
call   1060 <pow@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    $0x1,%esi
mov    %eax,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
mov    %ebp,%edi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <work_counter_parallel@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
addss  0x14(%rsp),%xmm0
mov    0x2ae5(%rip),%rax
mov    (%rax),%edi
mov    %ebx,(%rsp)
mov    %r14,%rsi
mov    $0x2,%edx
mov    %r15,%rcx
mov    %r12,%r8
mov    %ebp,%r9d
mov    $0x1,%al
call   1040 <fprintf@plt>
add    $0x1,%r13d
cmp    $0x15,%r13d
jne    11f0 <counter_2+0xb0>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [16 x i8] c"%i\09%s\09%s\09%f\09%i\0A\00"
@.str.1 = [10 x i8] c"COUNTER_2\00"
@.str.2 = [7 x i8] c"serial\00"
@.str.3 = [19 x i8] c"%i\09%s\09%s\09%f\09%i\09%i\0A\00"
@.str.4 = [9 x i8] c"parallel\00"
define void @counter_2() {
%1 = alloca i32
%2 = alloca float
%3 = alloca i32
%4 = alloca i32
%5 = alloca i16
%6 = alloca i32
%7 = alloca i32
%8 = alloca i16
store i32 10, i32* %4
br label %9
9: ; preds = %33, %0
%10 = load i32, i32* %4
%11 = icmp sle i32 %10, 20
br i1 %11, label %12, label %36
12: ; preds = %9
store float 0.000000e+00, float* %2
%13 = load i32, i32* %4
%14 = call i32 @pow(i32 2, i32 %13)
store i32 %14, i32* %1
store i16 0, i16* %5
br label %15
15: ; preds = %25, %12
%16 = load i16, i16* %5
%17 = sext i16 %16 to i32
%18 = icmp slt i32 %17, 3
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load i32, i32* %1
%21 = call i64 @work_counter_serial(i32 %20)
%22 = sitofp i64 %21 to float
%23 = load float, float* %2
%24 = fadd float %23, %22
store float %24, float* %2
br label %25
25: ; preds = %19
%26 = load i16, i16* %5
%27 = add i16 %26, 1
store i16 %27, i16* %5
br label %15
28: ; preds = %15
%29 = load i32, i32* @stderr
%30 = load float, float* %2
%31 = load i32, i32* %1
%32 = call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), float %30, i32 %31)
br label %33
33: ; preds = %28
%34 = load i32, i32* %4
%35 = add nsw i32 %34, 1
store i32 %35, i32* %4
br label %9
36: ; preds = %9
store i32 10, i32* %6
br label %37
37: ; preds = %73, %36
%38 = load i32, i32* %6
%39 = icmp sle i32 %38, 20
br i1 %39, label %40, label %76
40: ; preds = %37
store i32 0, i32* %7
br label %41
41: ; preds = %69, %40
%42 = load i32, i32* %7
%43 = icmp slt i32 %42, 5
br i1 %43, label %44, label %72
44: ; preds = %41
store float 0.000000e+00, float* %2
%45 = load i32, i32* %6
%46 = call i32 @pow(i32 2, i32 %45)
store i32 %46, i32* %1
%47 = load i32, i32* %7
%48 = call i32 @pow(i32 2, i32 %47)
store i32 %48, i32* %3
store i16 0, i16* %8
br label %49
49: ; preds = %60, %44
%50 = load i16, i16* %8
%51 = sext i16 %50 to i32
%52 = icmp slt i32 %51, 3
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load i32, i32* %1
%55 = load i32, i32* %3
%56 = call i64 @work_counter_parallel(i32 %54, i32 1, i32 %55)
%57 = sitofp i64 %56 to float
%58 = load float, float* %2
%59 = fadd float %58, %57
store float %59, float* %2
br label %60
60: ; preds = %53
%61 = load i16, i16* %8
%62 = add i16 %61, 1
store i16 %62, i16* %8
br label %49
63: ; preds = %49
%64 = load i32, i32* @stderr
%65 = load float, float* %2
%66 = load i32, i32* %1
%67 = load i32, i32* %3
%68 = call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), float %65, i32 %66, i32 %67)
br label %69
69: ; preds = %63
%70 = load i32, i32* %7
%71 = add nsw i32 %70, 1
store i32 %71, i32* %7
br label %41
72: ; preds = %41
br label %73
73: ; preds = %72
%74 = load i32, i32* %6
%75 = add nsw i32 %74, 1
store i32 %75, i32* %6
br label %37
76: ; preds = %37
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [16 x i8] c"%i\09%s\09%s\09%f\09%i\0A\00"
@.str.1 = [10 x i8] c"COUNTER_2\00"
@.str.2 = [7 x i8] c"serial\00"
@.str.3 = [19 x i8] c"%i\09%s\09%s\09%f\09%i\09%i\0A\00"
@.str.4 = [9 x i8] c"parallel\00"
define void @counter_2() {
br label %1
1: ; preds = %0, %1
%2 = phi i32 [ 10, %0 ], [ %14, %1 ]
%3 = tail call i32 @pow(i32 2, i32 %2)
%4 = tail call i64 @work_counter_serial(i32 %3)
%5 = sitofp i64 %4 to float
%6 = tail call i64 @work_counter_serial(i32 %3)
%7 = sitofp i64 %6 to float
%8 = fadd float %5, %7
%9 = tail call i64 @work_counter_serial(i32 %3)
%10 = sitofp i64 %9 to float
%11 = fadd float %8, %10
%12 = load i32, i32* @stderr
%13 = tail call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), float %11, i32 %3)
%14 = add nuw nsw i32 %2, 1
%15 = icmp eq i32 %14, 21
br i1 %15, label %16, label %1
16: ; preds = %1, %16
%17 = phi i32 [ %78, %16 ], [ 10, %1 ]
%18 = tail call i32 @pow(i32 2, i32 %17)
%19 = tail call i32 @pow(i32 2, i32 0)
%20 = tail call i64 @work_counter_parallel(i32 %18, i32 1, i32 %19)
%21 = sitofp i64 %20 to float
%22 = tail call i64 @work_counter_parallel(i32 %18, i32 1, i32 %19)
%23 = sitofp i64 %22 to float
%24 = fadd float %21, %23
%25 = tail call i64 @work_counter_parallel(i32 %18, i32 1, i32 %19)
%26 = sitofp i64 %25 to float
%27 = fadd float %24, %26
%28 = load i32, i32* @stderr
%29 = tail call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), float %27, i32 %18, i32 %19)
%30 = tail call i32 @pow(i32 2, i32 %17)
%31 = tail call i32 @pow(i32 2, i32 1)
%32 = tail call i64 @work_counter_parallel(i32 %30, i32 1, i32 %31)
%33 = sitofp i64 %32 to float
%34 = tail call i64 @work_counter_parallel(i32 %30, i32 1, i32 %31)
%35 = sitofp i64 %34 to float
%36 = fadd float %33, %35
%37 = tail call i64 @work_counter_parallel(i32 %30, i32 1, i32 %31)
%38 = sitofp i64 %37 to float
%39 = fadd float %36, %38
%40 = load i32, i32* @stderr
%41 = tail call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), float %39, i32 %30, i32 %31)
%42 = tail call i32 @pow(i32 2, i32 %17)
%43 = tail call i32 @pow(i32 2, i32 2)
%44 = tail call i64 @work_counter_parallel(i32 %42, i32 1, i32 %43)
%45 = sitofp i64 %44 to float
%46 = tail call i64 @work_counter_parallel(i32 %42, i32 1, i32 %43)
%47 = sitofp i64 %46 to float
%48 = fadd float %45, %47
%49 = tail call i64 @work_counter_parallel(i32 %42, i32 1, i32 %43)
%50 = sitofp i64 %49 to float
%51 = fadd float %48, %50
%52 = load i32, i32* @stderr
%53 = tail call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), float %51, i32 %42, i32 %43)
%54 = tail call i32 @pow(i32 2, i32 %17)
%55 = tail call i32 @pow(i32 2, i32 3)
%56 = tail call i64 @work_counter_parallel(i32 %54, i32 1, i32 %55)
%57 = sitofp i64 %56 to float
%58 = tail call i64 @work_counter_parallel(i32 %54, i32 1, i32 %55)
%59 = sitofp i64 %58 to float
%60 = fadd float %57, %59
%61 = tail call i64 @work_counter_parallel(i32 %54, i32 1, i32 %55)
%62 = sitofp i64 %61 to float
%63 = fadd float %60, %62
%64 = load i32, i32* @stderr
%65 = tail call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), float %63, i32 %54, i32 %55)
%66 = tail call i32 @pow(i32 2, i32 %17)
%67 = tail call i32 @pow(i32 2, i32 4)
%68 = tail call i64 @work_counter_parallel(i32 %66, i32 1, i32 %67)
%69 = sitofp i64 %68 to float
%70 = tail call i64 @work_counter_parallel(i32 %66, i32 1, i32 %67)
%71 = sitofp i64 %70 to float
%72 = fadd float %69, %71
%73 = tail call i64 @work_counter_parallel(i32 %66, i32 1, i32 %67)
%74 = sitofp i64 %73 to float
%75 = fadd float %72, %74
%76 = load i32, i32* @stderr
%77 = tail call i32 (i32, i8*, i32, i8*, i8*, float, i32, ...) @fprintf(i32 %76, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), float %75, i32 %66, i32 %67)
%78 = add nuw nsw i32 %17, 1
%79 = icmp eq i32 %78, 21
br i1 %79, label %80, label %16
80: ; preds = %16
ret void
}