; LLVM IR from cryspen/libcrux :: sys/hacl/c/src (Hacl_Bignum4096_32)

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @Hacl_Bignum4096_32_sub_mod(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %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 i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca [128 x i32], align 16
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = 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
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %146, %4
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = icmp ult i32 %45, 32
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %149

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = mul i32 4, %50
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds i32, ptr %49, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !9
  store i32 %54, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = mul i32 4, %56
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %55, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !9
  store i32 %60, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = mul i32 4, %62
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %61, i64 %64
  store ptr %65, ptr %13, align 8, !tbaa !5
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = load ptr, ptr %13, align 8, !tbaa !5
  %70 = call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %66, i32 noundef %67, i32 noundef %68, ptr noundef %69)
  store i32 %70, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = load i32, ptr %10, align 4, !tbaa !9
  %73 = mul i32 4, %72
  %74 = add i32 %73, 1
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds i32, ptr %71, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !9
  store i32 %77, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = load i32, ptr %10, align 4, !tbaa !9
  %80 = mul i32 4, %79
  %81 = add i32 %80, 1
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds i32, ptr %78, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !9
  store i32 %84, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = mul i32 4, %86
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds i32, ptr %85, i64 %88
  %90 = getelementptr inbounds i32, ptr %89, i64 1
  store ptr %90, ptr %16, align 8, !tbaa !5
  %91 = load i32, ptr %9, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = load ptr, ptr %16, align 8, !tbaa !5
  %95 = call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %91, i32 noundef %92, i32 noundef %93, ptr noundef %94)
  store i32 %95, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = mul i32 4, %97
  %99 = add i32 %98, 2
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr %96, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !9
  store i32 %102, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = mul i32 4, %104
  %106 = add i32 %105, 2
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %103, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !9
  store i32 %109, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = mul i32 4, %111
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds i32, ptr %110, i64 %113
  %115 = getelementptr inbounds i32, ptr %114, i64 2
  store ptr %115, ptr %19, align 8, !tbaa !5
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = load ptr, ptr %19, align 8, !tbaa !5
  %120 = call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %116, i32 noundef %117, i32 noundef %118, ptr noundef %119)
  store i32 %120, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load i32, ptr %10, align 4, !tbaa !9
  %123 = mul i32 4, %122
  %124 = add i32 %123, 3
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds i32, ptr %121, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !9
  store i32 %127, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = mul i32 4, %129
  %131 = add i32 %130, 3
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds i32, ptr %128, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !9
  store i32 %134, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = load i32, ptr %10, align 4, !tbaa !9
  %137 = mul i32 4, %136
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds i32, ptr %135, i64 %138
  %140 = getelementptr inbounds i32, ptr %139, i64 3
  store ptr %140, ptr %22, align 8, !tbaa !5
  %141 = load i32, ptr %9, align 4, !tbaa !9
  %142 = load i32, ptr %20, align 4, !tbaa !9
  %143 = load i32, ptr %21, align 4, !tbaa !9
  %144 = load ptr, ptr %22, align 8, !tbaa !5
  %145 = call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %141, i32 noundef %142, i32 noundef %143, ptr noundef %144)
  store i32 %145, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, 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 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %146

146:                                              ; preds = %48
  %147 = load i32, ptr %10, align 4, !tbaa !9
  %148 = add i32 %147, 1
  store i32 %148, ptr %10, align 4, !tbaa !9
  br label %44, !llvm.loop !11

149:                                              ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %150 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %150, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 512, ptr %24) #4
  call void @llvm.memset.p0.i64(ptr align 16 %24, i8 0, i64 512, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %151

151:                                              ; preds = %253, %149
  %152 = load i32, ptr %26, align 4, !tbaa !9
  %153 = icmp ult i32 %152, 32
  br i1 %153, label %155, label %154

154:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %256

155:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = load i32, ptr %26, align 4, !tbaa !9
  %158 = mul i32 4, %157
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds i32, ptr %156, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !9
  store i32 %161, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = load i32, ptr %26, align 4, !tbaa !9
  %164 = mul i32 4, %163
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %162, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !9
  store i32 %167, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %168 = getelementptr inbounds [128 x i32], ptr %24, i64 0, i64 0
  %169 = load i32, ptr %26, align 4, !tbaa !9
  %170 = mul i32 4, %169
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds i32, ptr %168, i64 %171
  store ptr %172, ptr %29, align 8, !tbaa !5
  %173 = load i32, ptr %25, align 4, !tbaa !9
  %174 = load i32, ptr %27, align 4, !tbaa !9
  %175 = load i32, ptr %28, align 4, !tbaa !9
  %176 = load ptr, ptr %29, align 8, !tbaa !5
  %177 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %173, i32 noundef %174, i32 noundef %175, ptr noundef %176)
  store i32 %177, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = load i32, ptr %26, align 4, !tbaa !9
  %180 = mul i32 4, %179
  %181 = add i32 %180, 1
  %182 = zext i32 %181 to i64
  %183 = getelementptr inbounds i32, ptr %178, i64 %182
  %184 = load i32, ptr %183, align 4, !tbaa !9
  store i32 %184, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = load i32, ptr %26, align 4, !tbaa !9
  %187 = mul i32 4, %186
  %188 = add i32 %187, 1
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds i32, ptr %185, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !9
  store i32 %191, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %192 = getelementptr inbounds [128 x i32], ptr %24, i64 0, i64 0
  %193 = load i32, ptr %26, align 4, !tbaa !9
  %194 = mul i32 4, %193
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %192, i64 %195
  %197 = getelementptr inbounds i32, ptr %196, i64 1
  store ptr %197, ptr %32, align 8, !tbaa !5
  %198 = load i32, ptr %25, align 4, !tbaa !9
  %199 = load i32, ptr %30, align 4, !tbaa !9
  %200 = load i32, ptr %31, align 4, !tbaa !9
  %201 = load ptr, ptr %32, align 8, !tbaa !5
  %202 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %198, i32 noundef %199, i32 noundef %200, ptr noundef %201)
  store i32 %202, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = load i32, ptr %26, align 4, !tbaa !9
  %205 = mul i32 4, %204
  %206 = add i32 %205, 2
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds i32, ptr %203, i64 %207
  %209 = load i32, ptr %208, align 4, !tbaa !9
  store i32 %209, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #4
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  %211 = load i32, ptr %26, align 4, !tbaa !9
  %212 = mul i32 4, %211
  %213 = add i32 %212, 2
  %214 = zext i32 %213 to i64
  %215 = getelementptr inbounds i32, ptr %210, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !9
  store i32 %216, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %217 = getelementptr inbounds [128 x i32], ptr %24, i64 0, i64 0
  %218 = load i32, ptr %26, align 4, !tbaa !9
  %219 = mul i32 4, %218
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds i32, ptr %217, i64 %220
  %222 = getelementptr inbounds i32, ptr %221, i64 2
  store ptr %222, ptr %35, align 8, !tbaa !5
  %223 = load i32, ptr %25, align 4, !tbaa !9
  %224 = load i32, ptr %33, align 4, !tbaa !9
  %225 = load i32, ptr %34, align 4, !tbaa !9
  %226 = load ptr, ptr %35, align 8, !tbaa !5
  %227 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %223, i32 noundef %224, i32 noundef %225, ptr noundef %226)
  store i32 %227, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = load i32, ptr %26, align 4, !tbaa !9
  %230 = mul i32 4, %229
  %231 = add i32 %230, 3
  %232 = zext i32 %231 to i64
  %233 = getelementptr inbounds i32, ptr %228, i64 %232
  %234 = load i32, ptr %233, align 4, !tbaa !9
  store i32 %234, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #4
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = load i32, ptr %26, align 4, !tbaa !9
  %237 = mul i32 4, %236
  %238 = add i32 %237, 3
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds i32, ptr %235, i64 %239
  %241 = load i32, ptr %240, align 4, !tbaa !9
  store i32 %241, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #4
  %242 = getelementptr inbounds [128 x i32], ptr %24, i64 0, i64 0
  %243 = load i32, ptr %26, align 4, !tbaa !9
  %244 = mul i32 4, %243
  %245 = zext i32 %244 to i64
  %246 = getelementptr inbounds i32, ptr %242, i64 %245
  %247 = getelementptr inbounds i32, ptr %246, i64 3
  store ptr %247, ptr %38, align 8, !tbaa !5
  %248 = load i32, ptr %25, align 4, !tbaa !9
  %249 = load i32, ptr %36, align 4, !tbaa !9
  %250 = load i32, ptr %37, align 4, !tbaa !9
  %251 = load ptr, ptr %38, align 8, !tbaa !5
  %252 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %248, i32 noundef %249, i32 noundef %250, ptr noundef %251)
  store i32 %252, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %253

253:                                              ; preds = %155
  %254 = load i32, ptr %26, align 4, !tbaa !9
  %255 = add i32 %254, 1
  store i32 %255, ptr %26, align 4, !tbaa !9
  br label %151, !llvm.loop !13

256:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  %257 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %257, ptr %39, align 4, !tbaa !9
  %258 = load i32, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #4
  %259 = load i32, ptr %23, align 4, !tbaa !9
  %260 = sub i32 0, %259
  store i32 %260, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #4
  store i32 0, ptr %41, align 4, !tbaa !9
  br label %261

261:                                              ; preds = %287, %256
  %262 = load i32, ptr %41, align 4, !tbaa !9
  %263 = icmp ult i32 %262, 128
  br i1 %263, label %265, label %264

264:                                              ; preds = %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #4
  br label %290

265:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #4
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %266, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #4
  %267 = load i32, ptr %40, align 4, !tbaa !9
  %268 = load i32, ptr %41, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = getelementptr inbounds [128 x i32], ptr %24, i64 0, i64 %269
  %271 = load i32, ptr %270, align 4, !tbaa !9
  %272 = and i32 %267, %271
  %273 = load i32, ptr %40, align 4, !tbaa !9
  %274 = xor i32 %273, -1
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = load i32, ptr %41, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = getelementptr inbounds i32, ptr %275, i64 %277
  %279 = load i32, ptr %278, align 4, !tbaa !9
  %280 = and i32 %274, %279
  %281 = or i32 %272, %280
  store i32 %281, ptr %43, align 4, !tbaa !9
  %282 = load i32, ptr %43, align 4, !tbaa !9
  %283 = load ptr, ptr %42, align 8, !tbaa !5
  %284 = load i32, ptr %41, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = getelementptr inbounds i32, ptr %283, i64 %285
  store i32 %282, ptr %286, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  br label %287

287:                                              ; preds = %265
  %288 = load i32, ptr %41, align 4, !tbaa !9
  %289 = add i32 %288, 1
  store i32 %289, ptr %41, align 4, !tbaa !9
  br label %261, !llvm.loop !14

290:                                              ; preds = %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 512, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @Hacl_Bignum4096_32_sub_mod(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3) local_unnamed_addr #3 {
  %5 = alloca [128 x i32], align 16
  br label %7

6:                                                ; preds = %7
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %5, i8 0, i64 512, i1 false)
  br label %196

7:                                                ; preds = %4, %7
  %indvars.iv = phi i64 [ 0, %4 ], [ %indvars.iv.next, %7 ]
  %.099 = phi i32 [ 0, %4 ], [ %35, %7 ]
  %8 = shl nuw nsw i64 %indvars.iv, 2
  %9 = getelementptr inbounds i32, ptr %1, i64 %8
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = getelementptr inbounds i32, ptr %2, i64 %8
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = getelementptr inbounds i32, ptr %3, i64 %8
  %14 = tail call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %.099, i32 noundef %10, i32 noundef %12, ptr noundef %13)
  %15 = or disjoint i64 %8, 1
  %16 = getelementptr inbounds i32, ptr %1, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = getelementptr inbounds i32, ptr %2, i64 %15
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %13, i64 4
  %21 = tail call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %14, i32 noundef %17, i32 noundef %19, ptr noundef nonnull %20)
  %22 = or disjoint i64 %8, 2
  %23 = getelementptr inbounds i32, ptr %1, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = getelementptr inbounds i32, ptr %2, i64 %22
  %26 = load i32, ptr %25, align 4, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %13, i64 8
  %28 = tail call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %21, i32 noundef %24, i32 noundef %26, ptr noundef nonnull %27)
  %29 = or disjoint i64 %8, 3
  %30 = getelementptr inbounds i32, ptr %1, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = getelementptr inbounds i32, ptr %2, i64 %29
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %13, i64 12
  %35 = tail call i32 @Hacl_IntTypes_Intrinsics_sub_borrow_u32(i32 noundef %28, i32 noundef %31, i32 noundef %33, ptr noundef nonnull %34)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 32
  br i1 %exitcond.not, label %6, label %7, !llvm.loop !9

vector.body:                                      ; preds = %196
  %36 = add i32 %35, -1
  %broadcast.splatinsert115 = insertelement <4 x i32> poison, i32 %36, i64 0
  %broadcast.splat116 = shufflevector <4 x i32> %broadcast.splatinsert115, <4 x i32> poison, <4 x i32> zeroinitializer
  %37 = sub i32 0, %35
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %37, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %38 = getelementptr inbounds i8, ptr %5, i64 16
  %wide.load = load <4 x i32>, ptr %5, align 16, !tbaa !5
  %wide.load112 = load <4 x i32>, ptr %38, align 16, !tbaa !5
  %39 = and <4 x i32> %wide.load, %broadcast.splat
  %40 = and <4 x i32> %wide.load112, %broadcast.splat
  %41 = getelementptr inbounds i8, ptr %3, i64 16
  %wide.load113 = load <4 x i32>, ptr %3, align 4, !tbaa !5
  %wide.load114 = load <4 x i32>, ptr %41, align 4, !tbaa !5
  %42 = and <4 x i32> %wide.load113, %broadcast.splat116
  %43 = and <4 x i32> %wide.load114, %broadcast.splat116
  %44 = or <4 x i32> %42, %39
  %45 = or <4 x i32> %43, %40
  store <4 x i32> %44, ptr %3, align 4, !tbaa !5
  store <4 x i32> %45, ptr %41, align 4, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %5, i64 32
  %47 = getelementptr inbounds i8, ptr %5, i64 48
  %wide.load.1 = load <4 x i32>, ptr %46, align 16, !tbaa !5
  %wide.load112.1 = load <4 x i32>, ptr %47, align 16, !tbaa !5
  %48 = and <4 x i32> %wide.load.1, %broadcast.splat
  %49 = and <4 x i32> %wide.load112.1, %broadcast.splat
  %50 = getelementptr inbounds i8, ptr %3, i64 32
  %51 = getelementptr inbounds i8, ptr %3, i64 48
  %wide.load113.1 = load <4 x i32>, ptr %50, align 4, !tbaa !5
  %wide.load114.1 = load <4 x i32>, ptr %51, align 4, !tbaa !5
  %52 = and <4 x i32> %wide.load113.1, %broadcast.splat116
  %53 = and <4 x i32> %wide.load114.1, %broadcast.splat116
  %54 = or <4 x i32> %52, %48
  %55 = or <4 x i32> %53, %49
  store <4 x i32> %54, ptr %50, align 4, !tbaa !5
  store <4 x i32> %55, ptr %51, align 4, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %5, i64 64
  %57 = getelementptr inbounds i8, ptr %5, i64 80
  %wide.load.2 = load <4 x i32>, ptr %56, align 16, !tbaa !5
  %wide.load112.2 = load <4 x i32>, ptr %57, align 16, !tbaa !5
  %58 = and <4 x i32> %wide.load.2, %broadcast.splat
  %59 = and <4 x i32> %wide.load112.2, %broadcast.splat
  %60 = getelementptr inbounds i8, ptr %3, i64 64
  %61 = getelementptr inbounds i8, ptr %3, i64 80
  %wide.load113.2 = load <4 x i32>, ptr %60, align 4, !tbaa !5
  %wide.load114.2 = load <4 x i32>, ptr %61, align 4, !tbaa !5
  %62 = and <4 x i32> %wide.load113.2, %broadcast.splat116
  %63 = and <4 x i32> %wide.load114.2, %broadcast.splat116
  %64 = or <4 x i32> %62, %58
  %65 = or <4 x i32> %63, %59
  store <4 x i32> %64, ptr %60, align 4, !tbaa !5
  store <4 x i32> %65, ptr %61, align 4, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %5, i64 96
  %67 = getelementptr inbounds i8, ptr %5, i64 112
  %wide.load.3 = load <4 x i32>, ptr %66, align 16, !tbaa !5
  %wide.load112.3 = load <4 x i32>, ptr %67, align 16, !tbaa !5
  %68 = and <4 x i32> %wide.load.3, %broadcast.splat
  %69 = and <4 x i32> %wide.load112.3, %broadcast.splat
  %70 = getelementptr inbounds i8, ptr %3, i64 96
  %71 = getelementptr inbounds i8, ptr %3, i64 112
  %wide.load113.3 = load <4 x i32>, ptr %70, align 4, !tbaa !5
  %wide.load114.3 = load <4 x i32>, ptr %71, align 4, !tbaa !5
  %72 = and <4 x i32> %wide.load113.3, %broadcast.splat116
  %73 = and <4 x i32> %wide.load114.3, %broadcast.splat116
  %74 = or <4 x i32> %72, %68
  %75 = or <4 x i32> %73, %69
  store <4 x i32> %74, ptr %70, align 4, !tbaa !5
  store <4 x i32> %75, ptr %71, align 4, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %5, i64 128
  %77 = getelementptr inbounds i8, ptr %5, i64 144
  %wide.load.4 = load <4 x i32>, ptr %76, align 16, !tbaa !5
  %wide.load112.4 = load <4 x i32>, ptr %77, align 16, !tbaa !5
  %78 = and <4 x i32> %wide.load.4, %broadcast.splat
  %79 = and <4 x i32> %wide.load112.4, %broadcast.splat
  %80 = getelementptr inbounds i8, ptr %3, i64 128
  %81 = getelementptr inbounds i8, ptr %3, i64 144
  %wide.load113.4 = load <4 x i32>, ptr %80, align 4, !tbaa !5
  %wide.load114.4 = load <4 x i32>, ptr %81, align 4, !tbaa !5
  %82 = and <4 x i32> %wide.load113.4, %broadcast.splat116
  %83 = and <4 x i32> %wide.load114.4, %broadcast.splat116
  %84 = or <4 x i32> %82, %78
  %85 = or <4 x i32> %83, %79
  store <4 x i32> %84, ptr %80, align 4, !tbaa !5
  store <4 x i32> %85, ptr %81, align 4, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %5, i64 160
  %87 = getelementptr inbounds i8, ptr %5, i64 176
  %wide.load.5 = load <4 x i32>, ptr %86, align 16, !tbaa !5
  %wide.load112.5 = load <4 x i32>, ptr %87, align 16, !tbaa !5
  %88 = and <4 x i32> %wide.load.5, %broadcast.splat
  %89 = and <4 x i32> %wide.load112.5, %broadcast.splat
  %90 = getelementptr inbounds i8, ptr %3, i64 160
  %91 = getelementptr inbounds i8, ptr %3, i64 176
  %wide.load113.5 = load <4 x i32>, ptr %90, align 4, !tbaa !5
  %wide.load114.5 = load <4 x i32>, ptr %91, align 4, !tbaa !5
  %92 = and <4 x i32> %wide.load113.5, %broadcast.splat116
  %93 = and <4 x i32> %wide.load114.5, %broadcast.splat116
  %94 = or <4 x i32> %92, %88
  %95 = or <4 x i32> %93, %89
  store <4 x i32> %94, ptr %90, align 4, !tbaa !5
  store <4 x i32> %95, ptr %91, align 4, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %5, i64 192
  %97 = getelementptr inbounds i8, ptr %5, i64 208
  %wide.load.6 = load <4 x i32>, ptr %96, align 16, !tbaa !5
  %wide.load112.6 = load <4 x i32>, ptr %97, align 16, !tbaa !5
  %98 = and <4 x i32> %wide.load.6, %broadcast.splat
  %99 = and <4 x i32> %wide.load112.6, %broadcast.splat
  %100 = getelementptr inbounds i8, ptr %3, i64 192
  %101 = getelementptr inbounds i8, ptr %3, i64 208
  %wide.load113.6 = load <4 x i32>, ptr %100, align 4, !tbaa !5
  %wide.load114.6 = load <4 x i32>, ptr %101, align 4, !tbaa !5
  %102 = and <4 x i32> %wide.load113.6, %broadcast.splat116
  %103 = and <4 x i32> %wide.load114.6, %broadcast.splat116
  %104 = or <4 x i32> %102, %98
  %105 = or <4 x i32> %103, %99
  store <4 x i32> %104, ptr %100, align 4, !tbaa !5
  store <4 x i32> %105, ptr %101, align 4, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %5, i64 224
  %107 = getelementptr inbounds i8, ptr %5, i64 240
  %wide.load.7 = load <4 x i32>, ptr %106, align 16, !tbaa !5
  %wide.load112.7 = load <4 x i32>, ptr %107, align 16, !tbaa !5
  %108 = and <4 x i32> %wide.load.7, %broadcast.splat
  %109 = and <4 x i32> %wide.load112.7, %broadcast.splat
  %110 = getelementptr inbounds i8, ptr %3, i64 224
  %111 = getelementptr inbounds i8, ptr %3, i64 240
  %wide.load113.7 = load <4 x i32>, ptr %110, align 4, !tbaa !5
  %wide.load114.7 = load <4 x i32>, ptr %111, align 4, !tbaa !5
  %112 = and <4 x i32> %wide.load113.7, %broadcast.splat116
  %113 = and <4 x i32> %wide.load114.7, %broadcast.splat116
  %114 = or <4 x i32> %112, %108
  %115 = or <4 x i32> %113, %109
  store <4 x i32> %114, ptr %110, align 4, !tbaa !5
  store <4 x i32> %115, ptr %111, align 4, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %5, i64 256
  %117 = getelementptr inbounds i8, ptr %5, i64 272
  %wide.load.8 = load <4 x i32>, ptr %116, align 16, !tbaa !5
  %wide.load112.8 = load <4 x i32>, ptr %117, align 16, !tbaa !5
  %118 = and <4 x i32> %wide.load.8, %broadcast.splat
  %119 = and <4 x i32> %wide.load112.8, %broadcast.splat
  %120 = getelementptr inbounds i8, ptr %3, i64 256
  %121 = getelementptr inbounds i8, ptr %3, i64 272
  %wide.load113.8 = load <4 x i32>, ptr %120, align 4, !tbaa !5
  %wide.load114.8 = load <4 x i32>, ptr %121, align 4, !tbaa !5
  %122 = and <4 x i32> %wide.load113.8, %broadcast.splat116
  %123 = and <4 x i32> %wide.load114.8, %broadcast.splat116
  %124 = or <4 x i32> %122, %118
  %125 = or <4 x i32> %123, %119
  store <4 x i32> %124, ptr %120, align 4, !tbaa !5
  store <4 x i32> %125, ptr %121, align 4, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %5, i64 288
  %127 = getelementptr inbounds i8, ptr %5, i64 304
  %wide.load.9 = load <4 x i32>, ptr %126, align 16, !tbaa !5
  %wide.load112.9 = load <4 x i32>, ptr %127, align 16, !tbaa !5
  %128 = and <4 x i32> %wide.load.9, %broadcast.splat
  %129 = and <4 x i32> %wide.load112.9, %broadcast.splat
  %130 = getelementptr inbounds i8, ptr %3, i64 288
  %131 = getelementptr inbounds i8, ptr %3, i64 304
  %wide.load113.9 = load <4 x i32>, ptr %130, align 4, !tbaa !5
  %wide.load114.9 = load <4 x i32>, ptr %131, align 4, !tbaa !5
  %132 = and <4 x i32> %wide.load113.9, %broadcast.splat116
  %133 = and <4 x i32> %wide.load114.9, %broadcast.splat116
  %134 = or <4 x i32> %132, %128
  %135 = or <4 x i32> %133, %129
  store <4 x i32> %134, ptr %130, align 4, !tbaa !5
  store <4 x i32> %135, ptr %131, align 4, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %5, i64 320
  %137 = getelementptr inbounds i8, ptr %5, i64 336
  %wide.load.10 = load <4 x i32>, ptr %136, align 16, !tbaa !5
  %wide.load112.10 = load <4 x i32>, ptr %137, align 16, !tbaa !5
  %138 = and <4 x i32> %wide.load.10, %broadcast.splat
  %139 = and <4 x i32> %wide.load112.10, %broadcast.splat
  %140 = getelementptr inbounds i8, ptr %3, i64 320
  %141 = getelementptr inbounds i8, ptr %3, i64 336
  %wide.load113.10 = load <4 x i32>, ptr %140, align 4, !tbaa !5
  %wide.load114.10 = load <4 x i32>, ptr %141, align 4, !tbaa !5
  %142 = and <4 x i32> %wide.load113.10, %broadcast.splat116
  %143 = and <4 x i32> %wide.load114.10, %broadcast.splat116
  %144 = or <4 x i32> %142, %138
  %145 = or <4 x i32> %143, %139
  store <4 x i32> %144, ptr %140, align 4, !tbaa !5
  store <4 x i32> %145, ptr %141, align 4, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %5, i64 352
  %147 = getelementptr inbounds i8, ptr %5, i64 368
  %wide.load.11 = load <4 x i32>, ptr %146, align 16, !tbaa !5
  %wide.load112.11 = load <4 x i32>, ptr %147, align 16, !tbaa !5
  %148 = and <4 x i32> %wide.load.11, %broadcast.splat
  %149 = and <4 x i32> %wide.load112.11, %broadcast.splat
  %150 = getelementptr inbounds i8, ptr %3, i64 352
  %151 = getelementptr inbounds i8, ptr %3, i64 368
  %wide.load113.11 = load <4 x i32>, ptr %150, align 4, !tbaa !5
  %wide.load114.11 = load <4 x i32>, ptr %151, align 4, !tbaa !5
  %152 = and <4 x i32> %wide.load113.11, %broadcast.splat116
  %153 = and <4 x i32> %wide.load114.11, %broadcast.splat116
  %154 = or <4 x i32> %152, %148
  %155 = or <4 x i32> %153, %149
  store <4 x i32> %154, ptr %150, align 4, !tbaa !5
  store <4 x i32> %155, ptr %151, align 4, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %5, i64 384
  %157 = getelementptr inbounds i8, ptr %5, i64 400
  %wide.load.12 = load <4 x i32>, ptr %156, align 16, !tbaa !5
  %wide.load112.12 = load <4 x i32>, ptr %157, align 16, !tbaa !5
  %158 = and <4 x i32> %wide.load.12, %broadcast.splat
  %159 = and <4 x i32> %wide.load112.12, %broadcast.splat
  %160 = getelementptr inbounds i8, ptr %3, i64 384
  %161 = getelementptr inbounds i8, ptr %3, i64 400
  %wide.load113.12 = load <4 x i32>, ptr %160, align 4, !tbaa !5
  %wide.load114.12 = load <4 x i32>, ptr %161, align 4, !tbaa !5
  %162 = and <4 x i32> %wide.load113.12, %broadcast.splat116
  %163 = and <4 x i32> %wide.load114.12, %broadcast.splat116
  %164 = or <4 x i32> %162, %158
  %165 = or <4 x i32> %163, %159
  store <4 x i32> %164, ptr %160, align 4, !tbaa !5
  store <4 x i32> %165, ptr %161, align 4, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %5, i64 416
  %167 = getelementptr inbounds i8, ptr %5, i64 432
  %wide.load.13 = load <4 x i32>, ptr %166, align 16, !tbaa !5
  %wide.load112.13 = load <4 x i32>, ptr %167, align 16, !tbaa !5
  %168 = and <4 x i32> %wide.load.13, %broadcast.splat
  %169 = and <4 x i32> %wide.load112.13, %broadcast.splat
  %170 = getelementptr inbounds i8, ptr %3, i64 416
  %171 = getelementptr inbounds i8, ptr %3, i64 432
  %wide.load113.13 = load <4 x i32>, ptr %170, align 4, !tbaa !5
  %wide.load114.13 = load <4 x i32>, ptr %171, align 4, !tbaa !5
  %172 = and <4 x i32> %wide.load113.13, %broadcast.splat116
  %173 = and <4 x i32> %wide.load114.13, %broadcast.splat116
  %174 = or <4 x i32> %172, %168
  %175 = or <4 x i32> %173, %169
  store <4 x i32> %174, ptr %170, align 4, !tbaa !5
  store <4 x i32> %175, ptr %171, align 4, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %5, i64 448
  %177 = getelementptr inbounds i8, ptr %5, i64 464
  %wide.load.14 = load <4 x i32>, ptr %176, align 16, !tbaa !5
  %wide.load112.14 = load <4 x i32>, ptr %177, align 16, !tbaa !5
  %178 = and <4 x i32> %wide.load.14, %broadcast.splat
  %179 = and <4 x i32> %wide.load112.14, %broadcast.splat
  %180 = getelementptr inbounds i8, ptr %3, i64 448
  %181 = getelementptr inbounds i8, ptr %3, i64 464
  %wide.load113.14 = load <4 x i32>, ptr %180, align 4, !tbaa !5
  %wide.load114.14 = load <4 x i32>, ptr %181, align 4, !tbaa !5
  %182 = and <4 x i32> %wide.load113.14, %broadcast.splat116
  %183 = and <4 x i32> %wide.load114.14, %broadcast.splat116
  %184 = or <4 x i32> %182, %178
  %185 = or <4 x i32> %183, %179
  store <4 x i32> %184, ptr %180, align 4, !tbaa !5
  store <4 x i32> %185, ptr %181, align 4, !tbaa !5
  %186 = getelementptr inbounds i8, ptr %5, i64 480
  %187 = getelementptr inbounds i8, ptr %5, i64 496
  %wide.load.15 = load <4 x i32>, ptr %186, align 16, !tbaa !5
  %wide.load112.15 = load <4 x i32>, ptr %187, align 16, !tbaa !5
  %188 = and <4 x i32> %wide.load.15, %broadcast.splat
  %189 = and <4 x i32> %wide.load112.15, %broadcast.splat
  %190 = getelementptr inbounds i8, ptr %3, i64 480
  %191 = getelementptr inbounds i8, ptr %3, i64 496
  %wide.load113.15 = load <4 x i32>, ptr %190, align 4, !tbaa !5
  %wide.load114.15 = load <4 x i32>, ptr %191, align 4, !tbaa !5
  %192 = and <4 x i32> %wide.load113.15, %broadcast.splat116
  %193 = and <4 x i32> %wide.load114.15, %broadcast.splat116
  %194 = or <4 x i32> %192, %188
  %195 = or <4 x i32> %193, %189
  store <4 x i32> %194, ptr %190, align 4, !tbaa !5
  store <4 x i32> %195, ptr %191, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #4
  ret void

196:                                              ; preds = %6, %196
  %indvars.iv104 = phi i64 [ 0, %6 ], [ %indvars.iv.next105, %196 ]
  %.096101 = phi i32 [ 0, %6 ], [ %224, %196 ]
  %197 = shl nuw nsw i64 %indvars.iv104, 2
  %198 = getelementptr inbounds i32, ptr %3, i64 %197
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %200 = getelementptr inbounds i32, ptr %0, i64 %197
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = getelementptr inbounds i32, ptr %5, i64 %197
  %203 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %.096101, i32 noundef %199, i32 noundef %201, ptr noundef nonnull %202)
  %204 = or disjoint i64 %197, 1
  %205 = getelementptr inbounds i32, ptr %3, i64 %204
  %206 = load i32, ptr %205, align 4, !tbaa !5
  %207 = getelementptr inbounds i32, ptr %0, i64 %204
  %208 = load i32, ptr %207, align 4, !tbaa !5
  %209 = getelementptr inbounds i8, ptr %202, i64 4
  %210 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %203, i32 noundef %206, i32 noundef %208, ptr noundef nonnull %209)
  %211 = or disjoint i64 %197, 2
  %212 = getelementptr inbounds i32, ptr %3, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = getelementptr inbounds i32, ptr %0, i64 %211
  %215 = load i32, ptr %214, align 4, !tbaa !5
  %216 = getelementptr inbounds i8, ptr %202, i64 8
  %217 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %210, i32 noundef %213, i32 noundef %215, ptr noundef nonnull %216)
  %218 = or disjoint i64 %197, 3
  %219 = getelementptr inbounds i32, ptr %3, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = getelementptr inbounds i32, ptr %0, i64 %218
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %202, i64 12
  %224 = call i32 @Hacl_IntTypes_Intrinsics_add_carry_u32(i32 noundef %217, i32 noundef %220, i32 noundef %222, ptr noundef nonnull %223)
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %exitcond107.not = icmp eq i64 %indvars.iv.next105, 32
  br i1 %exitcond107.not, label %vector.body, label %196, !llvm.loop !11
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass