; LLVM IR from yangfengzzz/DigitalVox3 :: vox.render/runtime/animation (track_triggering_job)

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

%"class.vox::animation::TrackTriggeringJob::Iterator" = type { ptr, float, i64, %"struct.vox::animation::TrackTriggeringJob::Edge" }
%"struct.vox::animation::TrackTriggeringJob::Edge" = type { float, i8 }
%"struct.vox::span" = type { ptr, i64 }
%"struct.vox::animation::TrackTriggeringJob" = type { float, float, float, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [110 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox9animation18TrackTriggeringJob8IteratorppEv = external hidden unnamed_addr constant [95 x i8], align 1

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3vox9animation18TrackTriggeringJob3endEv(ptr dead_on_unwind noalias writable sret(%"class.vox::animation::TrackTriggeringJob::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK3vox9animation8internal5TrackIfE6ratiosEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3vox4spanIKfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN3vox9animation18TrackTriggeringJob8IteratorppEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.vox::animation::TrackTriggeringJob::Iterator", align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.vox::span", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.vox::animation::TrackTriggeringJob::Iterator", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #6
  %13 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_ZNK3vox9animation18TrackTriggeringJob3endEv(ptr dead_on_unwind writable sret(%"class.vox::animation::TrackTriggeringJob::Iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %14)
  %15 = call noundef zeroext i1 @_ZNK3vox9animation18TrackTriggeringJob8IteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %4)
  br i1 %15, label %16, label %17

16:                                               ; preds = %1
  br label %17

17:                                               ; preds = %16, %1
  %18 = phi i1 [ false, %1 ], [ true, %16 ]
  br i1 %18, label %19, label %20

19:                                               ; preds = %17
  br label %22

20:                                               ; preds = %17
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 131, ptr noundef @__PRETTY_FUNCTION__._ZN3vox9animation18TrackTriggeringJob8IteratorppEv) #7
  unreachable

21:                                               ; No predecessors!
  br label %22

22:                                               ; preds = %21, %19
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  %23 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %24, i32 0, i32 3
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  %27 = call { ptr, i64 } @_ZNK3vox9animation8internal5TrackIfE6ratiosEv(ptr noundef nonnull align 8 dereferenceable(56) %26)
  %28 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 0
  %29 = extractvalue { ptr, i64 } %27, 0
  store ptr %29, ptr %28, align 8
  %30 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 1
  %31 = extractvalue { ptr, i64 } %27, 1
  store i64 %31, ptr %30, align 8
  store ptr %6, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = call noundef i64 @_ZNK3vox4spanIKfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %32)
  store i64 %33, ptr %7, align 8, !tbaa !17
  %34 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %35, i32 0, i32 1
  %37 = load float, ptr %36, align 4, !tbaa !18
  %38 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %39, i32 0, i32 0
  %41 = load float, ptr %40, align 8, !tbaa !19
  %42 = fcmp ogt float %37, %41
  br i1 %42, label %43, label %146

43:                                               ; preds = %22
  br label %44

44:                                               ; preds = %141, %43
  %45 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %46 = load float, ptr %45, align 8, !tbaa !20
  %47 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %48, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !18
  %51 = fcmp olt float %46, %50
  br i1 %51, label %52, label %145

52:                                               ; preds = %44
  br label %53

53:                                               ; preds = %135, %52
  %54 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %55 = load i64, ptr %54, align 8, !tbaa !21
  %56 = load i64, ptr %7, align 8, !tbaa !17
  %57 = icmp slt i64 %55, %56
  br i1 %57, label %58, label %139

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %59 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %60 = load i64, ptr %59, align 8, !tbaa !21
  %61 = icmp eq i64 %60, 0
  br i1 %61, label %62, label %65

62:                                               ; preds = %58
  %63 = load i64, ptr %7, align 8, !tbaa !17
  %64 = sub nsw i64 %63, 1
  br label %69

65:                                               ; preds = %58
  %66 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %67 = load i64, ptr %66, align 8, !tbaa !21
  %68 = sub nsw i64 %67, 1
  br label %69

69:                                               ; preds = %65, %62
  %70 = phi i64 [ %64, %62 ], [ %68, %65 ]
  store i64 %70, ptr %8, align 8, !tbaa !17
  %71 = load i64, ptr %8, align 8, !tbaa !17
  %72 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %73 = load i64, ptr %72, align 8, !tbaa !21
  %74 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %77 = call noundef zeroext i1 @_ZN3vox9animation12_GLOBAL__N_110DetectEdgeEllbRKNS0_18TrackTriggeringJobEPNS2_4EdgeE(i64 noundef %71, i64 noundef %73, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef %76)
  br i1 %77, label %78, label %131

78:                                               ; preds = %69
  %79 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %80 = load float, ptr %79, align 8, !tbaa !20
  %81 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %82 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob::Edge", ptr %81, i32 0, i32 0
  %83 = load float, ptr %82, align 8, !tbaa !22
  %84 = fadd float %83, %80
  store float %84, ptr %82, align 8, !tbaa !22
  %85 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %86 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob::Edge", ptr %85, i32 0, i32 0
  %87 = load float, ptr %86, align 8, !tbaa !22
  %88 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !9
  %90 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %89, i32 0, i32 0
  %91 = load float, ptr %90, align 8, !tbaa !19
  %92 = fcmp oge float %87, %91
  br i1 %92, label %93, label %115

93:                                               ; preds = %78
  %94 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %95 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob::Edge", ptr %94, i32 0, i32 0
  %96 = load float, ptr %95, align 8, !tbaa !22
  %97 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %98, i32 0, i32 1
  %100 = load float, ptr %99, align 4, !tbaa !18
  %101 = fcmp olt float %96, %100
  br i1 %101, label %111, label %102

102:                                              ; preds = %93
  %103 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %104, i32 0, i32 1
  %106 = load float, ptr %105, align 4, !tbaa !18
  %107 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %108 = load float, ptr %107, align 8, !tbaa !20
  %109 = fadd float 1.000000e+00, %108
  %110 = fcmp oge float %106, %109
  br i1 %110, label %111, label %115

111:                                              ; preds = %102, %93
  %112 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %113 = load i64, ptr %112, align 8, !tbaa !21
  %114 = add nsw i64 %113, 1
  store i64 %114, ptr %112, align 8, !tbaa !21
  store ptr %12, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %132

115:                                              ; preds = %102, %78
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %118 = load i64, ptr %117, align 8, !tbaa !21
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3vox4spanIKfEixEm(ptr noundef nonnull align 8 dereferenceable(16) %116, i64 noundef %118)
  %120 = load float, ptr %119, align 4, !tbaa !23
  %121 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %122 = load float, ptr %121, align 8, !tbaa !20
  %123 = fadd float %120, %122
  %124 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %125, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !18
  %128 = fcmp oge float %123, %127
  br i1 %128, label %129, label %130

129:                                              ; preds = %115
  store i32 5, ptr %9, align 4
  br label %132

130:                                              ; preds = %115
  br label %131

131:                                              ; preds = %130, %69
  store i32 0, ptr %9, align 4
  br label %132

132:                                              ; preds = %131, %129, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %133 = load i32, ptr %9, align 4
  switch i32 %133, label %255 [
    i32 0, label %134
    i32 5, label %139
  ]

134:                                              ; preds = %132
  br label %135

135:                                              ; preds = %134
  %136 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %137 = load i64, ptr %136, align 8, !tbaa !21
  %138 = add nsw i64 %137, 1
  store i64 %138, ptr %136, align 8, !tbaa !21
  br label %53, !llvm.loop !24

139:                                              ; preds = %132, %53
  %140 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  store i64 0, ptr %140, align 8, !tbaa !21
  br label %141

141:                                              ; preds = %139
  %142 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %143 = load float, ptr %142, align 8, !tbaa !20
  %144 = fadd float %143, 1.000000e+00
  store float %144, ptr %142, align 8, !tbaa !20
  br label %44, !llvm.loop !26

145:                                              ; preds = %44
  br label %252

146:                                              ; preds = %22
  br label %147

147:                                              ; preds = %247, %146
  %148 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %149 = load float, ptr %148, align 8, !tbaa !20
  %150 = fadd float %149, 1.000000e+00
  %151 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %152, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !18
  %155 = fcmp ogt float %150, %154
  br i1 %155, label %156, label %251

156:                                              ; preds = %147
  br label %157

157:                                              ; preds = %238, %156
  %158 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %159 = load i64, ptr %158, align 8, !tbaa !21
  %160 = icmp sge i64 %159, 0
  br i1 %160, label %161, label %242

161:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %162 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %163 = load i64, ptr %162, align 8, !tbaa !21
  %164 = icmp eq i64 %163, 0
  br i1 %164, label %165, label %168

165:                                              ; preds = %161
  %166 = load i64, ptr %7, align 8, !tbaa !17
  %167 = sub nsw i64 %166, 1
  br label %172

168:                                              ; preds = %161
  %169 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %170 = load i64, ptr %169, align 8, !tbaa !21
  %171 = sub nsw i64 %170, 1
  br label %172

172:                                              ; preds = %168, %165
  %173 = phi i64 [ %167, %165 ], [ %171, %168 ]
  store i64 %173, ptr %10, align 8, !tbaa !17
  %174 = load i64, ptr %10, align 8, !tbaa !17
  %175 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %176 = load i64, ptr %175, align 8, !tbaa !21
  %177 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %178 = load ptr, ptr %177, align 8, !tbaa !9
  %179 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %180 = call noundef zeroext i1 @_ZN3vox9animation12_GLOBAL__N_110DetectEdgeEllbRKNS0_18TrackTriggeringJobEPNS2_4EdgeE(i64 noundef %174, i64 noundef %176, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(32) %178, ptr noundef %179)
  br i1 %180, label %181, label %219

181:                                              ; preds = %172
  %182 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %183 = load float, ptr %182, align 8, !tbaa !20
  %184 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %185 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob::Edge", ptr %184, i32 0, i32 0
  %186 = load float, ptr %185, align 8, !tbaa !22
  %187 = fadd float %186, %183
  store float %187, ptr %185, align 8, !tbaa !22
  %188 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %189 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob::Edge", ptr %188, i32 0, i32 0
  %190 = load float, ptr %189, align 8, !tbaa !22
  %191 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %192 = load ptr, ptr %191, align 8, !tbaa !9
  %193 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %192, i32 0, i32 1
  %194 = load float, ptr %193, align 4, !tbaa !18
  %195 = fcmp oge float %190, %194
  br i1 %195, label %196, label %218

196:                                              ; preds = %181
  %197 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 3
  %198 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob::Edge", ptr %197, i32 0, i32 0
  %199 = load float, ptr %198, align 8, !tbaa !22
  %200 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !9
  %202 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %201, i32 0, i32 0
  %203 = load float, ptr %202, align 8, !tbaa !19
  %204 = fcmp olt float %199, %203
  br i1 %204, label %214, label %205

205:                                              ; preds = %196
  %206 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %207 = load ptr, ptr %206, align 8, !tbaa !9
  %208 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %207, i32 0, i32 0
  %209 = load float, ptr %208, align 8, !tbaa !19
  %210 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %211 = load float, ptr %210, align 8, !tbaa !20
  %212 = fadd float 1.000000e+00, %211
  %213 = fcmp oge float %209, %212
  br i1 %213, label %214, label %218

214:                                              ; preds = %205, %196
  %215 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %216 = load i64, ptr %215, align 8, !tbaa !21
  %217 = add nsw i64 %216, -1
  store i64 %217, ptr %215, align 8, !tbaa !21
  store ptr %12, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %235

218:                                              ; preds = %205, %181
  br label %219

219:                                              ; preds = %218, %172
  %220 = load ptr, ptr %5, align 8, !tbaa !5
  %221 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %222 = load i64, ptr %221, align 8, !tbaa !21
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3vox4spanIKfEixEm(ptr noundef nonnull align 8 dereferenceable(16) %220, i64 noundef %222)
  %224 = load float, ptr %223, align 4, !tbaa !23
  %225 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %226 = load float, ptr %225, align 8, !tbaa !20
  %227 = fadd float %224, %226
  %228 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %229 = load ptr, ptr %228, align 8, !tbaa !9
  %230 = getelementptr inbounds %"struct.vox::animation::TrackTriggeringJob", ptr %229, i32 0, i32 1
  %231 = load float, ptr %230, align 4, !tbaa !18
  %232 = fcmp ole float %227, %231
  br i1 %232, label %233, label %234

233:                                              ; preds = %219
  store i32 11, ptr %9, align 4
  br label %235

234:                                              ; preds = %219
  store i32 0, ptr %9, align 4
  br label %235

235:                                              ; preds = %234, %233, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  %236 = load i32, ptr %9, align 4
  switch i32 %236, label %255 [
    i32 0, label %237
    i32 11, label %242
  ]

237:                                              ; preds = %235
  br label %238

238:                                              ; preds = %237
  %239 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  %240 = load i64, ptr %239, align 8, !tbaa !21
  %241 = add nsw i64 %240, -1
  store i64 %241, ptr %239, align 8, !tbaa !21
  br label %157, !llvm.loop !27

242:                                              ; preds = %235, %157
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  %244 = call noundef i64 @_ZNK3vox4spanIKfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %243)
  %245 = sub i64 %244, 1
  %246 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 2
  store i64 %245, ptr %246, align 8, !tbaa !21
  br label %247

247:                                              ; preds = %242
  %248 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 1
  %249 = load float, ptr %248, align 8, !tbaa !20
  %250 = fsub float %249, 1.000000e+00
  store float %250, ptr %248, align 8, !tbaa !20
  br label %147, !llvm.loop !28

251:                                              ; preds = %147
  br label %252

252:                                              ; preds = %251, %145
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  %253 = getelementptr inbounds %"class.vox::animation::TrackTriggeringJob::Iterator", ptr %12, i32 0, i32 0
  %254 = load ptr, ptr %253, align 8, !tbaa !9
  call void @_ZNK3vox9animation18TrackTriggeringJob3endEv(ptr dead_on_unwind writable sret(%"class.vox::animation::TrackTriggeringJob::Iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %254)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %11, i64 32, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  store ptr %12, ptr %2, align 8
  store i32 1, ptr %9, align 4
  br label %255

255:                                              ; preds = %252, %235, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %256 = load ptr, ptr %2, align 8
  ret ptr %256
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3vox9animation18TrackTriggeringJob8IteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN3vox9animation12_GLOBAL__N_110DetectEdgeEllbRKNS0_18TrackTriggeringJobEPNS2_4EdgeE(i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3vox4spanIKfEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 #5 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN3vox9animation18TrackTriggeringJob8IteratorE", !6, i64 0, !11, i64 8, !12, i64 16, !13, i64 24}
!11 = !{!"float", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN3vox9animation18TrackTriggeringJob4EdgeE", !11, i64 0, !14, i64 4}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !6, i64 16}
!16 = !{!"_ZTSN3vox9animation18TrackTriggeringJobE", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!12, !12, i64 0}
!18 = !{!16, !11, i64 4}
!19 = !{!16, !11, i64 0}
!20 = !{!10, !11, i64 8}
!21 = !{!10, !12, i64 16}
!22 = !{!10, !11, i64 24}
!23 = !{!11, !11, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}
!29 = !{i64 0, i64 8, !5, i64 8, i64 4, !23, i64 16, i64 8, !17, i64 24, i64 4, !23, i64 28, i64 1, !30}
!30 = !{!14, !14, i64 0}


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

%"class.vox::animation::TrackTriggeringJob::Iterator" = type { ptr, float, i64, %"struct.vox::animation::TrackTriggeringJob::Edge" }
%"struct.vox::animation::TrackTriggeringJob::Edge" = type { float, i8 }
%"struct.vox::span" = type { ptr, i64 }

@.str.1 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [110 x i8], align 1
@__PRETTY_FUNCTION__._ZN3vox9animation18TrackTriggeringJob8IteratorppEv = external hidden unnamed_addr constant [95 x i8], align 1

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

; 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 mustprogress uwtable
declare dso_local void @_ZNK3vox9animation18TrackTriggeringJob3endEv(ptr dead_on_unwind noalias writable sret(%"class.vox::animation::TrackTriggeringJob::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNK3vox9animation8internal5TrackIfE6ratiosEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK3vox4spanIKfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN3vox9animation18TrackTriggeringJob8IteratorppEv(ptr noundef nonnull returned align 8 dereferenceable(32) %0) local_unnamed_addr #3 align 2 {
  %2 = alloca %"class.vox::animation::TrackTriggeringJob::Iterator", align 8
  %3 = alloca %"struct.vox::span", align 8
  %4 = alloca %"class.vox::animation::TrackTriggeringJob::Iterator", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  %5 = load ptr, ptr %0, align 8, !tbaa !5
  call void @_ZNK3vox9animation18TrackTriggeringJob3endEv(ptr dead_on_unwind nonnull writable sret(%"class.vox::animation::TrackTriggeringJob::Iterator") align 8 %2, ptr noundef nonnull align 8 dereferenceable(32) %5)
  %6 = call noundef zeroext i1 @_ZNK3vox9animation18TrackTriggeringJob8IteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %2)
  br i1 %6, label %8, label %7

7:                                                ; preds = %1
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 131, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3vox9animation18TrackTriggeringJob8IteratorppEv) #7
  unreachable

8:                                                ; preds = %1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %12 = call { ptr, i64 } @_ZNK3vox9animation8internal5TrackIfE6ratiosEv(ptr noundef nonnull align 8 dereferenceable(56) %11)
  %13 = extractvalue { ptr, i64 } %12, 0
  store ptr %13, ptr %3, align 8
  %14 = getelementptr inbounds i8, ptr %3, i64 8
  %15 = extractvalue { ptr, i64 } %12, 1
  store i64 %15, ptr %14, align 8
  %16 = call noundef i64 @_ZNK3vox4spanIKfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %17 = load ptr, ptr %0, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  %19 = load float, ptr %18, align 4, !tbaa !16
  %20 = load float, ptr %17, align 8, !tbaa !17
  %21 = fcmp ogt float %19, %20
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  %23 = load float, ptr %22, align 8, !tbaa !18
  br i1 %21, label %.preheader40, label %.preheader42

.preheader42:                                     ; preds = %8
  %24 = fadd float %23, 1.000000e+00
  %25 = fcmp ogt float %24, %19
  br i1 %25, label %.preheader41.lr.ph, label %.loopexit

.preheader41.lr.ph:                               ; preds = %.preheader42
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %.pre = load i64, ptr %26, align 8, !tbaa !19
  br label %.preheader41

.preheader40:                                     ; preds = %8
  %28 = fcmp olt float %23, %19
  br i1 %28, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %.preheader40
  %29 = getelementptr inbounds i8, ptr %0, i64 16
  %30 = getelementptr inbounds i8, ptr %0, i64 24
  %.pre54 = load i64, ptr %29, align 8, !tbaa !19
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge50
  %31 = phi ptr [ %17, %.preheader.lr.ph ], [ %69, %._crit_edge50 ]
  %32 = phi float [ %23, %.preheader.lr.ph ], [ %71, %._crit_edge50 ]
  %33 = phi i64 [ %.pre54, %.preheader.lr.ph ], [ 0, %._crit_edge50 ]
  %34 = icmp slt i64 %33, %16
  br i1 %34, label %.lr.ph49, label %._crit_edge50

.lr.ph49:                                         ; preds = %.preheader, %65
  %35 = phi i64 [ %67, %65 ], [ %33, %.preheader ]
  %36 = icmp eq i64 %35, 0
  %. = select i1 %36, i64 %16, i64 %35
  %37 = add nsw i64 %., -1
  %38 = load ptr, ptr %0, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZN3vox9animation12_GLOBAL__N_110DetectEdgeEllbRKNS0_18TrackTriggeringJobEPNS2_4EdgeE(i64 noundef %37, i64 noundef %35, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull %30)
  br i1 %39, label %40, label %65

40:                                               ; preds = %.lr.ph49
  %41 = load float, ptr %22, align 8, !tbaa !18
  %42 = load float, ptr %30, align 8, !tbaa !20
  %43 = fadd float %41, %42
  store float %43, ptr %30, align 8, !tbaa !20
  %44 = load ptr, ptr %0, align 8, !tbaa !5
  %45 = load float, ptr %44, align 8, !tbaa !17
  %46 = fcmp ult float %43, %45
  br i1 %46, label %55, label %47

47:                                               ; preds = %40
  %48 = getelementptr inbounds i8, ptr %44, i64 4
  %49 = load float, ptr %48, align 4, !tbaa !16
  %50 = fcmp uge float %43, %49
  %51 = fadd float %41, 1.000000e+00
  %52 = fcmp ult float %49, %51
  %or.cond = and i1 %50, %52
  br i1 %or.cond, label %55, label %.thread

.thread:                                          ; preds = %47
  %53 = load i64, ptr %29, align 8, !tbaa !19
  %54 = add nsw i64 %53, 1
  store i64 %54, ptr %29, align 8, !tbaa !19
  br label %122

55:                                               ; preds = %47, %40
  %56 = load i64, ptr %29, align 8, !tbaa !19
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3vox4spanIKfEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %56)
  %58 = load float, ptr %57, align 4, !tbaa !21
  %59 = load float, ptr %22, align 8, !tbaa !18
  %60 = fadd float %58, %59
  %61 = load ptr, ptr %0, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 4
  %63 = load float, ptr %62, align 4, !tbaa !16
  %64 = fcmp ult float %60, %63
  br i1 %64, label %65, label %._crit_edge50

65:                                               ; preds = %.lr.ph49, %55
  %66 = load i64, ptr %29, align 8, !tbaa !19
  %67 = add nsw i64 %66, 1
  store i64 %67, ptr %29, align 8, !tbaa !19
  %68 = icmp slt i64 %67, %16
  br i1 %68, label %.lr.ph49, label %.._crit_edge50.loopexit_crit_edge, !llvm.loop !22

.._crit_edge50.loopexit_crit_edge:                ; preds = %65
  %.pre55.pre = load float, ptr %22, align 8, !tbaa !18
  %.pre56.pre = load ptr, ptr %0, align 8, !tbaa !5
  br label %._crit_edge50

._crit_edge50:                                    ; preds = %55, %.._crit_edge50.loopexit_crit_edge, %.preheader
  %69 = phi ptr [ %31, %.preheader ], [ %.pre56.pre, %.._crit_edge50.loopexit_crit_edge ], [ %61, %55 ]
  %70 = phi float [ %32, %.preheader ], [ %.pre55.pre, %.._crit_edge50.loopexit_crit_edge ], [ %59, %55 ]
  store i64 0, ptr %29, align 8, !tbaa !19
  %71 = fadd float %70, 1.000000e+00
  store float %71, ptr %22, align 8, !tbaa !18
  %72 = getelementptr inbounds i8, ptr %69, i64 4
  %73 = load float, ptr %72, align 4, !tbaa !16
  %74 = fcmp olt float %71, %73
  br i1 %74, label %.preheader, label %.loopexit, !llvm.loop !24

.preheader41:                                     ; preds = %.preheader41.lr.ph, %._crit_edge
  %75 = phi ptr [ %17, %.preheader41.lr.ph ], [ %117, %._crit_edge ]
  %76 = phi i64 [ %.pre, %.preheader41.lr.ph ], [ %113, %._crit_edge ]
  %77 = icmp sgt i64 %76, -1
  br i1 %77, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader41, %108
  %78 = phi ptr [ %104, %108 ], [ %75, %.preheader41 ]
  %79 = phi i64 [ %110, %108 ], [ %76, %.preheader41 ]
  %80 = icmp eq i64 %79, 0
  %.22 = select i1 %80, i64 %16, i64 %79
  %81 = add nsw i64 %.22, -1
  %82 = call noundef zeroext i1 @_ZN3vox9animation12_GLOBAL__N_110DetectEdgeEllbRKNS0_18TrackTriggeringJobEPNS2_4EdgeE(i64 noundef %81, i64 noundef %79, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull %27)
  br i1 %82, label %83, label %98

83:                                               ; preds = %.lr.ph
  %84 = load float, ptr %22, align 8, !tbaa !18
  %85 = load float, ptr %27, align 8, !tbaa !20
  %86 = fadd float %84, %85
  store float %86, ptr %27, align 8, !tbaa !20
  %87 = load ptr, ptr %0, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %89 = load float, ptr %88, align 4, !tbaa !16
  %90 = fcmp ult float %86, %89
  br i1 %90, label %98, label %91

91:                                               ; preds = %83
  %92 = load float, ptr %87, align 8, !tbaa !17
  %93 = fcmp uge float %86, %92
  %94 = fadd float %84, 1.000000e+00
  %95 = fcmp ult float %92, %94
  %or.cond39 = and i1 %93, %95
  br i1 %or.cond39, label %98, label %.thread30

.thread30:                                        ; preds = %91
  %96 = load i64, ptr %26, align 8, !tbaa !19
  %97 = add nsw i64 %96, -1
  store i64 %97, ptr %26, align 8, !tbaa !19
  br label %122

98:                                               ; preds = %91, %83, %.lr.ph
  %99 = load i64, ptr %26, align 8, !tbaa !19
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3vox4spanIKfEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %99)
  %101 = load float, ptr %100, align 4, !tbaa !21
  %102 = load float, ptr %22, align 8, !tbaa !18
  %103 = fadd float %101, %102
  %104 = load ptr, ptr %0, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 4
  %106 = load float, ptr %105, align 4, !tbaa !16
  %107 = fcmp ugt float %103, %106
  br i1 %107, label %108, label %._crit_edge

108:                                              ; preds = %98
  %109 = load i64, ptr %26, align 8, !tbaa !19
  %110 = add nsw i64 %109, -1
  store i64 %110, ptr %26, align 8, !tbaa !19
  %111 = icmp sgt i64 %109, 0
  br i1 %111, label %.lr.ph, label %._crit_edge, !llvm.loop !25

._crit_edge:                                      ; preds = %108, %98, %.preheader41
  %112 = call noundef i64 @_ZNK3vox4spanIKfE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %113 = add i64 %112, -1
  store i64 %113, ptr %26, align 8, !tbaa !19
  %114 = load float, ptr %22, align 8, !tbaa !18
  %115 = fadd float %114, -1.000000e+00
  store float %115, ptr %22, align 8, !tbaa !18
  %116 = fadd float %115, 1.000000e+00
  %117 = load ptr, ptr %0, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %117, i64 4
  %119 = load float, ptr %118, align 4, !tbaa !16
  %120 = fcmp ogt float %116, %119
  br i1 %120, label %.preheader41, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %._crit_edge, %._crit_edge50, %.preheader42, %.preheader40
  %121 = phi ptr [ %17, %.preheader42 ], [ %17, %.preheader40 ], [ %69, %._crit_edge50 ], [ %117, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNK3vox9animation18TrackTriggeringJob3endEv(ptr dead_on_unwind nonnull writable sret(%"class.vox::animation::TrackTriggeringJob::Iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %121)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %4, i64 32, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %122

122:                                              ; preds = %.thread30, %.thread, %.loopexit
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret ptr %0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3vox9animation18TrackTriggeringJob8IteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN3vox9animation12_GLOBAL__N_110DetectEdgeEllbRKNS0_18TrackTriggeringJobEPNS2_4EdgeE(i64 noundef, i64 noundef, i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3vox4spanIKfEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #4 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 #5 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"_ZTSN3vox9animation18TrackTriggeringJob8IteratorE", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"_ZTSN3vox9animation18TrackTriggeringJob4EdgeE", !10, i64 0, !13, i64 4}
!13 = !{!"bool", !8, i64 0}
!14 = !{!15, !7, i64 16}
!15 = !{!"_ZTSN3vox9animation18TrackTriggeringJobE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !7, i64 24}
!16 = !{!15, !10, i64 4}
!17 = !{!15, !10, i64 0}
!18 = !{!6, !10, i64 8}
!19 = !{!6, !11, i64 16}
!20 = !{!6, !10, i64 24}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
!27 = !{i64 0, i64 8, !28, i64 8, i64 4, !21, i64 16, i64 8, !29, i64 24, i64 4, !21, i64 28, i64 1, !30}
!28 = !{!7, !7, i64 0}
!29 = !{!11, !11, i64 0}
!30 = !{!13, !13, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass