; LLVM IR from CLASS-SZ/class_sz :: class-sz/source (thermodynamics)

; 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.thermo = type { double, i32, i32, i32, double, double, i16, i16, double, double, double, double, i32, ptr, ptr, double, i32, ptr, ptr, double, i32, ptr, ptr, double, i16, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i16, i16, i16, [2048 x i8] }
%struct.background = type { double, double, double, double, double, double, double, i32, double, double, double, double, i16, double, double, double, double, double, double, double, double, double, i16, double, double, ptr, i32, i32, double, i32, ptr, ptr, double, ptr, double, ptr, double, ptr, double, ptr, ptr, ptr, double, double, double, double, i32, ptr, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i16, i16, i16, i16, i16, [2048 x i8], i16, [2048 x i8] }
%struct.recombination = type { i32, i32, i32, i32, i32, i32, i32, i32, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i16, double, double, double, double, double, double, double }
%struct.reionization = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32 }

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @thermodynamics_indices(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %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
  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) #2
  store i32 0, ptr %9, align 4, !tbaa !9
  %10 = load i32, ptr %9, align 4, !tbaa !9
  %11 = load ptr, ptr %6, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.thermo, ptr %11, i32 0, i32 36
  store i32 %10, ptr %12, align 8, !tbaa !11
  %13 = load i32, ptr %9, align 4, !tbaa !9
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr %9, align 4, !tbaa !9
  %15 = load i32, ptr %9, align 4, !tbaa !9
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.thermo, ptr %16, i32 0, i32 37
  store i32 %15, ptr %17, align 4, !tbaa !15
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %9, align 4, !tbaa !9
  %20 = load i32, ptr %9, align 4, !tbaa !9
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.thermo, ptr %21, i32 0, i32 38
  store i32 %20, ptr %22, align 8, !tbaa !16
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %9, align 4, !tbaa !9
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.thermo, ptr %26, i32 0, i32 39
  store i32 %25, ptr %27, align 4, !tbaa !17
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %9, align 4, !tbaa !9
  %30 = load i32, ptr %9, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.thermo, ptr %31, i32 0, i32 40
  store i32 %30, ptr %32, align 8, !tbaa !18
  %33 = load i32, ptr %9, align 4, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %9, align 4, !tbaa !9
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.thermo, ptr %36, i32 0, i32 41
  store i32 %35, ptr %37, align 4, !tbaa !19
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %9, align 4, !tbaa !9
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.thermo, ptr %41, i32 0, i32 42
  store i32 %40, ptr %42, align 8, !tbaa !20
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %9, align 4, !tbaa !9
  %45 = load i32, ptr %9, align 4, !tbaa !9
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.thermo, ptr %46, i32 0, i32 43
  store i32 %45, ptr %47, align 4, !tbaa !21
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %9, align 4, !tbaa !9
  %50 = load i32, ptr %9, align 4, !tbaa !9
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.thermo, ptr %51, i32 0, i32 44
  store i32 %50, ptr %52, align 8, !tbaa !22
  %53 = load i32, ptr %9, align 4, !tbaa !9
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %9, align 4, !tbaa !9
  %55 = load i32, ptr %9, align 4, !tbaa !9
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.thermo, ptr %56, i32 0, i32 54
  store i32 %55, ptr %57, align 8, !tbaa !23
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %9, align 4, !tbaa !9
  %60 = load i32, ptr %9, align 4, !tbaa !9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.thermo, ptr %61, i32 0, i32 55
  store i32 %60, ptr %62, align 4, !tbaa !24
  %63 = load i32, ptr %9, align 4, !tbaa !9
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %9, align 4, !tbaa !9
  %65 = load i32, ptr %9, align 4, !tbaa !9
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.thermo, ptr %66, i32 0, i32 56
  store i32 %65, ptr %67, align 8, !tbaa !25
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %9, align 4, !tbaa !9
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.background, ptr %70, i32 0, i32 128
  %72 = load i16, ptr %71, align 2, !tbaa !26
  %73 = sext i16 %72 to i32
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %121

75:                                               ; preds = %4
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.thermo, ptr %77, i32 0, i32 45
  store i32 %76, ptr %78, align 4, !tbaa !28
  %79 = load i32, ptr %9, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %9, align 4, !tbaa !9
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.thermo, ptr %82, i32 0, i32 46
  store i32 %81, ptr %83, align 8, !tbaa !29
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %9, align 4, !tbaa !9
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.thermo, ptr %87, i32 0, i32 47
  store i32 %86, ptr %88, align 4, !tbaa !30
  %89 = load i32, ptr %9, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %9, align 4, !tbaa !9
  %91 = load i32, ptr %9, align 4, !tbaa !9
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.thermo, ptr %92, i32 0, i32 49
  store i32 %91, ptr %93, align 4, !tbaa !31
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %9, align 4, !tbaa !9
  %96 = load i32, ptr %9, align 4, !tbaa !9
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.thermo, ptr %97, i32 0, i32 50
  store i32 %96, ptr %98, align 8, !tbaa !32
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %9, align 4, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.thermo, ptr %102, i32 0, i32 51
  store i32 %101, ptr %103, align 4, !tbaa !33
  %104 = load i32, ptr %9, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %9, align 4, !tbaa !9
  %106 = load i32, ptr %9, align 4, !tbaa !9
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.thermo, ptr %107, i32 0, i32 52
  store i32 %106, ptr %108, align 8, !tbaa !34
  %109 = load i32, ptr %9, align 4, !tbaa !9
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %9, align 4, !tbaa !9
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.thermo, ptr %112, i32 0, i32 53
  store i32 %111, ptr %113, align 4, !tbaa !35
  %114 = load i32, ptr %9, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %9, align 4, !tbaa !9
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.thermo, ptr %117, i32 0, i32 48
  store i32 %116, ptr %118, align 8, !tbaa !36
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %9, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %75, %4
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.thermo, ptr %122, i32 0, i32 6
  %124 = load i16, ptr %123, align 8, !tbaa !37
  %125 = sext i16 %124 to i32
  %126 = icmp eq i32 %125, 1
  br i1 %126, label %127, label %138

127:                                              ; preds = %121
  %128 = load i32, ptr %9, align 4, !tbaa !9
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.thermo, ptr %129, i32 0, i32 57
  store i32 %128, ptr %130, align 4, !tbaa !38
  %131 = load i32, ptr %9, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %9, align 4, !tbaa !9
  %133 = load i32, ptr %9, align 4, !tbaa !9
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.thermo, ptr %134, i32 0, i32 58
  store i32 %133, ptr %135, align 8, !tbaa !39
  %136 = load i32, ptr %9, align 4, !tbaa !9
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %9, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %127, %121
  %139 = load i32, ptr %9, align 4, !tbaa !9
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.thermo, ptr %140, i32 0, i32 59
  store i32 %139, ptr %141, align 4, !tbaa !40
  %142 = load i32, ptr %9, align 4, !tbaa !9
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %9, align 4, !tbaa !9
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.thermo, ptr %144, i32 0, i32 7
  %146 = load i16, ptr %145, align 2, !tbaa !41
  %147 = sext i16 %146 to i32
  %148 = icmp eq i32 %147, 1
  br i1 %148, label %149, label %155

149:                                              ; preds = %138
  %150 = load i32, ptr %9, align 4, !tbaa !9
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.thermo, ptr %151, i32 0, i32 60
  store i32 %150, ptr %152, align 8, !tbaa !42
  %153 = load i32, ptr %9, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %9, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %149, %138
  %156 = load i32, ptr %9, align 4, !tbaa !9
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.thermo, ptr %157, i32 0, i32 61
  store i32 %156, ptr %158, align 4, !tbaa !43
  store i32 0, ptr %9, align 4, !tbaa !9
  %159 = load i32, ptr %9, align 4, !tbaa !9
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.recombination, ptr %160, i32 0, i32 0
  store i32 %159, ptr %161, align 8, !tbaa !44
  %162 = load i32, ptr %9, align 4, !tbaa !9
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %9, align 4, !tbaa !9
  %164 = load i32, ptr %9, align 4, !tbaa !9
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.recombination, ptr %165, i32 0, i32 1
  store i32 %164, ptr %166, align 4, !tbaa !46
  %167 = load i32, ptr %9, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %9, align 4, !tbaa !9
  %169 = load i32, ptr %9, align 4, !tbaa !9
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.recombination, ptr %170, i32 0, i32 5
  store i32 %169, ptr %171, align 4, !tbaa !47
  %172 = load i32, ptr %9, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %9, align 4, !tbaa !9
  %174 = load i32, ptr %9, align 4, !tbaa !9
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.recombination, ptr %175, i32 0, i32 2
  store i32 %174, ptr %176, align 8, !tbaa !48
  %177 = load i32, ptr %9, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %9, align 4, !tbaa !9
  %179 = load i32, ptr %9, align 4, !tbaa !9
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.recombination, ptr %180, i32 0, i32 3
  store i32 %179, ptr %181, align 4, !tbaa !49
  %182 = load i32, ptr %9, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %9, align 4, !tbaa !9
  %184 = load i32, ptr %9, align 4, !tbaa !9
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.recombination, ptr %185, i32 0, i32 4
  store i32 %184, ptr %186, align 8, !tbaa !50
  %187 = load i32, ptr %9, align 4, !tbaa !9
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %9, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.recombination, ptr %190, i32 0, i32 6
  store i32 %189, ptr %191, align 8, !tbaa !51
  store i32 0, ptr %9, align 4, !tbaa !9
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.reionization, ptr %193, i32 0, i32 0
  store i32 %192, ptr %194, align 8, !tbaa !52
  %195 = load i32, ptr %9, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %9, align 4, !tbaa !9
  %197 = load i32, ptr %9, align 4, !tbaa !9
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.reionization, ptr %198, i32 0, i32 1
  store i32 %197, ptr %199, align 4, !tbaa !54
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %9, align 4, !tbaa !9
  %202 = load i32, ptr %9, align 4, !tbaa !9
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.reionization, ptr %203, i32 0, i32 2
  store i32 %202, ptr %204, align 8, !tbaa !55
  %205 = load i32, ptr %9, align 4, !tbaa !9
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %9, align 4, !tbaa !9
  %207 = load i32, ptr %9, align 4, !tbaa !9
  %208 = load ptr, ptr %8, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.reionization, ptr %208, i32 0, i32 3
  store i32 %207, ptr %209, align 4, !tbaa !56
  %210 = load i32, ptr %9, align 4, !tbaa !9
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %9, align 4, !tbaa !9
  %212 = load i32, ptr %9, align 4, !tbaa !9
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.reionization, ptr %213, i32 0, i32 4
  store i32 %212, ptr %214, align 8, !tbaa !57
  %215 = load i32, ptr %9, align 4, !tbaa !9
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %9, align 4, !tbaa !9
  %217 = load i32, ptr %9, align 4, !tbaa !9
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.reionization, ptr %218, i32 0, i32 5
  store i32 %217, ptr %219, align 4, !tbaa !58
  %220 = load i32, ptr %9, align 4, !tbaa !9
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %9, align 4, !tbaa !9
  %222 = load i32, ptr %9, align 4, !tbaa !9
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.reionization, ptr %223, i32 0, i32 6
  store i32 %222, ptr %224, align 8, !tbaa !59
  %225 = load i32, ptr %9, align 4, !tbaa !9
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %9, align 4, !tbaa !9
  %227 = load i32, ptr %9, align 4, !tbaa !9
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.reionization, ptr %228, i32 0, i32 7
  store i32 %227, ptr %229, align 4, !tbaa !60
  %230 = load i32, ptr %9, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %9, align 4, !tbaa !9
  %232 = load i32, ptr %9, align 4, !tbaa !9
  %233 = load ptr, ptr %8, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.reionization, ptr %233, i32 0, i32 8
  store i32 %232, ptr %234, align 8, !tbaa !61
  store i32 0, ptr %9, align 4, !tbaa !9
  %235 = load i32, ptr %9, align 4, !tbaa !9
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.reionization, ptr %236, i32 0, i32 24
  store i32 %235, ptr %237, align 8, !tbaa !62
  %238 = load i32, ptr %9, align 4, !tbaa !9
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %9, align 4, !tbaa !9
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.thermo, ptr %240, i32 0, i32 2
  %242 = load i32, ptr %241, align 4, !tbaa !63
  %243 = icmp eq i32 %242, 1
  br i1 %243, label %249, label %244

244:                                              ; preds = %155
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.thermo, ptr %245, i32 0, i32 2
  %247 = load i32, ptr %246, align 4, !tbaa !63
  %248 = icmp eq i32 %247, 3
  br i1 %248, label %249, label %290

249:                                              ; preds = %244, %155
  %250 = load i32, ptr %9, align 4, !tbaa !9
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.reionization, ptr %251, i32 0, i32 12
  store i32 %250, ptr %252, align 8, !tbaa !64
  %253 = load i32, ptr %9, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %9, align 4, !tbaa !9
  %255 = load i32, ptr %9, align 4, !tbaa !9
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.reionization, ptr %256, i32 0, i32 13
  store i32 %255, ptr %257, align 4, !tbaa !65
  %258 = load i32, ptr %9, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %9, align 4, !tbaa !9
  %260 = load i32, ptr %9, align 4, !tbaa !9
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.reionization, ptr %261, i32 0, i32 14
  store i32 %260, ptr %262, align 8, !tbaa !66
  %263 = load i32, ptr %9, align 4, !tbaa !9
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %9, align 4, !tbaa !9
  %265 = load i32, ptr %9, align 4, !tbaa !9
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.reionization, ptr %266, i32 0, i32 15
  store i32 %265, ptr %267, align 4, !tbaa !67
  %268 = load i32, ptr %9, align 4, !tbaa !9
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %9, align 4, !tbaa !9
  %270 = load i32, ptr %9, align 4, !tbaa !9
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.reionization, ptr %271, i32 0, i32 16
  store i32 %270, ptr %272, align 8, !tbaa !68
  %273 = load i32, ptr %9, align 4, !tbaa !9
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr %9, align 4, !tbaa !9
  %275 = load i32, ptr %9, align 4, !tbaa !9
  %276 = load ptr, ptr %8, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.reionization, ptr %276, i32 0, i32 17
  store i32 %275, ptr %277, align 4, !tbaa !69
  %278 = load i32, ptr %9, align 4, !tbaa !9
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %9, align 4, !tbaa !9
  %280 = load i32, ptr %9, align 4, !tbaa !9
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.reionization, ptr %281, i32 0, i32 18
  store i32 %280, ptr %282, align 8, !tbaa !70
  %283 = load i32, ptr %9, align 4, !tbaa !9
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %9, align 4, !tbaa !9
  %285 = load i32, ptr %9, align 4, !tbaa !9
  %286 = load ptr, ptr %8, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.reionization, ptr %286, i32 0, i32 19
  store i32 %285, ptr %287, align 4, !tbaa !71
  %288 = load i32, ptr %9, align 4, !tbaa !9
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %9, align 4, !tbaa !9
  br label %290

290:                                              ; preds = %249, %244
  %291 = load ptr, ptr %6, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.thermo, ptr %291, i32 0, i32 2
  %293 = load i32, ptr %292, align 4, !tbaa !63
  %294 = icmp eq i32 %293, 2
  br i1 %294, label %295, label %323

295:                                              ; preds = %290
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.thermo, ptr %296, i32 0, i32 12
  %298 = load i32, ptr %297, align 8, !tbaa !72
  %299 = add nsw i32 %298, 2
  %300 = load ptr, ptr %8, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.reionization, ptr %300, i32 0, i32 20
  store i32 %299, ptr %301, align 8, !tbaa !73
  %302 = load i32, ptr %9, align 4, !tbaa !9
  %303 = load ptr, ptr %8, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.reionization, ptr %303, i32 0, i32 21
  store i32 %302, ptr %304, align 4, !tbaa !74
  %305 = load ptr, ptr %8, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.reionization, ptr %305, i32 0, i32 20
  %307 = load i32, ptr %306, align 8, !tbaa !73
  %308 = load i32, ptr %9, align 4, !tbaa !9
  %309 = add nsw i32 %308, %307
  store i32 %309, ptr %9, align 4, !tbaa !9
  %310 = load i32, ptr %9, align 4, !tbaa !9
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.reionization, ptr %311, i32 0, i32 22
  store i32 %310, ptr %312, align 8, !tbaa !75
  %313 = load ptr, ptr %8, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.reionization, ptr %313, i32 0, i32 20
  %315 = load i32, ptr %314, align 8, !tbaa !73
  %316 = load i32, ptr %9, align 4, !tbaa !9
  %317 = add nsw i32 %316, %315
  store i32 %317, ptr %9, align 4, !tbaa !9
  %318 = load i32, ptr %9, align 4, !tbaa !9
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.reionization, ptr %319, i32 0, i32 23
  store i32 %318, ptr %320, align 4, !tbaa !76
  %321 = load i32, ptr %9, align 4, !tbaa !9
  %322 = add nsw i32 %321, 1
  store i32 %322, ptr %9, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %295, %290
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.thermo, ptr %324, i32 0, i32 2
  %326 = load i32, ptr %325, align 4, !tbaa !63
  %327 = icmp eq i32 %326, 4
  br i1 %327, label %328, label %356

328:                                              ; preds = %323
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.thermo, ptr %329, i32 0, i32 16
  %331 = load i32, ptr %330, align 8, !tbaa !77
  %332 = add nsw i32 %331, 2
  %333 = load ptr, ptr %8, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.reionization, ptr %333, i32 0, i32 20
  store i32 %332, ptr %334, align 8, !tbaa !73
  %335 = load i32, ptr %9, align 4, !tbaa !9
  %336 = load ptr, ptr %8, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.reionization, ptr %336, i32 0, i32 21
  store i32 %335, ptr %337, align 4, !tbaa !74
  %338 = load ptr, ptr %8, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.reionization, ptr %338, i32 0, i32 20
  %340 = load i32, ptr %339, align 8, !tbaa !73
  %341 = load i32, ptr %9, align 4, !tbaa !9
  %342 = add nsw i32 %341, %340
  store i32 %342, ptr %9, align 4, !tbaa !9
  %343 = load i32, ptr %9, align 4, !tbaa !9
  %344 = load ptr, ptr %8, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.reionization, ptr %344, i32 0, i32 22
  store i32 %343, ptr %345, align 8, !tbaa !75
  %346 = load ptr, ptr %8, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.reionization, ptr %346, i32 0, i32 20
  %348 = load i32, ptr %347, align 8, !tbaa !73
  %349 = load i32, ptr %9, align 4, !tbaa !9
  %350 = add nsw i32 %349, %348
  store i32 %350, ptr %9, align 4, !tbaa !9
  %351 = load i32, ptr %9, align 4, !tbaa !9
  %352 = load ptr, ptr %8, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.reionization, ptr %352, i32 0, i32 23
  store i32 %351, ptr %353, align 4, !tbaa !76
  %354 = load i32, ptr %9, align 4, !tbaa !9
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr %9, align 4, !tbaa !9
  br label %356

356:                                              ; preds = %328, %323
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.thermo, ptr %357, i32 0, i32 2
  %359 = load i32, ptr %358, align 4, !tbaa !63
  %360 = icmp eq i32 %359, 5
  br i1 %360, label %361, label %383

361:                                              ; preds = %356
  %362 = load ptr, ptr %6, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.thermo, ptr %362, i32 0, i32 20
  %364 = load i32, ptr %363, align 8, !tbaa !78
  %365 = load ptr, ptr %8, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.reionization, ptr %365, i32 0, i32 20
  store i32 %364, ptr %366, align 8, !tbaa !73
  %367 = load i32, ptr %9, align 4, !tbaa !9
  %368 = load ptr, ptr %8, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.reionization, ptr %368, i32 0, i32 21
  store i32 %367, ptr %369, align 4, !tbaa !74
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.reionization, ptr %370, i32 0, i32 20
  %372 = load i32, ptr %371, align 8, !tbaa !73
  %373 = load i32, ptr %9, align 4, !tbaa !9
  %374 = add nsw i32 %373, %372
  store i32 %374, ptr %9, align 4, !tbaa !9
  %375 = load i32, ptr %9, align 4, !tbaa !9
  %376 = load ptr, ptr %8, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.reionization, ptr %376, i32 0, i32 22
  store i32 %375, ptr %377, align 8, !tbaa !75
  %378 = load ptr, ptr %8, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.reionization, ptr %378, i32 0, i32 20
  %380 = load i32, ptr %379, align 8, !tbaa !73
  %381 = load i32, ptr %9, align 4, !tbaa !9
  %382 = add nsw i32 %381, %380
  store i32 %382, ptr %9, align 4, !tbaa !9
  br label %383

383:                                              ; preds = %361, %356
  %384 = load i32, ptr %9, align 4, !tbaa !9
  %385 = load ptr, ptr %8, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.reionization, ptr %385, i32 0, i32 26
  store i32 %384, ptr %386, align 8, !tbaa !79
  %387 = load ptr, ptr %6, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.thermo, ptr %387, i32 0, i32 90
  store i16 0, ptr %388, align 8, !tbaa !80
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.thermo, ptr %389, i32 0, i32 91
  store i16 1, ptr %390, align 2, !tbaa !81
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  ret i32 0
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!12, !10, i64 272}
!12 = !{!"thermo", !13, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !14, i64 42, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !10, i64 80, !6, i64 88, !6, i64 96, !13, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !10, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !14, i64 600, !14, i64 602, !14, i64 604, !7, i64 606}
!13 = !{!"double", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!12, !10, i64 276}
!16 = !{!12, !10, i64 280}
!17 = !{!12, !10, i64 284}
!18 = !{!12, !10, i64 288}
!19 = !{!12, !10, i64 292}
!20 = !{!12, !10, i64 296}
!21 = !{!12, !10, i64 300}
!22 = !{!12, !10, i64 304}
!23 = !{!12, !10, i64 344}
!24 = !{!12, !10, i64 348}
!25 = !{!12, !10, i64 352}
!26 = !{!27, !14, i64 742}
!27 = !{!"background", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !10, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !14, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !14, i64 176, !13, i64 184, !13, i64 192, !6, i64 200, !10, i64 208, !10, i64 212, !13, i64 216, !10, i64 224, !6, i64 232, !6, i64 240, !13, i64 248, !6, i64 256, !13, i64 264, !6, i64 272, !13, i64 280, !6, i64 288, !13, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !10, i64 360, !6, i64 368, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !14, i64 724, !14, i64 726, !14, i64 728, !14, i64 730, !14, i64 732, !14, i64 734, !14, i64 736, !14, i64 738, !14, i64 740, !14, i64 742, !14, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !14, i64 840, !14, i64 842, !14, i64 844, !14, i64 846, !14, i64 848, !14, i64 850, !7, i64 852, !14, i64 2900, !7, i64 2902}
!28 = !{!12, !10, i64 308}
!29 = !{!12, !10, i64 312}
!30 = !{!12, !10, i64 316}
!31 = !{!12, !10, i64 324}
!32 = !{!12, !10, i64 328}
!33 = !{!12, !10, i64 332}
!34 = !{!12, !10, i64 336}
!35 = !{!12, !10, i64 340}
!36 = !{!12, !10, i64 320}
!37 = !{!12, !14, i64 40}
!38 = !{!12, !10, i64 356}
!39 = !{!12, !10, i64 360}
!40 = !{!12, !10, i64 364}
!41 = !{!12, !14, i64 42}
!42 = !{!12, !10, i64 368}
!43 = !{!12, !10, i64 372}
!44 = !{!45, !10, i64 0}
!45 = !{!"recombination", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !6, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !14, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256}
!46 = !{!45, !10, i64 4}
!47 = !{!45, !10, i64 20}
!48 = !{!45, !10, i64 8}
!49 = !{!45, !10, i64 12}
!50 = !{!45, !10, i64 16}
!51 = !{!45, !10, i64 24}
!52 = !{!53, !10, i64 0}
!53 = !{!"reionization", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !6, i64 40, !13, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !6, i64 112, !10, i64 120, !10, i64 124}
!54 = !{!53, !10, i64 4}
!55 = !{!53, !10, i64 8}
!56 = !{!53, !10, i64 12}
!57 = !{!53, !10, i64 16}
!58 = !{!53, !10, i64 20}
!59 = !{!53, !10, i64 24}
!60 = !{!53, !10, i64 28}
!61 = !{!53, !10, i64 32}
!62 = !{!53, !10, i64 104}
!63 = !{!12, !10, i64 12}
!64 = !{!53, !10, i64 56}
!65 = !{!53, !10, i64 60}
!66 = !{!53, !10, i64 64}
!67 = !{!53, !10, i64 68}
!68 = !{!53, !10, i64 72}
!69 = !{!53, !10, i64 76}
!70 = !{!53, !10, i64 80}
!71 = !{!53, !10, i64 84}
!72 = !{!12, !10, i64 80}
!73 = !{!53, !10, i64 88}
!74 = !{!53, !10, i64 92}
!75 = !{!53, !10, i64 96}
!76 = !{!53, !10, i64 100}
!77 = !{!12, !10, i64 112}
!78 = !{!12, !10, i64 144}
!79 = !{!53, !10, i64 120}
!80 = !{!12, !14, i64 600}
!81 = !{!12, !14, i64 602}


; 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 nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local noundef i32 @thermodynamics_indices(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %1, i64 272
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 288
  store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 304
  store i32 8, ptr %7, align 8, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %1, i64 344
  store i32 9, ptr %8, align 8, !tbaa !14
  %9 = getelementptr inbounds i8, ptr %1, i64 348
  store i32 10, ptr %9, align 4, !tbaa !15
  %10 = getelementptr inbounds i8, ptr %1, i64 352
  store i32 11, ptr %10, align 8, !tbaa !16
  %11 = getelementptr inbounds i8, ptr %0, i64 742
  %12 = load i16, ptr %11, align 2, !tbaa !17
  %13 = icmp eq i16 %12, 1
  br i1 %13, label %14, label %18

14:                                               ; preds = %4
  %15 = getelementptr inbounds i8, ptr %1, i64 308
  %16 = getelementptr inbounds i8, ptr %1, i64 324
  store <4 x i32> <i32 15, i32 16, i32 17, i32 18>, ptr %16, align 4, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %1, i64 340
  store i32 19, ptr %17, align 4, !tbaa !19
  store <4 x i32> <i32 12, i32 13, i32 14, i32 20>, ptr %15, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %14, %4
  %.0 = phi i32 [ 21, %14 ], [ 12, %4 ]
  %19 = getelementptr inbounds i8, ptr %1, i64 40
  %20 = load i16, ptr %19, align 8, !tbaa !20
  %21 = icmp eq i16 %20, 1
  br i1 %21, label %22, label %27

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %1, i64 356
  store i32 %.0, ptr %23, align 4, !tbaa !21
  %24 = add nuw nsw i32 %.0, 1
  %25 = getelementptr inbounds i8, ptr %1, i64 360
  store i32 %24, ptr %25, align 8, !tbaa !22
  %26 = or disjoint i32 %.0, 2
  br label %27

27:                                               ; preds = %22, %18
  %.1 = phi i32 [ %26, %22 ], [ %.0, %18 ]
  %28 = getelementptr inbounds i8, ptr %1, i64 364
  store i32 %.1, ptr %28, align 4, !tbaa !23
  %29 = add nuw nsw i32 %.1, 1
  %30 = getelementptr inbounds i8, ptr %1, i64 42
  %31 = load i16, ptr %30, align 2, !tbaa !24
  %32 = icmp eq i16 %31, 1
  br i1 %32, label %33, label %36

33:                                               ; preds = %27
  %34 = getelementptr inbounds i8, ptr %1, i64 368
  store i32 %29, ptr %34, align 8, !tbaa !25
  %35 = add nuw nsw i32 %.1, 2
  br label %36

36:                                               ; preds = %33, %27
  %.2 = phi i32 [ %35, %33 ], [ %29, %27 ]
  %37 = getelementptr inbounds i8, ptr %1, i64 372
  store i32 %.2, ptr %37, align 4, !tbaa !26
  %38 = getelementptr inbounds i8, ptr %2, i64 20
  store i32 2, ptr %38, align 4, !tbaa !27
  store <4 x i32> <i32 0, i32 1, i32 3, i32 4>, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %2, i64 16
  store i32 5, ptr %39, align 8, !tbaa !29
  %40 = getelementptr inbounds i8, ptr %2, i64 24
  store i32 6, ptr %40, align 8, !tbaa !30
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %3, i64 16
  store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, ptr %41, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %3, i64 32
  store i32 8, ptr %42, align 8, !tbaa !31
  %43 = getelementptr inbounds i8, ptr %3, i64 104
  store i32 0, ptr %43, align 8, !tbaa !33
  %44 = getelementptr inbounds i8, ptr %1, i64 12
  %45 = load i32, ptr %44, align 4, !tbaa !34
  switch i32 %45, label %49 [
    i32 1, label %46
    i32 3, label %46
  ]

46:                                               ; preds = %36, %36
  %47 = getelementptr inbounds i8, ptr %3, i64 56
  store <4 x i32> <i32 1, i32 2, i32 3, i32 4>, ptr %47, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %3, i64 72
  store <4 x i32> <i32 5, i32 6, i32 7, i32 8>, ptr %48, align 8, !tbaa !5
  br label %49

49:                                               ; preds = %36, %46
  %.3 = phi i32 [ 9, %46 ], [ 1, %36 ]
  switch i32 %45, label %.thread199 [
    i32 2, label %.thread
    i32 4, label %60
    i32 5, label %71
  ]

.thread:                                          ; preds = %49
  %50 = getelementptr inbounds i8, ptr %1, i64 80
  %51 = load i32, ptr %50, align 8, !tbaa !35
  %52 = add nsw i32 %51, 2
  %53 = getelementptr inbounds i8, ptr %3, i64 88
  store i32 %52, ptr %53, align 8, !tbaa !36
  %54 = getelementptr inbounds i8, ptr %3, i64 92
  store i32 %.3, ptr %54, align 4, !tbaa !37
  %55 = add nsw i32 %52, %.3
  %56 = getelementptr inbounds i8, ptr %3, i64 96
  store i32 %55, ptr %56, align 8, !tbaa !38
  %57 = add nsw i32 %55, %52
  %58 = getelementptr inbounds i8, ptr %3, i64 100
  store i32 %57, ptr %58, align 4, !tbaa !39
  %59 = add nsw i32 %57, 1
  br label %.thread199

60:                                               ; preds = %49
  %61 = getelementptr inbounds i8, ptr %1, i64 112
  %62 = load i32, ptr %61, align 8, !tbaa !40
  %63 = add nsw i32 %62, 2
  %64 = getelementptr inbounds i8, ptr %3, i64 88
  store i32 %63, ptr %64, align 8, !tbaa !36
  %65 = getelementptr inbounds i8, ptr %3, i64 92
  store i32 %.3, ptr %65, align 4, !tbaa !37
  %66 = add nsw i32 %63, %.3
  %67 = getelementptr inbounds i8, ptr %3, i64 96
  store i32 %66, ptr %67, align 8, !tbaa !38
  %68 = add nsw i32 %66, %63
  %69 = getelementptr inbounds i8, ptr %3, i64 100
  store i32 %68, ptr %69, align 4, !tbaa !39
  %70 = add nsw i32 %68, 1
  br label %.thread199

71:                                               ; preds = %49
  %72 = getelementptr inbounds i8, ptr %1, i64 144
  %73 = load i32, ptr %72, align 8, !tbaa !41
  %74 = getelementptr inbounds i8, ptr %3, i64 88
  store i32 %73, ptr %74, align 8, !tbaa !36
  %75 = getelementptr inbounds i8, ptr %3, i64 92
  store i32 %.3, ptr %75, align 4, !tbaa !37
  %76 = add nsw i32 %73, %.3
  %77 = getelementptr inbounds i8, ptr %3, i64 96
  store i32 %76, ptr %77, align 8, !tbaa !38
  %78 = add nsw i32 %76, %73
  br label %.thread199

.thread199:                                       ; preds = %49, %60, %.thread, %71
  %.6 = phi i32 [ %78, %71 ], [ %59, %.thread ], [ %70, %60 ], [ %.3, %49 ]
  %79 = getelementptr inbounds i8, ptr %3, i64 120
  store i32 %.6, ptr %79, align 8, !tbaa !42
  %80 = getelementptr inbounds i8, ptr %1, i64 600
  store i16 0, ptr %80, align 8, !tbaa !43
  %81 = getelementptr inbounds i8, ptr %1, i64 602
  store i16 1, ptr %81, align 2, !tbaa !44
  ret i32 0
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 304}
!10 = !{!"thermo", !11, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !12, i64 42, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !6, i64 80, !13, i64 88, !13, i64 96, !11, i64 104, !6, i64 112, !13, i64 120, !13, i64 128, !11, i64 136, !6, i64 144, !13, i64 152, !13, i64 160, !11, i64 168, !12, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !6, i64 272, !6, i64 276, !6, i64 280, !6, i64 284, !6, i64 288, !6, i64 292, !6, i64 296, !6, i64 300, !6, i64 304, !6, i64 308, !6, i64 312, !6, i64 316, !6, i64 320, !6, i64 324, !6, i64 328, !6, i64 332, !6, i64 336, !6, i64 340, !6, i64 344, !6, i64 348, !6, i64 352, !6, i64 356, !6, i64 360, !6, i64 364, !6, i64 368, !6, i64 372, !6, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !12, i64 600, !12, i64 602, !12, i64 604, !7, i64 606}
!11 = !{!"double", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !6, i64 344}
!15 = !{!10, !6, i64 348}
!16 = !{!10, !6, i64 352}
!17 = !{!18, !12, i64 742}
!18 = !{!"background", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !12, i64 176, !11, i64 184, !11, i64 192, !13, i64 200, !6, i64 208, !6, i64 212, !11, i64 216, !6, i64 224, !13, i64 232, !13, i64 240, !11, i64 248, !13, i64 256, !11, i64 264, !13, i64 272, !11, i64 280, !13, i64 288, !11, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !6, i64 360, !13, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !6, i64 464, !6, i64 468, !6, i64 472, !6, i64 476, !6, i64 480, !6, i64 484, !6, i64 488, !6, i64 492, !6, i64 496, !6, i64 500, !6, i64 504, !6, i64 508, !6, i64 512, !6, i64 516, !6, i64 520, !6, i64 524, !6, i64 528, !6, i64 532, !6, i64 536, !6, i64 540, !6, i64 544, !6, i64 548, !6, i64 552, !6, i64 556, !6, i64 560, !6, i64 564, !6, i64 568, !6, i64 572, !6, i64 576, !6, i64 580, !6, i64 584, !6, i64 588, !6, i64 592, !6, i64 596, !6, i64 600, !6, i64 604, !6, i64 608, !6, i64 612, !6, i64 616, !6, i64 620, !6, i64 624, !6, i64 628, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !13, i64 664, !6, i64 672, !6, i64 676, !6, i64 680, !6, i64 684, !6, i64 688, !6, i64 692, !6, i64 696, !6, i64 700, !6, i64 704, !6, i64 708, !6, i64 712, !6, i64 716, !6, i64 720, !12, i64 724, !12, i64 726, !12, i64 728, !12, i64 730, !12, i64 732, !12, i64 734, !12, i64 736, !12, i64 738, !12, i64 740, !12, i64 742, !12, i64 744, !13, i64 752, !13, i64 760, !13, i64 768, !13, i64 776, !13, i64 784, !13, i64 792, !13, i64 800, !13, i64 808, !13, i64 816, !13, i64 824, !13, i64 832, !12, i64 840, !12, i64 842, !12, i64 844, !12, i64 846, !12, i64 848, !12, i64 850, !7, i64 852, !12, i64 2900, !7, i64 2902}
!19 = !{!10, !6, i64 340}
!20 = !{!10, !12, i64 40}
!21 = !{!10, !6, i64 356}
!22 = !{!10, !6, i64 360}
!23 = !{!10, !6, i64 364}
!24 = !{!10, !12, i64 42}
!25 = !{!10, !6, i64 368}
!26 = !{!10, !6, i64 372}
!27 = !{!28, !6, i64 20}
!28 = !{!"recombination", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !13, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !12, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256}
!29 = !{!28, !6, i64 16}
!30 = !{!28, !6, i64 24}
!31 = !{!32, !6, i64 32}
!32 = !{!"reionization", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !13, i64 40, !11, i64 48, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !6, i64 104, !13, i64 112, !6, i64 120, !6, i64 124}
!33 = !{!32, !6, i64 104}
!34 = !{!10, !6, i64 12}
!35 = !{!10, !6, i64 80}
!36 = !{!32, !6, i64 88}
!37 = !{!32, !6, i64 92}
!38 = !{!32, !6, i64 96}
!39 = !{!32, !6, i64 100}
!40 = !{!10, !6, i64 112}
!41 = !{!10, !6, i64 144}
!42 = !{!32, !6, i64 120}
!43 = !{!10, !12, i64 600}
!44 = !{!10, !12, i64 602}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass