; LLVM IR from Aquatic-Games/mixr :: src/Stream (Wav)

; 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.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.mixr::Stream::ADPCMInfo" = type { i32, i64 }
%"class.std::fpos" = type { i64, %struct.__mbstate_t }
%"class.mixr::Stream::Wav" = type <{ %"class.mixr::Stream::AudioStream", %"class.std::basic_ifstream", %"struct.mixr::AudioFormat", i8, [3 x i8], %"struct.mixr::Stream::ADPCMInfo", i64, i64, i32, [4 x i8] }>
%"class.mixr::Stream::AudioStream" = type { ptr }
%"struct.mixr::AudioFormat" = type { i32, i32, i8 }

@_ZTVN4mixr6Stream3WavE = external dso_local unnamed_addr constant { [11 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [51 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.1 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4mixr6Stream3WavC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(580) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::basic_ifstream", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i16, align 2
  %17 = alloca i16, align 2
  %18 = alloca i32, align 4
  %19 = alloca i16, align 2
  %20 = alloca i16, align 2
  %21 = alloca %"struct.mixr::Stream::ADPCMInfo", align 8
  %22 = alloca i16, align 2
  %23 = alloca %"class.std::fpos", align 8
  %24 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %25 = load ptr, ptr %3, align 8
  call void @_ZN4mixr6Stream11AudioStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  store ptr getelementptr inbounds inrange(-16, 72) ({ [11 x ptr] }, ptr @_ZTVN4mixr6Stream3WavE, i32 0, i32 0, i32 2), ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %26)
          to label %27 unwind label %46

27:                                               ; preds = %2
  %28 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %29 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 5
  %30 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 3
  store i8 0, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1179011410, ptr %7, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1163280727, ptr %8, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 544501094, ptr %9, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 1635017060, ptr %10, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 520, ptr %11) #7
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %33 unwind label %50

33:                                               ; preds = %27
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %11, ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef %32)
          to label %34 unwind label %50

34:                                               ; preds = %33
  %35 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %36 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef nonnull align 8 dereferenceable(256) %11)
          to label %37 unwind label %54

37:                                               ; preds = %34
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %11) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %38 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef %12, i64 noundef 4)
          to label %40 unwind label %59

40:                                               ; preds = %37
  %41 = load i32, ptr %12, align 4, !tbaa !29
  %42 = icmp ne i32 %41, 1179011410
  br i1 %42, label %43, label %67

43:                                               ; preds = %40
  %44 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef @.str)
          to label %45 unwind label %63

45:                                               ; preds = %43
  invoke void @__cxa_throw(ptr %44, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %263 unwind label %59

46:                                               ; preds = %2
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %5, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %6, align 4
  br label %257

50:                                               ; preds = %33, %27
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %5, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %6, align 4
  br label %58

54:                                               ; preds = %34
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %5, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %6, align 4
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %11) #7
  br label %58

58:                                               ; preds = %54, %50
  call void @llvm.lifetime.end.p0(i64 520, ptr %11) #7
  br label %256

59:                                               ; preds = %67, %45, %37
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %5, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %6, align 4
  br label %255

63:                                               ; preds = %43
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %5, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %6, align 4
  call void @__cxa_free_exception(ptr %44) #7
  br label %255

67:                                               ; preds = %40
  %68 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %69 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %68, i64 noundef 4, i32 noundef 1)
          to label %70 unwind label %59

70:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %71 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %72 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef %13, i64 noundef 4)
          to label %73 unwind label %79

73:                                               ; preds = %70
  %74 = load i32, ptr %13, align 4, !tbaa !29
  %75 = icmp ne i32 %74, 1163280727
  br i1 %75, label %76, label %87

76:                                               ; preds = %73
  %77 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef @.str.1)
          to label %78 unwind label %83

78:                                               ; preds = %76
  invoke void @__cxa_throw(ptr %77, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %263 unwind label %79

79:                                               ; preds = %78, %70
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %5, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %6, align 4
  br label %254

83:                                               ; preds = %76
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %5, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %6, align 4
  call void @__cxa_free_exception(ptr %77) #7
  br label %254

87:                                               ; preds = %73
  br label %88

88:                                               ; preds = %250, %87
  br label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %90 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %91 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef %14, i64 noundef 4)
          to label %92 unwind label %97

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %93 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %94 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %93, ptr noundef %15, i64 noundef 4)
          to label %95 unwind label %101

95:                                               ; preds = %92
  %96 = load i32, ptr %14, align 4, !tbaa !29
  switch i32 %96, label %241 [
    i32 544501094, label %105
    i32 1635017060, label %221
  ]

97:                                               ; preds = %89
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %5, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %6, align 4
  br label %252

101:                                              ; preds = %241, %92
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %5, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %6, align 4
  br label %251

105:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 2, ptr %16) #7
  %106 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %107 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %106, ptr noundef %16, i64 noundef 2)
          to label %108 unwind label %133

108:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #7
  %109 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %110 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %109, ptr noundef %17, i64 noundef 2)
          to label %111 unwind label %137

111:                                              ; preds = %108
  %112 = load i16, ptr %17, align 2, !tbaa !30
  %113 = trunc i16 %112 to i8
  %114 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %115 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %114, i32 0, i32 2
  store i8 %113, ptr %115, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %116 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %117 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %116, ptr noundef %18, i64 noundef 4)
          to label %118 unwind label %141

118:                                              ; preds = %111
  %119 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %120 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %119, i64 noundef 4, i32 noundef 1)
          to label %121 unwind label %141

121:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #7
  %122 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %123 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %122, ptr noundef %19, i64 noundef 2)
          to label %124 unwind label %145

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 2, ptr %20) #7
  %125 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %126 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %125, ptr noundef %20, i64 noundef 2)
          to label %127 unwind label %149

127:                                              ; preds = %124
  %128 = load i32, ptr %18, align 4, !tbaa !29
  %129 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %130 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %129, i32 0, i32 1
  store i32 %128, ptr %130, align 4, !tbaa !33
  %131 = load i16, ptr %16, align 2, !tbaa !30
  %132 = zext i16 %131 to i32
  switch i32 %132, label %208 [
    i32 1, label %153
    i32 3, label %173
    i32 17, label %187
  ]

133:                                              ; preds = %105
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %5, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %6, align 4
  br label %220

137:                                              ; preds = %108
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %5, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %6, align 4
  br label %219

141:                                              ; preds = %118, %111
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %5, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %6, align 4
  br label %218

145:                                              ; preds = %121
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %5, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %6, align 4
  br label %217

149:                                              ; preds = %210, %181, %167, %124
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %5, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %6, align 4
  br label %216

153:                                              ; preds = %127
  %154 = load i16, ptr %20, align 2, !tbaa !30
  %155 = zext i16 %154 to i32
  switch i32 %155, label %165 [
    i32 8, label %156
    i32 16, label %159
    i32 32, label %162
  ]

156:                                              ; preds = %153
  %157 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %158 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %157, i32 0, i32 0
  store i32 1, ptr %158, align 8, !tbaa !34
  br label %172

159:                                              ; preds = %153
  %160 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %161 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %160, i32 0, i32 0
  store i32 2, ptr %161, align 8, !tbaa !34
  br label %172

162:                                              ; preds = %153
  %163 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %164 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %163, i32 0, i32 0
  store i32 3, ptr %164, align 8, !tbaa !34
  br label %172

165:                                              ; preds = %153
  %166 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %166, ptr noundef @.str.2)
          to label %167 unwind label %168

167:                                              ; preds = %165
  invoke void @__cxa_throw(ptr %166, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %263 unwind label %149

168:                                              ; preds = %165
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %5, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %6, align 4
  call void @__cxa_free_exception(ptr %166) #7
  br label %216

172:                                              ; preds = %162, %159, %156
  br label %215

173:                                              ; preds = %127
  %174 = load i16, ptr %20, align 2, !tbaa !30
  %175 = zext i16 %174 to i32
  switch i32 %175, label %179 [
    i32 32, label %176
  ]

176:                                              ; preds = %173
  %177 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %178 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %177, i32 0, i32 0
  store i32 4, ptr %178, align 8, !tbaa !34
  br label %186

179:                                              ; preds = %173
  %180 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %180, ptr noundef @.str.2)
          to label %181 unwind label %182

