; LLVM IR from stillwater-sc/universal :: c_api/shim/test/posit (posit256)

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

%union.posit256_u = type { [4 x i64] }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@NAR256 = external hidden constant { [32 x i8] }, align 8
@ZERO256 = external hidden constant { [32 x i8] }, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %union.posit256_u, align 8
  %8 = alloca %union.posit256_u, align 8
  %9 = alloca %union.posit256_u, align 8
  %10 = alloca [144 x i8], align 16
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %union.posit256_u, align 8
  %14 = alloca %union.posit256_u, align 8
  %15 = alloca %union.posit256_u, align 8
  %16 = alloca %union.posit256_u, align 8
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %union.posit256_u, align 8
  %22 = alloca [4 x i64], align 8
  %23 = alloca i32, align 4
  %24 = alloca %union.posit256_u, align 8
  %25 = alloca [4 x i64], align 8
  %26 = alloca %union.posit256_u, align 8
  %27 = alloca x86_fp80, align 16
  %28 = alloca x86_fp80, align 16
  %29 = alloca x86_fp80, align 16
  %30 = alloca %union.posit256_u, align 8
  %31 = alloca [144 x i8], align 16
  %32 = alloca [144 x i8], align 16
  %33 = alloca [144 x i8], align 16
  %34 = alloca [144 x i8], align 16
  %35 = alloca i32, align 4
  %36 = alloca %union.posit256_u, align 8
  %37 = alloca [4 x i64], align 8
  %38 = alloca i32, align 4
  %39 = alloca %union.posit256_u, align 8
  %40 = alloca [4 x i64], align 8
  %41 = alloca %union.posit256_u, align 8
  %42 = alloca x86_fp80, align 16
  %43 = alloca x86_fp80, align 16
  %44 = alloca x86_fp80, align 16
  %45 = alloca %union.posit256_u, align 8
  %46 = alloca [144 x i8], align 16
  %47 = alloca [144 x i8], align 16
  %48 = alloca [144 x i8], align 16
  %49 = alloca [144 x i8], align 16
  %50 = alloca i32, align 4
  %51 = alloca %union.posit256_u, align 8
  %52 = alloca [4 x i64], align 8
  %53 = alloca i32, align 4
  %54 = alloca %union.posit256_u, align 8
  %55 = alloca [4 x i64], align 8
  %56 = alloca %union.posit256_u, align 8
  %57 = alloca x86_fp80, align 16
  %58 = alloca x86_fp80, align 16
  %59 = alloca x86_fp80, align 16
  %60 = alloca %union.posit256_u, align 8
  %61 = alloca [144 x i8], align 16
  %62 = alloca [144 x i8], align 16
  %63 = alloca [144 x i8], align 16
  %64 = alloca [144 x i8], align 16
  %65 = alloca i32, align 4
  %66 = alloca %union.posit256_u, align 8
  %67 = alloca [4 x i64], align 8
  %68 = alloca i32, align 4
  %69 = alloca %union.posit256_u, align 8
  %70 = alloca [4 x i64], align 8
  %71 = alloca %union.posit256_u, align 8
  %72 = alloca x86_fp80, align 16
  %73 = alloca x86_fp80, align 16
  %74 = alloca x86_fp80, align 16
  %75 = alloca %union.posit256_u, align 8
  %76 = alloca [144 x i8], align 16
  %77 = alloca [144 x i8], align 16
  %78 = alloca [144 x i8], align 16
  %79 = alloca [144 x i8], align 16
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 96, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @NAR256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @ZERO256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  call void @posit256_add(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %13, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %13, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  %80 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  call void @posit256_str(ptr noundef %80, ptr noundef byval(%union.posit256_u) align 8 %9)
  %81 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %81)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @NAR256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @ZERO256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @posit256_sub(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %14, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %14, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  %83 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  call void @posit256_str(ptr noundef %83, ptr noundef byval(%union.posit256_u) align 8 %9)
  %84 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %84)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @NAR256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @ZERO256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  call void @posit256_mul(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %15, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %15, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  %86 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  call void @posit256_str(ptr noundef %86, ptr noundef byval(%union.posit256_u) align 8 %9)
  %87 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %87)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @NAR256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @ZERO256, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  call void @posit256_div(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %16, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %16, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  %89 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  call void @posit256_str(ptr noundef %89, ptr noundef byval(%union.posit256_u) align 8 %9)
  %90 = getelementptr inbounds [144 x i8], ptr %10, i64 0, i64 0
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %90)
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  store i8 1, ptr %17, align 1, !tbaa !11
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %144, %2
  %94 = load i32, ptr %19, align 4, !tbaa !5
  %95 = icmp slt i32 %94, 96
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %147

97:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 32, i1 false)
  %98 = load i32, ptr %19, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  store i64 %99, ptr %22, align 8, !tbaa !15
  %100 = getelementptr inbounds i64, ptr %22, i64 1
  %101 = getelementptr inbounds i64, ptr %22, i64 2
  %102 = getelementptr inbounds i64, ptr %22, i64 3
  %103 = getelementptr inbounds [4 x i64], ptr %22, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %21, ptr noundef %103)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %21, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %140, %97
  %105 = load i32, ptr %23, align 4, !tbaa !5
  %106 = icmp slt i32 %105, 96
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  store i32 5, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %143

108:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 32, i1 false)
  %109 = load i32, ptr %23, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  store i64 %110, ptr %25, align 8, !tbaa !15
  %111 = getelementptr inbounds i64, ptr %25, i64 1
  %112 = getelementptr inbounds i64, ptr %25, i64 2
  %113 = getelementptr inbounds i64, ptr %25, i64 3
  %114 = getelementptr inbounds [4 x i64], ptr %25, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %24, ptr noundef %114)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %24, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  call void @posit256_add(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %26, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %26, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %115 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %7)
  store x86_fp80 %115, ptr %27, align 16, !tbaa !17
  %116 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %8)
  store x86_fp80 %116, ptr %28, align 16, !tbaa !17
  %117 = load x86_fp80, ptr %27, align 16, !tbaa !17
  %118 = load x86_fp80, ptr %28, align 16, !tbaa !17
  %119 = fadd x86_fp80 %117, %118
  store x86_fp80 %119, ptr %29, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %120 = load x86_fp80, ptr %29, align 16, !tbaa !17
  call void @posit256_fromld(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %30, x86_fp80 noundef %120)
  %121 = call i32 @posit256_cmp(ptr noundef byval(%union.posit256_u) align 8 %30, ptr noundef byval(%union.posit256_u) align 8 %9)
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %139

123:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 144, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %34) #6
  %124 = getelementptr inbounds [144 x i8], ptr %31, i64 0, i64 0
  call void @posit256_str(ptr noundef %124, ptr noundef byval(%union.posit256_u) align 8 %7)
  %125 = getelementptr inbounds [144 x i8], ptr %32, i64 0, i64 0
  call void @posit256_str(ptr noundef %125, ptr noundef byval(%union.posit256_u) align 8 %8)
  %126 = getelementptr inbounds [144 x i8], ptr %33, i64 0, i64 0
  call void @posit256_str(ptr noundef %126, ptr noundef byval(%union.posit256_u) align 8 %9)
  %127 = getelementptr inbounds [144 x i8], ptr %34, i64 0, i64 0
  call void @posit256_str(ptr noundef %127, ptr noundef byval(%union.posit256_u) align 8 %30)
  %128 = load i8, ptr %12, align 1, !tbaa !11, !range !19, !noundef !20
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %136

130:                                              ; preds = %123
  %131 = getelementptr inbounds [144 x i8], ptr %31, i64 0, i64 0
  %132 = getelementptr inbounds [144 x i8], ptr %32, i64 0, i64 0
  %133 = getelementptr inbounds [144 x i8], ptr %33, i64 0, i64 0
  %134 = getelementptr inbounds [144 x i8], ptr %34, i64 0, i64 0
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134)
  br label %136

136:                                              ; preds = %130, %123
  %137 = load i32, ptr %18, align 4, !tbaa !5
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 144, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %31) #6
  br label %139

139:                                              ; preds = %136, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  br label %140

140:                                              ; preds = %139
  %141 = load i32, ptr %23, align 4, !tbaa !5
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %23, align 4, !tbaa !5
  br label %104, !llvm.loop !21

143:                                              ; preds = %107
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %19, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %19, align 4, !tbaa !5
  br label %93, !llvm.loop !23

147:                                              ; preds = %96
  %148 = load i32, ptr %18, align 4, !tbaa !5
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %158

150:                                              ; preds = %147
  %151 = load i8, ptr %17, align 1, !tbaa !11, !range !19, !noundef !20
  %152 = trunc i8 %151 to i1
  br i1 %152, label %153, label %155

153:                                              ; preds = %150
  %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %157

155:                                              ; preds = %150
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %157

157:                                              ; preds = %155, %153
  br label %160

158:                                              ; preds = %147
  %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %160

160:                                              ; preds = %158, %157
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %161

161:                                              ; preds = %212, %160
  %162 = load i32, ptr %35, align 4, !tbaa !5
  %163 = icmp slt i32 %162, 96
  br i1 %163, label %165, label %164

164:                                              ; preds = %161
  store i32 8, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %215

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #6
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 32, i1 false)
  %166 = load i32, ptr %35, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  store i64 %167, ptr %37, align 8, !tbaa !15
  %168 = getelementptr inbounds i64, ptr %37, i64 1
  %169 = getelementptr inbounds i64, ptr %37, i64 2
  %170 = getelementptr inbounds i64, ptr %37, i64 3
  %171 = getelementptr inbounds [4 x i64], ptr %37, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %36, ptr noundef %171)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %36, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %208, %165
  %173 = load i32, ptr %38, align 4, !tbaa !5
  %174 = icmp slt i32 %173, 96
  br i1 %174, label %176, label %175

175:                                              ; preds = %172
  store i32 11, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br label %211

176:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #6
  call void @llvm.memset.p0.i64(ptr align 8 %40, i8 0, i64 32, i1 false)
  %177 = load i32, ptr %38, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  store i64 %178, ptr %40, align 8, !tbaa !15
  %179 = getelementptr inbounds i64, ptr %40, i64 1
  %180 = getelementptr inbounds i64, ptr %40, i64 2
  %181 = getelementptr inbounds i64, ptr %40, i64 3
  %182 = getelementptr inbounds [4 x i64], ptr %40, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %39, ptr noundef %182)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %39, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #6
  call void @posit256_sub(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %41, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %41, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  %183 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %7)
  store x86_fp80 %183, ptr %42, align 16, !tbaa !17
  %184 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %8)
  store x86_fp80 %184, ptr %43, align 16, !tbaa !17
  %185 = load x86_fp80, ptr %42, align 16, !tbaa !17
  %186 = load x86_fp80, ptr %43, align 16, !tbaa !17
  %187 = fsub x86_fp80 %185, %186
  store x86_fp80 %187, ptr %44, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #6
  %188 = load x86_fp80, ptr %44, align 16, !tbaa !17
  call void @posit256_fromld(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %45, x86_fp80 noundef %188)
  %189 = call i32 @posit256_cmp(ptr noundef byval(%union.posit256_u) align 8 %45, ptr noundef byval(%union.posit256_u) align 8 %9)
  %190 = icmp ne i32 %189, 0
  br i1 %190, label %191, label %207

191:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 144, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %47) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %49) #6
  %192 = getelementptr inbounds [144 x i8], ptr %46, i64 0, i64 0
  call void @posit256_str(ptr noundef %192, ptr noundef byval(%union.posit256_u) align 8 %7)
  %193 = getelementptr inbounds [144 x i8], ptr %47, i64 0, i64 0
  call void @posit256_str(ptr noundef %193, ptr noundef byval(%union.posit256_u) align 8 %8)
  %194 = getelementptr inbounds [144 x i8], ptr %48, i64 0, i64 0
  call void @posit256_str(ptr noundef %194, ptr noundef byval(%union.posit256_u) align 8 %9)
  %195 = getelementptr inbounds [144 x i8], ptr %49, i64 0, i64 0
  call void @posit256_str(ptr noundef %195, ptr noundef byval(%union.posit256_u) align 8 %45)
  %196 = load i8, ptr %12, align 1, !tbaa !11, !range !19, !noundef !20
  %197 = trunc i8 %196 to i1
  br i1 %197, label %198, label %204

198:                                              ; preds = %191
  %199 = getelementptr inbounds [144 x i8], ptr %46, i64 0, i64 0
  %200 = getelementptr inbounds [144 x i8], ptr %47, i64 0, i64 0
  %201 = getelementptr inbounds [144 x i8], ptr %48, i64 0, i64 0
  %202 = getelementptr inbounds [144 x i8], ptr %49, i64 0, i64 0
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %199, ptr noundef %200, ptr noundef %201, ptr noundef %202)
  br label %204

204:                                              ; preds = %198, %191
  %205 = load i32, ptr %18, align 4, !tbaa !5
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 144, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %46) #6
  br label %207

207:                                              ; preds = %204, %176
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %38, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %38, align 4, !tbaa !5
  br label %172, !llvm.loop !24

211:                                              ; preds = %175
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %35, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %35, align 4, !tbaa !5
  br label %161, !llvm.loop !25

215:                                              ; preds = %164
  %216 = load i32, ptr %18, align 4, !tbaa !5
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %226

218:                                              ; preds = %215
  %219 = load i8, ptr %17, align 1, !tbaa !11, !range !19, !noundef !20
  %220 = trunc i8 %219 to i1
  br i1 %220, label %221, label %223

221:                                              ; preds = %218
  %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %225

223:                                              ; preds = %218
  %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %225

225:                                              ; preds = %223, %221
  br label %228

226:                                              ; preds = %215
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %228

228:                                              ; preds = %226, %225
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %229

229:                                              ; preds = %280, %228
  %230 = load i32, ptr %50, align 4, !tbaa !5
  %231 = icmp slt i32 %230, 96
  br i1 %231, label %233, label %232

232:                                              ; preds = %229
  store i32 14, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  br label %283

233:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #6
  call void @llvm.memset.p0.i64(ptr align 8 %52, i8 0, i64 32, i1 false)
  %234 = load i32, ptr %50, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  store i64 %235, ptr %52, align 8, !tbaa !15
  %236 = getelementptr inbounds i64, ptr %52, i64 1
  %237 = getelementptr inbounds i64, ptr %52, i64 2
  %238 = getelementptr inbounds i64, ptr %52, i64 3
  %239 = getelementptr inbounds [4 x i64], ptr %52, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %51, ptr noundef %239)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %51, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  store i32 0, ptr %53, align 4, !tbaa !5
  br label %240

240:                                              ; preds = %276, %233
  %241 = load i32, ptr %53, align 4, !tbaa !5
  %242 = icmp slt i32 %241, 96
  br i1 %242, label %244, label %243

243:                                              ; preds = %240
  store i32 17, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  br label %279

244:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #6
  call void @llvm.memset.p0.i64(ptr align 8 %55, i8 0, i64 32, i1 false)
  %245 = load i32, ptr %53, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  store i64 %246, ptr %55, align 8, !tbaa !15
  %247 = getelementptr inbounds i64, ptr %55, i64 1
  %248 = getelementptr inbounds i64, ptr %55, i64 2
  %249 = getelementptr inbounds i64, ptr %55, i64 3
  %250 = getelementptr inbounds [4 x i64], ptr %55, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %54, ptr noundef %250)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %54, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #6
  call void @posit256_mul(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %56, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %56, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #6
  %251 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %7)
  store x86_fp80 %251, ptr %57, align 16, !tbaa !17
  %252 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %8)
  store x86_fp80 %252, ptr %58, align 16, !tbaa !17
  %253 = load x86_fp80, ptr %57, align 16, !tbaa !17
  %254 = load x86_fp80, ptr %58, align 16, !tbaa !17
  %255 = fmul x86_fp80 %253, %254
  store x86_fp80 %255, ptr %59, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #6
  %256 = load x86_fp80, ptr %59, align 16, !tbaa !17
  call void @posit256_fromld(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %60, x86_fp80 noundef %256)
  %257 = call i32 @posit256_cmp(ptr noundef byval(%union.posit256_u) align 8 %60, ptr noundef byval(%union.posit256_u) align 8 %9)
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %275

259:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 144, ptr %61) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %62) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %63) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %64) #6
  %260 = getelementptr inbounds [144 x i8], ptr %61, i64 0, i64 0
  call void @posit256_str(ptr noundef %260, ptr noundef byval(%union.posit256_u) align 8 %7)
  %261 = getelementptr inbounds [144 x i8], ptr %62, i64 0, i64 0
  call void @posit256_str(ptr noundef %261, ptr noundef byval(%union.posit256_u) align 8 %8)
  %262 = getelementptr inbounds [144 x i8], ptr %63, i64 0, i64 0
  call void @posit256_str(ptr noundef %262, ptr noundef byval(%union.posit256_u) align 8 %9)
  %263 = getelementptr inbounds [144 x i8], ptr %64, i64 0, i64 0
  call void @posit256_str(ptr noundef %263, ptr noundef byval(%union.posit256_u) align 8 %60)
  %264 = load i8, ptr %12, align 1, !tbaa !11, !range !19, !noundef !20
  %265 = trunc i8 %264 to i1
  br i1 %265, label %266, label %272

266:                                              ; preds = %259
  %267 = getelementptr inbounds [144 x i8], ptr %61, i64 0, i64 0
  %268 = getelementptr inbounds [144 x i8], ptr %62, i64 0, i64 0
  %269 = getelementptr inbounds [144 x i8], ptr %63, i64 0, i64 0
  %270 = getelementptr inbounds [144 x i8], ptr %64, i64 0, i64 0
  %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %267, ptr noundef %268, ptr noundef %269, ptr noundef %270)
  br label %272

272:                                              ; preds = %266, %259
  %273 = load i32, ptr %18, align 4, !tbaa !5
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 144, ptr %64) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %61) #6
  br label %275

275:                                              ; preds = %272, %244
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #6
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr %53, align 4, !tbaa !5
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %53, align 4, !tbaa !5
  br label %240, !llvm.loop !26

279:                                              ; preds = %243
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %50, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %50, align 4, !tbaa !5
  br label %229, !llvm.loop !27

283:                                              ; preds = %232
  %284 = load i32, ptr %18, align 4, !tbaa !5
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %294

286:                                              ; preds = %283
  %287 = load i8, ptr %17, align 1, !tbaa !11, !range !19, !noundef !20
  %288 = trunc i8 %287 to i1
  br i1 %288, label %289, label %291

289:                                              ; preds = %286
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  br label %293

291:                                              ; preds = %286
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %293

293:                                              ; preds = %291, %289
  br label %296

294:                                              ; preds = %283
  %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  br label %296

296:                                              ; preds = %294, %293
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #6
  store i32 0, ptr %65, align 4, !tbaa !5
  br label %297

297:                                              ; preds = %348, %296
  %298 = load i32, ptr %65, align 4, !tbaa !5
  %299 = icmp slt i32 %298, 96
  br i1 %299, label %301, label %300

300:                                              ; preds = %297
  store i32 20, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #6
  br label %351

301:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 32, ptr %66) #6
  call void @llvm.memset.p0.i64(ptr align 8 %67, i8 0, i64 32, i1 false)
  %302 = load i32, ptr %65, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  store i64 %303, ptr %67, align 8, !tbaa !15
  %304 = getelementptr inbounds i64, ptr %67, i64 1
  %305 = getelementptr inbounds i64, ptr %67, i64 2
  %306 = getelementptr inbounds i64, ptr %67, i64 3
  %307 = getelementptr inbounds [4 x i64], ptr %67, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %66, ptr noundef %307)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %66, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %66) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #6
  store i32 0, ptr %68, align 4, !tbaa !5
  br label %308

308:                                              ; preds = %344, %301
  %309 = load i32, ptr %68, align 4, !tbaa !5
  %310 = icmp slt i32 %309, 96
  br i1 %310, label %312, label %311

311:                                              ; preds = %308
  store i32 23, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #6
  br label %347

312:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #6
  call void @llvm.memset.p0.i64(ptr align 8 %70, i8 0, i64 32, i1 false)
  %313 = load i32, ptr %68, align 4, !tbaa !5
  %314 = sext i32 %313 to i64
  store i64 %314, ptr %70, align 8, !tbaa !15
  %315 = getelementptr inbounds i64, ptr %70, i64 1
  %316 = getelementptr inbounds i64, ptr %70, i64 2
  %317 = getelementptr inbounds i64, ptr %70, i64 3
  %318 = getelementptr inbounds [4 x i64], ptr %70, i64 0, i64 0
  call void @posit256_reinterpret(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %69, ptr noundef %318)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %69, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %71) #6
  call void @posit256_div(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %71, ptr noundef byval(%union.posit256_u) align 8 %7, ptr noundef byval(%union.posit256_u) align 8 %8)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %71, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %72) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %73) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %74) #6
  %319 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %7)
  store x86_fp80 %319, ptr %72, align 16, !tbaa !17
  %320 = call x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8 %8)
  store x86_fp80 %320, ptr %73, align 16, !tbaa !17
  %321 = load x86_fp80, ptr %72, align 16, !tbaa !17
  %322 = load x86_fp80, ptr %73, align 16, !tbaa !17
  %323 = fdiv x86_fp80 %321, %322
  store x86_fp80 %323, ptr %74, align 16, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #6
  %324 = load x86_fp80, ptr %74, align 16, !tbaa !17
  call void @posit256_fromld(ptr dead_on_unwind writable sret(%union.posit256_u) align 8 %75, x86_fp80 noundef %324)
  %325 = call i32 @posit256_cmp(ptr noundef byval(%union.posit256_u) align 8 %75, ptr noundef byval(%union.posit256_u) align 8 %9)
  %326 = icmp ne i32 %325, 0
  br i1 %326, label %327, label %343

327:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 144, ptr %76) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %77) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %78) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %79) #6
  %328 = getelementptr inbounds [144 x i8], ptr %76, i64 0, i64 0
  call void @posit256_str(ptr noundef %328, ptr noundef byval(%union.posit256_u) align 8 %7)
  %329 = getelementptr inbounds [144 x i8], ptr %77, i64 0, i64 0
  call void @posit256_str(ptr noundef %329, ptr noundef byval(%union.posit256_u) align 8 %8)
  %330 = getelementptr inbounds [144 x i8], ptr %78, i64 0, i64 0
  call void @posit256_str(ptr noundef %330, ptr noundef byval(%union.posit256_u) align 8 %9)
  %331 = getelementptr inbounds [144 x i8], ptr %79, i64 0, i64 0
  call void @posit256_str(ptr noundef %331, ptr noundef byval(%union.posit256_u) align 8 %75)
  %332 = load i8, ptr %12, align 1, !tbaa !11, !range !19, !noundef !20
  %333 = trunc i8 %332 to i1
  br i1 %333, label %334, label %340

334:                                              ; preds = %327
  %335 = getelementptr inbounds [144 x i8], ptr %76, i64 0, i64 0
  %336 = getelementptr inbounds [144 x i8], ptr %77, i64 0, i64 0
  %337 = getelementptr inbounds [144 x i8], ptr %78, i64 0, i64 0
  %338 = getelementptr inbounds [144 x i8], ptr %79, i64 0, i64 0
  %339 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %335, ptr noundef %336, ptr noundef %337, ptr noundef %338)
  br label %340

340:                                              ; preds = %334, %327
  %341 = load i32, ptr %18, align 4, !tbaa !5
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 144, ptr %79) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %78) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %77) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %76) #6
  br label %343

343:                                              ; preds = %340, %312
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %74) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %72) #6
  br label %344

344:                                              ; preds = %343
  %345 = load i32, ptr %68, align 4, !tbaa !5
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %68, align 4, !tbaa !5
  br label %308, !llvm.loop !28

347:                                              ; preds = %311
  br label %348

348:                                              ; preds = %347
  %349 = load i32, ptr %65, align 4, !tbaa !5
  %350 = add nsw i32 %349, 1
  store i32 %350, ptr %65, align 4, !tbaa !5
  br label %297, !llvm.loop !29

351:                                              ; preds = %300
  %352 = load i32, ptr %18, align 4, !tbaa !5
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %362

354:                                              ; preds = %351
  %355 = load i8, ptr %17, align 1, !tbaa !11, !range !19, !noundef !20
  %356 = trunc i8 %355 to i1
  br i1 %356, label %357, label %359

357:                                              ; preds = %354
  %358 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  br label %361

359:                                              ; preds = %354
  %360 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  store i8 1, ptr %11, align 1, !tbaa !11
  br label %361

361:                                              ; preds = %359, %357
  br label %364

362:                                              ; preds = %351
  %363 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  br label %364

364:                                              ; preds = %362, %361
  %365 = load i8, ptr %11, align 1, !tbaa !11, !range !19, !noundef !20
  %366 = trunc i8 %365 to i1
  %367 = zext i1 %366 to i32
  %368 = icmp sgt i32 %367, 0
  %369 = zext i1 %368 to i64
  %370 = select i1 %368, i32 1, i32 0
  store i32 %370, ptr %3, align 4
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %371 = load i32, ptr %3, align 4
  ret i32 %371
}

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_add(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) #3

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

declare void @posit256_str(ptr noundef, ptr noundef byval(%union.posit256_u) align 8) #4

declare i32 @printf(ptr noundef, ...) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_sub(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_mul(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_div(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_reinterpret(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef align 8 dereferenceable(32)) #3

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

declare x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8) #4

declare void @posit256_fromld(ptr dead_on_unwind writable sret(%union.posit256_u) align 8, x86_fp80 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @posit256_cmp(ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i64 0, i64 32, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long double", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !22}
!28 = distinct !{!28, !22}
!29 = distinct !{!29, !22}


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

%union.posit256_u = type { [4 x i64] }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@NAR256 = external hidden local_unnamed_addr constant { [32 x i8] }, align 8
@ZERO256 = external hidden local_unnamed_addr constant { [32 x i8] }, align 8

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %union.posit256_u, align 8
  %4 = alloca %union.posit256_u, align 8
  %5 = alloca %union.posit256_u, align 8
  %6 = alloca [144 x i8], align 16
  %7 = alloca %union.posit256_u, align 8
  %8 = alloca %union.posit256_u, align 8
  %9 = alloca %union.posit256_u, align 8
  %10 = alloca %union.posit256_u, align 8
  %11 = alloca [4 x i64], align 8
  %12 = alloca %union.posit256_u, align 8
  %13 = alloca [4 x i64], align 8
  %14 = alloca %union.posit256_u, align 8
  %15 = alloca %union.posit256_u, align 8
  %16 = alloca [144 x i8], align 16
  %17 = alloca [144 x i8], align 16
  %18 = alloca [144 x i8], align 16
  %19 = alloca [144 x i8], align 16
  %20 = alloca %union.posit256_u, align 8
  %21 = alloca [4 x i64], align 8
  %22 = alloca %union.posit256_u, align 8
  %23 = alloca [4 x i64], align 8
  %24 = alloca %union.posit256_u, align 8
  %25 = alloca %union.posit256_u, align 8
  %26 = alloca [144 x i8], align 16
  %27 = alloca [144 x i8], align 16
  %28 = alloca [144 x i8], align 16
  %29 = alloca [144 x i8], align 16
  %30 = alloca %union.posit256_u, align 8
  %31 = alloca [4 x i64], align 8
  %32 = alloca %union.posit256_u, align 8
  %33 = alloca [4 x i64], align 8
  %34 = alloca %union.posit256_u, align 8
  %35 = alloca %union.posit256_u, align 8
  %36 = alloca [144 x i8], align 16
  %37 = alloca [144 x i8], align 16
  %38 = alloca [144 x i8], align 16
  %39 = alloca [144 x i8], align 16
  %40 = alloca %union.posit256_u, align 8
  %41 = alloca [4 x i64], align 8
  %42 = alloca %union.posit256_u, align 8
  %43 = alloca [4 x i64], align 8
  %44 = alloca %union.posit256_u, align 8
  %45 = alloca %union.posit256_u, align 8
  %46 = alloca [144 x i8], align 16
  %47 = alloca [144 x i8], align 16
  %48 = alloca [144 x i8], align 16
  %49 = alloca [144 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %6) #7
  call void @posit256_add(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %5, ptr noundef nonnull byval(%union.posit256_u) align 8 @NAR256, ptr noundef nonnull byval(%union.posit256_u) align 8 @ZERO256)
  call void @posit256_str(ptr noundef nonnull %6, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @posit256_sub(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %7, ptr noundef nonnull byval(%union.posit256_u) align 8 @NAR256, ptr noundef nonnull byval(%union.posit256_u) align 8 @ZERO256)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %7, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  call void @posit256_str(ptr noundef nonnull %6, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  call void @posit256_mul(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %8, ptr noundef nonnull byval(%union.posit256_u) align 8 @NAR256, ptr noundef nonnull byval(%union.posit256_u) align 8 @ZERO256)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %8, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  call void @posit256_str(ptr noundef nonnull %6, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %6)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) @NAR256, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) @ZERO256, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @posit256_div(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %9, ptr noundef nonnull byval(%union.posit256_u) align 8 @NAR256, ptr noundef nonnull byval(%union.posit256_u) align 8 @ZERO256)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %9, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  call void @posit256_str(ptr noundef nonnull %6, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %6)
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef 16)
  %55 = getelementptr inbounds i8, ptr %11, i64 8
  %56 = getelementptr inbounds i8, ptr %13, i64 8
  br label %61

57:                                               ; preds = %62
  %.not = icmp eq i32 %.266, 0
  %.str.5..str.3 = select i1 %.not, ptr @.str.5, ptr @.str.3
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5..str.3)
  %59 = getelementptr inbounds i8, ptr %21, i64 8
  %60 = getelementptr inbounds i8, ptr %23, i64 8
  br label %75

61:                                               ; preds = %2, %62
  %indvars.iv100 = phi i64 [ 0, %2 ], [ %indvars.iv.next101, %62 ]
  %.06486 = phi i32 [ 0, %2 ], [ %.266, %62 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %55, i8 0, i64 24, i1 false)
  store i64 %indvars.iv100, ptr %11, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %10, ptr noundef nonnull %11)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %10, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %63

62:                                               ; preds = %70
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %exitcond103.not = icmp eq i64 %indvars.iv.next101, 96
  br i1 %exitcond103.not, label %57, label %61, !llvm.loop !11

63:                                               ; preds = %61, %70
  %indvars.iv = phi i64 [ 0, %61 ], [ %indvars.iv.next, %70 ]
  %.16584 = phi i32 [ %.06486, %61 ], [ %.266, %70 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %56, i8 0, i64 24, i1 false)
  store i64 %indvars.iv, ptr %13, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %12, ptr noundef nonnull %13)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %12, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  call void @posit256_add(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %14, ptr noundef nonnull byval(%union.posit256_u) align 8 %3, ptr noundef nonnull byval(%union.posit256_u) align 8 %4)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  %64 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  %65 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  %66 = fadd x86_fp80 %64, %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  call void @posit256_fromld(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %15, x86_fp80 noundef %66) #7
  %67 = call i32 @posit256_cmp(ptr noundef nonnull byval(%union.posit256_u) align 8 %15, ptr noundef nonnull byval(%union.posit256_u) align 8 %5)
  %.not82 = icmp eq i32 %67, 0
  br i1 %.not82, label %70, label %68

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %19) #7
  call void @posit256_str(ptr noundef nonnull %16, ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  call void @posit256_str(ptr noundef nonnull %17, ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  call void @posit256_str(ptr noundef nonnull %18, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  call void @posit256_str(ptr noundef nonnull %19, ptr noundef nonnull byval(%union.posit256_u) align 8 %15) #7
  %69 = add nsw i32 %.16584, 1
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #7
  br label %70

70:                                               ; preds = %68, %63
  %.266 = phi i32 [ %69, %68 ], [ %.16584, %63 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 96
  br i1 %exitcond.not, label %62, label %63, !llvm.loop !13

71:                                               ; preds = %76
  %.not76 = icmp eq i32 %.5, 0
  %.str.9..str.7 = select i1 %.not76, ptr @.str.9, ptr @.str.7
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.9..str.7)
  %73 = getelementptr inbounds i8, ptr %31, i64 8
  %74 = getelementptr inbounds i8, ptr %33, i64 8
  br label %89

75:                                               ; preds = %57, %76
  %indvars.iv108 = phi i64 [ 0, %57 ], [ %indvars.iv.next109, %76 ]
  %.36790 = phi i32 [ 0, %57 ], [ %.5, %76 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %59, i8 0, i64 24, i1 false)
  store i64 %indvars.iv108, ptr %21, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %20, ptr noundef nonnull %21)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %20, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #7
  br label %77

76:                                               ; preds = %84
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next109, 96
  br i1 %exitcond111.not, label %71, label %75, !llvm.loop !14

77:                                               ; preds = %75, %84
  %indvars.iv104 = phi i64 [ 0, %75 ], [ %indvars.iv.next105, %84 ]
  %.488 = phi i32 [ %.36790, %75 ], [ %.5, %84 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %60, i8 0, i64 24, i1 false)
  store i64 %indvars.iv104, ptr %23, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %22, ptr noundef nonnull %23)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %22, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  call void @posit256_sub(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %24, ptr noundef nonnull byval(%union.posit256_u) align 8 %3, ptr noundef nonnull byval(%union.posit256_u) align 8 %4)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %24, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  %78 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  %79 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  %80 = fsub x86_fp80 %78, %79
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #7
  call void @posit256_fromld(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %25, x86_fp80 noundef %80) #7
  %81 = call i32 @posit256_cmp(ptr noundef nonnull byval(%union.posit256_u) align 8 %25, ptr noundef nonnull byval(%union.posit256_u) align 8 %5)
  %.not81 = icmp eq i32 %81, 0
  br i1 %.not81, label %84, label %82

82:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %29) #7
  call void @posit256_str(ptr noundef nonnull %26, ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  call void @posit256_str(ptr noundef nonnull %27, ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  call void @posit256_str(ptr noundef nonnull %28, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  call void @posit256_str(ptr noundef nonnull %29, ptr noundef nonnull byval(%union.posit256_u) align 8 %25) #7
  %83 = add nsw i32 %.488, 1
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %26) #7
  br label %84

84:                                               ; preds = %82, %77
  %.5 = phi i32 [ %83, %82 ], [ %.488, %77 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #7
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %exitcond107.not = icmp eq i64 %indvars.iv.next105, 96
  br i1 %exitcond107.not, label %76, label %77, !llvm.loop !15

85:                                               ; preds = %90
  %.not77 = icmp eq i32 %.8, 0
  %.str.13..str.11 = select i1 %.not77, ptr @.str.13, ptr @.str.11
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.13..str.11)
  %87 = getelementptr inbounds i8, ptr %41, i64 8
  %88 = getelementptr inbounds i8, ptr %43, i64 8
  br label %101

89:                                               ; preds = %71, %90
  %indvars.iv116 = phi i64 [ 0, %71 ], [ %indvars.iv.next117, %90 ]
  %.694 = phi i32 [ 0, %71 ], [ %.8, %90 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %73, i8 0, i64 24, i1 false)
  store i64 %indvars.iv116, ptr %31, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %30, ptr noundef nonnull %31)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %30, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #7
  br label %91

90:                                               ; preds = %98
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %exitcond119.not = icmp eq i64 %indvars.iv.next117, 96
  br i1 %exitcond119.not, label %85, label %89, !llvm.loop !16

91:                                               ; preds = %89, %98
  %indvars.iv112 = phi i64 [ 0, %89 ], [ %indvars.iv.next113, %98 ]
  %.792 = phi i32 [ %.694, %89 ], [ %.8, %98 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %74, i8 0, i64 24, i1 false)
  store i64 %indvars.iv112, ptr %33, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %32, ptr noundef nonnull %33)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %32, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #7
  call void @posit256_mul(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %34, ptr noundef nonnull byval(%union.posit256_u) align 8 %3, ptr noundef nonnull byval(%union.posit256_u) align 8 %4)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %34, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #7
  %92 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  %93 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  %94 = fmul x86_fp80 %92, %93
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %35) #7
  call void @posit256_fromld(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %35, x86_fp80 noundef %94) #7
  %95 = call i32 @posit256_cmp(ptr noundef nonnull byval(%union.posit256_u) align 8 %35, ptr noundef nonnull byval(%union.posit256_u) align 8 %5)
  %.not80 = icmp eq i32 %95, 0
  br i1 %.not80, label %98, label %96

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %38) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %39) #7
  call void @posit256_str(ptr noundef nonnull %36, ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  call void @posit256_str(ptr noundef nonnull %37, ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  call void @posit256_str(ptr noundef nonnull %38, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  call void @posit256_str(ptr noundef nonnull %39, ptr noundef nonnull byval(%union.posit256_u) align 8 %35) #7
  %97 = add nsw i32 %.792, 1
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %36) #7
  br label %98

98:                                               ; preds = %96, %91
  %.8 = phi i32 [ %97, %96 ], [ %.792, %91 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #7
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %exitcond115.not = icmp eq i64 %indvars.iv.next113, 96
  br i1 %exitcond115.not, label %90, label %91, !llvm.loop !17

99:                                               ; preds = %102
  %.not78 = icmp eq i32 %.11, 0
  %.str.17..str.15 = select i1 %.not78, ptr @.str.17, ptr @.str.15
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.17..str.15)
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret i32 0

101:                                              ; preds = %85, %102
  %indvars.iv124 = phi i64 [ 0, %85 ], [ %indvars.iv.next125, %102 ]
  %.998 = phi i32 [ 0, %85 ], [ %.11, %102 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %87, i8 0, i64 24, i1 false)
  store i64 %indvars.iv124, ptr %41, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %40, ptr noundef nonnull %41)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %40, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #7
  br label %103

102:                                              ; preds = %110
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %exitcond127.not = icmp eq i64 %indvars.iv.next125, 96
  br i1 %exitcond127.not, label %99, label %101, !llvm.loop !18

103:                                              ; preds = %101, %110
  %indvars.iv120 = phi i64 [ 0, %101 ], [ %indvars.iv.next121, %110 ]
  %.1096 = phi i32 [ %.998, %101 ], [ %.11, %110 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %88, i8 0, i64 24, i1 false)
  store i64 %indvars.iv120, ptr %43, align 8, !tbaa !9
  call void @posit256_reinterpret(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %42, ptr noundef nonnull %43)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %42, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #7
  call void @posit256_div(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %44, ptr noundef nonnull byval(%union.posit256_u) align 8 %3, ptr noundef nonnull byval(%union.posit256_u) align 8 %4)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %44, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #7
  %104 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  %105 = call x86_fp80 @posit256_told(ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  %106 = fdiv x86_fp80 %104, %105
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %45) #7
  call void @posit256_fromld(ptr dead_on_unwind nonnull writable sret(%union.posit256_u) align 8 %45, x86_fp80 noundef %106) #7
  %107 = call i32 @posit256_cmp(ptr noundef nonnull byval(%union.posit256_u) align 8 %45, ptr noundef nonnull byval(%union.posit256_u) align 8 %5)
  %.not79 = icmp eq i32 %107, 0
  br i1 %.not79, label %110, label %108

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %46) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %47) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %48) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %49) #7
  call void @posit256_str(ptr noundef nonnull %46, ptr noundef nonnull byval(%union.posit256_u) align 8 %3) #7
  call void @posit256_str(ptr noundef nonnull %47, ptr noundef nonnull byval(%union.posit256_u) align 8 %4) #7
  call void @posit256_str(ptr noundef nonnull %48, ptr noundef nonnull byval(%union.posit256_u) align 8 %5) #7
  call void @posit256_str(ptr noundef nonnull %49, ptr noundef nonnull byval(%union.posit256_u) align 8 %45) #7
  %109 = add nsw i32 %.1096, 1
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %46) #7
  br label %110

110:                                              ; preds = %108, %103
  %.11 = phi i32 [ %109, %108 ], [ %.1096, %103 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #7
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %exitcond123.not = icmp eq i64 %indvars.iv.next121, 96
  br i1 %exitcond123.not, label %102, label %103, !llvm.loop !19
}

; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_add(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #3

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

declare void @posit256_str(ptr noundef, ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #4

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_sub(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_mul(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_div(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @posit256_reinterpret(ptr dead_on_unwind noalias writable sret(%union.posit256_u) align 8, ptr noundef align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare x86_fp80 @posit256_told(ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #4

declare void @posit256_fromld(ptr dead_on_unwind writable sret(%union.posit256_u) align 8, x86_fp80 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @posit256_cmp(ptr noundef byval(%union.posit256_u) align 8, ptr noundef byval(%union.posit256_u) align 8) local_unnamed_addr #3

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { 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 = !{i64 0, i64 32, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass