; LLVM IR from daanx/mimalloc-bench :: bench/cfrac (pcfrac)

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

@cfracNabort = external dso_local global i32, align 4
@cfracTsolns = external dso_local global i32, align 4
@cfracPsolns = external dso_local global i32, align 4
@cfracT2solns = external dso_local global i32, align 4
@cfracFsolns = external dso_local global i32, align 4
@pone = external global ptr, align 8
@verbose = external global i32, align 4
@stdout = external global ptr, align 8
@pcfrac_k = external hidden global i32, align 4
@pcfrac_m = external hidden global i32, align 4
@pcfrac_aborts = external hidden global i32, align 4
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@pzero = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@stderr = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local void @printSoln(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @fputs(ptr noundef, ptr noundef) #4

declare i32 @fputp(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pparmq(ptr noundef) #5

declare i32 @putc(i32 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #6

declare i32 @fflush(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @pdestroy(ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local void @combineSoln(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @psetq(ptr noundef, ptr noundef) #5

declare ptr @pdivmod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @pmul(ptr noundef, ptr noundef) #4

declare ptr @utop(i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @newSoln(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pnew(ptr noundef) #5

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

declare void @free(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @findSoln(ptr noundef, ptr noundef) #3

declare i32 @pcmp(ptr noundef, ptr noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @pfactorbase(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3

declare i32 @picmp(ptr noundef, i32 noundef) #4

declare ptr @psub(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @getEas(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @pfactorQ(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @pcfrac(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %35 = load i32, ptr @pcfrac_k, align 4, !tbaa !9
  store i32 %35, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %36 = load i32, ptr @pcfrac_m, align 4, !tbaa !9
  store i32 %36, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %37 = load i32, ptr @pcfrac_aborts, align 4, !tbaa !9
  store i32 %37, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store ptr null, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store ptr null, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  store ptr null, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  store ptr null, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  store ptr null, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store ptr null, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store ptr null, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  store ptr null, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  store ptr null, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  store ptr null, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  store ptr null, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  store ptr null, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store ptr null, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = call ptr @pparmq(ptr noundef %38)
  %40 = call ptr @pnew(ptr noundef %39)
  store ptr %40, ptr %34, align 8, !tbaa !5
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = call ptr @pfactorbase(ptr noundef %41, i32 noundef %42, ptr noundef %6, i32 noundef %43)
  store ptr %44, ptr %13, align 8, !tbaa !5
  %45 = load i32, ptr %6, align 4, !tbaa !9
  %46 = add i32 %45, 2
  %47 = zext i32 %46 to i64
  %48 = mul i64 %47, 8
  %49 = trunc i64 %48 to i32
  store i32 %49, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %15, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call ptr @malloc(i64 noundef %51) #9
  store ptr %52, ptr %11, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = icmp eq ptr %53, null
  br i1 %54, label %55, label %56

55:                                               ; preds = %2
  br label %65

56:                                               ; preds = %2
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = add i32 %57, 1
  %59 = zext i32 %58 to i64
  %60 = mul i64 %59, 1
  %61 = call ptr @malloc(i64 noundef %60) #9
  store ptr %61, ptr %14, align 8, !tbaa !5
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = icmp eq ptr %62, null
  br i1 %63, label %64, label %67

64:                                               ; preds = %56
  br label %65

65:                                               ; preds = %64, %55
  %66 = call ptr @errorp(i32 noundef 1, ptr noundef @.str.5, ptr noundef @.str.6)
  br label %459

67:                                               ; preds = %56
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  call void @llvm.memset.p0.i64(ptr align 8 %68, i8 0, i64 %70, i1 false)
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %76

73:                                               ; preds = %67
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = load i32, ptr %74, align 4, !tbaa !9
  store i32 %75, ptr %17, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %73, %67
  store i32 0, ptr @cfracNabort, align 4, !tbaa !9
  store i32 0, ptr @cfracFsolns, align 4, !tbaa !9
  store i32 0, ptr @cfracT2solns, align 4, !tbaa !9
  store i32 0, ptr @cfracPsolns, align 4, !tbaa !9
  store i32 0, ptr @cfracTsolns, align 4, !tbaa !9
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = load i32, ptr %6, align 4, !tbaa !9
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = call ptr @getEas(ptr noundef %77, i32 noundef %78, ptr noundef %79, i32 noundef %80, i32 noundef %81)
  store ptr %82, ptr %12, align 8, !tbaa !5
  %83 = load i32, ptr @verbose, align 4, !tbaa !9
  %84 = icmp sgt i32 %83, 1
  br i1 %84, label %85, label %109

85:                                               ; preds = %76
  %86 = load ptr, ptr @stdout, align 8, !tbaa !5
  %87 = load i32, ptr %6, align 4, !tbaa !9
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.7, i32 noundef %87) #8
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %101, %85
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = load i32, ptr %6, align 4, !tbaa !9
  %92 = icmp ult i32 %90, %91
  br i1 %92, label %93, label %104

93:                                               ; preds = %89
  %94 = load ptr, ptr @stdout, align 8, !tbaa !5
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds i32, ptr %95, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.8, i32 noundef %99) #8
  br label %101

101:                                              ; preds = %93
  %102 = load i32, ptr %19, align 4, !tbaa !9
  %103 = add i32 %102, 1
  store i32 %103, ptr %19, align 4, !tbaa !9
  br label %89, !llvm.loop !11

104:                                              ; preds = %89
  %105 = load ptr, ptr @stdout, align 8, !tbaa !5
  %106 = call i32 @putc(i32 noundef 10, ptr noundef %105)
  %107 = load ptr, ptr @stdout, align 8, !tbaa !5
  %108 = call i32 @fflush(ptr noundef %107)
  br label %109

109:                                              ; preds = %104, %76
  %110 = load i32, ptr %5, align 4, !tbaa !9
  %111 = call ptr @utop(i32 noundef %110)
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = call ptr @pmul(ptr noundef %111, ptr noundef %112)
  %114 = call ptr @psetq(ptr noundef %21, ptr noundef %113)
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = call ptr @psqrt(ptr noundef %115)
  %117 = call ptr @psetq(ptr noundef %22, ptr noundef %116)
  %118 = load ptr, ptr %22, align 8, !tbaa !5
  %119 = load ptr, ptr %22, align 8, !tbaa !5
  %120 = call ptr @padd(ptr noundef %118, ptr noundef %119)
  %121 = call ptr @psetq(ptr noundef %23, ptr noundef %120)
  %122 = load ptr, ptr %23, align 8, !tbaa !5
  %123 = call ptr @psetq(ptr noundef %24, ptr noundef %122)
  %124 = load ptr, ptr %23, align 8, !tbaa !5
  %125 = call ptr @psetq(ptr noundef %25, ptr noundef %124)
  %126 = load ptr, ptr @pone, align 8, !tbaa !5
  %127 = call ptr @psetq(ptr noundef %26, ptr noundef %126)
  %128 = load ptr, ptr %21, align 8, !tbaa !5
  %129 = load ptr, ptr %22, align 8, !tbaa !5
  %130 = load ptr, ptr %22, align 8, !tbaa !5
  %131 = call ptr @pmul(ptr noundef %129, ptr noundef %130)
  %132 = call ptr @psub(ptr noundef %128, ptr noundef %131)
  %133 = call ptr @psetq(ptr noundef %27, ptr noundef %132)
  %134 = load ptr, ptr @pone, align 8, !tbaa !5
  %135 = call ptr @psetq(ptr noundef %28, ptr noundef %134)
  %136 = load ptr, ptr %22, align 8, !tbaa !5
  %137 = call ptr @psetq(ptr noundef %29, ptr noundef %136)
  %138 = load ptr, ptr @pzero, align 8, !tbaa !5
  %139 = call ptr @psetq(ptr noundef %32, ptr noundef %138)
  br label %140

140:                                              ; preds = %423, %109
  br label %141

141:                                              ; preds = %352, %248, %140
  br label %142

142:                                              ; preds = %217, %141
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = add i32 %143, -1
  store i32 %144, ptr %17, align 4, !tbaa !9
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %142
  br label %459

147:                                              ; preds = %142
  %148 = load ptr, ptr %28, align 8, !tbaa !5
  %149 = call ptr @psetq(ptr noundef %21, ptr noundef %148)
  %150 = load ptr, ptr %32, align 8, !tbaa !5
  %151 = load ptr, ptr %28, align 8, !tbaa !5
  %152 = call ptr @pmul(ptr noundef %150, ptr noundef %151)
  %153 = load ptr, ptr %29, align 8, !tbaa !5
  %154 = call ptr @padd(ptr noundef %152, ptr noundef %153)
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = call ptr @pdivmod(ptr noundef %154, ptr noundef %155, ptr noundef null, ptr noundef %28)
  %157 = load ptr, ptr %21, align 8, !tbaa !5
  %158 = call ptr @psetq(ptr noundef %29, ptr noundef %157)
  %159 = load ptr, ptr %26, align 8, !tbaa !5
  %160 = call ptr @psetq(ptr noundef %21, ptr noundef %159)
  %161 = load ptr, ptr %32, align 8, !tbaa !5
  %162 = load ptr, ptr %25, align 8, !tbaa !5
  %163 = load ptr, ptr %24, align 8, !tbaa !5
  %164 = call ptr @psub(ptr noundef %162, ptr noundef %163)
  %165 = call ptr @pmul(ptr noundef %161, ptr noundef %164)
  %166 = load ptr, ptr %27, align 8, !tbaa !5
  %167 = call ptr @padd(ptr noundef %165, ptr noundef %166)
  %168 = call ptr @psetq(ptr noundef %26, ptr noundef %167)
  %169 = load ptr, ptr %21, align 8, !tbaa !5
  %170 = call ptr @psetq(ptr noundef %27, ptr noundef %169)
  %171 = load ptr, ptr %24, align 8, !tbaa !5
  %172 = call ptr @psetq(ptr noundef %25, ptr noundef %171)
  %173 = load ptr, ptr @pone, align 8, !tbaa !5
  %174 = call ptr @psetq(ptr noundef %32, ptr noundef %173)
  %175 = load ptr, ptr %24, align 8, !tbaa !5
  %176 = load ptr, ptr %26, align 8, !tbaa !5
  %177 = call ptr @psub(ptr noundef %175, ptr noundef %176)
  %178 = call ptr @psetq(ptr noundef %33, ptr noundef %177)
  %179 = load ptr, ptr %33, align 8, !tbaa !5
  %180 = load ptr, ptr %26, align 8, !tbaa !5
  %181 = call i32 @pcmp(ptr noundef %179, ptr noundef %180)
  %182 = icmp sge i32 %181, 0
  br i1 %182, label %183, label %187

183:                                              ; preds = %147
  %184 = load ptr, ptr %24, align 8, !tbaa !5
  %185 = load ptr, ptr %26, align 8, !tbaa !5
  %186 = call ptr @pdivmod(ptr noundef %184, ptr noundef %185, ptr noundef %32, ptr noundef %33)
  br label %187

187:                                              ; preds = %183, %147
  %188 = load ptr, ptr %23, align 8, !tbaa !5
  %189 = load ptr, ptr %33, align 8, !tbaa !5
  %190 = call ptr @psub(ptr noundef %188, ptr noundef %189)
  %191 = call ptr @psetq(ptr noundef %24, ptr noundef %190)
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = sub i32 1, %192
  store i32 %193, ptr %16, align 4, !tbaa !9
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = trunc i32 %194 to i8
  %196 = load ptr, ptr %14, align 8, !tbaa !5
  %197 = getelementptr inbounds i8, ptr %196, i64 0
  store i8 %195, ptr %197, align 1, !tbaa !13
  %198 = load ptr, ptr %26, align 8, !tbaa !5
  %199 = load ptr, ptr %13, align 8, !tbaa !5
  %200 = load ptr, ptr %14, align 8, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %200, i64 1
  %202 = load i32, ptr %6, align 4, !tbaa !9
  %203 = load ptr, ptr %12, align 8, !tbaa !5
  %204 = call i32 @pfactorQ(ptr noundef %21, ptr noundef %198, ptr noundef %199, ptr noundef %201, i32 noundef %202, ptr noundef %203)
  store i32 %204, ptr %20, align 4, !tbaa !9
  %205 = load i32, ptr %20, align 4, !tbaa !9
  %206 = icmp slt i32 %205, -1
  br i1 %206, label %207, label %210

207:                                              ; preds = %187
  %208 = load i32, ptr @cfracNabort, align 4, !tbaa !9
  %209 = add i32 %208, 1
  store i32 %209, ptr @cfracNabort, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %207, %187
  %211 = load ptr, ptr %26, align 8, !tbaa !5
  %212 = call i32 @picmp(ptr noundef %211, i32 noundef 1)
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %214, label %216

214:                                              ; preds = %210
  %215 = call ptr @errorp(i32 noundef 4, ptr noundef @.str.5, ptr noundef @.str.9)
  br label %459

216:                                              ; preds = %210
  br label %217

217:                                              ; preds = %216
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = icmp slt i32 %218, 0
  br i1 %219, label %142, label %220, !llvm.loop !14

220:                                              ; preds = %217
  %221 = load ptr, ptr %28, align 8, !tbaa !5
  %222 = call ptr @psetq(ptr noundef %30, ptr noundef %221)
  %223 = load i32, ptr %20, align 4, !tbaa !9
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %225, label %293

225:                                              ; preds = %220
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = load ptr, ptr %21, align 8, !tbaa !5
  %228 = call ptr @findSoln(ptr noundef %226, ptr noundef %227)
  store ptr %228, ptr %9, align 8, !tbaa !5
  %229 = icmp eq ptr %228, null
  br i1 %229, label %230, label %257

230:                                              ; preds = %225
  %231 = load i32, ptr @cfracTsolns, align 4, !tbaa !9
  %232 = add i32 %231, 1
  store i32 %232, ptr @cfracTsolns, align 4, !tbaa !9
  %233 = load i32, ptr @verbose, align 4, !tbaa !9
  %234 = icmp sge i32 %233, 2
  br i1 %234, label %235, label %238

235:                                              ; preds = %230
  %236 = load ptr, ptr @stderr, align 8, !tbaa !5
  %237 = call i32 @putc(i32 noundef 46, ptr noundef %236)
  br label %238

238:                                              ; preds = %235, %230
  %239 = load i32, ptr @verbose, align 4, !tbaa !9
  %240 = icmp sgt i32 %239, 3
  br i1 %240, label %241, label %248

241:                                              ; preds = %238
  %242 = load ptr, ptr @stdout, align 8, !tbaa !5
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  %244 = load i32, ptr %6, align 4, !tbaa !9
  %245 = load ptr, ptr %30, align 8, !tbaa !5
  %246 = load ptr, ptr %21, align 8, !tbaa !5
  %247 = load ptr, ptr %14, align 8, !tbaa !5
  call void @printSoln(ptr noundef %242, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef %243, i32 noundef %244, ptr noundef %245, ptr noundef %246, ptr noundef %247)
  br label %248

248:                                              ; preds = %241, %238
  %249 = load ptr, ptr %3, align 8, !tbaa !5
  %250 = load ptr, ptr %13, align 8, !tbaa !5
  %251 = load i32, ptr %6, align 4, !tbaa !9
  %252 = load ptr, ptr %8, align 8, !tbaa !5
  %253 = load ptr, ptr %30, align 8, !tbaa !5
  %254 = load ptr, ptr %21, align 8, !tbaa !5
  %255 = load ptr, ptr %14, align 8, !tbaa !5
  %256 = call ptr @newSoln(ptr noundef %249, ptr noundef %250, i32 noundef %251, ptr noundef %252, ptr noundef %253, ptr noundef %254, ptr noundef %255)
  store ptr %256, ptr %8, align 8, !tbaa !5
  br label %141

257:                                              ; preds = %225
  %258 = load i32, ptr @verbose, align 4, !tbaa !9
  %259 = icmp sgt i32 %258, 3
  br i1 %259, label %260, label %267

260:                                              ; preds = %257
  %261 = load ptr, ptr @stdout, align 8, !tbaa !5
  %262 = load ptr, ptr %13, align 8, !tbaa !5
  %263 = load i32, ptr %6, align 4, !tbaa !9
  %264 = load ptr, ptr %30, align 8, !tbaa !5
  %265 = load ptr, ptr %21, align 8, !tbaa !5
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  call void @printSoln(ptr noundef %261, ptr noundef @.str.10, ptr noundef @.str.12, ptr noundef %262, i32 noundef %263, ptr noundef %264, ptr noundef %265, ptr noundef %266)
  br label %267

267:                                              ; preds = %260, %257
  %268 = load ptr, ptr @pone, align 8, !tbaa !5
  %269 = call ptr @psetq(ptr noundef %21, ptr noundef %268)
  %270 = load ptr, ptr %14, align 8, !tbaa !5
  %271 = load ptr, ptr %13, align 8, !tbaa !5
  %272 = load i32, ptr %6, align 4, !tbaa !9
  %273 = load ptr, ptr %3, align 8, !tbaa !5
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  call void @combineSoln(ptr noundef %30, ptr noundef %21, ptr noundef %270, ptr noundef %271, i32 noundef %272, ptr noundef %273, ptr noundef %274)
  %275 = load i32, ptr @cfracT2solns, align 4, !tbaa !9
  %276 = add i32 %275, 1
  store i32 %276, ptr @cfracT2solns, align 4, !tbaa !9
  %277 = load i32, ptr @verbose, align 4, !tbaa !9
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %282

279:                                              ; preds = %267
  %280 = load ptr, ptr @stderr, align 8, !tbaa !5
  %281 = call i32 @putc(i32 noundef 35, ptr noundef %280)
  br label %282

282:                                              ; preds = %279, %267
  %283 = load i32, ptr @verbose, align 4, !tbaa !9
  %284 = icmp sgt i32 %283, 2
  br i1 %284, label %285, label %292

285:                                              ; preds = %282
  %286 = load ptr, ptr @stdout, align 8, !tbaa !5
  %287 = load ptr, ptr %13, align 8, !tbaa !5
  %288 = load i32, ptr %6, align 4, !tbaa !9
  %289 = load ptr, ptr %30, align 8, !tbaa !5
  %290 = load ptr, ptr %21, align 8, !tbaa !5
  %291 = load ptr, ptr %14, align 8, !tbaa !5
  call void @printSoln(ptr noundef %286, ptr noundef @.str.13, ptr noundef @.str.14, ptr noundef %287, i32 noundef %288, ptr noundef %289, ptr noundef %290, ptr noundef %291)
  br label %292

292:                                              ; preds = %285, %282
  br label %316

293:                                              ; preds = %220
  %294 = load ptr, ptr %14, align 8, !tbaa !5
  %295 = load ptr, ptr %13, align 8, !tbaa !5
  %296 = load i32, ptr %6, align 4, !tbaa !9
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  call void @combineSoln(ptr noundef %30, ptr noundef %21, ptr noundef %294, ptr noundef %295, i32 noundef %296, ptr noundef %297, ptr noundef null)
  %298 = load i32, ptr @cfracPsolns, align 4, !tbaa !9
  %299 = add i32 %298, 1
  store i32 %299, ptr @cfracPsolns, align 4, !tbaa !9
  %300 = load i32, ptr @verbose, align 4, !tbaa !9
  %301 = icmp ne i32 %300, 0
  br i1 %301, label %302, label %305

302:                                              ; preds = %293
  %303 = load ptr, ptr @stderr, align 8, !tbaa !5
  %304 = call i32 @putc(i32 noundef 42, ptr noundef %303)
  br label %305

305:                                              ; preds = %302, %293
  %306 = load i32, ptr @verbose, align 4, !tbaa !9
  %307 = icmp sgt i32 %306, 2
  br i1 %307, label %308, label %315

308:                                              ; preds = %305
  %309 = load ptr, ptr @stdout, align 8, !tbaa !5
  %310 = load ptr, ptr %13, align 8, !tbaa !5
  %311 = load i32, ptr %6, align 4, !tbaa !9
  %312 = load ptr, ptr %30, align 8, !tbaa !5
  %313 = load ptr, ptr %21, align 8, !tbaa !5
  %314 = load ptr, ptr %14, align 8, !tbaa !5
  call void @printSoln(ptr noundef %309, ptr noundef @.str.15, ptr noundef @.str.14, ptr noundef %310, i32 noundef %311, ptr noundef %312, ptr noundef %313, ptr noundef %314)
  br label %315

315:                                              ; preds = %308, %305
  br label %316

316:                                              ; preds = %315, %292
  %317 = load i32, ptr %6, align 4, !tbaa !9
  %318 = add i32 %317, 1
  store i32 %318, ptr %18, align 4, !tbaa !9
  br label %319

319:                                              ; preds = %372, %316
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = add i32 %320, -1
  store i32 %321, ptr %18, align 4, !tbaa !9
  %322 = load ptr, ptr %14, align 8, !tbaa !5
  %323 = load i32, ptr %18, align 4, !tbaa !9
  %324 = zext i32 %323 to i64
  %325 = getelementptr inbounds i8, ptr %322, i64 %324
  %326 = load i8, ptr %325, align 1, !tbaa !13
  %327 = icmp ne i8 %326, 0
  br i1 %327, label %328, label %371

328:                                              ; preds = %319
  %329 = load ptr, ptr %11, align 8, !tbaa !5
  %330 = load i32, ptr %18, align 4, !tbaa !9
  %331 = zext i32 %330 to i64
  %332 = getelementptr inbounds ptr, ptr %329, i64 %331
  %333 = load ptr, ptr %332, align 8, !tbaa !5
  store ptr %333, ptr %10, align 8, !tbaa !5
  %334 = load ptr, ptr %10, align 8, !tbaa !5
  %335 = icmp eq ptr %334, null
  br i1 %335, label %336, label %365

336:                                              ; preds = %328
  %337 = load i32, ptr @verbose, align 4, !tbaa !9
  %338 = icmp sgt i32 %337, 3
  br i1 %338, label %339, label %346

339:                                              ; preds = %336
  %340 = load ptr, ptr @stdout, align 8, !tbaa !5
  %341 = load ptr, ptr %13, align 8, !tbaa !5
  %342 = load i32, ptr %6, align 4, !tbaa !9
  %343 = load ptr, ptr %30, align 8, !tbaa !5
  %344 = load ptr, ptr %21, align 8, !tbaa !5
  %345 = load ptr, ptr %14, align 8, !tbaa !5
  call void @printSoln(ptr noundef %340, ptr noundef @.str.16, ptr noundef @.str.14, ptr noundef %341, i32 noundef %342, ptr noundef %343, ptr noundef %344, ptr noundef %345)
  br label %346

346:                                              ; preds = %339, %336
  %347 = load i32, ptr @verbose, align 4, !tbaa !9
  %348 = icmp sgt i32 %347, 2
  br i1 %348, label %349, label %352

349:                                              ; preds = %346
  %350 = load ptr, ptr @stdout, align 8, !tbaa !5
  %351 = call i32 @putc(i32 noundef 10, ptr noundef %350)
  br label %352

352:                                              ; preds = %349, %346
  %353 = load ptr, ptr %3, align 8, !tbaa !5
  %354 = load ptr, ptr %13, align 8, !tbaa !5
  %355 = load i32, ptr %6, align 4, !tbaa !9
  %356 = load ptr, ptr %10, align 8, !tbaa !5
  %357 = load ptr, ptr %30, align 8, !tbaa !5
  %358 = load ptr, ptr %21, align 8, !tbaa !5
  %359 = load ptr, ptr %14, align 8, !tbaa !5
  %360 = call ptr @newSoln(ptr noundef %353, ptr noundef %354, i32 noundef %355, ptr noundef %356, ptr noundef %357, ptr noundef %358, ptr noundef %359)
  %361 = load ptr, ptr %11, align 8, !tbaa !5
  %362 = load i32, ptr %18, align 4, !tbaa !9
  %363 = zext i32 %362 to i64
  %364 = getelementptr inbounds ptr, ptr %361, i64 %363
  store ptr %360, ptr %364, align 8, !tbaa !5
  br label %141

365:                                              ; preds = %328
  %366 = load ptr, ptr %14, align 8, !tbaa !5
  %367 = load ptr, ptr %13, align 8, !tbaa !5
  %368 = load i32, ptr %6, align 4, !tbaa !9
  %369 = load ptr, ptr %3, align 8, !tbaa !5
  %370 = load ptr, ptr %10, align 8, !tbaa !5
  call void @combineSoln(ptr noundef %30, ptr noundef %21, ptr noundef %366, ptr noundef %367, i32 noundef %368, ptr noundef %369, ptr noundef %370)
  br label %371

371:                                              ; preds = %365, %319
  br label %372

372:                                              ; preds = %371
  %373 = load i32, ptr %18, align 4, !tbaa !9
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %319, label %375, !llvm.loop !15

375:                                              ; preds = %372
  %376 = load i32, ptr @cfracFsolns, align 4, !tbaa !9
  %377 = add i32 %376, 1
  store i32 %377, ptr @cfracFsolns, align 4, !tbaa !9
  %378 = load ptr, ptr %21, align 8, !tbaa !5
  %379 = call ptr @psetq(ptr noundef %31, ptr noundef %378)
  %380 = load i32, ptr @verbose, align 4, !tbaa !9
  switch i32 %380, label %387 [
    i32 0, label %410
    i32 1, label %381
    i32 2, label %384
  ]

381:                                              ; preds = %375
  %382 = load ptr, ptr @stderr, align 8, !tbaa !5
  %383 = call i32 @putc(i32 noundef 47, ptr noundef %382)
  br label %410

384:                                              ; preds = %375
  %385 = load ptr, ptr @stderr, align 8, !tbaa !5
  %386 = call i32 @putc(i32 noundef 10, ptr noundef %385)
  br label %410

387:                                              ; preds = %375
  %388 = load ptr, ptr @stderr, align 8, !tbaa !5
  %389 = call i32 @putc(i32 noundef 10, ptr noundef %388)
  %390 = load ptr, ptr @stdout, align 8, !tbaa !5
  %391 = load ptr, ptr %13, align 8, !tbaa !5
  %392 = load i32, ptr %6, align 4, !tbaa !9
  %393 = load ptr, ptr %30, align 8, !tbaa !5
  %394 = load ptr, ptr %21, align 8, !tbaa !5
  %395 = load ptr, ptr %14, align 8, !tbaa !5
  call void @printSoln(ptr noundef %390, ptr noundef @.str.17, ptr noundef @.str.11, ptr noundef %391, i32 noundef %392, ptr noundef %393, ptr noundef %394, ptr noundef %395)
  %396 = load ptr, ptr @stdout, align 8, !tbaa !5
  %397 = call i32 @fputs(ptr noundef @.str.18, ptr noundef %396)
  %398 = load ptr, ptr @stdout, align 8, !tbaa !5
  %399 = load ptr, ptr %30, align 8, !tbaa !5
  %400 = call i32 @fputp(ptr noundef %398, ptr noundef %399)
  %401 = load ptr, ptr @stdout, align 8, !tbaa !5
  %402 = call i32 @fputs(ptr noundef @.str.19, ptr noundef %401)
  %403 = load ptr, ptr @stdout, align 8, !tbaa !5
  %404 = load ptr, ptr %31, align 8, !tbaa !5
  %405 = call i32 @fputp(ptr noundef %403, ptr noundef %404)
  %406 = load ptr, ptr @stdout, align 8, !tbaa !5
  %407 = call i32 @putc(i32 noundef 10, ptr noundef %406)
  %408 = load ptr, ptr @stdout, align 8, !tbaa !5
  %409 = call i32 @fflush(ptr noundef %408)
  br label %410

410:                                              ; preds = %387, %384, %381, %375
  br label %411

411:                                              ; preds = %410
  %412 = load ptr, ptr %30, align 8, !tbaa !5
  %413 = load ptr, ptr %31, align 8, !tbaa !5
  %414 = call i32 @pcmp(ptr noundef %412, ptr noundef %413)
  %415 = icmp eq i32 %414, 0
  br i1 %415, label %423, label %416

416:                                              ; preds = %411
  %417 = load ptr, ptr %30, align 8, !tbaa !5
  %418 = load ptr, ptr %31, align 8, !tbaa !5
  %419 = call ptr @padd(ptr noundef %417, ptr noundef %418)
  %420 = load ptr, ptr %3, align 8, !tbaa !5
  %421 = call i32 @pcmp(ptr noundef %419, ptr noundef %420)
  %422 = icmp eq i32 %421, 0
  br label %423

423:                                              ; preds = %416, %411
  %424 = phi i1 [ true, %411 ], [ %422, %416 ]
  br i1 %424, label %140, label %425, !llvm.loop !16

425:                                              ; preds = %423
  %426 = load ptr, ptr %30, align 8, !tbaa !5
  %427 = load ptr, ptr %31, align 8, !tbaa !5
  %428 = call ptr @padd(ptr noundef %426, ptr noundef %427)
  %429 = load ptr, ptr %3, align 8, !tbaa !5
  %430 = call ptr @pgcd(ptr noundef %428, ptr noundef %429)
  %431 = call ptr @psetq(ptr noundef %34, ptr noundef %430)
  %432 = load ptr, ptr %34, align 8, !tbaa !5
  %433 = load ptr, ptr @pone, align 8, !tbaa !5
  %434 = call i32 @pcmp(ptr noundef %432, ptr noundef %433)
  %435 = icmp eq i32 %434, 0
  br i1 %435, label %441, label %436

436:                                              ; preds = %425
  %437 = load ptr, ptr %34, align 8, !tbaa !5
  %438 = load ptr, ptr %3, align 8, !tbaa !5
  %439 = call i32 @pcmp(ptr noundef %437, ptr noundef %438)
  %440 = icmp eq i32 %439, 0
  br i1 %440, label %441, label %458

441:                                              ; preds = %436, %425
  %442 = load ptr, ptr @stdout, align 8, !tbaa !5
  %443 = call i32 @fputs(ptr noundef @.str.20, ptr noundef %442)
  %444 = load ptr, ptr @stdout, align 8, !tbaa !5
  %445 = call i32 @fputs(ptr noundef @.str.21, ptr noundef %444)
  %446 = load ptr, ptr @stdout, align 8, !tbaa !5
  %447 = load ptr, ptr %30, align 8, !tbaa !5
  %448 = call i32 @fputp(ptr noundef %446, ptr noundef %447)
  %449 = load ptr, ptr @stdout, align 8, !tbaa !5
  %450 = call i32 @fputs(ptr noundef @.str.22, ptr noundef %449)
  %451 = load ptr, ptr @stdout, align 8, !tbaa !5
  %452 = load ptr, ptr %31, align 8, !tbaa !5
  %453 = call i32 @fputp(ptr noundef %451, ptr noundef %452)
  %454 = load ptr, ptr @stdout, align 8, !tbaa !5
  %455 = call i32 @putc(i32 noundef 10, ptr noundef %454)
  %456 = load ptr, ptr @stdout, align 8, !tbaa !5
  %457 = call i32 @fflush(ptr noundef %456)
  call void @abort() #10
  unreachable

458:                                              ; preds = %436
  br label %459

459:                                              ; preds = %458, %214, %146, %65
  %460 = load ptr, ptr %4, align 8, !tbaa !5
  %461 = icmp ne ptr %460, null
  br i1 %461, label %462, label %465

462:                                              ; preds = %459
  %463 = load i32, ptr %17, align 4, !tbaa !9
  %464 = load ptr, ptr %4, align 8, !tbaa !5
  store i32 %463, ptr %464, align 4, !tbaa !9
  br label %465

465:                                              ; preds = %462, %459
  %466 = load ptr, ptr %11, align 8, !tbaa !5
  %467 = icmp ne ptr %466, null
  br i1 %467, label %468, label %483

468:                                              ; preds = %465
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %469

469:                                              ; preds = %479, %468
  %470 = load i32, ptr %19, align 4, !tbaa !9
  %471 = load i32, ptr %6, align 4, !tbaa !9
  %472 = icmp ule i32 %470, %471
  br i1 %472, label %473, label %482

473:                                              ; preds = %469
  %474 = load ptr, ptr %11, align 8, !tbaa !5
  %475 = load i32, ptr %19, align 4, !tbaa !9
  %476 = zext i32 %475 to i64
  %477 = getelementptr inbounds ptr, ptr %474, i64 %476
  %478 = load ptr, ptr %477, align 8, !tbaa !5
  call void @freeSoln(ptr noundef %478)
  br label %479

479:                                              ; preds = %473
  %480 = load i32, ptr %19, align 4, !tbaa !9
  %481 = add i32 %480, 1
  store i32 %481, ptr %19, align 4, !tbaa !9
  br label %469, !llvm.loop !17

482:                                              ; preds = %469
  br label %483

483:                                              ; preds = %482, %465
  %484 = load ptr, ptr %12, align 8, !tbaa !5
  call void @freeEas(ptr noundef %484)
  %485 = load ptr, ptr %8, align 8, !tbaa !5
  call void @freeSolns(ptr noundef %485)
  %486 = load ptr, ptr %14, align 8, !tbaa !5
  call void @free(ptr noundef %486)
  %487 = load ptr, ptr %13, align 8, !tbaa !5
  call void @free(ptr noundef %487)
  %488 = load ptr, ptr %22, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %488)
  %489 = load ptr, ptr %23, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %489)
  %490 = load ptr, ptr %24, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %490)
  %491 = load ptr, ptr %25, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %491)
  %492 = load ptr, ptr %26, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %492)
  %493 = load ptr, ptr %27, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %493)
  %494 = load ptr, ptr %28, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %494)
  %495 = load ptr, ptr %29, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %495)
  %496 = load ptr, ptr %30, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %496)
  %497 = load ptr, ptr %31, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %497)
  %498 = load ptr, ptr %32, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %498)
  %499 = load ptr, ptr %33, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %499)
  %500 = load ptr, ptr %21, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %500)
  %501 = load ptr, ptr %3, align 8, !tbaa !5
  call void @pdestroy(ptr noundef %501)
  %502 = load ptr, ptr %34, align 8, !tbaa !5
  %503 = call ptr @presult(ptr noundef %502)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret ptr %503
}

declare ptr @errorp(i32 noundef, ptr noundef, ptr noundef) #4

declare ptr @psqrt(ptr noundef) #4

declare ptr @padd(ptr noundef, ptr noundef) #4

declare ptr @pgcd(ptr noundef, ptr noundef) #4

; Function Attrs: noreturn nounwind
declare void @abort() #7

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @presult(ptr noundef) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


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

@cfracNabort = external dso_local local_unnamed_addr global i32, align 4
@cfracTsolns = external dso_local local_unnamed_addr global i32, align 4
@cfracPsolns = external dso_local local_unnamed_addr global i32, align 4
@cfracT2solns = external dso_local local_unnamed_addr global i32, align 4
@cfracFsolns = external dso_local local_unnamed_addr global i32, align 4
@pone = external local_unnamed_addr global ptr, align 8
@verbose = external local_unnamed_addr global i32, align 4
@stdout = external local_unnamed_addr global ptr, align 8
@pcfrac_k = external hidden local_unnamed_addr global i32, align 4
@pcfrac_m = external hidden local_unnamed_addr global i32, align 4
@pcfrac_aborts = external hidden local_unnamed_addr global i32, align 4
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@pzero = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare dso_local void @printSoln(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #4

declare i32 @fputp(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pparmq(ptr noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @putc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @pdestroy(ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local void @combineSoln(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @psetq(ptr noundef, ptr noundef) local_unnamed_addr #6

declare ptr @pdivmod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare ptr @pmul(ptr noundef, ptr noundef) local_unnamed_addr #5

declare ptr @utop(i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local ptr @newSoln(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pnew(ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local void @freeSoln(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
declare dso_local void @freeSolns(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @findSoln(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @pcmp(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local void @freeEas(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @pfactorbase(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @picmp(ptr noundef, i32 noundef) local_unnamed_addr #5

declare ptr @psub(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local ptr @getEas(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @pfactorQ(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local ptr @pcfrac(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = load i32, ptr @pcfrac_k, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  %19 = load i32, ptr @pcfrac_m, align 4, !tbaa !5
  store i32 %19, ptr %3, align 4, !tbaa !5
  %20 = load i32, ptr @pcfrac_aborts, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  store ptr null, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  store ptr null, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  store ptr null, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  store ptr null, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  store ptr null, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  store ptr null, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  store ptr null, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  store ptr null, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  store ptr null, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  store ptr null, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %21 = tail call ptr @pparmq(ptr noundef %0)
  %22 = tail call ptr @pnew(ptr noundef %21)
  store ptr %22, ptr %17, align 8, !tbaa !9
  %23 = call ptr @pfactorbase(ptr noundef %0, i32 noundef %18, ptr noundef nonnull %3, i32 noundef %20)
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = shl i32 %24, 3
  %26 = add i32 %25, 16
  %27 = zext i32 %26 to i64
  %28 = call ptr @malloc(i64 noundef %27) #10
  %29 = icmp eq ptr %28, null
  br i1 %29, label %35, label %30

30:                                               ; preds = %2
  %31 = add i32 %24, 1
  %32 = zext i32 %31 to i64
  %33 = call ptr @malloc(i64 noundef %32) #10
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %37

35:                                               ; preds = %30, %2
  %36 = call ptr @errorp(i32 noundef 1, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6) #9
  br label %.loopexit125

37:                                               ; preds = %30
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %28, i8 0, i64 %27, i1 false)
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %40, label %38

38:                                               ; preds = %37
  %39 = load i32, ptr %1, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %38, %37
  %.091 = phi i32 [ %39, %38 ], [ 0, %37 ]
  store i32 0, ptr @cfracNabort, align 4, !tbaa !5
  store i32 0, ptr @cfracFsolns, align 4, !tbaa !5
  store i32 0, ptr @cfracT2solns, align 4, !tbaa !5
  store i32 0, ptr @cfracPsolns, align 4, !tbaa !5
  store i32 0, ptr @cfracTsolns, align 4, !tbaa !5
  %41 = call ptr @getEas(ptr noundef %0, i32 noundef %18, ptr noundef %23, i32 noundef %24, i32 noundef %20)
  %42 = load i32, ptr @verbose, align 4, !tbaa !5
  %43 = icmp sgt i32 %42, 1
  br i1 %43, label %44, label %60

44:                                               ; preds = %40
  %45 = load ptr, ptr @stdout, align 8, !tbaa !9
  %46 = load i32, ptr %3, align 4, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.7, i32 noundef %46) #9
  %48 = load i32, ptr %3, align 4, !tbaa !5
  %.not139 = icmp eq i32 %48, 0
  br i1 %.not139, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %44, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %44 ]
  %49 = load ptr, ptr @stdout, align 8, !tbaa !9
  %50 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str.8, i32 noundef %51) #9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = zext i32 %53 to i64
  %55 = icmp ult i64 %indvars.iv.next, %54
  br i1 %55, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %44
  %56 = load ptr, ptr @stdout, align 8, !tbaa !9
  %57 = call i32 @putc(i32 noundef 10, ptr noundef %56)
  %58 = load ptr, ptr @stdout, align 8, !tbaa !9
  %59 = call i32 @fflush(ptr noundef %58)
  br label %60

60:                                               ; preds = %._crit_edge, %40
  %61 = call ptr @utop(i32 noundef %18) #9
  %62 = call ptr @pmul(ptr noundef %61, ptr noundef %0) #9
  %63 = call ptr @psetq(ptr noundef nonnull %4, ptr noundef %62)
  %64 = load ptr, ptr %4, align 8, !tbaa !9
  %65 = call ptr @psqrt(ptr noundef %64) #9
  %66 = call ptr @psetq(ptr noundef nonnull %5, ptr noundef %65)
  %67 = load ptr, ptr %5, align 8, !tbaa !9
  %68 = call ptr @padd(ptr noundef %67, ptr noundef %67) #9
  %69 = call ptr @psetq(ptr noundef nonnull %6, ptr noundef %68)
  %70 = load ptr, ptr %6, align 8, !tbaa !9
  %71 = call ptr @psetq(ptr noundef nonnull %7, ptr noundef %70)
  %72 = load ptr, ptr %6, align 8, !tbaa !9
  %73 = call ptr @psetq(ptr noundef nonnull %8, ptr noundef %72)
  %74 = load ptr, ptr @pone, align 8, !tbaa !9
  %75 = call ptr @psetq(ptr noundef nonnull %9, ptr noundef %74)
  %76 = load ptr, ptr %4, align 8, !tbaa !9
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = call ptr @pmul(ptr noundef %77, ptr noundef %77) #9
  %79 = call ptr @psub(ptr noundef %76, ptr noundef %78) #9
  %80 = call ptr @psetq(ptr noundef nonnull %10, ptr noundef %79)
  %81 = load ptr, ptr @pone, align 8, !tbaa !9
  %82 = call ptr @psetq(ptr noundef nonnull %11, ptr noundef %81)
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = call ptr @psetq(ptr noundef nonnull %12, ptr noundef %83)
  %85 = load ptr, ptr @pzero, align 8, !tbaa !9
  %86 = call ptr @psetq(ptr noundef nonnull %15, ptr noundef %85)
  %87 = getelementptr inbounds i8, ptr %33, i64 1
  br label %.outer.outer

.outer.outer:                                     ; preds = %60, %.thread
  %.195.ph.ph = phi i8 [ 0, %60 ], [ %135, %.thread ]
  %.293.ph.ph = phi i32 [ %.091, %60 ], [ %89, %.thread ]
  %.1.ph.ph = phi ptr [ null, %60 ], [ %176, %.thread ]
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %.outer.outer
  %.195.ph = phi i8 [ %.195.ph.ph, %.outer.outer ], [ %135, %.outer.backedge ]
  %.293.ph = phi i32 [ %.293.ph.ph, %.outer.outer ], [ %89, %.outer.backedge ]
  br label %88

88:                                               ; preds = %.backedge, %.outer
  %.296 = phi i8 [ %.195.ph, %.outer ], [ %135, %.backedge ]
  %.3 = phi i32 [ %.293.ph, %.outer ], [ %89, %.backedge ]
  %89 = add i32 %.3, -1
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %.loopexit125, label %91

91:                                               ; preds = %88
  %92 = load ptr, ptr %11, align 8, !tbaa !9
  %93 = call ptr @psetq(ptr noundef nonnull %4, ptr noundef %92)
  %94 = load ptr, ptr %15, align 8, !tbaa !9
  %95 = load ptr, ptr %11, align 8, !tbaa !9
  %96 = call ptr @pmul(ptr noundef %94, ptr noundef %95) #9
  %97 = load ptr, ptr %12, align 8, !tbaa !9
  %98 = call ptr @padd(ptr noundef %96, ptr noundef %97) #9
  %99 = call ptr @pdivmod(ptr noundef %98, ptr noundef %0, ptr noundef null, ptr noundef nonnull %11) #9
  %100 = load ptr, ptr %4, align 8, !tbaa !9
  %101 = call ptr @psetq(ptr noundef nonnull %12, ptr noundef %100)
  %102 = load ptr, ptr %9, align 8, !tbaa !9
  %103 = call ptr @psetq(ptr noundef nonnull %4, ptr noundef %102)
  %104 = load ptr, ptr %15, align 8, !tbaa !9
  %105 = load ptr, ptr %8, align 8, !tbaa !9
  %106 = load ptr, ptr %7, align 8, !tbaa !9
  %107 = call ptr @psub(ptr noundef %105, ptr noundef %106) #9
  %108 = call ptr @pmul(ptr noundef %104, ptr noundef %107) #9
  %109 = load ptr, ptr %10, align 8, !tbaa !9
  %110 = call ptr @padd(ptr noundef %108, ptr noundef %109) #9
  %111 = call ptr @psetq(ptr noundef nonnull %9, ptr noundef %110)
  %112 = load ptr, ptr %4, align 8, !tbaa !9
  %113 = call ptr @psetq(ptr noundef nonnull %10, ptr noundef %112)
  %114 = load ptr, ptr %7, align 8, !tbaa !9
  %115 = call ptr @psetq(ptr noundef nonnull %8, ptr noundef %114)
  %116 = load ptr, ptr @pone, align 8, !tbaa !9
  %117 = call ptr @psetq(ptr noundef nonnull %15, ptr noundef %116)
  %118 = load ptr, ptr %7, align 8, !tbaa !9
  %119 = load ptr, ptr %9, align 8, !tbaa !9
  %120 = call ptr @psub(ptr noundef %118, ptr noundef %119) #9
  %121 = call ptr @psetq(ptr noundef nonnull %16, ptr noundef %120)
  %122 = load ptr, ptr %16, align 8, !tbaa !9
  %123 = load ptr, ptr %9, align 8, !tbaa !9
  %124 = call i32 @pcmp(ptr noundef %122, ptr noundef %123) #9
  %125 = icmp sgt i32 %124, -1
  br i1 %125, label %126, label %130

126:                                              ; preds = %91
  %127 = load ptr, ptr %7, align 8, !tbaa !9
  %128 = load ptr, ptr %9, align 8, !tbaa !9
  %129 = call ptr @pdivmod(ptr noundef %127, ptr noundef %128, ptr noundef nonnull %15, ptr noundef nonnull %16) #9
  br label %130

130:                                              ; preds = %126, %91
  %131 = load ptr, ptr %6, align 8, !tbaa !9
  %132 = load ptr, ptr %16, align 8, !tbaa !9
  %133 = call ptr @psub(ptr noundef %131, ptr noundef %132) #9
  %134 = call ptr @psetq(ptr noundef nonnull %7, ptr noundef %133)
  %135 = sub nuw nsw i8 1, %.296
  store i8 %135, ptr %33, align 1, !tbaa !13
  %136 = load ptr, ptr %9, align 8, !tbaa !9
  %137 = load i32, ptr %3, align 4, !tbaa !5
  %138 = call i32 @pfactorQ(ptr noundef nonnull %4, ptr noundef %136, ptr noundef %23, ptr noundef nonnull %87, i32 noundef %137, ptr noundef %41)
  %139 = icmp slt i32 %138, -1
  br i1 %139, label %140, label %143

140:                                              ; preds = %130
  %141 = load i32, ptr @cfracNabort, align 4, !tbaa !5
  %142 = add i32 %141, 1
  store i32 %142, ptr @cfracNabort, align 4, !tbaa !5
  br label %143

143:                                              ; preds = %140, %130
  %144 = load ptr, ptr %9, align 8, !tbaa !9
  %145 = call i32 @picmp(ptr noundef %144, i32 noundef 1) #9
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %147, label %149

147:                                              ; preds = %143
  %148 = call ptr @errorp(i32 noundef 4, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.9) #9
  br label %.loopexit125

149:                                              ; preds = %143
  %150 = icmp slt i32 %138, 0
  br i1 %150, label %.backedge, label %151

.backedge:                                        ; preds = %149, %241
  br label %88, !llvm.loop !14

151:                                              ; preds = %149
  %152 = load ptr, ptr %11, align 8, !tbaa !9
  %153 = call ptr @psetq(ptr noundef nonnull %13, ptr noundef %152)
  %154 = icmp eq i32 %138, 0
  br i1 %154, label %155, label %201

155:                                              ; preds = %151
  %156 = load ptr, ptr %4, align 8, !tbaa !9
  %157 = call ptr @findSoln(ptr noundef %.1.ph.ph, ptr noundef %156)
  %158 = icmp eq ptr %157, null
  br i1 %158, label %159, label %177

159:                                              ; preds = %155
  %160 = load i32, ptr @cfracTsolns, align 4, !tbaa !5
  %161 = add i32 %160, 1
  store i32 %161, ptr @cfracTsolns, align 4, !tbaa !5
  %162 = load i32, ptr @verbose, align 4, !tbaa !5
  %163 = icmp sgt i32 %162, 1
  br i1 %163, label %164, label %.thread

164:                                              ; preds = %159
  %165 = load ptr, ptr @stderr, align 8, !tbaa !9
  %166 = call i32 @putc(i32 noundef 46, ptr noundef %165)
  %.pr = load i32, ptr @verbose, align 4, !tbaa !5
  %167 = icmp sgt i32 %.pr, 3
  br i1 %167, label %168, label %.thread

168:                                              ; preds = %164
  %169 = load ptr, ptr @stdout, align 8, !tbaa !9
  %170 = load i32, ptr %3, align 4, !tbaa !5
  %171 = load ptr, ptr %13, align 8, !tbaa !9
  %172 = load ptr, ptr %4, align 8, !tbaa !9
  call void @printSoln(ptr noundef %169, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, ptr noundef %23, i32 noundef %170, ptr noundef %171, ptr noundef %172, ptr noundef nonnull %33)
  br label %.thread

.thread:                                          ; preds = %159, %168, %164
  %173 = load i32, ptr %3, align 4, !tbaa !5
  %174 = load ptr, ptr %13, align 8, !tbaa !9
  %175 = load ptr, ptr %4, align 8, !tbaa !9
  %176 = call ptr @newSoln(ptr noundef %0, ptr noundef %23, i32 noundef %173, ptr noundef %.1.ph.ph, ptr noundef %174, ptr noundef %175, ptr noundef nonnull %33)
  br label %.outer.outer

177:                                              ; preds = %155
  %178 = load i32, ptr @verbose, align 4, !tbaa !5
  %179 = icmp sgt i32 %178, 3
  br i1 %179, label %180, label %185

180:                                              ; preds = %177
  %181 = load ptr, ptr @stdout, align 8, !tbaa !9
  %182 = load i32, ptr %3, align 4, !tbaa !5
  %183 = load ptr, ptr %13, align 8, !tbaa !9
  %184 = load ptr, ptr %4, align 8, !tbaa !9
  call void @printSoln(ptr noundef %181, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.12, ptr noundef %23, i32 noundef %182, ptr noundef %183, ptr noundef %184, ptr noundef nonnull %33)
  br label %185

185:                                              ; preds = %180, %177
  %186 = load ptr, ptr @pone, align 8, !tbaa !9
  %187 = call ptr @psetq(ptr noundef nonnull %4, ptr noundef %186)
  %188 = load i32, ptr %3, align 4, !tbaa !5
  call void @combineSoln(ptr noundef nonnull %13, ptr noundef nonnull %4, ptr noundef nonnull %33, ptr noundef %23, i32 noundef %188, ptr noundef %0, ptr noundef nonnull %157)
  %189 = load i32, ptr @cfracT2solns, align 4, !tbaa !5
  %190 = add i32 %189, 1
  store i32 %190, ptr @cfracT2solns, align 4, !tbaa !5
  %191 = load i32, ptr @verbose, align 4, !tbaa !5
  %.not114 = icmp eq i32 %191, 0
  br i1 %.not114, label %.thread121, label %192

192:                                              ; preds = %185
  %193 = load ptr, ptr @stderr, align 8, !tbaa !9
  %194 = call i32 @putc(i32 noundef 35, ptr noundef %193)
  %.pr120 = load i32, ptr @verbose, align 4, !tbaa !5
  %195 = icmp sgt i32 %.pr120, 2
  br i1 %195, label %196, label %.thread121

196:                                              ; preds = %192
  %197 = load ptr, ptr @stdout, align 8, !tbaa !9
  %198 = load i32, ptr %3, align 4, !tbaa !5
  %199 = load ptr, ptr %13, align 8, !tbaa !9
  %200 = load ptr, ptr %4, align 8, !tbaa !9
  call void @printSoln(ptr noundef %197, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, ptr noundef %23, i32 noundef %198, ptr noundef %199, ptr noundef %200, ptr noundef nonnull %33)
  br label %.thread121

201:                                              ; preds = %151
  %202 = load i32, ptr %3, align 4, !tbaa !5
  call void @combineSoln(ptr noundef nonnull %13, ptr noundef nonnull %4, ptr noundef nonnull %33, ptr noundef %23, i32 noundef %202, ptr noundef %0, ptr noundef null)
  %203 = load i32, ptr @cfracPsolns, align 4, !tbaa !5
  %204 = add i32 %203, 1
  store i32 %204, ptr @cfracPsolns, align 4, !tbaa !5
  %205 = load i32, ptr @verbose, align 4, !tbaa !5
  %.not113 = icmp eq i32 %205, 0
  br i1 %.not113, label %.thread121, label %206

206:                                              ; preds = %201
  %207 = load ptr, ptr @stderr, align 8, !tbaa !9
  %208 = call i32 @putc(i32 noundef 42, ptr noundef %207)
  %.pr122 = load i32, ptr @verbose, align 4, !tbaa !5
  %209 = icmp sgt i32 %.pr122, 2
  br i1 %209, label %210, label %.thread121

210:                                              ; preds = %206
  %211 = load ptr, ptr @stdout, align 8, !tbaa !9
  %212 = load i32, ptr %3, align 4, !tbaa !5
  %213 = load ptr, ptr %13, align 8, !tbaa !9
  %214 = load ptr, ptr %4, align 8, !tbaa !9
  call void @printSoln(ptr noundef %211, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14, ptr noundef %23, i32 noundef %212, ptr noundef %213, ptr noundef %214, ptr noundef nonnull %33)
  br label %.thread121

.thread121:                                       ; preds = %201, %185, %206, %210, %192, %196
  %215 = load i32, ptr %3, align 4, !tbaa !5
  %216 = add i32 %215, 1
  br label %217

217:                                              ; preds = %248, %.thread121
  %.090 = phi i32 [ %216, %.thread121 ], [ %218, %248 ]
  %218 = add i32 %.090, -1
  %219 = zext i32 %218 to i64
  %220 = getelementptr inbounds i8, ptr %33, i64 %219
  %221 = load i8, ptr %220, align 1, !tbaa !13
  %.not115 = icmp eq i8 %221, 0
  br i1 %.not115, label %248, label %222

222:                                              ; preds = %217
  %223 = getelementptr inbounds ptr, ptr %28, i64 %219
  %224 = load ptr, ptr %223, align 8, !tbaa !9
  %225 = icmp eq ptr %224, null
  br i1 %225, label %226, label %246

226:                                              ; preds = %222
  %227 = getelementptr inbounds ptr, ptr %28, i64 %219
  %228 = load i32, ptr @verbose, align 4, !tbaa !5
  %229 = icmp sgt i32 %228, 3
  br i1 %229, label %230, label %235

230:                                              ; preds = %226
  %231 = load ptr, ptr @stdout, align 8, !tbaa !9
  %232 = load i32, ptr %3, align 4, !tbaa !5
  %233 = load ptr, ptr %13, align 8, !tbaa !9
  %234 = load ptr, ptr %4, align 8, !tbaa !9
  call void @printSoln(ptr noundef %231, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.14, ptr noundef %23, i32 noundef %232, ptr noundef %233, ptr noundef %234, ptr noundef nonnull %33)
  %.pr124 = load i32, ptr @verbose, align 4, !tbaa !5
  br label %235

235:                                              ; preds = %230, %226
  %236 = phi i32 [ %.pr124, %230 ], [ %228, %226 ]
  %237 = icmp sgt i32 %236, 2
  br i1 %237, label %238, label %241

238:                                              ; preds = %235
  %239 = load ptr, ptr @stdout, align 8, !tbaa !9
  %240 = call i32 @putc(i32 noundef 10, ptr noundef %239)
  br label %241

241:                                              ; preds = %238, %235
  %242 = load i32, ptr %3, align 4, !tbaa !5
  %243 = load ptr, ptr %13, align 8, !tbaa !9
  %244 = load ptr, ptr %4, align 8, !tbaa !9
  %245 = call ptr @newSoln(ptr noundef %0, ptr noundef %23, i32 noundef %242, ptr noundef null, ptr noundef %243, ptr noundef %244, ptr noundef nonnull %33)
  store ptr %245, ptr %227, align 8, !tbaa !9
  br label %.backedge

246:                                              ; preds = %222
  %247 = load i32, ptr %3, align 4, !tbaa !5
  call void @combineSoln(ptr noundef nonnull %13, ptr noundef nonnull %4, ptr noundef nonnull %33, ptr noundef %23, i32 noundef %247, ptr noundef %0, ptr noundef nonnull %224)
  br label %248

248:                                              ; preds = %217, %246
  %.not116 = icmp eq i32 %218, 0
  br i1 %.not116, label %249, label %217, !llvm.loop !15

249:                                              ; preds = %248
  %250 = load i32, ptr @cfracFsolns, align 4, !tbaa !5
  %251 = add i32 %250, 1
  store i32 %251, ptr @cfracFsolns, align 4, !tbaa !5
  %252 = load ptr, ptr %4, align 8, !tbaa !9
  %253 = call ptr @psetq(ptr noundef nonnull %14, ptr noundef %252)
  %254 = load i32, ptr @verbose, align 4, !tbaa !5
  switch i32 %254, label %261 [
    i32 0, label %282
    i32 1, label %255
    i32 2, label %258
  ]

255:                                              ; preds = %249
  %256 = load ptr, ptr @stderr, align 8, !tbaa !9
  %257 = call i32 @putc(i32 noundef 47, ptr noundef %256)
  br label %282

258:                                              ; preds = %249
  %259 = load ptr, ptr @stderr, align 8, !tbaa !9
  %260 = call i32 @putc(i32 noundef 10, ptr noundef %259)
  br label %282

261:                                              ; preds = %249
  %262 = load ptr, ptr @stderr, align 8, !tbaa !9
  %263 = call i32 @putc(i32 noundef 10, ptr noundef %262)
  %264 = load ptr, ptr @stdout, align 8, !tbaa !9
  %265 = load i32, ptr %3, align 4, !tbaa !5
  %266 = load ptr, ptr %13, align 8, !tbaa !9
  %267 = load ptr, ptr %4, align 8, !tbaa !9
  call void @printSoln(ptr noundef %264, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.11, ptr noundef %23, i32 noundef %265, ptr noundef %266, ptr noundef %267, ptr noundef nonnull %33)
  %268 = load ptr, ptr @stdout, align 8, !tbaa !9
  %269 = call i32 @fputs(ptr noundef nonnull @.str.18, ptr noundef %268)
  %270 = load ptr, ptr @stdout, align 8, !tbaa !9
  %271 = load ptr, ptr %13, align 8, !tbaa !9
  %272 = call i32 @fputp(ptr noundef %270, ptr noundef %271) #9
  %273 = load ptr, ptr @stdout, align 8, !tbaa !9
  %274 = call i32 @fputs(ptr noundef nonnull @.str.19, ptr noundef %273)
  %275 = load ptr, ptr @stdout, align 8, !tbaa !9
  %276 = load ptr, ptr %14, align 8, !tbaa !9
  %277 = call i32 @fputp(ptr noundef %275, ptr noundef %276) #9
  %278 = load ptr, ptr @stdout, align 8, !tbaa !9
  %279 = call i32 @putc(i32 noundef 10, ptr noundef %278)
  %280 = load ptr, ptr @stdout, align 8, !tbaa !9
  %281 = call i32 @fflush(ptr noundef %280)
  br label %282

282:                                              ; preds = %249, %255, %258, %261
  %283 = load ptr, ptr %13, align 8, !tbaa !9
  %284 = load ptr, ptr %14, align 8, !tbaa !9
  %285 = call i32 @pcmp(ptr noundef %283, ptr noundef %284) #9
  %286 = icmp eq i32 %285, 0
  br i1 %286, label %.outer.backedge, label %287

287:                                              ; preds = %282
  %288 = load ptr, ptr %13, align 8, !tbaa !9
  %289 = load ptr, ptr %14, align 8, !tbaa !9
  %290 = call ptr @padd(ptr noundef %288, ptr noundef %289) #9
  %291 = call i32 @pcmp(ptr noundef %290, ptr noundef %0) #9
  %292 = icmp eq i32 %291, 0
  br i1 %292, label %.outer.backedge, label %293

.outer.backedge:                                  ; preds = %287, %282
  br label %.outer, !llvm.loop !16

293:                                              ; preds = %287
  %294 = load ptr, ptr %13, align 8, !tbaa !9
  %295 = load ptr, ptr %14, align 8, !tbaa !9
  %296 = call ptr @padd(ptr noundef %294, ptr noundef %295) #9
  %297 = call ptr @pgcd(ptr noundef %296, ptr noundef %0) #9
  %298 = call ptr @psetq(ptr noundef nonnull %17, ptr noundef %297)
  %299 = load ptr, ptr %17, align 8, !tbaa !9
  %300 = load ptr, ptr @pone, align 8, !tbaa !9
  %301 = call i32 @pcmp(ptr noundef %299, ptr noundef %300) #9
  %302 = icmp eq i32 %301, 0
  br i1 %302, label %307, label %303

303:                                              ; preds = %293
  %304 = load ptr, ptr %17, align 8, !tbaa !9
  %305 = call i32 @pcmp(ptr noundef %304, ptr noundef %0) #9
  %306 = icmp eq i32 %305, 0
  br i1 %306, label %307, label %.loopexit125

307:                                              ; preds = %303, %293
  %308 = load ptr, ptr @stdout, align 8, !tbaa !9
  %309 = call i32 @fputs(ptr noundef nonnull @.str.20, ptr noundef %308)
  %310 = load ptr, ptr @stdout, align 8, !tbaa !9
  %311 = call i32 @fputs(ptr noundef nonnull @.str.21, ptr noundef %310)
  %312 = load ptr, ptr @stdout, align 8, !tbaa !9
  %313 = load ptr, ptr %13, align 8, !tbaa !9
  %314 = call i32 @fputp(ptr noundef %312, ptr noundef %313) #9
  %315 = load ptr, ptr @stdout, align 8, !tbaa !9
  %316 = call i32 @fputs(ptr noundef nonnull @.str.22, ptr noundef %315)
  %317 = load ptr, ptr @stdout, align 8, !tbaa !9
  %318 = load ptr, ptr %14, align 8, !tbaa !9
  %319 = call i32 @fputp(ptr noundef %317, ptr noundef %318) #9
  %320 = load ptr, ptr @stdout, align 8, !tbaa !9
  %321 = call i32 @putc(i32 noundef 10, ptr noundef %320)
  %322 = load ptr, ptr @stdout, align 8, !tbaa !9
  %323 = call i32 @fflush(ptr noundef %322)
  call void @abort() #11
  unreachable

.loopexit125:                                     ; preds = %88, %303, %147, %35
  %.199 = phi ptr [ null, %35 ], [ %33, %147 ], [ %33, %303 ], [ %33, %88 ]
  %.097 = phi ptr [ null, %35 ], [ %41, %147 ], [ %41, %303 ], [ %41, %88 ]
  %.4 = phi i32 [ 0, %35 ], [ %89, %147 ], [ %89, %303 ], [ 0, %88 ]
  %.2 = phi ptr [ null, %35 ], [ %.1.ph.ph, %147 ], [ %.1.ph.ph, %303 ], [ %.1.ph.ph, %88 ]
  %.not117 = icmp eq ptr %1, null
  br i1 %.not117, label %325, label %324

324:                                              ; preds = %.loopexit125
  store i32 %.4, ptr %1, align 4, !tbaa !5
  br label %325

325:                                              ; preds = %324, %.loopexit125
  br i1 %29, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %325, %.preheader
  %.189138 = phi i32 [ %329, %.preheader ], [ 0, %325 ]
  %326 = zext i32 %.189138 to i64
  %327 = getelementptr inbounds ptr, ptr %28, i64 %326
  %328 = load ptr, ptr %327, align 8, !tbaa !9
  call void @freeSoln(ptr noundef %328)
  %329 = add i32 %.189138, 1
  %330 = load i32, ptr %3, align 4, !tbaa !5
  %.not119 = icmp ugt i32 %329, %330
  br i1 %.not119, label %.loopexit, label %.preheader, !llvm.loop !17

.loopexit:                                        ; preds = %.preheader, %325
  call void @freeEas(ptr noundef %.097)
  call void @freeSolns(ptr noundef %.2)
  call void @free(ptr noundef %.199)
  call void @free(ptr noundef %23)
  %331 = load ptr, ptr %5, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %331)
  %332 = load ptr, ptr %6, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %332)
  %333 = load ptr, ptr %7, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %333)
  %334 = load ptr, ptr %8, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %334)
  %335 = load ptr, ptr %9, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %335)
  %336 = load ptr, ptr %10, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %336)
  %337 = load ptr, ptr %11, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %337)
  %338 = load ptr, ptr %12, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %338)
  %339 = load ptr, ptr %13, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %339)
  %340 = load ptr, ptr %14, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %340)
  %341 = load ptr, ptr %15, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %341)
  %342 = load ptr, ptr %16, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %342)
  %343 = load ptr, ptr %4, align 8, !tbaa !9
  call void @pdestroy(ptr noundef %343)
  call void @pdestroy(ptr noundef %0)
  %344 = load ptr, ptr %17, align 8, !tbaa !9
  %345 = call ptr @presult(ptr noundef %344)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  ret ptr %345
}

declare ptr @errorp(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare ptr @psqrt(ptr noundef) local_unnamed_addr #5

declare ptr @padd(ptr noundef, ptr noundef) local_unnamed_addr #5

declare ptr @pgcd(ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @presult(ptr noundef) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 = { nofree 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 #5 = { "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 = { inlinehint 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 #7 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { allocsize(0) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass