; LLVM IR from introlab/odas :: src/system (steer2demixing)

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

; 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
declare void @free(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @steer2demixing_gss_destroy(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %4

4:                                                ; preds = %165, %1
  %5 = load i32, ptr %3, align 4, !tbaa !9
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %6, i32 0, i32 0
  %8 = load i32, ptr %7, align 8, !tbaa !11
  %9 = icmp ult i32 %5, %8
  br i1 %9, label %10, label %168

10:                                               ; preds = %4
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %11, i32 0, i32 8
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = zext i32 %14 to i64
  %16 = getelementptr inbounds ptr, ptr %13, i64 %15
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %17)
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %18, i32 0, i32 9
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %21 = load i32, ptr %3, align 4, !tbaa !9
  %22 = zext i32 %21 to i64
  %23 = getelementptr inbounds ptr, ptr %20, i64 %22
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %24)
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %25, i32 0, i32 10
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %28 = load i32, ptr %3, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = getelementptr inbounds ptr, ptr %27, i64 %29
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %31)
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %32, i32 0, i32 11
  %34 = load ptr, ptr %33, align 8, !tbaa !17
  %35 = load i32, ptr %3, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds ptr, ptr %34, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %38)
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %39, i32 0, i32 12
  %41 = load ptr, ptr %40, align 8, !tbaa !18
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds ptr, ptr %41, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %45)
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %46, i32 0, i32 13
  %48 = load ptr, ptr %47, align 8, !tbaa !19
  %49 = load i32, ptr %3, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds ptr, ptr %48, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %52)
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %53, i32 0, i32 14
  %55 = load ptr, ptr %54, align 8, !tbaa !20
  %56 = load i32, ptr %3, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds ptr, ptr %55, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %59)
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %60, i32 0, i32 15
  %62 = load ptr, ptr %61, align 8, !tbaa !21
  %63 = load i32, ptr %3, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds ptr, ptr %62, i64 %64
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %66)
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %67, i32 0, i32 16
  %69 = load ptr, ptr %68, align 8, !tbaa !22
  %70 = load i32, ptr %3, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds ptr, ptr %69, i64 %71
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %73)
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %74, i32 0, i32 17
  %76 = load ptr, ptr %75, align 8, !tbaa !23
  %77 = load i32, ptr %3, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds ptr, ptr %76, i64 %78
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %80)
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %81, i32 0, i32 18
  %83 = load ptr, ptr %82, align 8, !tbaa !24
  %84 = load i32, ptr %3, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds ptr, ptr %83, i64 %85
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %87)
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %88, i32 0, i32 19
  %90 = load ptr, ptr %89, align 8, !tbaa !25
  %91 = load i32, ptr %3, align 4, !tbaa !9
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds ptr, ptr %90, i64 %92
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %94)
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %95, i32 0, i32 20
  %97 = load ptr, ptr %96, align 8, !tbaa !26
  %98 = load i32, ptr %3, align 4, !tbaa !9
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds ptr, ptr %97, i64 %99
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %101)
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %102, i32 0, i32 21
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  %105 = load i32, ptr %3, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %108)
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %109, i32 0, i32 22
  %111 = load ptr, ptr %110, align 8, !tbaa !28
  %112 = load i32, ptr %3, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds ptr, ptr %111, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %115)
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %116, i32 0, i32 23
  %118 = load ptr, ptr %117, align 8, !tbaa !29
  %119 = load i32, ptr %3, align 4, !tbaa !9
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds ptr, ptr %118, i64 %120
  %122 = load ptr, ptr %121, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %122)
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %123, i32 0, i32 24
  %125 = load ptr, ptr %124, align 8, !tbaa !30
  %126 = load i32, ptr %3, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds ptr, ptr %125, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %129)
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %130, i32 0, i32 25
  %132 = load ptr, ptr %131, align 8, !tbaa !31
  %133 = load i32, ptr %3, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = getelementptr inbounds ptr, ptr %132, i64 %134
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %136)
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %137, i32 0, i32 26
  %139 = load ptr, ptr %138, align 8, !tbaa !32
  %140 = load i32, ptr %3, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds ptr, ptr %139, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %143)
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %144, i32 0, i32 27
  %146 = load ptr, ptr %145, align 8, !tbaa !33
  %147 = load i32, ptr %3, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds ptr, ptr %146, i64 %148
  %150 = load ptr, ptr %149, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %150)
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %151, i32 0, i32 28
  %153 = load ptr, ptr %152, align 8, !tbaa !34
  %154 = load i32, ptr %3, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds ptr, ptr %153, i64 %155
  %157 = load ptr, ptr %156, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %157)
  %158 = load ptr, ptr %2, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %158, i32 0, i32 29
  %160 = load ptr, ptr %159, align 8, !tbaa !35
  %161 = load i32, ptr %3, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds ptr, ptr %160, i64 %162
  %164 = load ptr, ptr %163, align 8, !tbaa !5
  call void @cmatrix_destroy(ptr noundef %164)
  br label %165

165:                                              ; preds = %10
  %166 = load i32, ptr %3, align 4, !tbaa !9
  %167 = add i32 %166, 1
  store i32 %167, ptr %3, align 4, !tbaa !9
  br label %4, !llvm.loop !36

168:                                              ; preds = %4
  %169 = load ptr, ptr %2, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %169, i32 0, i32 8
  %171 = load ptr, ptr %170, align 8, !tbaa !14
  call void @free(ptr noundef %171) #4
  %172 = load ptr, ptr %2, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %172, i32 0, i32 9
  %174 = load ptr, ptr %173, align 8, !tbaa !15
  call void @free(ptr noundef %174) #4
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %175, i32 0, i32 10
  %177 = load ptr, ptr %176, align 8, !tbaa !16
  call void @free(ptr noundef %177) #4
  %178 = load ptr, ptr %2, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %178, i32 0, i32 11
  %180 = load ptr, ptr %179, align 8, !tbaa !17
  call void @free(ptr noundef %180) #4
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %181, i32 0, i32 12
  %183 = load ptr, ptr %182, align 8, !tbaa !18
  call void @free(ptr noundef %183) #4
  %184 = load ptr, ptr %2, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %184, i32 0, i32 13
  %186 = load ptr, ptr %185, align 8, !tbaa !19
  call void @free(ptr noundef %186) #4
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %187, i32 0, i32 14
  %189 = load ptr, ptr %188, align 8, !tbaa !20
  call void @free(ptr noundef %189) #4
  %190 = load ptr, ptr %2, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %190, i32 0, i32 15
  %192 = load ptr, ptr %191, align 8, !tbaa !21
  call void @free(ptr noundef %192) #4
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %193, i32 0, i32 16
  %195 = load ptr, ptr %194, align 8, !tbaa !22
  call void @free(ptr noundef %195) #4
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %196, i32 0, i32 17
  %198 = load ptr, ptr %197, align 8, !tbaa !23
  call void @free(ptr noundef %198) #4
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %199, i32 0, i32 18
  %201 = load ptr, ptr %200, align 8, !tbaa !24
  call void @free(ptr noundef %201) #4
  %202 = load ptr, ptr %2, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %202, i32 0, i32 19
  %204 = load ptr, ptr %203, align 8, !tbaa !25
  call void @free(ptr noundef %204) #4
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %205, i32 0, i32 20
  %207 = load ptr, ptr %206, align 8, !tbaa !26
  call void @free(ptr noundef %207) #4
  %208 = load ptr, ptr %2, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %208, i32 0, i32 21
  %210 = load ptr, ptr %209, align 8, !tbaa !27
  call void @free(ptr noundef %210) #4
  %211 = load ptr, ptr %2, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %211, i32 0, i32 22
  %213 = load ptr, ptr %212, align 8, !tbaa !28
  call void @free(ptr noundef %213) #4
  %214 = load ptr, ptr %2, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %214, i32 0, i32 23
  %216 = load ptr, ptr %215, align 8, !tbaa !29
  call void @free(ptr noundef %216) #4
  %217 = load ptr, ptr %2, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %217, i32 0, i32 24
  %219 = load ptr, ptr %218, align 8, !tbaa !30
  call void @free(ptr noundef %219) #4
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %220, i32 0, i32 25
  %222 = load ptr, ptr %221, align 8, !tbaa !31
  call void @free(ptr noundef %222) #4
  %223 = load ptr, ptr %2, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %223, i32 0, i32 26
  %225 = load ptr, ptr %224, align 8, !tbaa !32
  call void @free(ptr noundef %225) #4
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %226, i32 0, i32 27
  %228 = load ptr, ptr %227, align 8, !tbaa !33
  call void @free(ptr noundef %228) #4
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %229, i32 0, i32 28
  %231 = load ptr, ptr %230, align 8, !tbaa !34
  call void @free(ptr noundef %231) #4
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %232, i32 0, i32 29
  %234 = load ptr, ptr %233, align 8, !tbaa !35
  call void @free(ptr noundef %234) #4
  %235 = load ptr, ptr %2, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %235, i32 0, i32 7
  %237 = load ptr, ptr %236, align 8, !tbaa !38
  call void @cmatrix_destroy(ptr noundef %237)
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.steer2demixing_gss_obj, ptr %238, i32 0, i32 6
  %240 = load ptr, ptr %239, align 8, !tbaa !39
  call void @cmatrix_destroy(ptr noundef %240)
  %241 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %241) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

declare void @cmatrix_destroy(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "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 = { "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 = !{!12, !10, i64 0}
!12 = !{!"steer2demixing_gss_obj", !10, i64 0, !10, i64 4, !10, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !6, i64 40}
!15 = !{!12, !6, i64 48}
!16 = !{!12, !6, i64 56}
!17 = !{!12, !6, i64 64}
!18 = !{!12, !6, i64 72}
!19 = !{!12, !6, i64 80}
!20 = !{!12, !6, i64 88}
!21 = !{!12, !6, i64 96}
!22 = !{!12, !6, i64 104}
!23 = !{!12, !6, i64 112}
!24 = !{!12, !6, i64 120}
!25 = !{!12, !6, i64 128}
!26 = !{!12, !6, i64 136}
!27 = !{!12, !6, i64 144}
!28 = !{!12, !6, i64 152}
!29 = !{!12, !6, i64 160}
!30 = !{!12, !6, i64 168}
!31 = !{!12, !6, i64 176}
!32 = !{!12, !6, i64 184}
!33 = !{!12, !6, i64 192}
!34 = !{!12, !6, i64 200}
!35 = !{!12, !6, i64 208}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!12, !6, i64 32}
!39 = !{!12, !6, i64 24}


; 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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @steer2demixing_gss_destroy(ptr nocapture noundef %0) local_unnamed_addr #1 {
  %2 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = getelementptr inbounds i8, ptr %0, i64 48
  %5 = getelementptr inbounds i8, ptr %0, i64 56
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  %7 = getelementptr inbounds i8, ptr %0, i64 72
  %8 = getelementptr inbounds i8, ptr %0, i64 80
  %9 = getelementptr inbounds i8, ptr %0, i64 88
  %10 = getelementptr inbounds i8, ptr %0, i64 96
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = getelementptr inbounds i8, ptr %0, i64 112
  %13 = getelementptr inbounds i8, ptr %0, i64 120
  %14 = getelementptr inbounds i8, ptr %0, i64 128
  %15 = getelementptr inbounds i8, ptr %0, i64 136
  %16 = getelementptr inbounds i8, ptr %0, i64 144
  %17 = getelementptr inbounds i8, ptr %0, i64 152
  %18 = getelementptr inbounds i8, ptr %0, i64 160
  %19 = getelementptr inbounds i8, ptr %0, i64 168
  %20 = getelementptr inbounds i8, ptr %0, i64 176
  %21 = getelementptr inbounds i8, ptr %0, i64 184
  %22 = getelementptr inbounds i8, ptr %0, i64 192
  %23 = getelementptr inbounds i8, ptr %0, i64 200
  %24 = getelementptr inbounds i8, ptr %0, i64 208
  br label %25

25:                                               ; preds = %.lr.ph, %25
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %25 ]
  %26 = load ptr, ptr %3, align 8, !tbaa !12
  %27 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %28) #3
  %29 = load ptr, ptr %4, align 8, !tbaa !14
  %30 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %31) #3
  %32 = load ptr, ptr %5, align 8, !tbaa !15
  %33 = getelementptr inbounds ptr, ptr %32, i64 %indvars.iv
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %34) #3
  %35 = load ptr, ptr %6, align 8, !tbaa !16
  %36 = getelementptr inbounds ptr, ptr %35, i64 %indvars.iv
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %37) #3
  %38 = load ptr, ptr %7, align 8, !tbaa !17
  %39 = getelementptr inbounds ptr, ptr %38, i64 %indvars.iv
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %40) #3
  %41 = load ptr, ptr %8, align 8, !tbaa !18
  %42 = getelementptr inbounds ptr, ptr %41, i64 %indvars.iv
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %43) #3
  %44 = load ptr, ptr %9, align 8, !tbaa !19
  %45 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv
  %46 = load ptr, ptr %45, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %46) #3
  %47 = load ptr, ptr %10, align 8, !tbaa !20
  %48 = getelementptr inbounds ptr, ptr %47, i64 %indvars.iv
  %49 = load ptr, ptr %48, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %49) #3
  %50 = load ptr, ptr %11, align 8, !tbaa !21
  %51 = getelementptr inbounds ptr, ptr %50, i64 %indvars.iv
  %52 = load ptr, ptr %51, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %52) #3
  %53 = load ptr, ptr %12, align 8, !tbaa !22
  %54 = getelementptr inbounds ptr, ptr %53, i64 %indvars.iv
  %55 = load ptr, ptr %54, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %55) #3
  %56 = load ptr, ptr %13, align 8, !tbaa !23
  %57 = getelementptr inbounds ptr, ptr %56, i64 %indvars.iv
  %58 = load ptr, ptr %57, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %58) #3
  %59 = load ptr, ptr %14, align 8, !tbaa !24
  %60 = getelementptr inbounds ptr, ptr %59, i64 %indvars.iv
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %61) #3
  %62 = load ptr, ptr %15, align 8, !tbaa !25
  %63 = getelementptr inbounds ptr, ptr %62, i64 %indvars.iv
  %64 = load ptr, ptr %63, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %64) #3
  %65 = load ptr, ptr %16, align 8, !tbaa !26
  %66 = getelementptr inbounds ptr, ptr %65, i64 %indvars.iv
  %67 = load ptr, ptr %66, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %67) #3
  %68 = load ptr, ptr %17, align 8, !tbaa !27
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv
  %70 = load ptr, ptr %69, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %70) #3
  %71 = load ptr, ptr %18, align 8, !tbaa !28
  %72 = getelementptr inbounds ptr, ptr %71, i64 %indvars.iv
  %73 = load ptr, ptr %72, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %73) #3
  %74 = load ptr, ptr %19, align 8, !tbaa !29
  %75 = getelementptr inbounds ptr, ptr %74, i64 %indvars.iv
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %76) #3
  %77 = load ptr, ptr %20, align 8, !tbaa !30
  %78 = getelementptr inbounds ptr, ptr %77, i64 %indvars.iv
  %79 = load ptr, ptr %78, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %79) #3
  %80 = load ptr, ptr %21, align 8, !tbaa !31
  %81 = getelementptr inbounds ptr, ptr %80, i64 %indvars.iv
  %82 = load ptr, ptr %81, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %82) #3
  %83 = load ptr, ptr %22, align 8, !tbaa !32
  %84 = getelementptr inbounds ptr, ptr %83, i64 %indvars.iv
  %85 = load ptr, ptr %84, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %85) #3
  %86 = load ptr, ptr %23, align 8, !tbaa !33
  %87 = getelementptr inbounds ptr, ptr %86, i64 %indvars.iv
  %88 = load ptr, ptr %87, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %88) #3
  %89 = load ptr, ptr %24, align 8, !tbaa !34
  %90 = getelementptr inbounds ptr, ptr %89, i64 %indvars.iv
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  tail call void @cmatrix_destroy(ptr noundef %91) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %92 = load i32, ptr %0, align 8, !tbaa !5
  %93 = zext i32 %92 to i64
  %94 = icmp ult i64 %indvars.iv.next, %93
  br i1 %94, label %25, label %._crit_edge, !llvm.loop !35

._crit_edge:                                      ; preds = %25, %1
  %95 = getelementptr inbounds i8, ptr %0, i64 40
  %96 = load ptr, ptr %95, align 8, !tbaa !12
  tail call void @free(ptr noundef %96) #3
  %97 = getelementptr inbounds i8, ptr %0, i64 48
  %98 = load ptr, ptr %97, align 8, !tbaa !14
  tail call void @free(ptr noundef %98) #3
  %99 = getelementptr inbounds i8, ptr %0, i64 56
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  tail call void @free(ptr noundef %100) #3
  %101 = getelementptr inbounds i8, ptr %0, i64 64
  %102 = load ptr, ptr %101, align 8, !tbaa !16
  tail call void @free(ptr noundef %102) #3
  %103 = getelementptr inbounds i8, ptr %0, i64 72
  %104 = load ptr, ptr %103, align 8, !tbaa !17
  tail call void @free(ptr noundef %104) #3
  %105 = getelementptr inbounds i8, ptr %0, i64 80
  %106 = load ptr, ptr %105, align 8, !tbaa !18
  tail call void @free(ptr noundef %106) #3
  %107 = getelementptr inbounds i8, ptr %0, i64 88
  %108 = load ptr, ptr %107, align 8, !tbaa !19
  tail call void @free(ptr noundef %108) #3
  %109 = getelementptr inbounds i8, ptr %0, i64 96
  %110 = load ptr, ptr %109, align 8, !tbaa !20
  tail call void @free(ptr noundef %110) #3
  %111 = getelementptr inbounds i8, ptr %0, i64 104
  %112 = load ptr, ptr %111, align 8, !tbaa !21
  tail call void @free(ptr noundef %112) #3
  %113 = getelementptr inbounds i8, ptr %0, i64 112
  %114 = load ptr, ptr %113, align 8, !tbaa !22
  tail call void @free(ptr noundef %114) #3
  %115 = getelementptr inbounds i8, ptr %0, i64 120
  %116 = load ptr, ptr %115, align 8, !tbaa !23
  tail call void @free(ptr noundef %116) #3
  %117 = getelementptr inbounds i8, ptr %0, i64 128
  %118 = load ptr, ptr %117, align 8, !tbaa !24
  tail call void @free(ptr noundef %118) #3
  %119 = getelementptr inbounds i8, ptr %0, i64 136
  %120 = load ptr, ptr %119, align 8, !tbaa !25
  tail call void @free(ptr noundef %120) #3
  %121 = getelementptr inbounds i8, ptr %0, i64 144
  %122 = load ptr, ptr %121, align 8, !tbaa !26
  tail call void @free(ptr noundef %122) #3
  %123 = getelementptr inbounds i8, ptr %0, i64 152
  %124 = load ptr, ptr %123, align 8, !tbaa !27
  tail call void @free(ptr noundef %124) #3
  %125 = getelementptr inbounds i8, ptr %0, i64 160
  %126 = load ptr, ptr %125, align 8, !tbaa !28
  tail call void @free(ptr noundef %126) #3
  %127 = getelementptr inbounds i8, ptr %0, i64 168
  %128 = load ptr, ptr %127, align 8, !tbaa !29
  tail call void @free(ptr noundef %128) #3
  %129 = getelementptr inbounds i8, ptr %0, i64 176
  %130 = load ptr, ptr %129, align 8, !tbaa !30
  tail call void @free(ptr noundef %130) #3
  %131 = getelementptr inbounds i8, ptr %0, i64 184
  %132 = load ptr, ptr %131, align 8, !tbaa !31
  tail call void @free(ptr noundef %132) #3
  %133 = getelementptr inbounds i8, ptr %0, i64 192
  %134 = load ptr, ptr %133, align 8, !tbaa !32
  tail call void @free(ptr noundef %134) #3
  %135 = getelementptr inbounds i8, ptr %0, i64 200
  %136 = load ptr, ptr %135, align 8, !tbaa !33
  tail call void @free(ptr noundef %136) #3
  %137 = getelementptr inbounds i8, ptr %0, i64 208
  %138 = load ptr, ptr %137, align 8, !tbaa !34
  tail call void @free(ptr noundef %138) #3
  %139 = getelementptr inbounds i8, ptr %0, i64 32
  %140 = load ptr, ptr %139, align 8, !tbaa !37
  tail call void @cmatrix_destroy(ptr noundef %140) #3
  %141 = getelementptr inbounds i8, ptr %0, i64 24
  %142 = load ptr, ptr %141, align 8, !tbaa !38
  tail call void @cmatrix_destroy(ptr noundef %142) #3
  tail call void @free(ptr noundef nonnull %0) #3
  ret void
}

declare void @cmatrix_destroy(ptr noundef) local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"steer2demixing_gss_obj", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, i64 24, !11, 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, !11, i64 200, !11, i64 208}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !11, i64 40}
!13 = !{!11, !11, i64 0}
!14 = !{!6, !11, i64 48}
!15 = !{!6, !11, i64 56}
!16 = !{!6, !11, i64 64}
!17 = !{!6, !11, i64 72}
!18 = !{!6, !11, i64 80}
!19 = !{!6, !11, i64 88}
!20 = !{!6, !11, i64 96}
!21 = !{!6, !11, i64 104}
!22 = !{!6, !11, i64 112}
!23 = !{!6, !11, i64 120}
!24 = !{!6, !11, i64 128}
!25 = !{!6, !11, i64 136}
!26 = !{!6, !11, i64 144}
!27 = !{!6, !11, i64 152}
!28 = !{!6, !11, i64 160}
!29 = !{!6, !11, i64 168}
!30 = !{!6, !11, i64 176}
!31 = !{!6, !11, i64 184}
!32 = !{!6, !11, i64 192}
!33 = !{!6, !11, i64 200}
!34 = !{!6, !11, i64 208}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!6, !11, i64 32}
!38 = !{!6, !11, i64 24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass