; LLVM IR from redhatdragon/EchoEngine :: HAL/ExampleImplimentations/Windows/OpenMP3 (openmp3)

; 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.OpenMP3::Decoder" = type <{ ptr, [8320 x i8], [10496 x i8], [2 x [32 x [18 x float]]], [2 x [1024 x float]], ptr, i32, [4 x i8] }>
%"class.OpenMP3::Frame" = type { i8, i8, i32, i8, 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: mustprogress uwtable
define dso_local void @_ZN7OpenMP37Decoder7Private11DecodeFrameERS0_RKNS_5FrameEPA2_A576_fPA1152_f(ptr noundef nonnull align 8 dereferenceable(31636) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  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 8, ptr %9) #5
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.OpenMP3::Decoder", ptr %23, i32 0, i32 2
  %25 = getelementptr inbounds [10496 x i8], ptr %24, i64 0, i64 0
  %26 = getelementptr inbounds i8, ptr %25, i64 0
  store ptr %26, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.OpenMP3::Frame", ptr %27, i32 0, i32 1
  %29 = load i8, ptr %28, align 1, !tbaa !9
  %30 = zext i8 %29 to i32
  store i32 %30, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.OpenMP3::Decoder", ptr %31, i32 0, i32 3
  store ptr %32, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.OpenMP3::Decoder", ptr %33, i32 0, i32 4
  store ptr %34, ptr %12, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.OpenMP3::Frame", ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 4, !tbaa !14
  %38 = icmp eq i32 %37, 3
  br i1 %38, label %39, label %96

39:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %40

40:                                               ; preds = %86, %39
  %41 = load i32, ptr %13, align 4, !tbaa !13
  %42 = icmp ult i32 %41, 2
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %89

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load i32, ptr %13, align 4, !tbaa !13
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds [2 x [576 x float]], ptr %45, i64 %47
  %49 = getelementptr inbounds [2 x [576 x float]], ptr %48, i64 0, i64 0
  store ptr %49, ptr %14, align 8, !tbaa !5
  %50 = load i32, ptr %10, align 4, !tbaa !13
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load i32, ptr %13, align 4, !tbaa !13
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  %54 = getelementptr inbounds [576 x float], ptr %53, i64 0, i64 0
  call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %50, ptr noundef nonnull align 4 dereferenceable(10444) %51, i32 noundef %52, i32 noundef 0, ptr noundef %54)
  %55 = load i32, ptr %10, align 4, !tbaa !13
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = load i32, ptr %13, align 4, !tbaa !13
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = getelementptr inbounds [576 x float], ptr %58, i64 0, i64 0
  call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %55, ptr noundef nonnull align 4 dereferenceable(10444) %56, i32 noundef %57, i32 noundef 0, ptr noundef %59)
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = load i32, ptr %13, align 4, !tbaa !13
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = getelementptr inbounds [576 x float], ptr %62, i64 0, i64 0
  call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %60, i32 noundef %61, i32 noundef 0, ptr noundef %63)
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = load i32, ptr %13, align 4, !tbaa !13
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = getelementptr inbounds [2 x [32 x [18 x float]]], ptr %66, i64 0, i64 0
  %68 = getelementptr inbounds [32 x [18 x float]], ptr %67, i64 0, i64 0
  %69 = load ptr, ptr %14, align 8, !tbaa !5
  %70 = getelementptr inbounds [576 x float], ptr %69, i64 0, i64 0
  call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %64, i32 noundef %65, i32 noundef 0, ptr noundef %68, ptr noundef %70)
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds [576 x float], ptr %71, i64 0, i64 0
  call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef %72)
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load ptr, ptr %14, align 8, !tbaa !5
  %75 = getelementptr inbounds [576 x float], ptr %74, i64 0, i64 0
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds [2 x [1024 x float]], ptr %76, i64 0, i64 0
  %78 = getelementptr inbounds [1024 x float], ptr %77, i64 0, i64 0
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds [1152 x float], ptr %79, i64 0
  %81 = getelementptr inbounds [1152 x float], ptr %80, i64 0, i64 0
  %82 = load i32, ptr %13, align 4, !tbaa !13
  %83 = mul i32 576, %82
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds float, ptr %81, i64 %84
  call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %73, ptr noundef %75, ptr noundef %78, ptr noundef %85)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %86

86:                                               ; preds = %44
  %87 = load i32, ptr %13, align 4, !tbaa !13
  %88 = add i32 %87, 1
  store i32 %88, ptr %13, align 4, !tbaa !13
  br label %40, !llvm.loop !15

89:                                               ; preds = %43
  %90 = load ptr, ptr %8, align 8, !tbaa !5
  %91 = getelementptr inbounds [1152 x float], ptr %90, i64 1
  %92 = getelementptr inbounds [1152 x float], ptr %91, i64 0, i64 0
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = getelementptr inbounds [1152 x float], ptr %93, i64 0
  %95 = getelementptr inbounds [1152 x float], ptr %94, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %92, ptr align 4 %95, i64 4608, i1 false)
  br label %211

96:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.OpenMP3::Frame", ptr %97, i32 0, i32 3
  %99 = load i8, ptr %98, align 8, !tbaa !17
  store i8 %99, ptr %15, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.OpenMP3::Frame", ptr %100, i32 0, i32 2
  %102 = load i32, ptr %101, align 4, !tbaa !14
  %103 = icmp eq i32 %102, 1
  br i1 %103, label %104, label %108

104:                                              ; preds = %96
  %105 = load i8, ptr %15, align 1, !tbaa !18
  %106 = zext i8 %105 to i32
  %107 = icmp ne i32 %106, 0
  br label %108

108:                                              ; preds = %104, %96
  %109 = phi i1 [ false, %96 ], [ %107, %104 ]
  %110 = zext i1 %109 to i8
  store i8 %110, ptr %16, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !13
  br label %111

111:                                              ; preds = %207, %108
  %112 = load i32, ptr %17, align 4, !tbaa !13
  %113 = icmp ult i32 %112, 2
  br i1 %113, label %115, label %114

114:                                              ; preds = %111
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %210

115:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %116

116:                                              ; preds = %140, %115
  %117 = load i32, ptr %19, align 4, !tbaa !13
  %118 = icmp ult i32 %117, 2
  br i1 %118, label %120, label %119

119:                                              ; preds = %116
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %143

120:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = load i32, ptr %17, align 4, !tbaa !13
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds [2 x [576 x float]], ptr %121, i64 %123
  %125 = load i32, ptr %19, align 4, !tbaa !13
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds [2 x [576 x float]], ptr %124, i64 0, i64 %126
  store ptr %127, ptr %20, align 8, !tbaa !5
  %128 = load i32, ptr %10, align 4, !tbaa !13
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = load i32, ptr %17, align 4, !tbaa !13
  %131 = load i32, ptr %19, align 4, !tbaa !13
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = getelementptr inbounds [576 x float], ptr %132, i64 0, i64 0
  call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %128, ptr noundef nonnull align 4 dereferenceable(10444) %129, i32 noundef %130, i32 noundef %131, ptr noundef %133)
  %134 = load i32, ptr %10, align 4, !tbaa !13
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = load i32, ptr %17, align 4, !tbaa !13
  %137 = load i32, ptr %19, align 4, !tbaa !13
  %138 = load ptr, ptr %20, align 8, !tbaa !5
  %139 = getelementptr inbounds [576 x float], ptr %138, i64 0, i64 0
  call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %134, ptr noundef nonnull align 4 dereferenceable(10444) %135, i32 noundef %136, i32 noundef %137, ptr noundef %139)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %140

140:                                              ; preds = %120
  %141 = load i32, ptr %19, align 4, !tbaa !13
  %142 = add i32 %141, 1
  store i32 %142, ptr %19, align 4, !tbaa !13
  br label %116, !llvm.loop !21

143:                                              ; preds = %119
  %144 = load i8, ptr %16, align 1, !tbaa !19, !range !22, !noundef !23
  %145 = trunc i8 %144 to i1
  br i1 %145, label %146, label %156

146:                                              ; preds = %143
  %147 = load i32, ptr %10, align 4, !tbaa !13
  %148 = load i8, ptr %15, align 1, !tbaa !18
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load i32, ptr %17, align 4, !tbaa !13
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = load i32, ptr %17, align 4, !tbaa !13
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds [2 x [576 x float]], ptr %151, i64 %153
  %155 = getelementptr inbounds [2 x [576 x float]], ptr %154, i64 0, i64 0
  call void @_ZN7OpenMP36StereoEjhRKNS_9FrameDataEjPA576_f(i32 noundef %147, i8 noundef zeroext %148, ptr noundef nonnull align 4 dereferenceable(10444) %149, i32 noundef %150, ptr noundef %155)
  br label %156

156:                                              ; preds = %146, %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %157

157:                                              ; preds = %203, %156
  %158 = load i32, ptr %21, align 4, !tbaa !13
  %159 = icmp ult i32 %158, 2
  br i1 %159, label %161, label %160

160:                                              ; preds = %157
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %206

161:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = load i32, ptr %17, align 4, !tbaa !13
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds [2 x [576 x float]], ptr %162, i64 %164
  %166 = load i32, ptr %21, align 4, !tbaa !13
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds [2 x [576 x float]], ptr %165, i64 0, i64 %167
  store ptr %168, ptr %22, align 8, !tbaa !5
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = load i32, ptr %17, align 4, !tbaa !13
  %171 = load i32, ptr %21, align 4, !tbaa !13
  %172 = load ptr, ptr %22, align 8, !tbaa !5
  %173 = getelementptr inbounds [576 x float], ptr %172, i64 0, i64 0
  call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %169, i32 noundef %170, i32 noundef %171, ptr noundef %173)
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = load i32, ptr %17, align 4, !tbaa !13
  %176 = load i32, ptr %21, align 4, !tbaa !13
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = load i32, ptr %21, align 4, !tbaa !13
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds [2 x [32 x [18 x float]]], ptr %177, i64 0, i64 %179
  %181 = getelementptr inbounds [32 x [18 x float]], ptr %180, i64 0, i64 0
  %182 = load ptr, ptr %22, align 8, !tbaa !5
  %183 = getelementptr inbounds [576 x float], ptr %182, i64 0, i64 0
  call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %174, i32 noundef %175, i32 noundef %176, ptr noundef %181, ptr noundef %183)
  %184 = load ptr, ptr %22, align 8, !tbaa !5
  %185 = getelementptr inbounds [576 x float], ptr %184, i64 0, i64 0
  call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef %185)
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = load ptr, ptr %22, align 8, !tbaa !5
  %188 = getelementptr inbounds [576 x float], ptr %187, i64 0, i64 0
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = load i32, ptr %21, align 4, !tbaa !13
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds [2 x [1024 x float]], ptr %189, i64 0, i64 %191
  %193 = getelementptr inbounds [1024 x float], ptr %192, i64 0, i64 0
  %194 = load ptr, ptr %8, align 8, !tbaa !5
  %195 = load i32, ptr %21, align 4, !tbaa !13
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds [1152 x float], ptr %194, i64 %196
  %198 = getelementptr inbounds [1152 x float], ptr %197, i64 0, i64 0
  %199 = load i32, ptr %17, align 4, !tbaa !13
  %200 = mul i32 576, %199
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds float, ptr %198, i64 %201
  call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %186, ptr noundef %188, ptr noundef %193, ptr noundef %202)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %203

203:                                              ; preds = %161
  %204 = load i32, ptr %21, align 4, !tbaa !13
  %205 = add i32 %204, 1
  store i32 %205, ptr %21, align 4, !tbaa !13
  br label %157, !llvm.loop !24

206:                                              ; preds = %160
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %17, align 4, !tbaa !13
  %209 = add i32 %208, 1
  store i32 %209, ptr %17, align 4, !tbaa !13
  br label %111, !llvm.loop !25

210:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %211

211:                                              ; preds = %210, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef, ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef, ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444), ptr noundef, ptr noundef, ptr noundef) #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) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7OpenMP36StereoEjhRKNS_9FrameDataEjPA576_f(i32 noundef, i8 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { inlinehint 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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, !7, i64 1}
!10 = !{!"_ZTSN7OpenMP35FrameE", !7, i64 0, !7, i64 1, !11, i64 4, !7, i64 8, !6, i64 16, !12, i64 24, !12, i64 28}
!11 = !{!"_ZTSN7OpenMP34ModeE", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !11, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!10, !7, i64 8}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = distinct !{!21, !16}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}


; 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 uwtable
define dso_local void @_ZN7OpenMP37Decoder7Private11DecodeFrameERS0_RKNS_5FrameEPA2_A576_fPA1152_f(ptr noundef nonnull align 8 dereferenceable(31636) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 8328
  %6 = getelementptr inbounds i8, ptr %1, i64 1
  %7 = load i8, ptr %6, align 1, !tbaa !5
  %8 = zext i8 %7 to i32
  %9 = getelementptr inbounds i8, ptr %0, i64 18824
  %10 = getelementptr inbounds i8, ptr %0, i64 23432
  %11 = getelementptr inbounds i8, ptr %1, i64 4
  %12 = load i32, ptr %11, align 4, !tbaa !12
  %13 = icmp eq i32 %12, 3
  br i1 %13, label %.preheader.preheader, label %17

.preheader.preheader:                             ; preds = %4
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %9, ptr noundef %2)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef %2)
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef %2, ptr noundef nonnull %10, ptr noundef %3)
  %14 = getelementptr inbounds i8, ptr %2, i64 4608
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %14)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %14)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %14)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %9, ptr noundef nonnull %14)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %14)
  %15 = getelementptr inbounds i8, ptr %3, i64 2304
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %14, ptr noundef nonnull %10, ptr noundef nonnull %15)
  %16 = getelementptr inbounds i8, ptr %3, i64 4608
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(4608) %16, ptr noundef nonnull align 4 dereferenceable(4608) %3, i64 4608, i1 false)
  br label %.loopexit

17:                                               ; preds = %4
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load i8, ptr %18, align 8, !tbaa !13
  %20 = icmp eq i32 %12, 1
  %21 = icmp ne i8 %19, 0
  %22 = select i1 %20, i1 %21, i1 false
  %.fr = freeze i1 %22
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  %23 = getelementptr inbounds i8, ptr %2, i64 2304
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %23)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %23)
  br i1 %.fr, label %.preheader85.us.preheader, label %.preheader85.preheader

.preheader85.preheader:                           ; preds = %17
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %9, ptr noundef %2)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef %2)
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef %2, ptr noundef nonnull %10, ptr noundef %3)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %23)
  %24 = getelementptr inbounds i8, ptr %0, i64 21128
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %24, ptr noundef nonnull %23)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %23)
  %25 = getelementptr inbounds i8, ptr %0, i64 27528
  %gep.1 = getelementptr inbounds i8, ptr %3, i64 4608
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %23, ptr noundef nonnull %25, ptr noundef nonnull %gep.1)
  %26 = getelementptr inbounds i8, ptr %2, i64 4608
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %26)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %26)
  %27 = getelementptr inbounds i8, ptr %2, i64 6912
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %27)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %27)
  %invariant.gep.1 = getelementptr inbounds i8, ptr %3, i64 2304
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %26)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %9, ptr noundef nonnull %26)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %26)
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %26, ptr noundef nonnull %10, ptr noundef nonnull %invariant.gep.1)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %27)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %24, ptr noundef nonnull %27)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %27)
  %gep.1.1 = getelementptr inbounds i8, ptr %3, i64 6912
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %27, ptr noundef nonnull %25, ptr noundef nonnull %gep.1.1)
  br label %.loopexit

.preheader85.us.preheader:                        ; preds = %17
  tail call void @_ZN7OpenMP36StereoEjhRKNS_9FrameDataEjPA576_f(i32 noundef %8, i8 noundef zeroext %19, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef %2)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull %9, ptr noundef %2)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef %2)
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef %2, ptr noundef nonnull %10, ptr noundef %3)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %23)
  %28 = getelementptr inbounds i8, ptr %0, i64 21128
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %28, ptr noundef nonnull %23)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %23)
  %29 = getelementptr inbounds i8, ptr %0, i64 27528
  %gep.us.1 = getelementptr inbounds i8, ptr %3, i64 4608
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %23, ptr noundef nonnull %29, ptr noundef nonnull %gep.us.1)
  %30 = getelementptr inbounds i8, ptr %2, i64 4608
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %30)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %30)
  %31 = getelementptr inbounds i8, ptr %2, i64 6912
  tail call void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %31)
  tail call void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef %8, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %31)
  tail call void @_ZN7OpenMP36StereoEjhRKNS_9FrameDataEjPA576_f(i32 noundef %8, i8 noundef zeroext %19, ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, ptr noundef nonnull %30)
  %invariant.gep.us.1 = getelementptr inbounds i8, ptr %3, i64 2304
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %30)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 0, ptr noundef nonnull %9, ptr noundef nonnull %30)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %30)
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %30, ptr noundef nonnull %10, ptr noundef nonnull %invariant.gep.us.1)
  tail call void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %31)
  tail call void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444) %5, i32 noundef 1, i32 noundef 1, ptr noundef nonnull %28, ptr noundef nonnull %31)
  tail call void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef nonnull %31)
  %gep.us.1.1 = getelementptr inbounds i8, ptr %3, i64 6912
  tail call void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444) %5, ptr noundef nonnull %31, ptr noundef nonnull %29, ptr noundef nonnull %gep.us.1.1)
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader85.preheader, %.preheader85.us.preheader, %.preheader.preheader
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7OpenMP310RequantizeEjRKNS_9FrameDataEjjPf(i32 noundef, ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP37ReorderEjRKNS_9FrameDataEjjPf(i32 noundef, ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP39AntialiasERKNS_9FrameDataEjjPf(ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7OpenMP315HybridSynthesisERKNS_9FrameDataEjjPA18_fPf(ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP318FrequencyInversionEPf(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7OpenMP316SubbandSynthesisERKNS_9FrameDataEPKfPfS5_(ptr noundef nonnull align 4 dereferenceable(10444), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; 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) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7OpenMP36StereoEjhRKNS_9FrameDataEjPA576_f(i32 noundef, i8 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(10444), i32 noundef, ptr noundef) local_unnamed_addr #0

attributes #0 = { 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 #1 = { 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 #2 = { inlinehint 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }

!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 1}
!6 = !{!"_ZTSN7OpenMP35FrameE", !7, i64 0, !7, i64 1, !9, i64 4, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 28}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTSN7OpenMP34ModeE", !7, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!6, !9, i64 4}
!13 = !{!6, !7, i64 8}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass