; 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: nounwind uwtable
define dso_local void @Hacl_Bignum4096_32_add_mod(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #2 {
  %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_add_carry_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_add_carry_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_add_carry_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_add_carry_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_sub_borrow_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_sub_borrow_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_sub_borrow_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_sub_borrow_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
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #4
  %258 = load i32, ptr %23, align 4, !tbaa !9
  %259 = load i32, ptr %39, align 4, !tbaa !9
  %260 = sub i32 %258, %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 ptr, ptr %8, align 8, !tbaa !5
  %269 = load i32, ptr %41, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = getelementptr inbounds i32, ptr %268, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !9
  %273 = and i32 %267, %272
  %274 = load i32, ptr %40, align 4, !tbaa !9
  %275 = xor i32 %274, -1
  %276 = load i32, ptr %41, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = getelementptr inbounds [128 x i32], ptr %24, i64 0, i64 %277
  %279 = load i32, ptr %278, align 4, !tbaa !9
  %280 = and i32 %275, %279
  %281 = or i32 %273, %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
}

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

196:                                              ; preds = %6, %196
  %indvars.iv105 = phi i64 [ 0, %6 ], [ %indvars.iv.next106, %196 ]
  %.096101 = phi i32 [ 0, %6 ], [ %224, %196 ]
  %197 = shl nuw nsw i64 %indvars.iv105, 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_sub_borrow_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_sub_borrow_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_sub_borrow_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_sub_borrow_u32(i32 noundef %217, i32 noundef %220, i32 noundef %222, ptr noundef nonnull %223)
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %exitcond108.not = icmp eq i64 %indvars.iv.next106, 32
  br i1 %exitcond108.not, label %vector.body, label %196, !llvm.loop !11
}

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

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 = { 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 = { mustprogress 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, !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