181:                                              ; preds = %179
  invoke void @__cxa_throw(ptr %180, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %263 unwind label %149

182:                                              ; preds = %179
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %5, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %6, align 4
  call void @__cxa_free_exception(ptr %180) #7
  br label %216

186:                                              ; preds = %176
  br label %215

187:                                              ; preds = %127
  %188 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 2
  %189 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %188, i32 0, i32 0
  store i32 2, ptr %189, align 8, !tbaa !34
  %190 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 3
  store i8 1, ptr %190, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  %191 = getelementptr inbounds %"struct.mixr::Stream::ADPCMInfo", ptr %21, i32 0, i32 0
  store i32 0, ptr %191, align 8, !tbaa !35
  %192 = getelementptr inbounds %"struct.mixr::Stream::ADPCMInfo", ptr %21, i32 0, i32 1
  %193 = load i16, ptr %19, align 2, !tbaa !30
  %194 = zext i16 %193 to i64
  store i64 %194, ptr %192, align 8, !tbaa !36
  %195 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %195, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !37
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 2, ptr %22) #7
  %196 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %197 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %196, ptr noundef %22, i64 noundef 2)
          to label %198 unwind label %204

198:                                              ; preds = %187
  %199 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %200 = load i16, ptr %22, align 2, !tbaa !30
  %201 = zext i16 %200 to i64
  %202 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %199, i64 noundef %201, i32 noundef 1)
          to label %203 unwind label %204

203:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #7
  br label %215

204:                                              ; preds = %198, %187
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %5, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #7
  br label %216

208:                                              ; preds = %127
  %209 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %209, ptr noundef @.str.2)
          to label %210 unwind label %211

210:                                              ; preds = %208
  invoke void @__cxa_throw(ptr %209, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #8
          to label %263 unwind label %149

211:                                              ; preds = %208
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %5, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %6, align 4
  call void @__cxa_free_exception(ptr %209) #7
  br label %216

215:                                              ; preds = %203, %186, %172
  call void @llvm.lifetime.end.p0(i64 2, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 2, ptr %16) #7
  br label %247

216:                                              ; preds = %211, %204, %182, %168, %149
  call void @llvm.lifetime.end.p0(i64 2, ptr %20) #7
  br label %217

217:                                              ; preds = %216, %145
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #7
  br label %218

218:                                              ; preds = %217, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %219

219:                                              ; preds = %218, %137
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #7
  br label %220

220:                                              ; preds = %219, %133
  call void @llvm.lifetime.end.p0(i64 2, ptr %16) #7
  br label %251

221:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  %222 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %223 = invoke { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %222)
          to label %224 unwind label %237

224:                                              ; preds = %221
  %225 = getelementptr inbounds { i64, i64 }, ptr %23, i32 0, i32 0
  %226 = extractvalue { i64, i64 } %223, 0
  store i64 %226, ptr %225, align 8
  %227 = getelementptr inbounds { i64, i64 }, ptr %23, i32 0, i32 1
  %228 = extractvalue { i64, i64 } %223, 1
  store i64 %228, ptr %227, align 8
  %229 = invoke noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %230 unwind label %237

230:                                              ; preds = %224
  %231 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 6
  store i64 %229, ptr %231, align 8, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  %232 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 6
  %233 = load i64, ptr %232, align 8, !tbaa !40
  %234 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 7
  store i64 %233, ptr %234, align 8, !tbaa !41
  %235 = load i32, ptr %15, align 4, !tbaa !29
  %236 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 8
  store i32 %235, ptr %236, align 8, !tbaa !42
  store i32 1, ptr %24, align 4
  br label %248

237:                                              ; preds = %224, %221
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %5, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  br label %251

241:                                              ; preds = %95
  %242 = getelementptr inbounds %"class.mixr::Stream::Wav", ptr %25, i32 0, i32 1
  %243 = load i32, ptr %15, align 4, !tbaa !29
  %244 = zext i32 %243 to i64
  %245 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %242, i64 noundef %244, i32 noundef 1)
          to label %246 unwind label %101

246:                                              ; preds = %241
  br label %247

247:                                              ; preds = %246, %215
  store i32 0, ptr %24, align 4
  br label %248

248:                                              ; preds = %247, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %249 = load i32, ptr %24, align 4
  switch i32 %249, label %253 [
    i32 0, label %250
  ]

250:                                              ; preds = %248
  br label %88, !llvm.loop !43

251:                                              ; preds = %237, %220, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %252

252:                                              ; preds = %251, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %254

253:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret void

254:                                              ; preds = %252, %83, %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %255

255:                                              ; preds = %254, %63, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %256

256:                                              ; preds = %255, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %26) #7
  br label %257

257:                                              ; preds = %256, %46
  call void @_ZN4mixr6Stream11AudioStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %258

258:                                              ; preds = %257
  %259 = load ptr, ptr %5, align 8
  %260 = load i32, ptr %6, align 4
  %261 = insertvalue { ptr, i32 } poison, ptr %259, 0
  %262 = insertvalue { ptr, i32 } %261, i32 %260, 1
  resume { ptr, i32 } %262

263:                                              ; preds = %210, %181, %167, %78, %45
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4mixr6Stream11AudioStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(256)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) #4

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) #4

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

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4mixr6Stream11AudioStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { "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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { noreturn }

!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, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !21, i64 540}
!12 = !{!"_ZTSN4mixr6Stream3WavE", !13, i64 0, !14, i64 8, !25, i64 528, !21, i64 540, !27, i64 544, !16, i64 560, !16, i64 568, !24, i64 576}
!13 = !{!"_ZTSN4mixr6Stream11AudioStreamE"}
!14 = !{!"_ZTSSt14basic_ifstreamIcSt11char_traitsIcEE", !15, i64 0, !17, i64 16}
!15 = !{!"_ZTSSi", !16, i64 8}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !18, i64 0, !7, i64 64, !20, i64 104, !22, i64 120, !23, i64 124, !23, i64 132, !23, i64 140, !6, i64 152, !16, i64 160, !21, i64 168, !21, i64 169, !21, i64 170, !7, i64 171, !6, i64 176, !6, i64 184, !21, i64 192, !6, i64 200, !6, i64 208, !16, i64 216, !6, i64 224, !6, i64 232}
!18 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !19, i64 56}
!19 = !{!"_ZTSSt6locale", !6, i64 0}
!20 = !{!"_ZTSSt12__basic_fileIcE", !6, i64 0, !21, i64 8}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!23 = !{!"_ZTS11__mbstate_t", !24, i64 0, !7, i64 4}
!24 = !{!"int", !7, i64 0}
!25 = !{!"_ZTSN4mixr11AudioFormatE", !26, i64 0, !24, i64 4, !7, i64 8}
!26 = !{!"_ZTSN4mixr8DataTypeE", !7, i64 0}
!27 = !{!"_ZTSN4mixr6Stream9ADPCMInfoE", !28, i64 0, !16, i64 8}
!28 = !{!"_ZTSN4mixr6Stream9ADPCMTypeE", !7, i64 0}
!29 = !{!24, !24, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"short", !7, i64 0}
!32 = !{!12, !7, i64 536}
!33 = !{!12, !24, i64 532}
!34 = !{!12, !26, i64 528}
!35 = !{!27, !28, i64 0}
!36 = !{!27, !16, i64 8}
!37 = !{i64 0, i64 4, !38, i64 8, i64 8, !39}
!38 = !{!28, !28, i64 0}
!39 = !{!16, !16, i64 0}
!40 = !{!12, !16, i64 560}
!41 = !{!12, !16, i64 568}
!42 = !{!12, !24, i64 576}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}


; 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.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::fpos" = type { i64, %struct.__mbstate_t }

@_ZTVN4mixr6Stream3WavE = external dso_local unnamed_addr constant { [11 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [51 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.1 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4mixr6Stream3WavC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(580) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::basic_ifstream", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i32, align 4
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = alloca %"class.std::fpos", align 8
  tail call void @_ZN4mixr6Stream11AudioStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  store ptr getelementptr inbounds inrange(-16, 72) (i8, ptr @_ZTVN4mixr6Stream3WavE, i64 16), ptr %0, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %15)
          to label %16 unwind label %28

16:                                               ; preds = %2
  %17 = getelementptr inbounds i8, ptr %0, i64 540
  store i8 0, ptr %17, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %3) #6
  %18 = tail call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %3, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %18)
          to label %19 unwind label %30

19:                                               ; preds = %16
  %20 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(256) %15, ptr noundef nonnull align 8 dereferenceable(256) %3)
          to label %21 unwind label %32

21:                                               ; preds = %19
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %3) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %22 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %4, i64 noundef 4)
          to label %23 unwind label %35

23:                                               ; preds = %21
  %24 = load i32, ptr %4, align 4, !tbaa !28
  %.not = icmp eq i32 %24, 1179011410
  br i1 %.not, label %39, label %25

25:                                               ; preds = %23
  %26 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull @.str)
          to label %27 unwind label %37

27:                                               ; preds = %25
  invoke void @__cxa_throw(ptr nonnull %26, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #7
          to label %152 unwind label %35

28:                                               ; preds = %2
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %151

30:                                               ; preds = %16
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %34

32:                                               ; preds = %19
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %3) #6
  br label %34

34:                                               ; preds = %32, %30
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %3) #6
  br label %150

35:                                               ; preds = %39, %27, %21
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %149

37:                                               ; preds = %25
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %26) #6
  br label %149

39:                                               ; preds = %23
  %40 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef 4, i32 noundef 1)
          to label %41 unwind label %35

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %5, i64 noundef 4)
          to label %43 unwind label %52

43:                                               ; preds = %41
  %44 = load i32, ptr %5, align 4, !tbaa !28
  %.not20 = icmp eq i32 %44, 1163280727
  br i1 %.not20, label %.preheader, label %49

.preheader:                                       ; preds = %43
  %45 = getelementptr inbounds i8, ptr %0, i64 528
  %46 = getelementptr inbounds i8, ptr %0, i64 536
  %47 = getelementptr inbounds i8, ptr %0, i64 532
  %48 = getelementptr inbounds i8, ptr %0, i64 544
  %.sroa.42.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 552
  br label %56

49:                                               ; preds = %43
  %50 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull @.str.1)
          to label %51 unwind label %54

51:                                               ; preds = %49
  invoke void @__cxa_throw(ptr nonnull %50, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #7
          to label %152 unwind label %52

52:                                               ; preds = %51, %41
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %148

54:                                               ; preds = %49
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %50) #6
  br label %148

56:                                               ; preds = %.preheader, %145
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %57 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %6, i64 noundef 4)
          to label %58 unwind label %62

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %7, i64 noundef 4)
          to label %60 unwind label %64

60:                                               ; preds = %58
  %61 = load i32, ptr %6, align 4, !tbaa !28
  switch i32 %61, label %141 [
    i32 544501094, label %66
    i32 1635017060, label %129
  ]

62:                                               ; preds = %56
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %147

64:                                               ; preds = %141, %58
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %146

66:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #6
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %8, i64 noundef 2)
          to label %68 unwind label %83

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #6
  %69 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %9, i64 noundef 2)
          to label %70 unwind label %85

70:                                               ; preds = %68
  %71 = load i16, ptr %9, align 2, !tbaa !29
  %72 = trunc i16 %71 to i8
  store i8 %72, ptr %46, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %73 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %10, i64 noundef 4)
          to label %74 unwind label %87

74:                                               ; preds = %70
  %75 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef 4, i32 noundef 1)
          to label %76 unwind label %87

76:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #6
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %11, i64 noundef 2)
          to label %78 unwind label %89

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #6
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %12, i64 noundef 2)
          to label %80 unwind label %.loopexit

80:                                               ; preds = %78
  %81 = load i32, ptr %10, align 4, !tbaa !28
  store i32 %81, ptr %47, align 4, !tbaa !32
  %82 = load i16, ptr %8, align 2, !tbaa !29
  switch i16 %82, label %119 [
    i16 1, label %91
    i16 3, label %101
    i16 17, label %108
  ]

83:                                               ; preds = %66
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %128

85:                                               ; preds = %68
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %127

87:                                               ; preds = %74, %70
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %126

89:                                               ; preds = %76
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %125

.loopexit:                                        ; preds = %78
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %124

.loopexit.split-lp:                               ; preds = %.invoke
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %124

91:                                               ; preds = %80
  %92 = load i16, ptr %12, align 2, !tbaa !29
  switch i16 %92, label %96 [
    i16 8, label %93
    i16 16, label %94
    i16 32, label %95
  ]

93:                                               ; preds = %91
  store i32 1, ptr %45, align 8, !tbaa !33
  br label %123

94:                                               ; preds = %91
  store i32 2, ptr %45, align 8, !tbaa !33
  br label %123

95:                                               ; preds = %91
  store i32 3, ptr %45, align 8, !tbaa !33
  br label %123

96:                                               ; preds = %91
  %97 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %97, ptr noundef nonnull @.str.2)
          to label %.invoke unwind label %99

.invoke:                                          ; preds = %119, %104, %96
  %98 = phi ptr [ %97, %96 ], [ %105, %104 ], [ %120, %119 ]
  invoke void @__cxa_throw(ptr nonnull %98, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #7
          to label %.cont unwind label %.loopexit.split-lp

.cont:                                            ; preds = %.invoke
  unreachable

99:                                               ; preds = %96
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %97) #6
  br label %124

101:                                              ; preds = %80
  %102 = load i16, ptr %12, align 2, !tbaa !29
  %cond1 = icmp eq i16 %102, 32
  br i1 %cond1, label %103, label %104

103:                                              ; preds = %101
  store i32 4, ptr %45, align 8, !tbaa !33
  br label %123

104:                                              ; preds = %101
  %105 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %105, ptr noundef nonnull @.str.2)
          to label %.invoke unwind label %106

106:                                              ; preds = %104
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %105) #6
  br label %124

108:                                              ; preds = %80
  store i32 2, ptr %45, align 8, !tbaa !33
  store i8 1, ptr %17, align 4, !tbaa !8
  %109 = load i16, ptr %11, align 2, !tbaa !29
  %110 = zext i16 %109 to i64
  store i32 0, ptr %48, align 8, !tbaa !34
  store i64 %110, ptr %.sroa.42.0..sroa_idx, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #6
  %111 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull %13, i64 noundef 2)
          to label %112 unwind label %117

112:                                              ; preds = %108
  %113 = load i16, ptr %13, align 2, !tbaa !29
  %114 = zext i16 %113 to i64
  %115 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %114, i32 noundef 1)
          to label %116 unwind label %117

116:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #6
  br label %123

117:                                              ; preds = %112, %108
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #6
  br label %124

119:                                              ; preds = %80
  %120 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %120, ptr noundef nonnull @.str.2)
          to label %.invoke unwind label %121

121:                                              ; preds = %119
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %120) #6
  br label %124

123:                                              ; preds = %93, %94, %95, %116, %103
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #6
  br label %145

124:                                              ; preds = %.loopexit, %.loopexit.split-lp, %121, %117, %106, %99
  %.pn21 = phi { ptr, i32 } [ %122, %121 ], [ %118, %117 ], [ %107, %106 ], [ %100, %99 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #6
  br label %125

125:                                              ; preds = %124, %89
  %.pn21.pn = phi { ptr, i32 } [ %.pn21, %124 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #6
  br label %126

126:                                              ; preds = %125, %87
  %.pn21.pn.pn = phi { ptr, i32 } [ %.pn21.pn, %125 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %127

127:                                              ; preds = %126, %85
  %.pn21.pn.pn.pn = phi { ptr, i32 } [ %.pn21.pn.pn, %126 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #6
  br label %128

128:                                              ; preds = %127, %83
  %.pn21.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn21.pn.pn.pn, %127 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #6
  br label %146

129:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %130 = invoke { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %.critedge unwind label %139

.critedge:                                        ; preds = %129
  %131 = extractvalue { i64, i64 } %130, 0
  store i64 %131, ptr %14, align 8
  %132 = getelementptr inbounds i8, ptr %14, i64 8
  %133 = extractvalue { i64, i64 } %130, 1
  store i64 %133, ptr %132, align 8
  %134 = call noundef i64 @_ZNKSt4fposI11__mbstate_tEcvlEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  %135 = getelementptr inbounds i8, ptr %0, i64 560
  store i64 %134, ptr %135, align 8, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  %136 = getelementptr inbounds i8, ptr %0, i64 568
  store i64 %134, ptr %136, align 8, !tbaa !37
  %137 = load i32, ptr %7, align 4, !tbaa !28
  %138 = getelementptr inbounds i8, ptr %0, i64 576
  store i32 %137, ptr %138, align 8, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  ret void

139:                                              ; preds = %129
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  br label %146

141:                                              ; preds = %60
  %142 = load i32, ptr %7, align 4, !tbaa !28
  %143 = zext i32 %142 to i64
  %144 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef %143, i32 noundef 1)
          to label %145 unwind label %64

145:                                              ; preds = %123, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %56, !llvm.loop !39

146:                                              ; preds = %139, %128, %64
  %.pn27 = phi { ptr, i32 } [ %65, %64 ], [ %140, %139 ], [ %.pn21.pn.pn.pn.pn, %128 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %147

147:                                              ; preds = %146, %62
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %146 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %148

148:                                              ; preds = %147, %54, %52
  %.pn30 = phi { ptr, i32 } [ %53, %52 ], [ %55, %54 ], [ %.pn27.pn, %147 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %149

149:                                              ; preds = %148, %37, %35
  %.pn32 = phi { ptr, i32 } [ %36, %35 ], [ %38, %37 ], [ %.pn30, %148 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %150

150:                                              ; preds = %149, %34
  %.pn32.pn = phi { ptr, i32 } [ %.pn32, %149 ], [ %.pn, %34 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %15) #6
  br label %151

151:                                              ; preds = %150, %28
  %.pn32.pn.pn = phi { ptr, i32 } [ %.pn32.pn, %150 ], [ %29, %28 ]
  call void @_ZN4mixr6Stream11AudioStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  resume { ptr, i32 } %.pn32.pn.pn

152:                                              ; preds = %51, %27
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4mixr6Stream11AudioStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) local_unnamed_addr #4

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi5seekgElSt12_Ios_Seekdir(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i32 noundef) local_unnamed_addr #4

declare { i64, i64 } @_ZNSi5tellgEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4mixr6Stream11AudioStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !20, i64 540}
!9 = !{!"_ZTSN4mixr6Stream3WavE", !10, i64 0, !11, i64 8, !24, i64 528, !20, i64 540, !26, i64 544, !13, i64 560, !13, i64 568, !23, i64 576}
!10 = !{!"_ZTSN4mixr6Stream11AudioStreamE"}
!11 = !{!"_ZTSSt14basic_ifstreamIcSt11char_traitsIcEE", !12, i64 0, !15, i64 16}
!12 = !{!"_ZTSSi", !13, i64 8}
!13 = !{!"long", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !16, i64 0, !14, i64 64, !19, i64 104, !21, i64 120, !22, i64 124, !22, i64 132, !22, i64 140, !17, i64 152, !13, i64 160, !20, i64 168, !20, i64 169, !20, i64 170, !14, i64 171, !17, i64 176, !17, i64 184, !20, i64 192, !17, i64 200, !17, i64 208, !13, i64 216, !17, i64 224, !17, i64 232}
!16 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !18, i64 56}
!17 = !{!"any pointer", !14, i64 0}
!18 = !{!"_ZTSSt6locale", !17, i64 0}
!19 = !{!"_ZTSSt12__basic_fileIcE", !17, i64 0, !20, i64 8}
!20 = !{!"bool", !14, i64 0}
!21 = !{!"_ZTSSt13_Ios_Openmode", !14, i64 0}
!22 = !{!"_ZTS11__mbstate_t", !23, i64 0, !14, i64 4}
!23 = !{!"int", !14, i64 0}
!24 = !{!"_ZTSN4mixr11AudioFormatE", !25, i64 0, !23, i64 4, !14, i64 8}
!25 = !{!"_ZTSN4mixr8DataTypeE", !14, i64 0}
!26 = !{!"_ZTSN4mixr6Stream9ADPCMInfoE", !27, i64 0, !13, i64 8}
!27 = !{!"_ZTSN4mixr6Stream9ADPCMTypeE", !14, i64 0}
!28 = !{!23, !23, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"short", !14, i64 0}
!31 = !{!9, !14, i64 536}
!32 = !{!9, !23, i64 532}
!33 = !{!9, !25, i64 528}
!34 = !{!27, !27, i64 0}
!35 = !{!13, !13, i64 0}
!36 = !{!9, !13, i64 560}
!37 = !{!9, !13, i64 568}
!38 = !{!9, !23, i64 576}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass