; LLVM IR from intel/cryptography-primitives :: sources/ippcp (gsmod_almmontinv)

; 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._gsModEngine = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr, i32, i32, ptr }

; Function Attrs: nounwind uwtable
define dso_local i32 @alm_mont_inv(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._gsModEngine, ptr %24, i32 0, i32 8
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  store ptr %26, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct._gsModEngine, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 8, !tbaa !13
  store i32 %29, ptr %9, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 4, ptr %10, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = call ptr @gsModPoolAlloc(ptr noundef %30, i32 noundef 4)
  store ptr %31, ptr %11, align 8, !tbaa !5
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  %33 = icmp eq ptr null, %32
  br i1 %33, label %34, label %35

34:                                               ; preds = %3
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %234

35:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %36, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %37 = load ptr, ptr %13, align 8, !tbaa !5
  %38 = load i32, ptr %9, align 4, !tbaa !14
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i64, ptr %37, i64 %39
  store ptr %40, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %41 = load ptr, ptr %14, align 8, !tbaa !5
  %42 = load i32, ptr %9, align 4, !tbaa !14
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds i64, ptr %41, i64 %43
  store ptr %44, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %45 = load ptr, ptr %15, align 8, !tbaa !5
  %46 = load i32, ptr %9, align 4, !tbaa !14
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds i64, ptr %45, i64 %47
  store ptr %48, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  store i64 0, ptr %18, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !14
  br label %49

49:                                               ; preds = %63, %35
  %50 = load i32, ptr %19, align 4, !tbaa !14
  %51 = load i32, ptr %9, align 4, !tbaa !14
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %53, label %66

53:                                               ; preds = %49
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = load i32, ptr %19, align 4, !tbaa !14
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i64, ptr %54, i64 %56
  %58 = load i64, ptr %57, align 8, !tbaa !15
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = load i32, ptr %19, align 4, !tbaa !14
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds i64, ptr %59, i64 %61
  store i64 %58, ptr %62, align 8, !tbaa !15
  br label %63

63:                                               ; preds = %53
  %64 = load i32, ptr %19, align 4, !tbaa !14
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %19, align 4, !tbaa !14
  br label %49, !llvm.loop !16

66:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !14
  br label %67

67:                                               ; preds = %76, %66
  %68 = load i32, ptr %20, align 4, !tbaa !14
  %69 = load i32, ptr %9, align 4, !tbaa !14
  %70 = icmp slt i32 %68, %69
  br i1 %70, label %71, label %79

71:                                               ; preds = %67
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = load i32, ptr %20, align 4, !tbaa !14
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i64, ptr %72, i64 %74
  store i64 0, ptr %75, align 8, !tbaa !15
  br label %76

76:                                               ; preds = %71
  %77 = load i32, ptr %20, align 4, !tbaa !14
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %20, align 4, !tbaa !14
  br label %67, !llvm.loop !18

79:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = getelementptr inbounds i64, ptr %80, i64 0
  store i64 1, ptr %81, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !14
  br label %82

82:                                               ; preds = %96, %79
  %83 = load i32, ptr %21, align 4, !tbaa !14
  %84 = load i32, ptr %9, align 4, !tbaa !14
  %85 = icmp slt i32 %83, %84
  br i1 %85, label %86, label %99

86:                                               ; preds = %82
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load i32, ptr %21, align 4, !tbaa !14
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds i64, ptr %87, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !15
  %92 = load ptr, ptr %15, align 8, !tbaa !5
  %93 = load i32, ptr %21, align 4, !tbaa !14
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i64, ptr %92, i64 %94
  store i64 %91, ptr %95, align 8, !tbaa !15
  br label %96

96:                                               ; preds = %86
  %97 = load i32, ptr %21, align 4, !tbaa !14
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %21, align 4, !tbaa !14
  br label %82, !llvm.loop !19

99:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 0, ptr %22, align 4, !tbaa !14
  br label %100

100:                                              ; preds = %109, %99
  %101 = load i32, ptr %22, align 4, !tbaa !14
  %102 = load i32, ptr %9, align 4, !tbaa !14
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %104, label %112

104:                                              ; preds = %100
  %105 = load ptr, ptr %16, align 8, !tbaa !5
  %106 = load i32, ptr %22, align 4, !tbaa !14
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i64, ptr %105, i64 %107
  store i64 0, ptr %108, align 8, !tbaa !15
  br label %109

109:                                              ; preds = %104
  %110 = load i32, ptr %22, align 4, !tbaa !14
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %22, align 4, !tbaa !14
  br label %100, !llvm.loop !20

112:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %113

113:                                              ; preds = %203, %112
  %114 = load ptr, ptr %15, align 8, !tbaa !5
  %115 = load i32, ptr %9, align 4, !tbaa !14
  %116 = call i32 @cpEqu_BNU_CHUNK(ptr noundef %114, i32 noundef %115, i64 noundef 0)
  %117 = icmp ne i32 %116, 0
  %118 = xor i1 %117, true
  br i1 %118, label %119, label %206

119:                                              ; preds = %113
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = getelementptr inbounds i64, ptr %120, i64 0
  %122 = load i64, ptr %121, align 8, !tbaa !15
  %123 = and i64 %122, 1
  %124 = icmp eq i64 0, %123
  br i1 %124, label %125, label %135

125:                                              ; preds = %119
  %126 = load ptr, ptr %13, align 8, !tbaa !5
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = load i32, ptr %9, align 4, !tbaa !14
  %129 = call i32 @cpLSR_BNU(ptr noundef %126, ptr noundef %127, i32 noundef %128, i32 noundef 1)
  %130 = load ptr, ptr %14, align 8, !tbaa !5
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  %133 = load i32, ptr %9, align 4, !tbaa !14
  %134 = call i64 @cpAdd_BNU(ptr noundef %130, ptr noundef %131, ptr noundef %132, i32 noundef %133)
  br label %203

135:                                              ; preds = %119
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = getelementptr inbounds i64, ptr %136, i64 0
  %138 = load i64, ptr %137, align 8, !tbaa !15
  %139 = and i64 %138, 1
  %140 = icmp eq i64 0, %139
  br i1 %140, label %141, label %151

141:                                              ; preds = %135
  %142 = load ptr, ptr %15, align 8, !tbaa !5
  %143 = load ptr, ptr %15, align 8, !tbaa !5
  %144 = load i32, ptr %9, align 4, !tbaa !14
  %145 = call i32 @cpLSR_BNU(ptr noundef %142, ptr noundef %143, i32 noundef %144, i32 noundef 1)
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  %149 = load i32, ptr %9, align 4, !tbaa !14
  %150 = call i64 @cpAdd_BNU(ptr noundef %146, ptr noundef %147, ptr noundef %148, i32 noundef %149)
  br label %202

151:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = load i32, ptr %9, align 4, !tbaa !14
  %154 = load ptr, ptr %15, align 8, !tbaa !5
  %155 = load i32, ptr %9, align 4, !tbaa !14
  %156 = call i32 @cpCmp_BNU(ptr noundef %152, i32 noundef %153, ptr noundef %154, i32 noundef %155)
  store i32 %156, ptr %23, align 4, !tbaa !14
  %157 = load i32, ptr %23, align 4, !tbaa !14
  %158 = icmp sgt i32 %157, 0
  br i1 %158, label %159, label %179

159:                                              ; preds = %151
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = load ptr, ptr %13, align 8, !tbaa !5
  %162 = load ptr, ptr %15, align 8, !tbaa !5
  %163 = load i32, ptr %9, align 4, !tbaa !14
  %164 = call i64 @cpSub_BNU(ptr noundef %160, ptr noundef %161, ptr noundef %162, i32 noundef %163)
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = load i32, ptr %9, align 4, !tbaa !14
  %168 = call i32 @cpLSR_BNU(ptr noundef %165, ptr noundef %166, i32 noundef %167, i32 noundef 1)
  %169 = load ptr, ptr %16, align 8, !tbaa !5
  %170 = load ptr, ptr %16, align 8, !tbaa !5
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = load i32, ptr %9, align 4, !tbaa !14
  %173 = call i64 @cpAdd_BNU(ptr noundef %169, ptr noundef %170, ptr noundef %171, i32 noundef %172)
  %174 = load ptr, ptr %14, align 8, !tbaa !5
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  %176 = load ptr, ptr %14, align 8, !tbaa !5
  %177 = load i32, ptr %9, align 4, !tbaa !14
  %178 = call i64 @cpAdd_BNU(ptr noundef %174, ptr noundef %175, ptr noundef %176, i32 noundef %177)
  br label %201

179:                                              ; preds = %151
  %180 = load ptr, ptr %15, align 8, !tbaa !5
  %181 = load ptr, ptr %15, align 8, !tbaa !5
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = load i32, ptr %9, align 4, !tbaa !14
  %184 = call i64 @cpSub_BNU(ptr noundef %180, ptr noundef %181, ptr noundef %182, i32 noundef %183)
  %185 = load ptr, ptr %15, align 8, !tbaa !5
  %186 = load ptr, ptr %15, align 8, !tbaa !5
  %187 = load i32, ptr %9, align 4, !tbaa !14
  %188 = call i32 @cpLSR_BNU(ptr noundef %185, ptr noundef %186, i32 noundef %187, i32 noundef 1)
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = load ptr, ptr %14, align 8, !tbaa !5
  %191 = load ptr, ptr %16, align 8, !tbaa !5
  %192 = load i32, ptr %9, align 4, !tbaa !14
  %193 = call i64 @cpAdd_BNU(ptr noundef %189, ptr noundef %190, ptr noundef %191, i32 noundef %192)
  %194 = load ptr, ptr %16, align 8, !tbaa !5
  %195 = load ptr, ptr %16, align 8, !tbaa !5
  %196 = load ptr, ptr %16, align 8, !tbaa !5
  %197 = load i32, ptr %9, align 4, !tbaa !14
  %198 = call i64 @cpAdd_BNU(ptr noundef %194, ptr noundef %195, ptr noundef %196, i32 noundef %197)
  %199 = load i64, ptr %18, align 8, !tbaa !15
  %200 = add i64 %199, %198
  store i64 %200, ptr %18, align 8, !tbaa !15
  br label %201

201:                                              ; preds = %179, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %202

202:                                              ; preds = %201, %141
  br label %203

203:                                              ; preds = %202, %125
  %204 = load i32, ptr %17, align 4, !tbaa !14
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %17, align 4, !tbaa !14
  br label %113, !llvm.loop !21

206:                                              ; preds = %113
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = load i32, ptr %9, align 4, !tbaa !14
  %209 = call i32 @cpEqu_BNU_CHUNK(ptr noundef %207, i32 noundef %208, i64 noundef 1)
  %210 = icmp ne i32 1, %209
  br i1 %210, label %211, label %212

211:                                              ; preds = %206
  store i32 0, ptr %17, align 4, !tbaa !14
  br label %231

212:                                              ; preds = %206
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load ptr, ptr %16, align 8, !tbaa !5
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = load i32, ptr %9, align 4, !tbaa !14
  %217 = call i64 @cpSub_BNU(ptr noundef %213, ptr noundef %214, ptr noundef %215, i32 noundef %216)
  %218 = load i64, ptr %18, align 8, !tbaa !15
  %219 = sub i64 %218, %217
  store i64 %219, ptr %18, align 8, !tbaa !15
  %220 = load ptr, ptr %5, align 8, !tbaa !5
  %221 = load ptr, ptr %16, align 8, !tbaa !5
  %222 = load i32, ptr %9, align 4, !tbaa !14
  %223 = load i64, ptr %18, align 8, !tbaa !15
  %224 = call i64 @cpIsZero_ct(i64 noundef %223)
  %225 = xor i64 %224, -1
  call void @cpMaskedReplace_ct(ptr noundef %220, ptr noundef %221, i32 noundef %222, i64 noundef %225)
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = load i32, ptr %9, align 4, !tbaa !14
  %230 = call i64 @cpSub_BNU(ptr noundef %226, ptr noundef %227, ptr noundef %228, i32 noundef %229)
  br label %231

231:                                              ; preds = %212, %211
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  call void @gsModPoolFree(ptr noundef %232, i32 noundef 4)
  %233 = load i32, ptr %17, align 4, !tbaa !14
  store i32 %233, ptr %4, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %234

234:                                              ; preds = %231, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %235 = load i32, ptr %4, align 4
  ret i32 %235
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @gsModPoolAlloc(ptr noundef, i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @cpEqu_BNU_CHUNK(ptr noundef, i32 noundef, i64 noundef) #2

declare i32 @cpLSR_BNU(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

declare i64 @cpAdd_BNU(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @cpCmp_BNU(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

declare i64 @cpSub_BNU(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @cpMaskedReplace_ct(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @cpIsZero_ct(i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @gsModPoolFree(ptr noundef, i32 noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 #3 = { "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 #4 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 48}
!10 = !{!"_gsModEngine", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !6, i64 104}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!10, !11, i64 16}
!14 = !{!11, !11, i64 0}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}


; 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"

; Function Attrs: nounwind uwtable
define dso_local i32 @alm_mont_inv(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = ptrtoint ptr %1 to i64
  %5 = getelementptr inbounds i8, ptr %2, i64 48
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = ptrtoint ptr %6 to i64
  %8 = getelementptr inbounds i8, ptr %2, i64 16
  %9 = load i32, ptr %8, align 8, !tbaa !12
  %10 = tail call ptr @gsModPoolAlloc(ptr noundef %2, i32 noundef 4)
  %11 = ptrtoint ptr %10 to i64
  %12 = icmp eq ptr %10, null
  br i1 %12, label %110, label %13

13:                                               ; preds = %3
  %14 = sext i32 %9 to i64
  %15 = getelementptr i64, ptr %10, i64 %14
  %16 = getelementptr i64, ptr %15, i64 %14
  %17 = getelementptr i64, ptr %16, i64 %14
  %18 = icmp sgt i32 %9, 0
  br i1 %18, label %.lr.ph.preheader, label %.preheader118.thread

.lr.ph.preheader:                                 ; preds = %13
  %wide.trip.count = zext nneg i32 %9 to i64
  %min.iters.check = icmp ult i32 %9, 6
  %19 = sub i64 %11, %7
  %diff.check = icmp ult i64 %19, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %.lr.ph.preheader163, label %vector.ph

.lr.ph.preheader163:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader163, %.lr.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph.prol ], [ %indvars.iv.ph, %.lr.ph.preheader163 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader163 ]
  %20 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv.prol
  %21 = load i64, ptr %20, align 8, !tbaa !13
  %22 = getelementptr inbounds i64, ptr %10, i64 %indvars.iv.prol
  store i64 %21, ptr %22, align 8, !tbaa !13
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !14

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader163
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader163 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %23 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %24 = icmp ugt i64 %23, -4
  br i1 %24, label %.preheader119, label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %25 = getelementptr inbounds i64, ptr %6, i64 %index
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %wide.load = load <2 x i64>, ptr %25, align 8, !tbaa !13
  %wide.load146 = load <2 x i64>, ptr %26, align 8, !tbaa !13
  %27 = getelementptr inbounds i64, ptr %10, i64 %index
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  store <2 x i64> %wide.load, ptr %27, align 8, !tbaa !13
  store <2 x i64> %wide.load146, ptr %28, align 8, !tbaa !13
  %index.next = add nuw i64 %index, 4
  %29 = icmp eq i64 %index.next, %n.vec
  br i1 %29, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader119, label %.lr.ph.preheader163

.preheader119:                                    ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block
  br i1 %18, label %.lr.ph125.preheader, label %.preheader118.thread

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %30 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv
  %31 = load i64, ptr %30, align 8, !tbaa !13
  %32 = getelementptr inbounds i64, ptr %10, i64 %indvars.iv
  store i64 %31, ptr %32, align 8, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %33 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv.next
  %34 = load i64, ptr %33, align 8, !tbaa !13
  %35 = getelementptr inbounds i64, ptr %10, i64 %indvars.iv.next
  store i64 %34, ptr %35, align 8, !tbaa !13
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %36 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv.next.1
  %37 = load i64, ptr %36, align 8, !tbaa !13
  %38 = getelementptr inbounds i64, ptr %10, i64 %indvars.iv.next.1
  store i64 %37, ptr %38, align 8, !tbaa !13
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %39 = getelementptr inbounds i64, ptr %6, i64 %indvars.iv.next.2
  %40 = load i64, ptr %39, align 8, !tbaa !13
  %41 = getelementptr inbounds i64, ptr %10, i64 %indvars.iv.next.2
  store i64 %40, ptr %41, align 8, !tbaa !13
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.preheader119, label %.lr.ph, !llvm.loop !20

.preheader118.thread:                             ; preds = %13, %.preheader119
  store i64 1, ptr %15, align 8, !tbaa !13
  br label %.preheader

.lr.ph125.preheader:                              ; preds = %.preheader119
  %42 = zext nneg i32 %9 to i64
  %43 = shl nuw nsw i64 %42, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 %43, i1 false), !tbaa !13
  store i64 1, ptr %15, align 8, !tbaa !13
  %wide.trip.count141 = zext nneg i32 %9 to i64
  %min.iters.check151 = icmp ult i32 %9, 10
  br i1 %min.iters.check151, label %.lr.ph125.preheader162, label %vector.memcheck147

.lr.ph125.preheader162:                           ; preds = %middle.block149, %vector.memcheck147, %.lr.ph125.preheader
  %indvars.iv138.ph = phi i64 [ 0, %vector.memcheck147 ], [ 0, %.lr.ph125.preheader ], [ %n.vec154, %middle.block149 ]
  %xtraiter164 = and i64 %wide.trip.count, 3
  %lcmp.mod165.not = icmp eq i64 %xtraiter164, 0
  br i1 %lcmp.mod165.not, label %.lr.ph125.prol.loopexit, label %.lr.ph125.prol

.lr.ph125.prol:                                   ; preds = %.lr.ph125.preheader162, %.lr.ph125.prol
  %indvars.iv138.prol = phi i64 [ %indvars.iv.next139.prol, %.lr.ph125.prol ], [ %indvars.iv138.ph, %.lr.ph125.preheader162 ]
  %prol.iter166 = phi i64 [ %prol.iter166.next, %.lr.ph125.prol ], [ 0, %.lr.ph125.preheader162 ]
  %44 = getelementptr inbounds i64, ptr %1, i64 %indvars.iv138.prol
  %45 = load i64, ptr %44, align 8, !tbaa !13
  %46 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv138.prol
  store i64 %45, ptr %46, align 8, !tbaa !13
  %indvars.iv.next139.prol = add nuw nsw i64 %indvars.iv138.prol, 1
  %prol.iter166.next = add i64 %prol.iter166, 1
  %prol.iter166.cmp.not = icmp eq i64 %prol.iter166.next, %xtraiter164
  br i1 %prol.iter166.cmp.not, label %.lr.ph125.prol.loopexit, label %.lr.ph125.prol, !llvm.loop !21

.lr.ph125.prol.loopexit:                          ; preds = %.lr.ph125.prol, %.lr.ph125.preheader162
  %indvars.iv138.unr = phi i64 [ %indvars.iv138.ph, %.lr.ph125.preheader162 ], [ %indvars.iv.next139.prol, %.lr.ph125.prol ]
  %47 = sub nsw i64 %indvars.iv138.ph, %wide.trip.count
  %48 = icmp ugt i64 %47, -4
  br i1 %48, label %.preheader118, label %.lr.ph125

vector.memcheck147:                               ; preds = %.lr.ph125.preheader
  %49 = shl nuw nsw i64 %14, 4
  %50 = add i64 %49, %11
  %51 = sub i64 %50, %4
  %diff.check148 = icmp ult i64 %51, 32
  br i1 %diff.check148, label %.lr.ph125.preheader162, label %vector.ph152

vector.ph152:                                     ; preds = %vector.memcheck147
  %n.vec154 = and i64 %wide.trip.count, 2147483644
  br label %vector.body156

vector.body156:                                   ; preds = %vector.body156, %vector.ph152
  %index157 = phi i64 [ 0, %vector.ph152 ], [ %index.next160, %vector.body156 ]
  %52 = getelementptr inbounds i64, ptr %1, i64 %index157
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  %wide.load158 = load <2 x i64>, ptr %52, align 8, !tbaa !13
  %wide.load159 = load <2 x i64>, ptr %53, align 8, !tbaa !13
  %54 = getelementptr inbounds i64, ptr %16, i64 %index157
  %55 = getelementptr inbounds i8, ptr %54, i64 16
  store <2 x i64> %wide.load158, ptr %54, align 8, !tbaa !13
  store <2 x i64> %wide.load159, ptr %55, align 8, !tbaa !13
  %index.next160 = add nuw i64 %index157, 4
  %56 = icmp eq i64 %index.next160, %n.vec154
  br i1 %56, label %middle.block149, label %vector.body156, !llvm.loop !22

middle.block149:                                  ; preds = %vector.body156
  %cmp.n161 = icmp eq i64 %n.vec154, %wide.trip.count
  br i1 %cmp.n161, label %.preheader118, label %.lr.ph125.preheader162

.preheader118:                                    ; preds = %.lr.ph125.prol.loopexit, %.lr.ph125, %middle.block149
  br i1 %18, label %.lr.ph127.preheader, label %.preheader

.lr.ph127.preheader:                              ; preds = %.preheader118
  %57 = zext nneg i32 %9 to i64
  %58 = shl nuw nsw i64 %57, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 %58, i1 false), !tbaa !13
  br label %.preheader

.lr.ph125:                                        ; preds = %.lr.ph125.prol.loopexit, %.lr.ph125
  %indvars.iv138 = phi i64 [ %indvars.iv.next139.3, %.lr.ph125 ], [ %indvars.iv138.unr, %.lr.ph125.prol.loopexit ]
  %59 = getelementptr inbounds i64, ptr %1, i64 %indvars.iv138
  %60 = load i64, ptr %59, align 8, !tbaa !13
  %61 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv138
  store i64 %60, ptr %61, align 8, !tbaa !13
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %62 = getelementptr inbounds i64, ptr %1, i64 %indvars.iv.next139
  %63 = load i64, ptr %62, align 8, !tbaa !13
  %64 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv.next139
  store i64 %63, ptr %64, align 8, !tbaa !13
  %indvars.iv.next139.1 = add nuw nsw i64 %indvars.iv138, 2
  %65 = getelementptr inbounds i64, ptr %1, i64 %indvars.iv.next139.1
  %66 = load i64, ptr %65, align 8, !tbaa !13
  %67 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv.next139.1
  store i64 %66, ptr %67, align 8, !tbaa !13
  %indvars.iv.next139.2 = add nuw nsw i64 %indvars.iv138, 3
  %68 = getelementptr inbounds i64, ptr %1, i64 %indvars.iv.next139.2
  %69 = load i64, ptr %68, align 8, !tbaa !13
  %70 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv.next139.2
  store i64 %69, ptr %70, align 8, !tbaa !13
  %indvars.iv.next139.3 = add nuw nsw i64 %indvars.iv138, 4
  %exitcond142.not.3 = icmp eq i64 %indvars.iv.next139.3, %wide.trip.count141
  br i1 %exitcond142.not.3, label %.preheader118, label %.lr.ph125, !llvm.loop !23

.preheader:                                       ; preds = %.preheader118.thread, %.lr.ph127.preheader, %.preheader118
  %71 = tail call i32 @cpEqu_BNU_CHUNK(ptr noundef nonnull %16, i32 noundef %9, i64 noundef 0)
  %.not128 = icmp eq i32 %71, 0
  br i1 %.not128, label %.lr.ph131, label %._crit_edge132

.lr.ph131:                                        ; preds = %.preheader, %99
  %.0112130 = phi i64 [ %.2, %99 ], [ 0, %.preheader ]
  %.0113129 = phi i32 [ %100, %99 ], [ 0, %.preheader ]
  %72 = load i64, ptr %10, align 8, !tbaa !13
  %73 = and i64 %72, 1
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %.lr.ph131
  %76 = tail call i32 @cpLSR_BNU(ptr noundef nonnull %10, ptr noundef nonnull %10, i32 noundef %9, i32 noundef 1) #4
  %77 = tail call i64 @cpAdd_BNU(ptr noundef nonnull %15, ptr noundef nonnull %15, ptr noundef nonnull %15, i32 noundef %9) #4
  br label %99

78:                                               ; preds = %.lr.ph131
  %79 = load i64, ptr %16, align 8, !tbaa !13
  %80 = and i64 %79, 1
  %81 = icmp eq i64 %80, 0
  br i1 %81, label %82, label %85

82:                                               ; preds = %78
  %83 = tail call i32 @cpLSR_BNU(ptr noundef nonnull %16, ptr noundef nonnull %16, i32 noundef %9, i32 noundef 1) #4
  %84 = tail call i64 @cpAdd_BNU(ptr noundef nonnull %17, ptr noundef nonnull %17, ptr noundef nonnull %17, i32 noundef %9) #4
  br label %99

85:                                               ; preds = %78
  %86 = tail call i32 @cpCmp_BNU(ptr noundef nonnull %10, i32 noundef %9, ptr noundef nonnull %16, i32 noundef %9)
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %88, label %93

88:                                               ; preds = %85
  %89 = tail call i64 @cpSub_BNU(ptr noundef nonnull %10, ptr noundef nonnull %10, ptr noundef nonnull %16, i32 noundef %9) #4
  %90 = tail call i32 @cpLSR_BNU(ptr noundef nonnull %10, ptr noundef nonnull %10, i32 noundef %9, i32 noundef 1) #4
  %91 = tail call i64 @cpAdd_BNU(ptr noundef nonnull %17, ptr noundef nonnull %17, ptr noundef nonnull %15, i32 noundef %9) #4
  %92 = tail call i64 @cpAdd_BNU(ptr noundef nonnull %15, ptr noundef nonnull %15, ptr noundef nonnull %15, i32 noundef %9) #4
  br label %99

93:                                               ; preds = %85
  %94 = tail call i64 @cpSub_BNU(ptr noundef nonnull %16, ptr noundef nonnull %16, ptr noundef nonnull %10, i32 noundef %9) #4
  %95 = tail call i32 @cpLSR_BNU(ptr noundef nonnull %16, ptr noundef nonnull %16, i32 noundef %9, i32 noundef 1) #4
  %96 = tail call i64 @cpAdd_BNU(ptr noundef nonnull %15, ptr noundef nonnull %15, ptr noundef nonnull %17, i32 noundef %9) #4
  %97 = tail call i64 @cpAdd_BNU(ptr noundef nonnull %17, ptr noundef nonnull %17, ptr noundef nonnull %17, i32 noundef %9) #4
  %98 = add i64 %97, %.0112130
  br label %99

99:                                               ; preds = %88, %93, %82, %75
  %.2 = phi i64 [ %.0112130, %75 ], [ %.0112130, %82 ], [ %.0112130, %88 ], [ %98, %93 ]
  %100 = add nuw nsw i32 %.0113129, 1
  %101 = tail call i32 @cpEqu_BNU_CHUNK(ptr noundef nonnull %16, i32 noundef %9, i64 noundef 0)
  %.not = icmp eq i32 %101, 0
  br i1 %.not, label %.lr.ph131, label %._crit_edge132, !llvm.loop !24

._crit_edge132:                                   ; preds = %99, %.preheader
  %.0113.lcssa = phi i32 [ 0, %.preheader ], [ %100, %99 ]
  %.0112.lcssa = phi i64 [ 0, %.preheader ], [ %.2, %99 ]
  %102 = tail call i32 @cpEqu_BNU_CHUNK(ptr noundef nonnull %10, i32 noundef %9, i64 noundef 1)
  %.not117 = icmp eq i32 %102, 1
  br i1 %.not117, label %103, label %109

103:                                              ; preds = %._crit_edge132
  %104 = tail call i64 @cpSub_BNU(ptr noundef %0, ptr noundef nonnull %17, ptr noundef %6, i32 noundef %9) #4
  %105 = sub i64 %.0112.lcssa, %104
  %106 = tail call i64 @cpIsZero_ct(i64 noundef %105)
  %107 = xor i64 %106, -1
  tail call void @cpMaskedReplace_ct(ptr noundef %0, ptr noundef nonnull %17, i32 noundef %9, i64 noundef %107)
  %108 = tail call i64 @cpSub_BNU(ptr noundef %0, ptr noundef %6, ptr noundef %0, i32 noundef %9) #4
  br label %109

109:                                              ; preds = %._crit_edge132, %103
  %.1114 = phi i32 [ %.0113.lcssa, %103 ], [ 0, %._crit_edge132 ]
  tail call void @gsModPoolFree(ptr noundef %2, i32 noundef 4)
  br label %110

110:                                              ; preds = %3, %109
  %.0 = phi i32 [ %.1114, %109 ], [ 0, %3 ]
  ret i32 %.0
}

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

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

declare i32 @cpLSR_BNU(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i64 @cpAdd_BNU(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare i64 @cpSub_BNU(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @cpIsZero_ct(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { 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 #1 = { inlinehint 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 = { "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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !7, i64 48}
!6 = !{!"_gsModEngine", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !11, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !10, i64 96, !10, i64 100, !7, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !18}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !17, !18, !19}
!23 = distinct !{!23, !17, !18}
!24 = distinct !{!24, !17}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass