; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/common (alcomplex)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array" = type { [12 x %"class.al::span.0"] }
%"class.al::span.0" = type { ptr, i64 }
%"struct.std::array.1" = type { [11 x %"class.std::complex"] }
%"class.std::complex" = type { { double, double } }
%"class.al::span" = type { ptr, i64 }
%"class.al::ptr_wrapper" = type { ptr }
%"struct.std::pair" = type { i16, i16 }

@_ZN12_GLOBAL__N_112gBitReversesE = external hidden constant %"struct.std::array", align 8
@_ZN12_GLOBAL__N_19gArgAngleIdEE = external hidden constant %"struct.std::array.1", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._Z11complex_fftN2al4spanISt7complexIdELm18446744073709551615EEEd = external hidden unnamed_addr constant [69 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11complex_fftN2al4spanISt7complexIdELm18446744073709551615EEEd(ptr %0, i64 %1, double noundef %2) #0 {
  %4 = alloca %"class.al::span", align 8
  %5 = alloca double, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.al::ptr_wrapper", align 8
  %10 = alloca %"class.al::ptr_wrapper", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca %"class.std::complex", align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca %"class.std::complex", align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca double, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca double, align 8
  %35 = alloca %"class.std::complex", align 8
  %36 = alloca double, align 8
  %37 = alloca %"class.std::complex", align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca %"class.std::complex", align 8
  %41 = alloca %"class.std::complex", align 8
  %42 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 0
  store ptr %0, ptr %42, align 8
  %43 = getelementptr inbounds { ptr, i64 }, ptr %4, i32 0, i32 1
  store i64 %1, ptr %43, align 8
  store double %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %44 = call noundef i64 @_ZNK2al4spanISt7complexIdELm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  store i64 %44, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %45 = load i64, ptr %6, align 8, !tbaa !9
  %46 = call noundef i32 @_ZN2al11countr_zeroImEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i64 noundef %45) #9
  %47 = sext i32 %46 to i64
  store i64 %47, ptr %7, align 8, !tbaa !9
  %48 = load i64, ptr %7, align 8, !tbaa !9
  %49 = call noundef i64 @_ZNKSt5arrayIN2al4spanIKSt4pairIttELm18446744073709551615EEELm12EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(192) @_ZN12_GLOBAL__N_112gBitReversesE) #10
  %50 = icmp ult i64 %48, %49
  %51 = call i1 @llvm.expect.i1(i1 %50, i1 true)
  br i1 %51, label %52, label %181

52:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %53 = load i64, ptr %7, align 8, !tbaa !9
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt5arrayIN2al4spanIKSt4pairIttELm18446744073709551615EEELm12EEixEm(ptr noundef nonnull align 8 dereferenceable(192) @_ZN12_GLOBAL__N_112gBitReversesE, i64 noundef %53) #9
  store ptr %54, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %55 = load ptr, ptr %8, align 8, !tbaa !11
  %56 = call ptr @_ZNK2al4spanIKSt4pairIttELm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %55) #9
  %57 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %9, i32 0, i32 0
  store ptr %56, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %58 = load ptr, ptr %8, align 8, !tbaa !11
  %59 = call ptr @_ZNK2al4spanIKSt4pairIttELm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %58) #9
  %60 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %10, i32 0, i32 0
  store ptr %59, ptr %60, align 8
  br label %61

61:                                               ; preds = %76, %52
  %62 = call noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPKSt4pairIttEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br i1 %62, label %64, label %63

63:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %78

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %65 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPKSt4pairIttEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  store ptr %65, ptr %11, align 8, !tbaa !11
  %66 = load ptr, ptr %11, align 8, !tbaa !11
  %67 = getelementptr inbounds %"struct.std::pair", ptr %66, i32 0, i32 0
  %68 = load i16, ptr %67, align 2, !tbaa !13
  %69 = zext i16 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %69)
  %71 = load ptr, ptr %11, align 8, !tbaa !11
  %72 = getelementptr inbounds %"struct.std::pair", ptr %71, i32 0, i32 1
  %73 = load i16, ptr %72, align 2, !tbaa !16
  %74 = zext i16 %73 to i64
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %74)
  call void @_ZSt4swapISt7complexIdEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 8 dereferenceable(16) %75) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %76

76:                                               ; preds = %64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPKSt4pairIttEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  br label %61

78:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %79

79:                                               ; preds = %177, %78
  %80 = load i64, ptr %12, align 8, !tbaa !9
  %81 = load i64, ptr %7, align 8, !tbaa !9
  %82 = icmp ult i64 %80, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %79
  store i32 4, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %180

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %85 = call noundef i64 @_Zli3_uzy(i64 noundef 1) #9
  %86 = load i64, ptr %12, align 8, !tbaa !9
  %87 = shl i64 %85, %86
  store i64 %87, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %88 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #9
  %89 = load i64, ptr %12, align 8, !tbaa !9
  %90 = shl i64 %88, %89
  store i64 %90, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %91

91:                                               ; preds = %116, %84
  %92 = load i64, ptr %16, align 8, !tbaa !9
  %93 = load i64, ptr %6, align 8, !tbaa !9
  %94 = icmp ult i64 %92, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  store i32 7, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %120

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %97 = load i64, ptr %16, align 8, !tbaa !9
  %98 = load i64, ptr %14, align 8, !tbaa !9
  %99 = add i64 %97, %98
  %100 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %99)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %100, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  %101 = load i64, ptr %16, align 8, !tbaa !9
  %102 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %101)
  %103 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %102, ptr noundef nonnull align 8 dereferenceable(16) %17)
  %104 = getelementptr inbounds %"class.std::complex", ptr %18, i32 0, i32 0
  %105 = getelementptr inbounds { double, double }, ptr %104, i32 0, i32 0
  %106 = extractvalue { double, double } %103, 0
  store double %106, ptr %105, align 8
  %107 = getelementptr inbounds { double, double }, ptr %104, i32 0, i32 1
  %108 = extractvalue { double, double } %103, 1
  store double %108, ptr %107, align 8
  %109 = load i64, ptr %16, align 8, !tbaa !9
  %110 = load i64, ptr %14, align 8, !tbaa !9
  %111 = add i64 %109, %110
  %112 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %111)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %112, ptr align 8 %18, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  %113 = load i64, ptr %16, align 8, !tbaa !9
  %114 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %113)
  %115 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %114, ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %116

116:                                              ; preds = %96
  %117 = load i64, ptr %15, align 8, !tbaa !9
  %118 = load i64, ptr %16, align 8, !tbaa !9
  %119 = add i64 %118, %117
  store i64 %119, ptr %16, align 8, !tbaa !9
  br label %91, !llvm.loop !19

120:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  %121 = load i64, ptr %12, align 8, !tbaa !9
  %122 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt5arrayISt7complexIdELm11EEixEm(ptr noundef nonnull align 8 dereferenceable(176) @_ZN12_GLOBAL__N_19gArgAngleIdEE, i64 noundef %121) #9
  %123 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %122)
  %124 = load i64, ptr %12, align 8, !tbaa !9
  %125 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt5arrayISt7complexIdELm11EEixEm(ptr noundef nonnull align 8 dereferenceable(176) @_ZN12_GLOBAL__N_19gArgAngleIdEE, i64 noundef %124) #9
  %126 = call noundef double @_ZNKSt7complexIdE4imagB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %125)
  %127 = load double, ptr %5, align 8, !tbaa !5
  %128 = fmul double %126, %127
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %19, double noundef %123, double noundef %128)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %129

129:                                              ; preds = %173, %120
  %130 = load i64, ptr %21, align 8, !tbaa !9
  %131 = load i64, ptr %14, align 8, !tbaa !9
  %132 = icmp ult i64 %130, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %129
  store i32 10, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %176

134:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %135 = load i64, ptr %21, align 8, !tbaa !9
  store i64 %135, ptr %22, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %167, %134
  %137 = load i64, ptr %22, align 8, !tbaa !9
  %138 = load i64, ptr %6, align 8, !tbaa !9
  %139 = icmp ult i64 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 13, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %171

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #9
  %142 = load i64, ptr %22, align 8, !tbaa !9
  %143 = load i64, ptr %14, align 8, !tbaa !9
  %144 = add i64 %142, %143
  %145 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %144)
  %146 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %145, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %147 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  %148 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 0
  %149 = extractvalue { double, double } %146, 0
  store double %149, ptr %148, align 8
  %150 = getelementptr inbounds { double, double }, ptr %147, i32 0, i32 1
  %151 = extractvalue { double, double } %146, 1
  store double %151, ptr %150, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #9
  %152 = load i64, ptr %22, align 8, !tbaa !9
  %153 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %152)
  %154 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %153, ptr noundef nonnull align 8 dereferenceable(16) %23)
  %155 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  %156 = getelementptr inbounds { double, double }, ptr %155, i32 0, i32 0
  %157 = extractvalue { double, double } %154, 0
  store double %157, ptr %156, align 8
  %158 = getelementptr inbounds { double, double }, ptr %155, i32 0, i32 1
  %159 = extractvalue { double, double } %154, 1
  store double %159, ptr %158, align 8
  %160 = load i64, ptr %22, align 8, !tbaa !9
  %161 = load i64, ptr %14, align 8, !tbaa !9
  %162 = add i64 %160, %161
  %163 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %162)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %163, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #9
  %164 = load i64, ptr %22, align 8, !tbaa !9
  %165 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %164)
  %166 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %165, ptr noundef nonnull align 8 dereferenceable(16) %23)
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #9
  br label %167

167:                                              ; preds = %141
  %168 = load i64, ptr %15, align 8, !tbaa !9
  %169 = load i64, ptr %22, align 8, !tbaa !9
  %170 = add i64 %169, %168
  store i64 %170, ptr %22, align 8, !tbaa !9
  br label %136, !llvm.loop !21

171:                                              ; preds = %140
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEmLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %19)
  br label %173

173:                                              ; preds = %171
  %174 = load i64, ptr %21, align 8, !tbaa !9
  %175 = add i64 %174, 1
  store i64 %175, ptr %21, align 8, !tbaa !9
  br label %129, !llvm.loop !22

176:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %177

177:                                              ; preds = %176
  %178 = load i64, ptr %12, align 8, !tbaa !9
  %179 = add i64 %178, 1
  store i64 %179, ptr %12, align 8, !tbaa !9
  br label %79, !llvm.loop !23

180:                                              ; preds = %83
  br label %353

181:                                              ; preds = %3
  %182 = load i64, ptr %7, align 8, !tbaa !9
  %183 = icmp ult i64 %182, 32
  br i1 %183, label %184, label %185

184:                                              ; preds = %181
  br label %187

185:                                              ; preds = %181
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 158, ptr noundef @__PRETTY_FUNCTION__._Z11complex_fftN2al4spanISt7complexIdELm18446744073709551615EEEd) #11
  unreachable

186:                                              ; No predecessors!
  br label %187

187:                                              ; preds = %186, %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  store i64 1, ptr %25, align 8, !tbaa !9
  br label %188

188:                                              ; preds = %243, %187
  %189 = load i64, ptr %25, align 8, !tbaa !9
  %190 = load i64, ptr %6, align 8, !tbaa !9
  %191 = sub i64 %190, 1
  %192 = icmp ult i64 %189, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %188
  store i32 16, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %246

194:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %195 = load i64, ptr %25, align 8, !tbaa !9
  store i64 %195, ptr %26, align 8, !tbaa !9
  %196 = load i64, ptr %26, align 8, !tbaa !9
  %197 = and i64 %196, 2863311530
  %198 = lshr i64 %197, 1
  %199 = load i64, ptr %26, align 8, !tbaa !9
  %200 = and i64 %199, 1431655765
  %201 = shl i64 %200, 1
  %202 = or i64 %198, %201
  store i64 %202, ptr %26, align 8, !tbaa !9
  %203 = load i64, ptr %26, align 8, !tbaa !9
  %204 = and i64 %203, 3435973836
  %205 = lshr i64 %204, 2
  %206 = load i64, ptr %26, align 8, !tbaa !9
  %207 = and i64 %206, 858993459
  %208 = shl i64 %207, 2
  %209 = or i64 %205, %208
  store i64 %209, ptr %26, align 8, !tbaa !9
  %210 = load i64, ptr %26, align 8, !tbaa !9
  %211 = and i64 %210, 4042322160
  %212 = lshr i64 %211, 4
  %213 = load i64, ptr %26, align 8, !tbaa !9
  %214 = and i64 %213, 252645135
  %215 = shl i64 %214, 4
  %216 = or i64 %212, %215
  store i64 %216, ptr %26, align 8, !tbaa !9
  %217 = load i64, ptr %26, align 8, !tbaa !9
  %218 = and i64 %217, 4278255360
  %219 = lshr i64 %218, 8
  %220 = load i64, ptr %26, align 8, !tbaa !9
  %221 = and i64 %220, 16711935
  %222 = shl i64 %221, 8
  %223 = or i64 %219, %222
  store i64 %223, ptr %26, align 8, !tbaa !9
  %224 = load i64, ptr %26, align 8, !tbaa !9
  %225 = lshr i64 %224, 16
  %226 = load i64, ptr %26, align 8, !tbaa !9
  %227 = and i64 %226, 65535
  %228 = shl i64 %227, 16
  %229 = or i64 %225, %228
  store i64 %229, ptr %26, align 8, !tbaa !9
  %230 = load i64, ptr %7, align 8, !tbaa !9
  %231 = sub i64 32, %230
  %232 = load i64, ptr %26, align 8, !tbaa !9
  %233 = lshr i64 %232, %231
  store i64 %233, ptr %26, align 8, !tbaa !9
  %234 = load i64, ptr %25, align 8, !tbaa !9
  %235 = load i64, ptr %26, align 8, !tbaa !9
  %236 = icmp ult i64 %234, %235
  br i1 %236, label %237, label %242

237:                                              ; preds = %194
  %238 = load i64, ptr %25, align 8, !tbaa !9
  %239 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %238)
  %240 = load i64, ptr %26, align 8, !tbaa !9
  %241 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %240)
  call void @_ZSt4swapISt7complexIdEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(16) %239, ptr noundef nonnull align 8 dereferenceable(16) %241) #9
  br label %242

242:                                              ; preds = %237, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %243

243:                                              ; preds = %242
  %244 = load i64, ptr %25, align 8, !tbaa !9
  %245 = add i64 %244, 1
  store i64 %245, ptr %25, align 8, !tbaa !9
  br label %188, !llvm.loop !24

246:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %247 = load double, ptr %5, align 8, !tbaa !5
  %248 = fmul double 0x400921FB54442D18, %247
  store double %248, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  store i64 0, ptr %28, align 8, !tbaa !9
  br label %249

249:                                              ; preds = %349, %246
  %250 = load i64, ptr %28, align 8, !tbaa !9
  %251 = load i64, ptr %7, align 8, !tbaa !9
  %252 = icmp ult i64 %250, %251
  br i1 %252, label %254, label %253

253:                                              ; preds = %249
  store i32 19, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %352

254:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %255 = call noundef i64 @_Zli3_uzy(i64 noundef 1) #9
  %256 = load i64, ptr %28, align 8, !tbaa !9
  %257 = shl i64 %255, %256
  store i64 %257, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %258 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #9
  %259 = load i64, ptr %28, align 8, !tbaa !9
  %260 = shl i64 %258, %259
  store i64 %260, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  store i64 0, ptr %31, align 8, !tbaa !9
  br label %261

261:                                              ; preds = %286, %254
  %262 = load i64, ptr %31, align 8, !tbaa !9
  %263 = load i64, ptr %6, align 8, !tbaa !9
  %264 = icmp ult i64 %262, %263
  br i1 %264, label %266, label %265

265:                                              ; preds = %261
  store i32 22, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %290

266:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #9
  %267 = load i64, ptr %31, align 8, !tbaa !9
  %268 = load i64, ptr %29, align 8, !tbaa !9
  %269 = add i64 %267, %268
  %270 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %269)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %270, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #9
  %271 = load i64, ptr %31, align 8, !tbaa !9
  %272 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %271)
  %273 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %272, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %274 = getelementptr inbounds %"class.std::complex", ptr %33, i32 0, i32 0
  %275 = getelementptr inbounds { double, double }, ptr %274, i32 0, i32 0
  %276 = extractvalue { double, double } %273, 0
  store double %276, ptr %275, align 8
  %277 = getelementptr inbounds { double, double }, ptr %274, i32 0, i32 1
  %278 = extractvalue { double, double } %273, 1
  store double %278, ptr %277, align 8
  %279 = load i64, ptr %31, align 8, !tbaa !9
  %280 = load i64, ptr %29, align 8, !tbaa !9
  %281 = add i64 %279, %280
  %282 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %281)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %282, ptr align 8 %33, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #9
  %283 = load i64, ptr %31, align 8, !tbaa !9
  %284 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %283)
  %285 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %284, ptr noundef nonnull align 8 dereferenceable(16) %32)
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  br label %286

286:                                              ; preds = %266
  %287 = load i64, ptr %30, align 8, !tbaa !9
  %288 = load i64, ptr %31, align 8, !tbaa !9
  %289 = add i64 %288, %287
  store i64 %289, ptr %31, align 8, !tbaa !9
  br label %261, !llvm.loop !25

290:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %291 = load double, ptr %27, align 8, !tbaa !5
  %292 = load i64, ptr %29, align 8, !tbaa !9
  %293 = uitofp i64 %292 to double
  %294 = fdiv double %291, %293
  store double %294, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store double 1.000000e+00, ptr %36, align 8, !tbaa !5
  %295 = call { double, double } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %34)
  %296 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  %297 = getelementptr inbounds { double, double }, ptr %296, i32 0, i32 0
  %298 = extractvalue { double, double } %295, 0
  store double %298, ptr %297, align 8
  %299 = getelementptr inbounds { double, double }, ptr %296, i32 0, i32 1
  %300 = extractvalue { double, double } %295, 1
  store double %300, ptr %299, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %35, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  store i64 1, ptr %38, align 8, !tbaa !9
  br label %301

301:                                              ; preds = %345, %290
  %302 = load i64, ptr %38, align 8, !tbaa !9
  %303 = load i64, ptr %29, align 8, !tbaa !9
  %304 = icmp ult i64 %302, %303
  br i1 %304, label %306, label %305

305:                                              ; preds = %301
  store i32 25, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %348

306:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %307 = load i64, ptr %38, align 8, !tbaa !9
  store i64 %307, ptr %39, align 8, !tbaa !9
  br label %308

308:                                              ; preds = %339, %306
  %309 = load i64, ptr %39, align 8, !tbaa !9
  %310 = load i64, ptr %6, align 8, !tbaa !9
  %311 = icmp ult i64 %309, %310
  br i1 %311, label %313, label %312

312:                                              ; preds = %308
  store i32 28, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %343

313:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #9
  %314 = load i64, ptr %39, align 8, !tbaa !9
  %315 = load i64, ptr %29, align 8, !tbaa !9
  %316 = add i64 %314, %315
  %317 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %316)
  %318 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %317, ptr noundef nonnull align 8 dereferenceable(16) %37)
  %319 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  %320 = getelementptr inbounds { double, double }, ptr %319, i32 0, i32 0
  %321 = extractvalue { double, double } %318, 0
  store double %321, ptr %320, align 8
  %322 = getelementptr inbounds { double, double }, ptr %319, i32 0, i32 1
  %323 = extractvalue { double, double } %318, 1
  store double %323, ptr %322, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #9
  %324 = load i64, ptr %39, align 8, !tbaa !9
  %325 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %324)
  %326 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %325, ptr noundef nonnull align 8 dereferenceable(16) %40)
  %327 = getelementptr inbounds %"class.std::complex", ptr %41, i32 0, i32 0
  %328 = getelementptr inbounds { double, double }, ptr %327, i32 0, i32 0
  %329 = extractvalue { double, double } %326, 0
  store double %329, ptr %328, align 8
  %330 = getelementptr inbounds { double, double }, ptr %327, i32 0, i32 1
  %331 = extractvalue { double, double } %326, 1
  store double %331, ptr %330, align 8
  %332 = load i64, ptr %39, align 8, !tbaa !9
  %333 = load i64, ptr %29, align 8, !tbaa !9
  %334 = add i64 %332, %333
  %335 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %334)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %335, ptr align 8 %41, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #9
  %336 = load i64, ptr %39, align 8, !tbaa !9
  %337 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %336)
  %338 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %337, ptr noundef nonnull align 8 dereferenceable(16) %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #9
  br label %339

339:                                              ; preds = %313
  %340 = load i64, ptr %30, align 8, !tbaa !9
  %341 = load i64, ptr %39, align 8, !tbaa !9
  %342 = add i64 %341, %340
  store i64 %342, ptr %39, align 8, !tbaa !9
  br label %308, !llvm.loop !26

343:                                              ; preds = %312
  %344 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEmLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(16) %35)
  br label %345

345:                                              ; preds = %343
  %346 = load i64, ptr %38, align 8, !tbaa !9
  %347 = add i64 %346, 1
  store i64 %347, ptr %38, align 8, !tbaa !9
  br label %301, !llvm.loop !27

348:                                              ; preds = %305
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %349

349:                                              ; preds = %348
  %350 = load i64, ptr %28, align 8, !tbaa !9
  %351 = add i64 %350, 1
  store i64 %351, ptr %28, align 8, !tbaa !9
  br label %249, !llvm.loop !28

352:                                              ; preds = %253
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %353

353:                                              ; preds = %352, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2al11countr_zeroImEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i64 noundef) #3

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef i64 @_ZNKSt5arrayIN2al4spanIKSt4pairIttELm18446744073709551615EEELm12EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(192)) #4 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i1 @llvm.expect.i1(i1, i1) #5

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapISt7complexIdEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Zli3_uzy(i64 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) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #7

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #7

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(none) }
attributes #11 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSSt4pairIttE", !15, i64 0, !15, i64 2}
!15 = !{!"short", !7, i64 0}
!16 = !{!14, !15, i64 2}
!17 = !{i64 0, i64 16, !18}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}


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

%"struct.std::array" = type { [12 x %"class.al::span.0"] }
%"class.al::span.0" = type { ptr, i64 }
%"struct.std::array.1" = type { [11 x %"class.std::complex"] }
%"class.std::complex" = type { { double, double } }
%"class.al::span" = type { ptr, i64 }
%"class.al::ptr_wrapper" = type { ptr }

@_ZN12_GLOBAL__N_112gBitReversesE = external hidden constant %"struct.std::array", align 8
@_ZN12_GLOBAL__N_19gArgAngleIdEE = external hidden constant %"struct.std::array.1", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._Z11complex_fftN2al4spanISt7complexIdELm18446744073709551615EEEd = external hidden unnamed_addr constant [69 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11complex_fftN2al4spanISt7complexIdELm18446744073709551615EEEd(ptr %0, i64 %1, double noundef %2) local_unnamed_addr #0 {
  %4 = alloca %"class.al::span", align 8
  %5 = alloca %"class.al::ptr_wrapper", align 8
  %6 = alloca %"class.al::ptr_wrapper", align 8
  %7 = alloca %"class.std::complex", align 8
  %8 = alloca %"class.std::complex", align 8
  %9 = alloca %"class.std::complex", align 8
  %10 = alloca %"class.std::complex", align 8
  %11 = alloca %"class.std::complex", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  store ptr %0, ptr %4, align 8
  %17 = getelementptr inbounds i8, ptr %4, i64 8
  store i64 %1, ptr %17, align 8
  %18 = call noundef i64 @_ZNK2al4spanISt7complexIdELm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  %19 = call noundef i32 @_ZN2al11countr_zeroImEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i64 noundef %18) #9
  %20 = sext i32 %19 to i64
  %21 = call noundef i64 @_ZNKSt5arrayIN2al4spanIKSt4pairIttELm18446744073709551615EEELm12EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(192) @_ZN12_GLOBAL__N_112gBitReversesE) #10
  %22 = icmp ugt i64 %21, %20
  br i1 %22, label %23, label %79, !prof !5

23:                                               ; preds = %3
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt5arrayIN2al4spanIKSt4pairIttELm18446744073709551615EEELm12EEixEm(ptr noundef nonnull align 8 dereferenceable(192) @_ZN12_GLOBAL__N_112gBitReversesE, i64 noundef %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %25 = call ptr @_ZNK2al4spanIKSt4pairIttELm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %24) #9
  store ptr %25, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %26 = call ptr @_ZNK2al4spanIKSt4pairIttELm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %24) #9
  store ptr %26, ptr %6, align 8
  %27 = call noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPKSt4pairIttEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br i1 %27, label %.lr.ph128, label %._crit_edge129

._crit_edge129:                                   ; preds = %.lr.ph128, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  %.not143 = icmp eq i32 %19, 0
  br i1 %.not143, label %.loopexit, label %.lr.ph141

.lr.ph141:                                        ; preds = %._crit_edge129
  %.not144 = icmp eq i64 %18, 0
  %28 = getelementptr inbounds i8, ptr %10, i64 8
  br label %39

.lr.ph128:                                        ; preds = %23, %.lr.ph128
  %29 = call noundef nonnull align 2 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPKSt4pairIttEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  %30 = load i16, ptr %29, align 2, !tbaa !6
  %31 = zext i16 %30 to i64
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %31)
  %33 = getelementptr inbounds i8, ptr %29, i64 2
  %34 = load i16, ptr %33, align 2, !tbaa !11
  %35 = zext i16 %34 to i64
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %35)
  call void @_ZSt4swapISt7complexIdEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(16) %36) #9
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPKSt4pairIttEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  %38 = call noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPKSt4pairIttEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br i1 %38, label %.lr.ph128, label %._crit_edge129

39:                                               ; preds = %.lr.ph141, %._crit_edge138
  %.0139 = phi i64 [ 0, %.lr.ph141 ], [ %62, %._crit_edge138 ]
  %40 = call noundef i64 @_Zli3_uzy(i64 noundef 1) #9
  %41 = shl i64 %40, %.0139
  %42 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #9
  %43 = shl i64 %42, %.0139
  br i1 %.not144, label %._crit_edge133, label %.lr.ph132

._crit_edge133:                                   ; preds = %.lr.ph132, %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt5arrayISt7complexIdELm11EEixEm(ptr noundef nonnull align 8 dereferenceable(176) @_ZN12_GLOBAL__N_19gArgAngleIdEE, i64 noundef %.0139) #9
  %45 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %44)
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt5arrayISt7complexIdELm11EEixEm(ptr noundef nonnull align 8 dereferenceable(176) @_ZN12_GLOBAL__N_19gArgAngleIdEE, i64 noundef %.0139) #9
  %47 = call noundef double @_ZNKSt7complexIdE4imagB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %46)
  %48 = fmul double %47, %2
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %45, double noundef %48)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8, i64 16, i1 false), !tbaa.struct !12
  %49 = icmp ugt i64 %41, 1
  br i1 %49, label %.preheader, label %._crit_edge138

.lr.ph132:                                        ; preds = %39, %.lr.ph132
  %.099130 = phi i64 [ %59, %.lr.ph132 ], [ 0, %39 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  %50 = add i64 %.099130, %41
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %50)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %51, i64 16, i1 false), !tbaa.struct !12
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.099130)
  %53 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(16) %7)
  %54 = extractvalue { double, double } %53, 0
  %55 = extractvalue { double, double } %53, 1
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %50)
  store double %54, ptr %56, align 8
  %.sroa.459.0..sroa_idx = getelementptr inbounds i8, ptr %56, i64 8
  store double %55, ptr %.sroa.459.0..sroa_idx, align 8, !tbaa !13
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.099130)
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  %59 = add i64 %.099130, %43
  %60 = icmp ult i64 %59, %18
  br i1 %60, label %.lr.ph132, label %._crit_edge133, !llvm.loop !14

.preheader:                                       ; preds = %._crit_edge133, %._crit_edge136
  %.0100137 = phi i64 [ %64, %._crit_edge136 ], [ 1, %._crit_edge133 ]
  %61 = icmp ult i64 %.0100137, %18
  br i1 %61, label %.lr.ph135, label %._crit_edge136

._crit_edge138:                                   ; preds = %._crit_edge136, %._crit_edge133
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  %62 = add nuw i64 %.0139, 1
  %exitcond149.not = icmp eq i64 %62, %20
  br i1 %exitcond149.not, label %.loopexit, label %39, !llvm.loop !16

._crit_edge136:                                   ; preds = %.lr.ph135, %.preheader
  %63 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEmLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
  %64 = add nuw i64 %.0100137, 1
  %exitcond148.not = icmp eq i64 %64, %41
  br i1 %exitcond148.not, label %._crit_edge138, label %.preheader, !llvm.loop !17

.lr.ph135:                                        ; preds = %.preheader, %.lr.ph135
  %.0102134 = phi i64 [ %77, %.lr.ph135 ], [ %.0100137, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  %65 = add i64 %.0102134, %41
  %66 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %65)
  %67 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %68 = extractvalue { double, double } %67, 0
  store double %68, ptr %10, align 8
  %69 = extractvalue { double, double } %67, 1
  store double %69, ptr %28, align 8
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.0102134)
  %71 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 8 dereferenceable(16) %10)
  %72 = extractvalue { double, double } %71, 0
  %73 = extractvalue { double, double } %71, 1
  %74 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %65)
  store double %72, ptr %74, align 8
  %.sroa.448.0..sroa_idx = getelementptr inbounds i8, ptr %74, i64 8
  store double %73, ptr %.sroa.448.0..sroa_idx, align 8, !tbaa !13
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.0102134)
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  %77 = add i64 %.0102134, %43
  %78 = icmp ult i64 %77, %18
  br i1 %78, label %.lr.ph135, label %._crit_edge136, !llvm.loop !18

79:                                               ; preds = %3
  %80 = icmp ult i32 %19, 32
  br i1 %80, label %.preheader113, label %84

.preheader113:                                    ; preds = %79
  %81 = add i64 %18, -1
  %82 = icmp ugt i64 %81, 1
  br i1 %82, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader113
  %83 = sub nuw nsw i64 32, %20
  br label %88

84:                                               ; preds = %79
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 158, ptr noundef nonnull @__PRETTY_FUNCTION__._Z11complex_fftN2al4spanISt7complexIdELm18446744073709551615EEEd) #11
  unreachable

._crit_edge:                                      ; preds = %95, %.preheader113
  %85 = fmul double %2, 0x400921FB54442D18
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %.loopexit, label %.lr.ph126

.lr.ph126:                                        ; preds = %._crit_edge
  %.not142 = icmp eq i64 %18, 0
  %86 = getelementptr inbounds i8, ptr %13, i64 8
  %87 = getelementptr inbounds i8, ptr %16, i64 8
  br label %97

88:                                               ; preds = %.lr.ph, %95
  %.0103114 = phi i64 [ 1, %.lr.ph ], [ %96, %95 ]
  %trunc = trunc i64 %.0103114 to i32
  %rev = call i32 @llvm.bitreverse.i32(i32 %trunc)
  %89 = zext i32 %rev to i64
  %90 = lshr i64 %89, %83
  %91 = icmp ult i64 %.0103114, %90
  br i1 %91, label %92, label %95

92:                                               ; preds = %88
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.0103114)
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %90)
  call void @_ZSt4swapISt7complexIdEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(16) %93, ptr noundef nonnull align 8 dereferenceable(16) %94) #9
  br label %95

95:                                               ; preds = %92, %88
  %96 = add nuw i64 %.0103114, 1
  %exitcond.not = icmp eq i64 %96, %81
  br i1 %exitcond.not, label %._crit_edge, label %88, !llvm.loop !19

97:                                               ; preds = %.lr.ph126, %._crit_edge123
  %.0104124 = phi i64 [ 0, %.lr.ph126 ], [ %120, %._crit_edge123 ]
  %98 = call noundef i64 @_Zli3_uzy(i64 noundef 1) #9
  %99 = shl i64 %98, %.0104124
  %100 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #9
  %101 = shl i64 %100, %.0104124
  br i1 %.not142, label %._crit_edge118, label %.lr.ph117

._crit_edge118:                                   ; preds = %.lr.ph117, %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %102 = uitofp i64 %99 to double
  %103 = fdiv double %85, %102
  store double %103, ptr %12, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  store double 1.000000e+00, ptr %14, align 8, !tbaa !20
  %104 = call { double, double } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %105 = extractvalue { double, double } %104, 0
  store double %105, ptr %13, align 8
  %106 = extractvalue { double, double } %104, 1
  store double %106, ptr %86, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !12
  %107 = icmp ugt i64 %99, 1
  br i1 %107, label %.preheader111, label %._crit_edge123

.lr.ph117:                                        ; preds = %97, %.lr.ph117
  %.0101115 = phi i64 [ %117, %.lr.ph117 ], [ 0, %97 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %108 = add i64 %.0101115, %99
  %109 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %108)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %109, i64 16, i1 false), !tbaa.struct !12
  %110 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.0101115)
  %111 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %110, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %112 = extractvalue { double, double } %111, 0
  %113 = extractvalue { double, double } %111, 1
  %114 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %108)
  store double %112, ptr %114, align 8
  %.sroa.410.0..sroa_idx = getelementptr inbounds i8, ptr %114, i64 8
  store double %113, ptr %.sroa.410.0..sroa_idx, align 8, !tbaa !13
  %115 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.0101115)
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %115, ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  %117 = add i64 %.0101115, %101
  %118 = icmp ult i64 %117, %18
  br i1 %118, label %.lr.ph117, label %._crit_edge118, !llvm.loop !22

.preheader111:                                    ; preds = %._crit_edge118, %._crit_edge121
  %.098122 = phi i64 [ %122, %._crit_edge121 ], [ 1, %._crit_edge118 ]
  %119 = icmp ult i64 %.098122, %18
  br i1 %119, label %.lr.ph120, label %._crit_edge121

._crit_edge123:                                   ; preds = %._crit_edge121, %._crit_edge118
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  %120 = add nuw i64 %.0104124, 1
  %exitcond147.not = icmp eq i64 %120, %20
  br i1 %exitcond147.not, label %.loopexit, label %97, !llvm.loop !23

._crit_edge121:                                   ; preds = %.lr.ph120, %.preheader111
  %121 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEmLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %122 = add nuw i64 %.098122, 1
  %exitcond146.not = icmp eq i64 %122, %99
  br i1 %exitcond146.not, label %._crit_edge123, label %.preheader111, !llvm.loop !24

.lr.ph120:                                        ; preds = %.preheader111, %.lr.ph120
  %.097119 = phi i64 [ %135, %.lr.ph120 ], [ %.098122, %.preheader111 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #9
  %123 = add i64 %.097119, %99
  %124 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %123)
  %125 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %124, ptr noundef nonnull align 8 dereferenceable(16) %15)
  %126 = extractvalue { double, double } %125, 0
  store double %126, ptr %16, align 8
  %127 = extractvalue { double, double } %125, 1
  store double %127, ptr %87, align 8
  %128 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.097119)
  %129 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %128, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %130 = extractvalue { double, double } %129, 0
  %131 = extractvalue { double, double } %129, 1
  %132 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %123)
  store double %130, ptr %132, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %132, i64 8
  store double %131, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !13
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK2al4spanISt7complexIdELm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %.097119)
  %134 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEpLIdEERS0_RKS_IT_E(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef nonnull align 8 dereferenceable(16) %16)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #9
  %135 = add i64 %.097119, %101
  %136 = icmp ult i64 %135, %18
  br i1 %136, label %.lr.ph120, label %._crit_edge121, !llvm.loop !25

.loopexit:                                        ; preds = %._crit_edge123, %._crit_edge138, %._crit_edge, %._crit_edge129
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2al11countr_zeroImEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef i64 @_ZNKSt5arrayIN2al4spanIKSt4pairIttELm18446744073709551615EEELm12EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #4 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapISt7complexIdEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Zli3_uzy(i64 noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.bitreverse.i32(i32) #8

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nofree nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(none) }
attributes #11 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!6 = !{!7, !8, i64 0}
!7 = !{!"_ZTSSt4pairIttE", !8, i64 0, !8, i64 2}
!8 = !{!"short", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!7, !8, i64 2}
!12 = !{i64 0, i64 16, !13}
!13 = !{!9, !9, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !9, i64 0}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass