; LLVM IR from vergecurrency/verge :: src/secp256k1/src (bench_internal)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.bench_inv = type { [2 x %struct.secp256k1_scalar], [4 x %struct.secp256k1_fe], [2 x %struct.secp256k1_ge], [2 x %struct.secp256k1_gej], [64 x i8], [256 x i32] }
%struct.secp256k1_scalar = type { [4 x i64] }
%struct.secp256k1_fe = type { [5 x i64] }
%struct.secp256k1_ge = type { %struct.secp256k1_fe, %struct.secp256k1_fe, i32 }
%struct.secp256k1_gej = type { %struct.secp256k1_fe, %struct.secp256k1_fe, %struct.secp256k1_fe, i32 }

@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.bench_inv, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1744, ptr %6) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  %9 = call i32 @get_iters(i32 noundef 20000)
  store i32 %9, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  %10 = load i32, ptr %4, align 4, !tbaa !5
  %11 = icmp eq i32 %10, 1
  %12 = zext i1 %11 to i32
  store i32 %12, ptr %8, align 4, !tbaa !5
  call void @print_output_table_header_row()
  %13 = load i32, ptr %8, align 4, !tbaa !5
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %25, label %15

15:                                               ; preds = %2
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = load ptr, ptr %5, align 8, !tbaa !9
  %18 = call i32 @have_flag(i32 noundef %16, ptr noundef %17, ptr noundef @.str.29)
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %25, label %20

20:                                               ; preds = %15
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !9
  %23 = call i32 @have_flag(i32 noundef %21, ptr noundef %22, ptr noundef @.str.30)
  %24 = icmp ne i32 %23, 0
  br i1 %24, label %25, label %28

25:                                               ; preds = %20, %15, %2
  %26 = load i32, ptr %7, align 4, !tbaa !5
  %27 = mul nsw i32 %26, 100
  call void @run_benchmark(ptr noundef @.str.31, ptr noundef @bench_scalar_add, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %27)
  br label %28

28:                                               ; preds = %25, %20
  %29 = load i32, ptr %8, align 4, !tbaa !5
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %41, label %31

31:                                               ; preds = %28
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !9
  %34 = call i32 @have_flag(i32 noundef %32, ptr noundef %33, ptr noundef @.str.29)
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %41, label %36

36:                                               ; preds = %31
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = load ptr, ptr %5, align 8, !tbaa !9
  %39 = call i32 @have_flag(i32 noundef %37, ptr noundef %38, ptr noundef @.str.32)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %44

41:                                               ; preds = %36, %31, %28
  %42 = load i32, ptr %7, align 4, !tbaa !5
  %43 = mul nsw i32 %42, 100
  call void @run_benchmark(ptr noundef @.str.33, ptr noundef @bench_scalar_negate, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %43)
  br label %44

44:                                               ; preds = %41, %36
  %45 = load i32, ptr %8, align 4, !tbaa !5
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %57, label %47

47:                                               ; preds = %44
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = call i32 @have_flag(i32 noundef %48, ptr noundef %49, ptr noundef @.str.29)
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %57, label %52

52:                                               ; preds = %47
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = call i32 @have_flag(i32 noundef %53, ptr noundef %54, ptr noundef @.str.34)
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %52, %47, %44
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = mul nsw i32 %58, 10
  call void @run_benchmark(ptr noundef @.str.35, ptr noundef @bench_scalar_mul, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %59)
  br label %60

60:                                               ; preds = %57, %52
  %61 = load i32, ptr %8, align 4, !tbaa !5
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %73, label %63

63:                                               ; preds = %60
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = load ptr, ptr %5, align 8, !tbaa !9
  %66 = call i32 @have_flag(i32 noundef %64, ptr noundef %65, ptr noundef @.str.29)
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %73, label %68

68:                                               ; preds = %63
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = load ptr, ptr %5, align 8, !tbaa !9
  %71 = call i32 @have_flag(i32 noundef %69, ptr noundef %70, ptr noundef @.str.36)
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %68, %63, %60
  %74 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.37, ptr noundef @bench_scalar_split, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %74)
  br label %75

75:                                               ; preds = %73, %68
  %76 = load i32, ptr %8, align 4, !tbaa !5
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %88, label %78

78:                                               ; preds = %75
  %79 = load i32, ptr %4, align 4, !tbaa !5
  %80 = load ptr, ptr %5, align 8, !tbaa !9
  %81 = call i32 @have_flag(i32 noundef %79, ptr noundef %80, ptr noundef @.str.29)
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %88, label %83

83:                                               ; preds = %78
  %84 = load i32, ptr %4, align 4, !tbaa !5
  %85 = load ptr, ptr %5, align 8, !tbaa !9
  %86 = call i32 @have_flag(i32 noundef %84, ptr noundef %85, ptr noundef @.str.38)
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %90

88:                                               ; preds = %83, %78, %75
  %89 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.39, ptr noundef @bench_scalar_inverse, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %89)
  br label %90

90:                                               ; preds = %88, %83
  %91 = load i32, ptr %8, align 4, !tbaa !5
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %103, label %93

93:                                               ; preds = %90
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = load ptr, ptr %5, align 8, !tbaa !9
  %96 = call i32 @have_flag(i32 noundef %94, ptr noundef %95, ptr noundef @.str.29)
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %103, label %98

98:                                               ; preds = %93
  %99 = load i32, ptr %4, align 4, !tbaa !5
  %100 = load ptr, ptr %5, align 8, !tbaa !9
  %101 = call i32 @have_flag(i32 noundef %99, ptr noundef %100, ptr noundef @.str.38)
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %105

103:                                              ; preds = %98, %93, %90
  %104 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.40, ptr noundef @bench_scalar_inverse_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %104)
  br label %105

105:                                              ; preds = %103, %98
  %106 = load i32, ptr %8, align 4, !tbaa !5
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %118, label %108

108:                                              ; preds = %105
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = load ptr, ptr %5, align 8, !tbaa !9
  %111 = call i32 @have_flag(i32 noundef %109, ptr noundef %110, ptr noundef @.str.41)
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %118, label %113

113:                                              ; preds = %108
  %114 = load i32, ptr %4, align 4, !tbaa !5
  %115 = load ptr, ptr %5, align 8, !tbaa !9
  %116 = call i32 @have_flag(i32 noundef %114, ptr noundef %115, ptr noundef @.str.42)
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %121

118:                                              ; preds = %113, %108, %105
  %119 = load i32, ptr %7, align 4, !tbaa !5
  %120 = mul nsw i32 %119, 100
  call void @run_benchmark(ptr noundef @.str.43, ptr noundef @bench_field_half, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %120)
  br label %121

121:                                              ; preds = %118, %113
  %122 = load i32, ptr %8, align 4, !tbaa !5
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %134, label %124

124:                                              ; preds = %121
  %125 = load i32, ptr %4, align 4, !tbaa !5
  %126 = load ptr, ptr %5, align 8, !tbaa !9
  %127 = call i32 @have_flag(i32 noundef %125, ptr noundef %126, ptr noundef @.str.41)
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %134, label %129

129:                                              ; preds = %124
  %130 = load i32, ptr %4, align 4, !tbaa !5
  %131 = load ptr, ptr %5, align 8, !tbaa !9
  %132 = call i32 @have_flag(i32 noundef %130, ptr noundef %131, ptr noundef @.str.44)
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %137

134:                                              ; preds = %129, %124, %121
  %135 = load i32, ptr %7, align 4, !tbaa !5
  %136 = mul nsw i32 %135, 100
  call void @run_benchmark(ptr noundef @.str.45, ptr noundef @bench_field_normalize, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %136)
  br label %137

137:                                              ; preds = %134, %129
  %138 = load i32, ptr %8, align 4, !tbaa !5
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %150, label %140

140:                                              ; preds = %137
  %141 = load i32, ptr %4, align 4, !tbaa !5
  %142 = load ptr, ptr %5, align 8, !tbaa !9
  %143 = call i32 @have_flag(i32 noundef %141, ptr noundef %142, ptr noundef @.str.41)
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %150, label %145

145:                                              ; preds = %140
  %146 = load i32, ptr %4, align 4, !tbaa !5
  %147 = load ptr, ptr %5, align 8, !tbaa !9
  %148 = call i32 @have_flag(i32 noundef %146, ptr noundef %147, ptr noundef @.str.44)
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %153

150:                                              ; preds = %145, %140, %137
  %151 = load i32, ptr %7, align 4, !tbaa !5
  %152 = mul nsw i32 %151, 100
  call void @run_benchmark(ptr noundef @.str.46, ptr noundef @bench_field_normalize_weak, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %152)
  br label %153

153:                                              ; preds = %150, %145
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %166, label %156

156:                                              ; preds = %153
  %157 = load i32, ptr %4, align 4, !tbaa !5
  %158 = load ptr, ptr %5, align 8, !tbaa !9
  %159 = call i32 @have_flag(i32 noundef %157, ptr noundef %158, ptr noundef @.str.41)
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %166, label %161

161:                                              ; preds = %156
  %162 = load i32, ptr %4, align 4, !tbaa !5
  %163 = load ptr, ptr %5, align 8, !tbaa !9
  %164 = call i32 @have_flag(i32 noundef %162, ptr noundef %163, ptr noundef @.str.47)
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %169

166:                                              ; preds = %161, %156, %153
  %167 = load i32, ptr %7, align 4, !tbaa !5
  %168 = mul nsw i32 %167, 10
  call void @run_benchmark(ptr noundef @.str.48, ptr noundef @bench_field_sqr, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %168)
  br label %169

169:                                              ; preds = %166, %161
  %170 = load i32, ptr %8, align 4, !tbaa !5
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %182, label %172

172:                                              ; preds = %169
  %173 = load i32, ptr %4, align 4, !tbaa !5
  %174 = load ptr, ptr %5, align 8, !tbaa !9
  %175 = call i32 @have_flag(i32 noundef %173, ptr noundef %174, ptr noundef @.str.41)
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %182, label %177

177:                                              ; preds = %172
  %178 = load i32, ptr %4, align 4, !tbaa !5
  %179 = load ptr, ptr %5, align 8, !tbaa !9
  %180 = call i32 @have_flag(i32 noundef %178, ptr noundef %179, ptr noundef @.str.34)
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %185

182:                                              ; preds = %177, %172, %169
  %183 = load i32, ptr %7, align 4, !tbaa !5
  %184 = mul nsw i32 %183, 10
  call void @run_benchmark(ptr noundef @.str.49, ptr noundef @bench_field_mul, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %184)
  br label %185

185:                                              ; preds = %182, %177
  %186 = load i32, ptr %8, align 4, !tbaa !5
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %198, label %188

188:                                              ; preds = %185
  %189 = load i32, ptr %4, align 4, !tbaa !5
  %190 = load ptr, ptr %5, align 8, !tbaa !9
  %191 = call i32 @have_flag(i32 noundef %189, ptr noundef %190, ptr noundef @.str.41)
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %198, label %193

193:                                              ; preds = %188
  %194 = load i32, ptr %4, align 4, !tbaa !5
  %195 = load ptr, ptr %5, align 8, !tbaa !9
  %196 = call i32 @have_flag(i32 noundef %194, ptr noundef %195, ptr noundef @.str.38)
  %197 = icmp ne i32 %196, 0
  br i1 %197, label %198, label %200

198:                                              ; preds = %193, %188, %185
  %199 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.50, ptr noundef @bench_field_inverse, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %199)
  br label %200

200:                                              ; preds = %198, %193
  %201 = load i32, ptr %8, align 4, !tbaa !5
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %213, label %203

203:                                              ; preds = %200
  %204 = load i32, ptr %4, align 4, !tbaa !5
  %205 = load ptr, ptr %5, align 8, !tbaa !9
  %206 = call i32 @have_flag(i32 noundef %204, ptr noundef %205, ptr noundef @.str.41)
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %213, label %208

208:                                              ; preds = %203
  %209 = load i32, ptr %4, align 4, !tbaa !5
  %210 = load ptr, ptr %5, align 8, !tbaa !9
  %211 = call i32 @have_flag(i32 noundef %209, ptr noundef %210, ptr noundef @.str.38)
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %215

213:                                              ; preds = %208, %203, %200
  %214 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.51, ptr noundef @bench_field_inverse_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %214)
  br label %215

215:                                              ; preds = %213, %208
  %216 = load i32, ptr %8, align 4, !tbaa !5
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %228, label %218

218:                                              ; preds = %215
  %219 = load i32, ptr %4, align 4, !tbaa !5
  %220 = load ptr, ptr %5, align 8, !tbaa !9
  %221 = call i32 @have_flag(i32 noundef %219, ptr noundef %220, ptr noundef @.str.41)
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %228, label %223

223:                                              ; preds = %218
  %224 = load i32, ptr %4, align 4, !tbaa !5
  %225 = load ptr, ptr %5, align 8, !tbaa !9
  %226 = call i32 @have_flag(i32 noundef %224, ptr noundef %225, ptr noundef @.str.52)
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %230

228:                                              ; preds = %223, %218, %215
  %229 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.53, ptr noundef @bench_field_is_square_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %229)
  br label %230

230:                                              ; preds = %228, %223
  %231 = load i32, ptr %8, align 4, !tbaa !5
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %243, label %233

233:                                              ; preds = %230
  %234 = load i32, ptr %4, align 4, !tbaa !5
  %235 = load ptr, ptr %5, align 8, !tbaa !9
  %236 = call i32 @have_flag(i32 noundef %234, ptr noundef %235, ptr noundef @.str.41)
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %243, label %238

238:                                              ; preds = %233
  %239 = load i32, ptr %4, align 4, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !9
  %241 = call i32 @have_flag(i32 noundef %239, ptr noundef %240, ptr noundef @.str.54)
  %242 = icmp ne i32 %241, 0
  br i1 %242, label %243, label %245

243:                                              ; preds = %238, %233, %230
  %244 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.55, ptr noundef @bench_field_sqrt, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %244)
  br label %245

245:                                              ; preds = %243, %238
  %246 = load i32, ptr %8, align 4, !tbaa !5
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %258, label %248

248:                                              ; preds = %245
  %249 = load i32, ptr %4, align 4, !tbaa !5
  %250 = load ptr, ptr %5, align 8, !tbaa !9
  %251 = call i32 @have_flag(i32 noundef %249, ptr noundef %250, ptr noundef @.str.56)
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %258, label %253

253:                                              ; preds = %248
  %254 = load i32, ptr %4, align 4, !tbaa !5
  %255 = load ptr, ptr %5, align 8, !tbaa !9
  %256 = call i32 @have_flag(i32 noundef %254, ptr noundef %255, ptr noundef @.str.57)
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %258, label %261

258:                                              ; preds = %253, %248, %245
  %259 = load i32, ptr %7, align 4, !tbaa !5
  %260 = mul nsw i32 %259, 10
  call void @run_benchmark(ptr noundef @.str.58, ptr noundef @bench_group_double_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %260)
  br label %261

261:                                              ; preds = %258, %253
  %262 = load i32, ptr %8, align 4, !tbaa !5
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %274, label %264

264:                                              ; preds = %261
  %265 = load i32, ptr %4, align 4, !tbaa !5
  %266 = load ptr, ptr %5, align 8, !tbaa !9
  %267 = call i32 @have_flag(i32 noundef %265, ptr noundef %266, ptr noundef @.str.56)
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %274, label %269

269:                                              ; preds = %264
  %270 = load i32, ptr %4, align 4, !tbaa !5
  %271 = load ptr, ptr %5, align 8, !tbaa !9
  %272 = call i32 @have_flag(i32 noundef %270, ptr noundef %271, ptr noundef @.str.30)
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %277

274:                                              ; preds = %269, %264, %261
  %275 = load i32, ptr %7, align 4, !tbaa !5
  %276 = mul nsw i32 %275, 10
  call void @run_benchmark(ptr noundef @.str.59, ptr noundef @bench_group_add_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %276)
  br label %277

277:                                              ; preds = %274, %269
  %278 = load i32, ptr %8, align 4, !tbaa !5
  %279 = icmp ne i32 %278, 0
  br i1 %279, label %290, label %280

280:                                              ; preds = %277
  %281 = load i32, ptr %4, align 4, !tbaa !5
  %282 = load ptr, ptr %5, align 8, !tbaa !9
  %283 = call i32 @have_flag(i32 noundef %281, ptr noundef %282, ptr noundef @.str.56)
  %284 = icmp ne i32 %283, 0
  br i1 %284, label %290, label %285

285:                                              ; preds = %280
  %286 = load i32, ptr %4, align 4, !tbaa !5
  %287 = load ptr, ptr %5, align 8, !tbaa !9
  %288 = call i32 @have_flag(i32 noundef %286, ptr noundef %287, ptr noundef @.str.30)
  %289 = icmp ne i32 %288, 0
  br i1 %289, label %290, label %293

290:                                              ; preds = %285, %280, %277
  %291 = load i32, ptr %7, align 4, !tbaa !5
  %292 = mul nsw i32 %291, 10
  call void @run_benchmark(ptr noundef @.str.60, ptr noundef @bench_group_add_affine, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %292)
  br label %293

293:                                              ; preds = %290, %285
  %294 = load i32, ptr %8, align 4, !tbaa !5
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %306, label %296

296:                                              ; preds = %293
  %297 = load i32, ptr %4, align 4, !tbaa !5
  %298 = load ptr, ptr %5, align 8, !tbaa !9
  %299 = call i32 @have_flag(i32 noundef %297, ptr noundef %298, ptr noundef @.str.56)
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %306, label %301

301:                                              ; preds = %296
  %302 = load i32, ptr %4, align 4, !tbaa !5
  %303 = load ptr, ptr %5, align 8, !tbaa !9
  %304 = call i32 @have_flag(i32 noundef %302, ptr noundef %303, ptr noundef @.str.30)
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %309

306:                                              ; preds = %301, %296, %293
  %307 = load i32, ptr %7, align 4, !tbaa !5
  %308 = mul nsw i32 %307, 10
  call void @run_benchmark(ptr noundef @.str.61, ptr noundef @bench_group_add_affine_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %308)
  br label %309

309:                                              ; preds = %306, %301
  %310 = load i32, ptr %8, align 4, !tbaa !5
  %311 = icmp ne i32 %310, 0
  br i1 %311, label %322, label %312

312:                                              ; preds = %309
  %313 = load i32, ptr %4, align 4, !tbaa !5
  %314 = load ptr, ptr %5, align 8, !tbaa !9
  %315 = call i32 @have_flag(i32 noundef %313, ptr noundef %314, ptr noundef @.str.56)
  %316 = icmp ne i32 %315, 0
  br i1 %316, label %322, label %317

317:                                              ; preds = %312
  %318 = load i32, ptr %4, align 4, !tbaa !5
  %319 = load ptr, ptr %5, align 8, !tbaa !9
  %320 = call i32 @have_flag(i32 noundef %318, ptr noundef %319, ptr noundef @.str.30)
  %321 = icmp ne i32 %320, 0
  br i1 %321, label %322, label %325

322:                                              ; preds = %317, %312, %309
  %323 = load i32, ptr %7, align 4, !tbaa !5
  %324 = mul nsw i32 %323, 10
  call void @run_benchmark(ptr noundef @.str.62, ptr noundef @bench_group_add_zinv_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %324)
  br label %325

325:                                              ; preds = %322, %317
  %326 = load i32, ptr %8, align 4, !tbaa !5
  %327 = icmp ne i32 %326, 0
  br i1 %327, label %338, label %328

328:                                              ; preds = %325
  %329 = load i32, ptr %4, align 4, !tbaa !5
  %330 = load ptr, ptr %5, align 8, !tbaa !9
  %331 = call i32 @have_flag(i32 noundef %329, ptr noundef %330, ptr noundef @.str.56)
  %332 = icmp ne i32 %331, 0
  br i1 %332, label %338, label %333

333:                                              ; preds = %328
  %334 = load i32, ptr %4, align 4, !tbaa !5
  %335 = load ptr, ptr %5, align 8, !tbaa !9
  %336 = call i32 @have_flag(i32 noundef %334, ptr noundef %335, ptr noundef @.str.63)
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %338, label %340

338:                                              ; preds = %333, %328, %325
  %339 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.64, ptr noundef @bench_group_to_affine_var, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %339)
  br label %340

340:                                              ; preds = %338, %333
  %341 = load i32, ptr %8, align 4, !tbaa !5
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %353, label %343

343:                                              ; preds = %340
  %344 = load i32, ptr %4, align 4, !tbaa !5
  %345 = load ptr, ptr %5, align 8, !tbaa !9
  %346 = call i32 @have_flag(i32 noundef %344, ptr noundef %345, ptr noundef @.str.65)
  %347 = icmp ne i32 %346, 0
  br i1 %347, label %353, label %348

348:                                              ; preds = %343
  %349 = load i32, ptr %4, align 4, !tbaa !5
  %350 = load ptr, ptr %5, align 8, !tbaa !9
  %351 = call i32 @have_flag(i32 noundef %349, ptr noundef %350, ptr noundef @.str.66)
  %352 = icmp ne i32 %351, 0
  br i1 %352, label %353, label %355

353:                                              ; preds = %348, %343, %340
  %354 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.67, ptr noundef @bench_wnaf_const, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %354)
  br label %355

355:                                              ; preds = %353, %348
  %356 = load i32, ptr %8, align 4, !tbaa !5
  %357 = icmp ne i32 %356, 0
  br i1 %357, label %368, label %358

358:                                              ; preds = %355
  %359 = load i32, ptr %4, align 4, !tbaa !5
  %360 = load ptr, ptr %5, align 8, !tbaa !9
  %361 = call i32 @have_flag(i32 noundef %359, ptr noundef %360, ptr noundef @.str.65)
  %362 = icmp ne i32 %361, 0
  br i1 %362, label %368, label %363

363:                                              ; preds = %358
  %364 = load i32, ptr %4, align 4, !tbaa !5
  %365 = load ptr, ptr %5, align 8, !tbaa !9
  %366 = call i32 @have_flag(i32 noundef %364, ptr noundef %365, ptr noundef @.str.66)
  %367 = icmp ne i32 %366, 0
  br i1 %367, label %368, label %370

368:                                              ; preds = %363, %358, %355
  %369 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.68, ptr noundef @bench_ecmult_wnaf, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %369)
  br label %370

370:                                              ; preds = %368, %363
  %371 = load i32, ptr %8, align 4, !tbaa !5
  %372 = icmp ne i32 %371, 0
  br i1 %372, label %383, label %373

373:                                              ; preds = %370
  %374 = load i32, ptr %4, align 4, !tbaa !5
  %375 = load ptr, ptr %5, align 8, !tbaa !9
  %376 = call i32 @have_flag(i32 noundef %374, ptr noundef %375, ptr noundef @.str.69)
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %383, label %378

378:                                              ; preds = %373
  %379 = load i32, ptr %4, align 4, !tbaa !5
  %380 = load ptr, ptr %5, align 8, !tbaa !9
  %381 = call i32 @have_flag(i32 noundef %379, ptr noundef %380, ptr noundef @.str.70)
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %383, label %385

383:                                              ; preds = %378, %373, %370
  %384 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.71, ptr noundef @bench_sha256, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %384)
  br label %385

385:                                              ; preds = %383, %378
  %386 = load i32, ptr %8, align 4, !tbaa !5
  %387 = icmp ne i32 %386, 0
  br i1 %387, label %398, label %388

388:                                              ; preds = %385
  %389 = load i32, ptr %4, align 4, !tbaa !5
  %390 = load ptr, ptr %5, align 8, !tbaa !9
  %391 = call i32 @have_flag(i32 noundef %389, ptr noundef %390, ptr noundef @.str.69)
  %392 = icmp ne i32 %391, 0
  br i1 %392, label %398, label %393

393:                                              ; preds = %388
  %394 = load i32, ptr %4, align 4, !tbaa !5
  %395 = load ptr, ptr %5, align 8, !tbaa !9
  %396 = call i32 @have_flag(i32 noundef %394, ptr noundef %395, ptr noundef @.str.72)
  %397 = icmp ne i32 %396, 0
  br i1 %397, label %398, label %400

398:                                              ; preds = %393, %388, %385
  %399 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.73, ptr noundef @bench_hmac_sha256, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %399)
  br label %400

400:                                              ; preds = %398, %393
  %401 = load i32, ptr %8, align 4, !tbaa !5
  %402 = icmp ne i32 %401, 0
  br i1 %402, label %413, label %403

403:                                              ; preds = %400
  %404 = load i32, ptr %4, align 4, !tbaa !5
  %405 = load ptr, ptr %5, align 8, !tbaa !9
  %406 = call i32 @have_flag(i32 noundef %404, ptr noundef %405, ptr noundef @.str.69)
  %407 = icmp ne i32 %406, 0
  br i1 %407, label %413, label %408

408:                                              ; preds = %403
  %409 = load i32, ptr %4, align 4, !tbaa !5
  %410 = load ptr, ptr %5, align 8, !tbaa !9
  %411 = call i32 @have_flag(i32 noundef %409, ptr noundef %410, ptr noundef @.str.74)
  %412 = icmp ne i32 %411, 0
  br i1 %412, label %413, label %415

413:                                              ; preds = %408, %403, %400
  %414 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.75, ptr noundef @bench_rfc6979_hmac_sha256, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %414)
  br label %415

415:                                              ; preds = %413, %408
  %416 = load i32, ptr %8, align 4, !tbaa !5
  %417 = icmp ne i32 %416, 0
  br i1 %417, label %423, label %418

418:                                              ; preds = %415
  %419 = load i32, ptr %4, align 4, !tbaa !5
  %420 = load ptr, ptr %5, align 8, !tbaa !9
  %421 = call i32 @have_flag(i32 noundef %419, ptr noundef %420, ptr noundef @.str.76)
  %422 = icmp ne i32 %421, 0
  br i1 %422, label %423, label %425

423:                                              ; preds = %418, %415
  %424 = load i32, ptr %7, align 4, !tbaa !5
  call void @run_benchmark(ptr noundef @.str.77, ptr noundef @bench_context, ptr noundef @bench_setup, ptr noundef null, ptr noundef %6, i32 noundef 10, i32 noundef %424)
  br label %425

425:                                              ; preds = %423, %418
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 1744, ptr %6) #2
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare hidden i32 @get_iters(i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @print_output_table_header_row() #1

; Function Attrs: nounwind uwtable
declare hidden i32 @have_flag(i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @run_benchmark(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_add(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_setup(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_negate(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_mul(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_split(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_inverse(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_inverse_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_half(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_normalize(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_normalize_weak(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_sqr(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_mul(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_inverse(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_inverse_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_is_square_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_sqrt(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_double_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_affine(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_affine_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_zinv_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_to_affine_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_wnaf_const(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_ecmult_wnaf(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_sha256(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_hmac_sha256(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_rfc6979_hmac_sha256(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_context(ptr noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.bench_inv = type { [2 x %struct.secp256k1_scalar], [4 x %struct.secp256k1_fe], [2 x %struct.secp256k1_ge], [2 x %struct.secp256k1_gej], [64 x i8], [256 x i32] }
%struct.secp256k1_scalar = type { [4 x i64] }
%struct.secp256k1_fe = type { [5 x i64] }
%struct.secp256k1_ge = type { %struct.secp256k1_fe, %struct.secp256k1_fe, i32 }
%struct.secp256k1_gej = type { %struct.secp256k1_fe, %struct.secp256k1_fe, %struct.secp256k1_fe, i32 }

@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca %struct.bench_inv, align 8
  call void @llvm.lifetime.start.p0(i64 1744, ptr nonnull %3) #2
  %4 = tail call i32 @get_iters(i32 noundef 20000)
  %5 = icmp eq i32 %0, 1
  tail call void @print_output_table_header_row()
  br i1 %5, label %98, label %6

6:                                                ; preds = %2
  %7 = tail call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.29)
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %8, label %.thread212

8:                                                ; preds = %6
  %9 = tail call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.30)
  %.not160 = icmp eq i32 %9, 0
  br i1 %.not160, label %.thread, label %.thread212

.thread212:                                       ; preds = %6, %8
  %10 = mul nsw i32 %4, 100
  call void @run_benchmark(ptr noundef nonnull @.str.31, ptr noundef nonnull @bench_scalar_add, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %10)
  br label %.thread

.thread:                                          ; preds = %8, %.thread212
  %11 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.29)
  %.not161 = icmp eq i32 %11, 0
  br i1 %.not161, label %12, label %.thread215

12:                                               ; preds = %.thread
  %13 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.32)
  %.not162 = icmp eq i32 %13, 0
  br i1 %.not162, label %.thread213, label %.thread215

.thread215:                                       ; preds = %.thread, %12
  %14 = mul nsw i32 %4, 100
  call void @run_benchmark(ptr noundef nonnull @.str.33, ptr noundef nonnull @bench_scalar_negate, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %14)
  br label %.thread213

.thread213:                                       ; preds = %12, %.thread215
  %15 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.29)
  %.not163 = icmp eq i32 %15, 0
  br i1 %.not163, label %16, label %.thread218

16:                                               ; preds = %.thread213
  %17 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.34)
  %.not164 = icmp eq i32 %17, 0
  br i1 %.not164, label %.thread216, label %.thread218

.thread218:                                       ; preds = %.thread213, %16
  %18 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.35, ptr noundef nonnull @bench_scalar_mul, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %18)
  br label %.thread216

.thread216:                                       ; preds = %16, %.thread218
  %19 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.29)
  %.not165 = icmp eq i32 %19, 0
  br i1 %.not165, label %20, label %.thread221

20:                                               ; preds = %.thread216
  %21 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.36)
  %.not166 = icmp eq i32 %21, 0
  br i1 %.not166, label %.thread219, label %.thread221

.thread221:                                       ; preds = %.thread216, %20
  call void @run_benchmark(ptr noundef nonnull @.str.37, ptr noundef nonnull @bench_scalar_split, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread219

.thread219:                                       ; preds = %20, %.thread221
  %22 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.29)
  %.not167 = icmp eq i32 %22, 0
  br i1 %.not167, label %23, label %.thread224

23:                                               ; preds = %.thread219
  %24 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.38)
  %.not168 = icmp eq i32 %24, 0
  br i1 %.not168, label %.thread222, label %.thread224

.thread224:                                       ; preds = %.thread219, %23
  call void @run_benchmark(ptr noundef nonnull @.str.39, ptr noundef nonnull @bench_scalar_inverse, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread222

.thread222:                                       ; preds = %23, %.thread224
  %25 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.29)
  %.not169 = icmp eq i32 %25, 0
  br i1 %.not169, label %26, label %.thread227

26:                                               ; preds = %.thread222
  %27 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.38)
  %.not170 = icmp eq i32 %27, 0
  br i1 %.not170, label %.thread225, label %.thread227

.thread227:                                       ; preds = %.thread222, %26
  call void @run_benchmark(ptr noundef nonnull @.str.40, ptr noundef nonnull @bench_scalar_inverse_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread225

.thread225:                                       ; preds = %26, %.thread227
  %28 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not171 = icmp eq i32 %28, 0
  br i1 %.not171, label %29, label %.thread230

29:                                               ; preds = %.thread225
  %30 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.42)
  %.not172 = icmp eq i32 %30, 0
  br i1 %.not172, label %.thread228, label %.thread230

.thread230:                                       ; preds = %.thread225, %29
  %31 = mul nsw i32 %4, 100
  call void @run_benchmark(ptr noundef nonnull @.str.43, ptr noundef nonnull @bench_field_half, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %31)
  br label %.thread228

.thread228:                                       ; preds = %29, %.thread230
  %32 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not173 = icmp eq i32 %32, 0
  br i1 %.not173, label %33, label %.thread233

33:                                               ; preds = %.thread228
  %34 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.44)
  %.not174 = icmp eq i32 %34, 0
  br i1 %.not174, label %.thread231, label %.thread233

.thread233:                                       ; preds = %.thread228, %33
  %35 = mul nsw i32 %4, 100
  call void @run_benchmark(ptr noundef nonnull @.str.45, ptr noundef nonnull @bench_field_normalize, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %35)
  br label %.thread231

.thread231:                                       ; preds = %33, %.thread233
  %36 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not175 = icmp eq i32 %36, 0
  br i1 %.not175, label %37, label %.thread236

37:                                               ; preds = %.thread231
  %38 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.44)
  %.not176 = icmp eq i32 %38, 0
  br i1 %.not176, label %.thread234, label %.thread236

.thread236:                                       ; preds = %.thread231, %37
  %39 = mul nsw i32 %4, 100
  call void @run_benchmark(ptr noundef nonnull @.str.46, ptr noundef nonnull @bench_field_normalize_weak, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %39)
  br label %.thread234

.thread234:                                       ; preds = %37, %.thread236
  %40 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not177 = icmp eq i32 %40, 0
  br i1 %.not177, label %41, label %.thread239

41:                                               ; preds = %.thread234
  %42 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.47)
  %.not178 = icmp eq i32 %42, 0
  br i1 %.not178, label %.thread237, label %.thread239

.thread239:                                       ; preds = %.thread234, %41
  %43 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.48, ptr noundef nonnull @bench_field_sqr, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %43)
  br label %.thread237

.thread237:                                       ; preds = %41, %.thread239
  %44 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not179 = icmp eq i32 %44, 0
  br i1 %.not179, label %45, label %.thread242

45:                                               ; preds = %.thread237
  %46 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.34)
  %.not180 = icmp eq i32 %46, 0
  br i1 %.not180, label %.thread240, label %.thread242

.thread242:                                       ; preds = %.thread237, %45
  %47 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.49, ptr noundef nonnull @bench_field_mul, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %47)
  br label %.thread240

.thread240:                                       ; preds = %45, %.thread242
  %48 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not181 = icmp eq i32 %48, 0
  br i1 %.not181, label %49, label %.thread245

49:                                               ; preds = %.thread240
  %50 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.38)
  %.not182 = icmp eq i32 %50, 0
  br i1 %.not182, label %.thread243, label %.thread245

.thread245:                                       ; preds = %.thread240, %49
  call void @run_benchmark(ptr noundef nonnull @.str.50, ptr noundef nonnull @bench_field_inverse, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread243

.thread243:                                       ; preds = %49, %.thread245
  %51 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not183 = icmp eq i32 %51, 0
  br i1 %.not183, label %52, label %.thread248

52:                                               ; preds = %.thread243
  %53 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.38)
  %.not184 = icmp eq i32 %53, 0
  br i1 %.not184, label %.thread246, label %.thread248

.thread248:                                       ; preds = %.thread243, %52
  call void @run_benchmark(ptr noundef nonnull @.str.51, ptr noundef nonnull @bench_field_inverse_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread246

.thread246:                                       ; preds = %52, %.thread248
  %54 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not185 = icmp eq i32 %54, 0
  br i1 %.not185, label %55, label %.thread251

55:                                               ; preds = %.thread246
  %56 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.52)
  %.not186 = icmp eq i32 %56, 0
  br i1 %.not186, label %.thread249, label %.thread251

.thread251:                                       ; preds = %.thread246, %55
  call void @run_benchmark(ptr noundef nonnull @.str.53, ptr noundef nonnull @bench_field_is_square_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread249

.thread249:                                       ; preds = %55, %.thread251
  %57 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.41)
  %.not187 = icmp eq i32 %57, 0
  br i1 %.not187, label %58, label %.thread254

58:                                               ; preds = %.thread249
  %59 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.54)
  %.not188 = icmp eq i32 %59, 0
  br i1 %.not188, label %.thread252, label %.thread254

.thread254:                                       ; preds = %.thread249, %58
  call void @run_benchmark(ptr noundef nonnull @.str.55, ptr noundef nonnull @bench_field_sqrt, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread252

.thread252:                                       ; preds = %58, %.thread254
  %60 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.56)
  %.not189 = icmp eq i32 %60, 0
  br i1 %.not189, label %61, label %.thread257

61:                                               ; preds = %.thread252
  %62 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.57)
  %.not190 = icmp eq i32 %62, 0
  br i1 %.not190, label %.thread255, label %.thread257

.thread257:                                       ; preds = %.thread252, %61
  %63 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.58, ptr noundef nonnull @bench_group_double_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %63)
  br label %.thread255

.thread255:                                       ; preds = %61, %.thread257
  %64 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.56)
  %.not191 = icmp eq i32 %64, 0
  br i1 %.not191, label %65, label %.thread260

65:                                               ; preds = %.thread255
  %66 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.30)
  %.not192 = icmp eq i32 %66, 0
  br i1 %.not192, label %.thread258, label %.thread260

.thread260:                                       ; preds = %.thread255, %65
  %67 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.59, ptr noundef nonnull @bench_group_add_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %67)
  br label %.thread258

.thread258:                                       ; preds = %65, %.thread260
  %68 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.56)
  %.not193 = icmp eq i32 %68, 0
  br i1 %.not193, label %69, label %.thread263

69:                                               ; preds = %.thread258
  %70 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.30)
  %.not194 = icmp eq i32 %70, 0
  br i1 %.not194, label %.thread261, label %.thread263

.thread263:                                       ; preds = %.thread258, %69
  %71 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.60, ptr noundef nonnull @bench_group_add_affine, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %71)
  br label %.thread261

.thread261:                                       ; preds = %69, %.thread263
  %72 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.56)
  %.not195 = icmp eq i32 %72, 0
  br i1 %.not195, label %73, label %.thread266

73:                                               ; preds = %.thread261
  %74 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.30)
  %.not196 = icmp eq i32 %74, 0
  br i1 %.not196, label %.thread264, label %.thread266

.thread266:                                       ; preds = %.thread261, %73
  %75 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.61, ptr noundef nonnull @bench_group_add_affine_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %75)
  br label %.thread264

.thread264:                                       ; preds = %73, %.thread266
  %76 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.56)
  %.not197 = icmp eq i32 %76, 0
  br i1 %.not197, label %77, label %.thread269

77:                                               ; preds = %.thread264
  %78 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.30)
  %.not198 = icmp eq i32 %78, 0
  br i1 %.not198, label %.thread267, label %.thread269

.thread269:                                       ; preds = %.thread264, %77
  %79 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.62, ptr noundef nonnull @bench_group_add_zinv_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %79)
  br label %.thread267

.thread267:                                       ; preds = %77, %.thread269
  %80 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.56)
  %.not199 = icmp eq i32 %80, 0
  br i1 %.not199, label %81, label %.thread272

81:                                               ; preds = %.thread267
  %82 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.63)
  %.not200 = icmp eq i32 %82, 0
  br i1 %.not200, label %.thread270, label %.thread272

.thread272:                                       ; preds = %.thread267, %81
  call void @run_benchmark(ptr noundef nonnull @.str.64, ptr noundef nonnull @bench_group_to_affine_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread270

.thread270:                                       ; preds = %81, %.thread272
  %83 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.65)
  %.not201 = icmp eq i32 %83, 0
  br i1 %.not201, label %84, label %.thread275

84:                                               ; preds = %.thread270
  %85 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.66)
  %.not202 = icmp eq i32 %85, 0
  br i1 %.not202, label %.thread273, label %.thread275

.thread275:                                       ; preds = %.thread270, %84
  call void @run_benchmark(ptr noundef nonnull @.str.67, ptr noundef nonnull @bench_wnaf_const, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread273

.thread273:                                       ; preds = %84, %.thread275
  %86 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.65)
  %.not203 = icmp eq i32 %86, 0
  br i1 %.not203, label %87, label %.thread278

87:                                               ; preds = %.thread273
  %88 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.66)
  %.not204 = icmp eq i32 %88, 0
  br i1 %.not204, label %.thread276, label %.thread278

.thread278:                                       ; preds = %.thread273, %87
  call void @run_benchmark(ptr noundef nonnull @.str.68, ptr noundef nonnull @bench_ecmult_wnaf, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread276

.thread276:                                       ; preds = %87, %.thread278
  %89 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.69)
  %.not205 = icmp eq i32 %89, 0
  br i1 %.not205, label %90, label %.thread281

90:                                               ; preds = %.thread276
  %91 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.70)
  %.not206 = icmp eq i32 %91, 0
  br i1 %.not206, label %.thread279, label %.thread281

.thread281:                                       ; preds = %.thread276, %90
  call void @run_benchmark(ptr noundef nonnull @.str.71, ptr noundef nonnull @bench_sha256, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread279

.thread279:                                       ; preds = %90, %.thread281
  %92 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.69)
  %.not207 = icmp eq i32 %92, 0
  br i1 %.not207, label %93, label %.thread284

93:                                               ; preds = %.thread279
  %94 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.72)
  %.not208 = icmp eq i32 %94, 0
  br i1 %.not208, label %.thread282, label %.thread284

.thread284:                                       ; preds = %.thread279, %93
  call void @run_benchmark(ptr noundef nonnull @.str.73, ptr noundef nonnull @bench_hmac_sha256, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread282

.thread282:                                       ; preds = %93, %.thread284
  %95 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.69)
  %.not209 = icmp eq i32 %95, 0
  br i1 %.not209, label %96, label %.thread287

96:                                               ; preds = %.thread282
  %97 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.74)
  %.not210 = icmp eq i32 %97, 0
  br i1 %.not210, label %.thread285, label %.thread287

.thread287:                                       ; preds = %.thread282, %96
  call void @run_benchmark(ptr noundef nonnull @.str.75, ptr noundef nonnull @bench_rfc6979_hmac_sha256, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %.thread285

98:                                               ; preds = %2
  %99 = mul nsw i32 %4, 100
  call void @run_benchmark(ptr noundef nonnull @.str.31, ptr noundef nonnull @bench_scalar_add, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %99)
  call void @run_benchmark(ptr noundef nonnull @.str.33, ptr noundef nonnull @bench_scalar_negate, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %99)
  %100 = mul nsw i32 %4, 10
  call void @run_benchmark(ptr noundef nonnull @.str.35, ptr noundef nonnull @bench_scalar_mul, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.37, ptr noundef nonnull @bench_scalar_split, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.39, ptr noundef nonnull @bench_scalar_inverse, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.40, ptr noundef nonnull @bench_scalar_inverse_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.43, ptr noundef nonnull @bench_field_half, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %99)
  call void @run_benchmark(ptr noundef nonnull @.str.45, ptr noundef nonnull @bench_field_normalize, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %99)
  call void @run_benchmark(ptr noundef nonnull @.str.46, ptr noundef nonnull @bench_field_normalize_weak, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %99)
  call void @run_benchmark(ptr noundef nonnull @.str.48, ptr noundef nonnull @bench_field_sqr, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.49, ptr noundef nonnull @bench_field_mul, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.50, ptr noundef nonnull @bench_field_inverse, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.51, ptr noundef nonnull @bench_field_inverse_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.53, ptr noundef nonnull @bench_field_is_square_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.55, ptr noundef nonnull @bench_field_sqrt, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.58, ptr noundef nonnull @bench_group_double_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.59, ptr noundef nonnull @bench_group_add_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.60, ptr noundef nonnull @bench_group_add_affine, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.61, ptr noundef nonnull @bench_group_add_affine_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.62, ptr noundef nonnull @bench_group_add_zinv_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %100)
  call void @run_benchmark(ptr noundef nonnull @.str.64, ptr noundef nonnull @bench_group_to_affine_var, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.67, ptr noundef nonnull @bench_wnaf_const, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.68, ptr noundef nonnull @bench_ecmult_wnaf, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.71, ptr noundef nonnull @bench_sha256, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.73, ptr noundef nonnull @bench_hmac_sha256, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  call void @run_benchmark(ptr noundef nonnull @.str.75, ptr noundef nonnull @bench_rfc6979_hmac_sha256, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %102

.thread285:                                       ; preds = %96, %.thread287
  %101 = call i32 @have_flag(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.76)
  %.not211 = icmp eq i32 %101, 0
  br i1 %.not211, label %103, label %102

102:                                              ; preds = %98, %.thread285
  call void @run_benchmark(ptr noundef nonnull @.str.77, ptr noundef nonnull @bench_context, ptr noundef nonnull @bench_setup, ptr noundef null, ptr noundef nonnull %3, i32 noundef 10, i32 noundef %4)
  br label %103

103:                                              ; preds = %102, %.thread285
  call void @llvm.lifetime.end.p0(i64 1744, ptr nonnull %3) #2
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare hidden i32 @get_iters(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @print_output_table_header_row() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @have_flag(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @run_benchmark(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_add(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_setup(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_negate(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_mul(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_split(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_inverse(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_scalar_inverse_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_half(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_normalize(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_normalize_weak(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_sqr(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_mul(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_inverse(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_inverse_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_is_square_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_field_sqrt(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_double_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_affine(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_affine_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_add_zinv_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_group_to_affine_var(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_wnaf_const(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_ecmult_wnaf(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_sha256(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_hmac_sha256(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_rfc6979_hmac_sha256(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @bench_context(ptr noundef, i32 noundef) #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,TailCallElimPass