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

; 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.posit64_u = type { i64 }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [87 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
@NAR64 = external hidden constant { [8 x i8] }, align 8
@ZERO64 = external hidden constant { [8 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 %union.posit64_u, align 8
  %7 = alloca %union.posit64_u, align 8
  %8 = alloca %union.posit64_u, align 8
  %9 = alloca [46 x i8], align 16
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %union.posit64_u, align 8
  %13 = alloca %union.posit64_u, align 8
  %14 = alloca %union.posit64_u, align 8
  %15 = alloca %union.posit64_u, align 8
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %union.posit64_u, align 8
  %21 = alloca i32, align 4
  %22 = alloca %union.posit64_u, align 8
  %23 = alloca %union.posit64_u, align 8
  %24 = alloca x86_fp80, align 16
  %25 = alloca x86_fp80, align 16
  %26 = alloca x86_fp80, align 16
  %27 = alloca %union.posit64_u, align 8
  %28 = alloca [46 x i8], align 16
  %29 = alloca [46 x i8], align 16
  %30 = alloca [46 x i8], align 16
  %31 = alloca [46 x i8], align 16
  %32 = alloca i32, align 4
  %33 = alloca %union.posit64_u, align 8
  %34 = alloca i32, align 4
  %35 = alloca %union.posit64_u, align 8
  %36 = alloca %union.posit64_u, align 8
  %37 = alloca x86_fp80, align 16
  %38 = alloca x86_fp80, align 16
  %39 = alloca x86_fp80, align 16
  %40 = alloca %union.posit64_u, align 8
  %41 = alloca [46 x i8], align 16
  %42 = alloca [46 x i8], align 16
  %43 = alloca [46 x i8], align 16
  %44 = alloca [46 x i8], align 16
  %45 = alloca i32, align 4
  %46 = alloca %union.posit64_u, align 8
  %47 = alloca i32, align 4
  %48 = alloca %union.posit64_u, align 8
  %49 = alloca %union.posit64_u, align 8
  %50 = alloca x86_fp80, align 16
  %51 = alloca x86_fp80, align 16
  %52 = alloca x86_fp80, align 16
  %53 = alloca %union.posit64_u, align 8
  %54 = alloca [46 x i8], align 16
  %55 = alloca [46 x i8], align 16
  %56 = alloca [46 x i8], align 16
  %57 = alloca [46 x i8], align 16
  %58 = alloca i32, align 4
  %59 = alloca %union.posit64_u, align 8
  %60 = alloca i32, align 4
  %61 = alloca %union.posit64_u, align 8
  %62 = alloca %union.posit64_u, align 8
  %63 = alloca x86_fp80, align 16
  %64 = alloca x86_fp80, align 16
  %65 = alloca x86_fp80, align 16
  %66 = alloca %union.posit64_u, align 8
  %67 = alloca [46 x i8], align 16
  %68 = alloca [46 x i8], align 16
  %69 = alloca [46 x i8], align 16
  %70 = alloca [46 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 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 0, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @NAR64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @ZERO64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %71 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %72 = load i64, ptr %71, align 8
  %73 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %74 = load i64, ptr %73, align 8
  %75 = call i64 @posit64_add(i64 %72, i64 %74)
  %76 = getelementptr inbounds %union.posit64_u, ptr %12, i32 0, i32 0
  store i64 %75, ptr %76, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %12, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %77 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %78 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %79 = load i64, ptr %78, align 8
  call void @posit64_str(ptr noundef %77, i64 %79)
  %80 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %80)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @NAR64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @ZERO64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %82 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %83 = load i64, ptr %82, align 8
  %84 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %85 = load i64, ptr %84, align 8
  %86 = call i64 @posit64_sub(i64 %83, i64 %85)
  %87 = getelementptr inbounds %union.posit64_u, ptr %13, i32 0, i32 0
  store i64 %86, ptr %87, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %13, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  %88 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %89 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %90 = load i64, ptr %89, align 8
  call void @posit64_str(ptr noundef %88, i64 %90)
  %91 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %91)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @NAR64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @ZERO64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %93 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %94 = load i64, ptr %93, align 8
  %95 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %96 = load i64, ptr %95, align 8
  %97 = call i64 @posit64_mul(i64 %94, i64 %96)
  %98 = getelementptr inbounds %union.posit64_u, ptr %14, i32 0, i32 0
  store i64 %97, ptr %98, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %14, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %99 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %100 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %101 = load i64, ptr %100, align 8
  call void @posit64_str(ptr noundef %99, i64 %101)
  %102 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %102)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 @NAR64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @ZERO64, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %104 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %105 = load i64, ptr %104, align 8
  %106 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %107 = load i64, ptr %106, align 8
  %108 = call i64 @posit64_div(i64 %105, i64 %107)
  %109 = getelementptr inbounds %union.posit64_u, ptr %15, i32 0, i32 0
  store i64 %108, ptr %109, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %15, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %110 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %111 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %112 = load i64, ptr %111, align 8
  call void @posit64_str(ptr noundef %110, i64 %112)
  %113 = getelementptr inbounds [46 x i8], ptr %9, i64 0, i64 0
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %113)
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  store i8 1, ptr %16, align 1, !tbaa !11
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %188, %2
  %117 = load i32, ptr %18, align 4, !tbaa !5
  %118 = icmp slt i32 %117, 256
  br i1 %118, label %120, label %119

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

120:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %121 = load i32, ptr %18, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = call i64 @posit64_reinterpret(i64 noundef %122)
  %124 = getelementptr inbounds %union.posit64_u, ptr %20, i32 0, i32 0
  store i64 %123, ptr %124, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %20, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %184, %120
  %126 = load i32, ptr %21, align 4, !tbaa !5
  %127 = icmp slt i32 %126, 256
  br i1 %127, label %129, label %128

128:                                              ; preds = %125
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %187

129:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %130 = load i32, ptr %21, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = call i64 @posit64_reinterpret(i64 noundef %131)
  %133 = getelementptr inbounds %union.posit64_u, ptr %22, i32 0, i32 0
  store i64 %132, ptr %133, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %22, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %134 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %135 = load i64, ptr %134, align 8
  %136 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %137 = load i64, ptr %136, align 8
  %138 = call i64 @posit64_add(i64 %135, i64 %137)
  %139 = getelementptr inbounds %union.posit64_u, ptr %23, i32 0, i32 0
  store i64 %138, ptr %139, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %23, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  %140 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %141 = load i64, ptr %140, align 8
  %142 = call x86_fp80 @posit64_told(i64 %141)
  store x86_fp80 %142, ptr %24, align 16, !tbaa !15
  %143 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %144 = load i64, ptr %143, align 8
  %145 = call x86_fp80 @posit64_told(i64 %144)
  store x86_fp80 %145, ptr %25, align 16, !tbaa !15
  %146 = load x86_fp80, ptr %24, align 16, !tbaa !15
  %147 = load x86_fp80, ptr %25, align 16, !tbaa !15
  %148 = fadd x86_fp80 %146, %147
  store x86_fp80 %148, ptr %26, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %149 = load x86_fp80, ptr %26, align 16, !tbaa !15
  %150 = fptrunc x86_fp80 %149 to double
  %151 = call i64 @posit64_fromd(double noundef %150)
  %152 = getelementptr inbounds %union.posit64_u, ptr %27, i32 0, i32 0
  store i64 %151, ptr %152, align 8
  %153 = getelementptr inbounds %union.posit64_u, ptr %27, i32 0, i32 0
  %154 = load i64, ptr %153, align 8
  %155 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %156 = load i64, ptr %155, align 8
  %157 = call i32 @posit64_cmp(i64 %154, i64 %156)
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %183

159:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 46, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %31) #5
  %160 = getelementptr inbounds [46 x i8], ptr %28, i64 0, i64 0
  %161 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %162 = load i64, ptr %161, align 8
  call void @posit64_str(ptr noundef %160, i64 %162)
  %163 = getelementptr inbounds [46 x i8], ptr %29, i64 0, i64 0
  %164 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %165 = load i64, ptr %164, align 8
  call void @posit64_str(ptr noundef %163, i64 %165)
  %166 = getelementptr inbounds [46 x i8], ptr %30, i64 0, i64 0
  %167 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %168 = load i64, ptr %167, align 8
  call void @posit64_str(ptr noundef %166, i64 %168)
  %169 = getelementptr inbounds [46 x i8], ptr %31, i64 0, i64 0
  %170 = getelementptr inbounds %union.posit64_u, ptr %27, i32 0, i32 0
  %171 = load i64, ptr %170, align 8
  call void @posit64_str(ptr noundef %169, i64 %171)
  %172 = load i8, ptr %11, align 1, !tbaa !11, !range !17, !noundef !18
  %173 = trunc i8 %172 to i1
  br i1 %173, label %174, label %180

174:                                              ; preds = %159
  %175 = getelementptr inbounds [46 x i8], ptr %28, i64 0, i64 0
  %176 = getelementptr inbounds [46 x i8], ptr %29, i64 0, i64 0
  %177 = getelementptr inbounds [46 x i8], ptr %30, i64 0, i64 0
  %178 = getelementptr inbounds [46 x i8], ptr %31, i64 0, i64 0
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %175, ptr noundef %176, ptr noundef %177, ptr noundef %178)
  br label %180

180:                                              ; preds = %174, %159
  %181 = load i32, ptr %17, align 4, !tbaa !5
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 46, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %28) #5
  br label %183

183:                                              ; preds = %180, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %21, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %21, align 4, !tbaa !5
  br label %125, !llvm.loop !19

187:                                              ; preds = %128
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %18, align 4, !tbaa !5
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %18, align 4, !tbaa !5
  br label %116, !llvm.loop !21

191:                                              ; preds = %119
  %192 = load i32, ptr %17, align 4, !tbaa !5
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %194, label %202

194:                                              ; preds = %191
  %195 = load i8, ptr %16, align 1, !tbaa !11, !range !17, !noundef !18
  %196 = trunc i8 %195 to i1
  br i1 %196, label %197, label %199

197:                                              ; preds = %194
  %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %201

199:                                              ; preds = %194
  %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %201

201:                                              ; preds = %199, %197
  br label %204

202:                                              ; preds = %191
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %204

204:                                              ; preds = %202, %201
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %277, %204
  %206 = load i32, ptr %32, align 4, !tbaa !5
  %207 = icmp slt i32 %206, 256
  br i1 %207, label %209, label %208

208:                                              ; preds = %205
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %280

209:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %210 = load i32, ptr %32, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = call i64 @posit64_reinterpret(i64 noundef %211)
  %213 = getelementptr inbounds %union.posit64_u, ptr %33, i32 0, i32 0
  store i64 %212, ptr %213, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %33, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %214

214:                                              ; preds = %273, %209
  %215 = load i32, ptr %34, align 4, !tbaa !5
  %216 = icmp slt i32 %215, 256
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %276

218:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %219 = load i32, ptr %34, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = call i64 @posit64_reinterpret(i64 noundef %220)
  %222 = getelementptr inbounds %union.posit64_u, ptr %35, i32 0, i32 0
  store i64 %221, ptr %222, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %35, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %223 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %224 = load i64, ptr %223, align 8
  %225 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %226 = load i64, ptr %225, align 8
  %227 = call i64 @posit64_sub(i64 %224, i64 %226)
  %228 = getelementptr inbounds %union.posit64_u, ptr %36, i32 0, i32 0
  store i64 %227, ptr %228, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %36, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #5
  %229 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %230 = load i64, ptr %229, align 8
  %231 = call x86_fp80 @posit64_told(i64 %230)
  store x86_fp80 %231, ptr %37, align 16, !tbaa !15
  %232 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %233 = load i64, ptr %232, align 8
  %234 = call x86_fp80 @posit64_told(i64 %233)
  store x86_fp80 %234, ptr %38, align 16, !tbaa !15
  %235 = load x86_fp80, ptr %37, align 16, !tbaa !15
  %236 = load x86_fp80, ptr %38, align 16, !tbaa !15
  %237 = fsub x86_fp80 %235, %236
  store x86_fp80 %237, ptr %39, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %238 = load x86_fp80, ptr %39, align 16, !tbaa !15
  %239 = fptrunc x86_fp80 %238 to double
  %240 = call i64 @posit64_fromd(double noundef %239)
  %241 = getelementptr inbounds %union.posit64_u, ptr %40, i32 0, i32 0
  store i64 %240, ptr %241, align 8
  %242 = getelementptr inbounds %union.posit64_u, ptr %40, i32 0, i32 0
  %243 = load i64, ptr %242, align 8
  %244 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %245 = load i64, ptr %244, align 8
  %246 = call i32 @posit64_cmp(i64 %243, i64 %245)
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %248, label %272

248:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 46, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %44) #5
  %249 = getelementptr inbounds [46 x i8], ptr %41, i64 0, i64 0
  %250 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %251 = load i64, ptr %250, align 8
  call void @posit64_str(ptr noundef %249, i64 %251)
  %252 = getelementptr inbounds [46 x i8], ptr %42, i64 0, i64 0
  %253 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %254 = load i64, ptr %253, align 8
  call void @posit64_str(ptr noundef %252, i64 %254)
  %255 = getelementptr inbounds [46 x i8], ptr %43, i64 0, i64 0
  %256 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %257 = load i64, ptr %256, align 8
  call void @posit64_str(ptr noundef %255, i64 %257)
  %258 = getelementptr inbounds [46 x i8], ptr %44, i64 0, i64 0
  %259 = getelementptr inbounds %union.posit64_u, ptr %40, i32 0, i32 0
  %260 = load i64, ptr %259, align 8
  call void @posit64_str(ptr noundef %258, i64 %260)
  %261 = load i8, ptr %11, align 1, !tbaa !11, !range !17, !noundef !18
  %262 = trunc i8 %261 to i1
  br i1 %262, label %263, label %269

263:                                              ; preds = %248
  %264 = getelementptr inbounds [46 x i8], ptr %41, i64 0, i64 0
  %265 = getelementptr inbounds [46 x i8], ptr %42, i64 0, i64 0
  %266 = getelementptr inbounds [46 x i8], ptr %43, i64 0, i64 0
  %267 = getelementptr inbounds [46 x i8], ptr %44, i64 0, i64 0
  %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %264, ptr noundef %265, ptr noundef %266, ptr noundef %267)
  br label %269

269:                                              ; preds = %263, %248
  %270 = load i32, ptr %17, align 4, !tbaa !5
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 46, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %41) #5
  br label %272

272:                                              ; preds = %269, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #5
  br label %273

273:                                              ; preds = %272
  %274 = load i32, ptr %34, align 4, !tbaa !5
  %275 = add nsw i32 %274, 1
  store i32 %275, ptr %34, align 4, !tbaa !5
  br label %214, !llvm.loop !22

276:                                              ; preds = %217
  br label %277

277:                                              ; preds = %276
  %278 = load i32, ptr %32, align 4, !tbaa !5
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %32, align 4, !tbaa !5
  br label %205, !llvm.loop !23

280:                                              ; preds = %208
  %281 = load i32, ptr %17, align 4, !tbaa !5
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %283, label %291

283:                                              ; preds = %280
  %284 = load i8, ptr %16, align 1, !tbaa !11, !range !17, !noundef !18
  %285 = trunc i8 %284 to i1
  br i1 %285, label %286, label %288

286:                                              ; preds = %283
  %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %290

288:                                              ; preds = %283
  %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %290

290:                                              ; preds = %288, %286
  br label %293

291:                                              ; preds = %280
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %293

293:                                              ; preds = %291, %290
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #5
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %294

294:                                              ; preds = %366, %293
  %295 = load i32, ptr %45, align 4, !tbaa !5
  %296 = icmp slt i32 %295, 256
  br i1 %296, label %298, label %297

297:                                              ; preds = %294
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #5
  br label %369

298:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %299 = load i32, ptr %45, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = call i64 @posit64_reinterpret(i64 noundef %300)
  %302 = getelementptr inbounds %union.posit64_u, ptr %46, i32 0, i32 0
  store i64 %301, ptr %302, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %46, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #5
  store i32 0, ptr %47, align 4, !tbaa !5
  br label %303

303:                                              ; preds = %362, %298
  %304 = load i32, ptr %47, align 4, !tbaa !5
  %305 = icmp slt i32 %304, 256
  br i1 %305, label %307, label %306

306:                                              ; preds = %303
  store i32 17, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #5
  br label %365

307:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %308 = load i32, ptr %47, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = call i64 @posit64_reinterpret(i64 noundef %309)
  %311 = getelementptr inbounds %union.posit64_u, ptr %48, i32 0, i32 0
  store i64 %310, ptr %311, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %48, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #5
  %312 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %313 = load i64, ptr %312, align 8
  %314 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %315 = load i64, ptr %314, align 8
  %316 = call i64 @posit64_mul(i64 %313, i64 %315)
  %317 = getelementptr inbounds %union.posit64_u, ptr %49, i32 0, i32 0
  store i64 %316, ptr %317, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %49, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #5
  %318 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %319 = load i64, ptr %318, align 8
  %320 = call x86_fp80 @posit64_told(i64 %319)
  store x86_fp80 %320, ptr %50, align 16, !tbaa !15
  %321 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %322 = load i64, ptr %321, align 8
  %323 = call x86_fp80 @posit64_told(i64 %322)
  store x86_fp80 %323, ptr %51, align 16, !tbaa !15
  %324 = load x86_fp80, ptr %50, align 16, !tbaa !15
  %325 = load x86_fp80, ptr %51, align 16, !tbaa !15
  %326 = fmul x86_fp80 %324, %325
  store x86_fp80 %326, ptr %52, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  %327 = load x86_fp80, ptr %52, align 16, !tbaa !15
  %328 = fptrunc x86_fp80 %327 to double
  %329 = call i64 @posit64_fromd(double noundef %328)
  %330 = getelementptr inbounds %union.posit64_u, ptr %53, i32 0, i32 0
  store i64 %329, ptr %330, align 8
  %331 = getelementptr inbounds %union.posit64_u, ptr %53, i32 0, i32 0
  %332 = load i64, ptr %331, align 8
  %333 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %334 = load i64, ptr %333, align 8
  %335 = call i32 @posit64_cmp(i64 %332, i64 %334)
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %361

337:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 46, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %57) #5
  %338 = getelementptr inbounds [46 x i8], ptr %54, i64 0, i64 0
  %339 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %340 = load i64, ptr %339, align 8
  call void @posit64_str(ptr noundef %338, i64 %340)
  %341 = getelementptr inbounds [46 x i8], ptr %55, i64 0, i64 0
  %342 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %343 = load i64, ptr %342, align 8
  call void @posit64_str(ptr noundef %341, i64 %343)
  %344 = getelementptr inbounds [46 x i8], ptr %56, i64 0, i64 0
  %345 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %346 = load i64, ptr %345, align 8
  call void @posit64_str(ptr noundef %344, i64 %346)
  %347 = getelementptr inbounds [46 x i8], ptr %57, i64 0, i64 0
  %348 = getelementptr inbounds %union.posit64_u, ptr %53, i32 0, i32 0
  %349 = load i64, ptr %348, align 8
  call void @posit64_str(ptr noundef %347, i64 %349)
  %350 = load i8, ptr %11, align 1, !tbaa !11, !range !17, !noundef !18
  %351 = trunc i8 %350 to i1
  br i1 %351, label %352, label %358

352:                                              ; preds = %337
  %353 = getelementptr inbounds [46 x i8], ptr %54, i64 0, i64 0
  %354 = getelementptr inbounds [46 x i8], ptr %55, i64 0, i64 0
  %355 = getelementptr inbounds [46 x i8], ptr %56, i64 0, i64 0
  %356 = getelementptr inbounds [46 x i8], ptr %57, i64 0, i64 0
  %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %353, ptr noundef %354, ptr noundef %355, ptr noundef %356)
  br label %358

358:                                              ; preds = %352, %337
  %359 = load i32, ptr %17, align 4, !tbaa !5
  %360 = add nsw i32 %359, 1
  store i32 %360, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 46, ptr %57) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %54) #5
  br label %361

361:                                              ; preds = %358, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #5
  br label %362

362:                                              ; preds = %361
  %363 = load i32, ptr %47, align 4, !tbaa !5
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr %47, align 4, !tbaa !5
  br label %303, !llvm.loop !24

365:                                              ; preds = %306
  br label %366

366:                                              ; preds = %365
  %367 = load i32, ptr %45, align 4, !tbaa !5
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %45, align 4, !tbaa !5
  br label %294, !llvm.loop !25

369:                                              ; preds = %297
  %370 = load i32, ptr %17, align 4, !tbaa !5
  %371 = icmp ne i32 %370, 0
  br i1 %371, label %372, label %380

372:                                              ; preds = %369
  %373 = load i8, ptr %16, align 1, !tbaa !11, !range !17, !noundef !18
  %374 = trunc i8 %373 to i1
  br i1 %374, label %375, label %377

375:                                              ; preds = %372
  %376 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  br label %379

377:                                              ; preds = %372
  %378 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %379

379:                                              ; preds = %377, %375
  br label %382

380:                                              ; preds = %369
  %381 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  br label %382

382:                                              ; preds = %380, %379
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #5
  store i32 0, ptr %58, align 4, !tbaa !5
  br label %383

383:                                              ; preds = %455, %382
  %384 = load i32, ptr %58, align 4, !tbaa !5
  %385 = icmp slt i32 %384, 256
  br i1 %385, label %387, label %386

386:                                              ; preds = %383
  store i32 20, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #5
  br label %458

387:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #5
  %388 = load i32, ptr %58, align 4, !tbaa !5
  %389 = sext i32 %388 to i64
  %390 = call i64 @posit64_reinterpret(i64 noundef %389)
  %391 = getelementptr inbounds %union.posit64_u, ptr %59, i32 0, i32 0
  store i64 %390, ptr %391, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %59, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #5
  store i32 0, ptr %60, align 4, !tbaa !5
  br label %392

392:                                              ; preds = %451, %387
  %393 = load i32, ptr %60, align 4, !tbaa !5
  %394 = icmp slt i32 %393, 256
  br i1 %394, label %396, label %395

395:                                              ; preds = %392
  store i32 23, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #5
  br label %454

396:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #5
  %397 = load i32, ptr %60, align 4, !tbaa !5
  %398 = sext i32 %397 to i64
  %399 = call i64 @posit64_reinterpret(i64 noundef %398)
  %400 = getelementptr inbounds %union.posit64_u, ptr %61, i32 0, i32 0
  store i64 %399, ptr %400, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %61, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  %401 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %402 = load i64, ptr %401, align 8
  %403 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %404 = load i64, ptr %403, align 8
  %405 = call i64 @posit64_div(i64 %402, i64 %404)
  %406 = getelementptr inbounds %union.posit64_u, ptr %62, i32 0, i32 0
  store i64 %405, ptr %406, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %62, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %64) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %65) #5
  %407 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %408 = load i64, ptr %407, align 8
  %409 = call x86_fp80 @posit64_told(i64 %408)
  store x86_fp80 %409, ptr %63, align 16, !tbaa !15
  %410 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %411 = load i64, ptr %410, align 8
  %412 = call x86_fp80 @posit64_told(i64 %411)
  store x86_fp80 %412, ptr %64, align 16, !tbaa !15
  %413 = load x86_fp80, ptr %63, align 16, !tbaa !15
  %414 = load x86_fp80, ptr %64, align 16, !tbaa !15
  %415 = fdiv x86_fp80 %413, %414
  store x86_fp80 %415, ptr %65, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  %416 = load x86_fp80, ptr %65, align 16, !tbaa !15
  %417 = fptrunc x86_fp80 %416 to double
  %418 = call i64 @posit64_fromd(double noundef %417)
  %419 = getelementptr inbounds %union.posit64_u, ptr %66, i32 0, i32 0
  store i64 %418, ptr %419, align 8
  %420 = getelementptr inbounds %union.posit64_u, ptr %66, i32 0, i32 0
  %421 = load i64, ptr %420, align 8
  %422 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %423 = load i64, ptr %422, align 8
  %424 = call i32 @posit64_cmp(i64 %421, i64 %423)
  %425 = icmp ne i32 %424, 0
  br i1 %425, label %426, label %450

426:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 46, ptr %67) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %68) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %69) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr %70) #5
  %427 = getelementptr inbounds [46 x i8], ptr %67, i64 0, i64 0
  %428 = getelementptr inbounds %union.posit64_u, ptr %6, i32 0, i32 0
  %429 = load i64, ptr %428, align 8
  call void @posit64_str(ptr noundef %427, i64 %429)
  %430 = getelementptr inbounds [46 x i8], ptr %68, i64 0, i64 0
  %431 = getelementptr inbounds %union.posit64_u, ptr %7, i32 0, i32 0
  %432 = load i64, ptr %431, align 8
  call void @posit64_str(ptr noundef %430, i64 %432)
  %433 = getelementptr inbounds [46 x i8], ptr %69, i64 0, i64 0
  %434 = getelementptr inbounds %union.posit64_u, ptr %8, i32 0, i32 0
  %435 = load i64, ptr %434, align 8
  call void @posit64_str(ptr noundef %433, i64 %435)
  %436 = getelementptr inbounds [46 x i8], ptr %70, i64 0, i64 0
  %437 = getelementptr inbounds %union.posit64_u, ptr %66, i32 0, i32 0
  %438 = load i64, ptr %437, align 8
  call void @posit64_str(ptr noundef %436, i64 %438)
  %439 = load i8, ptr %11, align 1, !tbaa !11, !range !17, !noundef !18
  %440 = trunc i8 %439 to i1
  br i1 %440, label %441, label %447

441:                                              ; preds = %426
  %442 = getelementptr inbounds [46 x i8], ptr %67, i64 0, i64 0
  %443 = getelementptr inbounds [46 x i8], ptr %68, i64 0, i64 0
  %444 = getelementptr inbounds [46 x i8], ptr %69, i64 0, i64 0
  %445 = getelementptr inbounds [46 x i8], ptr %70, i64 0, i64 0
  %446 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %442, ptr noundef %443, ptr noundef %444, ptr noundef %445)
  br label %447

447:                                              ; preds = %441, %426
  %448 = load i32, ptr %17, align 4, !tbaa !5
  %449 = add nsw i32 %448, 1
  store i32 %449, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 46, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %67) #5
  br label %450

450:                                              ; preds = %447, %396
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #5
  br label %451

451:                                              ; preds = %450
  %452 = load i32, ptr %60, align 4, !tbaa !5
  %453 = add nsw i32 %452, 1
  store i32 %453, ptr %60, align 4, !tbaa !5
  br label %392, !llvm.loop !26

454:                                              ; preds = %395
  br label %455

455:                                              ; preds = %454
  %456 = load i32, ptr %58, align 4, !tbaa !5
  %457 = add nsw i32 %456, 1
  store i32 %457, ptr %58, align 4, !tbaa !5
  br label %383, !llvm.loop !27

458:                                              ; preds = %386
  %459 = load i32, ptr %17, align 4, !tbaa !5
  %460 = icmp ne i32 %459, 0
  br i1 %460, label %461, label %469

461:                                              ; preds = %458
  %462 = load i8, ptr %16, align 1, !tbaa !11, !range !17, !noundef !18
  %463 = trunc i8 %462 to i1
  br i1 %463, label %464, label %466

464:                                              ; preds = %461
  %465 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  br label %468

466:                                              ; preds = %461
  %467 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  store i8 1, ptr %10, align 1, !tbaa !11
  br label %468

468:                                              ; preds = %466, %464
  br label %471

469:                                              ; preds = %458
  %470 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  br label %471

471:                                              ; preds = %469, %468
  %472 = load i8, ptr %10, align 1, !tbaa !11, !range !17, !noundef !18
  %473 = trunc i8 %472 to i1
  %474 = zext i1 %473 to i32
  %475 = icmp sgt i32 %474, 0
  %476 = zext i1 %475 to i64
  %477 = select i1 %475, i32 1, i32 0
  store i32 %477, ptr %3, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %478 = load i32, ptr %3, align 4
  ret i32 %478
}

; 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 i64 @posit64_add(i64, i64) #3

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

declare void @posit64_str(ptr noundef, i64) #4

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_sub(i64, i64) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_mul(i64, i64) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_div(i64, i64) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_reinterpret(i64 noundef) #3

declare x86_fp80 @posit64_told(i64) #4

declare i64 @posit64_fromd(double noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @posit64_cmp(i64, i64) #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 = { 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 8, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long double", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}


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

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [87 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
@NAR64 = external hidden local_unnamed_addr constant { [8 x i8] }, align 8
@ZERO64 = external hidden local_unnamed_addr constant { [8 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 [46 x i8], align 16
  %4 = alloca [46 x i8], align 16
  %5 = alloca [46 x i8], align 16
  %6 = alloca [46 x i8], align 16
  %7 = alloca [46 x i8], align 16
  %8 = alloca [46 x i8], align 16
  %9 = alloca [46 x i8], align 16
  %10 = alloca [46 x i8], align 16
  %11 = alloca [46 x i8], align 16
  %12 = alloca [46 x i8], align 16
  %13 = alloca [46 x i8], align 16
  %14 = alloca [46 x i8], align 16
  %15 = alloca [46 x i8], align 16
  %16 = alloca [46 x i8], align 16
  %17 = alloca [46 x i8], align 16
  %18 = alloca [46 x i8], align 16
  %19 = alloca [46 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %3) #5
  %.sroa.0117.0.copyload = load i64, ptr @NAR64, align 8, !tbaa !5
  %.sroa.098.0.copyload = load i64, ptr @ZERO64, align 8, !tbaa !5
  %20 = tail call i64 @posit64_add(i64 %.sroa.0117.0.copyload, i64 %.sroa.098.0.copyload)
  call void @posit64_str(ptr noundef nonnull %3, i64 %20) #5
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %3)
  %22 = call i64 @posit64_sub(i64 %.sroa.0117.0.copyload, i64 %.sroa.098.0.copyload)
  call void @posit64_str(ptr noundef nonnull %3, i64 %22) #5
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %3)
  %24 = call i64 @posit64_mul(i64 %.sroa.0117.0.copyload, i64 %.sroa.098.0.copyload)
  call void @posit64_str(ptr noundef nonnull %3, i64 %24) #5
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %3)
  %26 = call i64 @posit64_div(i64 %.sroa.0117.0.copyload, i64 %.sroa.098.0.copyload)
  call void @posit64_str(ptr noundef nonnull %3, i64 %26) #5
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %3)
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef 16)
  br label %31

29:                                               ; preds = %33
  %.not = icmp eq i32 %.2139, 0
  %.str.5..str.3 = select i1 %.not, ptr @.str.5, ptr @.str.3
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5..str.3)
  br label %48

31:                                               ; preds = %2, %33
  %indvars.iv173 = phi i64 [ 0, %2 ], [ %indvars.iv.next174, %33 ]
  %.0137159 = phi i32 [ 0, %2 ], [ %.2139, %33 ]
  %32 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv173)
  br label %34

33:                                               ; preds = %45
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %exitcond176.not = icmp eq i64 %indvars.iv.next174, 256
  br i1 %exitcond176.not, label %29, label %31, !llvm.loop !8

34:                                               ; preds = %31, %45
  %indvars.iv = phi i64 [ 0, %31 ], [ %indvars.iv.next, %45 ]
  %.1138157 = phi i32 [ %.0137159, %31 ], [ %.2139, %45 ]
  %35 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv)
  %36 = call i64 @posit64_add(i64 %32, i64 %35)
  %37 = call x86_fp80 @posit64_told(i64 %32) #5
  %38 = call x86_fp80 @posit64_told(i64 %35) #5
  %39 = fadd x86_fp80 %37, %38
  %40 = fptrunc x86_fp80 %39 to double
  %41 = call i64 @posit64_fromd(double noundef %40) #5
  %42 = call i32 @posit64_cmp(i64 %41, i64 %36)
  %.not155 = icmp eq i32 %42, 0
  br i1 %.not155, label %45, label %43

43:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %7) #5
  call void @posit64_str(ptr noundef nonnull %4, i64 %32) #5
  call void @posit64_str(ptr noundef nonnull %5, i64 %35) #5
  call void @posit64_str(ptr noundef nonnull %6, i64 %36) #5
  call void @posit64_str(ptr noundef nonnull %7, i64 %41) #5
  %44 = add nsw i32 %.1138157, 1
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %4) #5
  br label %45

45:                                               ; preds = %43, %34
  %.2139 = phi i32 [ %44, %43 ], [ %.1138157, %34 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 256
  br i1 %exitcond.not, label %33, label %34, !llvm.loop !10

46:                                               ; preds = %50
  %.not149 = icmp eq i32 %.5, 0
  %.str.9..str.7 = select i1 %.not149, ptr @.str.9, ptr @.str.7
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.9..str.7)
  br label %65

48:                                               ; preds = %29, %50
  %indvars.iv181 = phi i64 [ 0, %29 ], [ %indvars.iv.next182, %50 ]
  %.3140163 = phi i32 [ 0, %29 ], [ %.5, %50 ]
  %49 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv181)
  br label %51

50:                                               ; preds = %62
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %exitcond184.not = icmp eq i64 %indvars.iv.next182, 256
  br i1 %exitcond184.not, label %46, label %48, !llvm.loop !11

51:                                               ; preds = %48, %62
  %indvars.iv177 = phi i64 [ 0, %48 ], [ %indvars.iv.next178, %62 ]
  %.4161 = phi i32 [ %.3140163, %48 ], [ %.5, %62 ]
  %52 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv177)
  %53 = call i64 @posit64_sub(i64 %49, i64 %52)
  %54 = call x86_fp80 @posit64_told(i64 %49) #5
  %55 = call x86_fp80 @posit64_told(i64 %52) #5
  %56 = fsub x86_fp80 %54, %55
  %57 = fptrunc x86_fp80 %56 to double
  %58 = call i64 @posit64_fromd(double noundef %57) #5
  %59 = call i32 @posit64_cmp(i64 %58, i64 %53)
  %.not154 = icmp eq i32 %59, 0
  br i1 %.not154, label %62, label %60

60:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %11) #5
  call void @posit64_str(ptr noundef nonnull %8, i64 %49) #5
  call void @posit64_str(ptr noundef nonnull %9, i64 %52) #5
  call void @posit64_str(ptr noundef nonnull %10, i64 %53) #5
  call void @posit64_str(ptr noundef nonnull %11, i64 %58) #5
  %61 = add nsw i32 %.4161, 1
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %8) #5
  br label %62

62:                                               ; preds = %60, %51
  %.5 = phi i32 [ %61, %60 ], [ %.4161, %51 ]
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %exitcond180.not = icmp eq i64 %indvars.iv.next178, 256
  br i1 %exitcond180.not, label %50, label %51, !llvm.loop !12

63:                                               ; preds = %67
  %.not150 = icmp eq i32 %.8, 0
  %.str.13..str.11 = select i1 %.not150, ptr @.str.13, ptr @.str.11
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.13..str.11)
  br label %82

65:                                               ; preds = %46, %67
  %indvars.iv189 = phi i64 [ 0, %46 ], [ %indvars.iv.next190, %67 ]
  %.6167 = phi i32 [ 0, %46 ], [ %.8, %67 ]
  %66 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv189)
  br label %68

67:                                               ; preds = %79
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %exitcond192.not = icmp eq i64 %indvars.iv.next190, 256
  br i1 %exitcond192.not, label %63, label %65, !llvm.loop !13

68:                                               ; preds = %65, %79
  %indvars.iv185 = phi i64 [ 0, %65 ], [ %indvars.iv.next186, %79 ]
  %.7165 = phi i32 [ %.6167, %65 ], [ %.8, %79 ]
  %69 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv185)
  %70 = call i64 @posit64_mul(i64 %66, i64 %69)
  %71 = call x86_fp80 @posit64_told(i64 %66) #5
  %72 = call x86_fp80 @posit64_told(i64 %69) #5
  %73 = fmul x86_fp80 %71, %72
  %74 = fptrunc x86_fp80 %73 to double
  %75 = call i64 @posit64_fromd(double noundef %74) #5
  %76 = call i32 @posit64_cmp(i64 %75, i64 %70)
  %.not153 = icmp eq i32 %76, 0
  br i1 %.not153, label %79, label %77

77:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %15) #5
  call void @posit64_str(ptr noundef nonnull %12, i64 %66) #5
  call void @posit64_str(ptr noundef nonnull %13, i64 %69) #5
  call void @posit64_str(ptr noundef nonnull %14, i64 %70) #5
  call void @posit64_str(ptr noundef nonnull %15, i64 %75) #5
  %78 = add nsw i32 %.7165, 1
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %12) #5
  br label %79

79:                                               ; preds = %77, %68
  %.8 = phi i32 [ %78, %77 ], [ %.7165, %68 ]
  %indvars.iv.next186 = add nuw nsw i64 %indvars.iv185, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next186, 256
  br i1 %exitcond188.not, label %67, label %68, !llvm.loop !14

80:                                               ; preds = %84
  %.not151 = icmp eq i32 %.11, 0
  %.str.17..str.15 = select i1 %.not151, ptr @.str.17, ptr @.str.15
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.17..str.15)
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %3) #5
  ret i32 0

82:                                               ; preds = %63, %84
  %indvars.iv197 = phi i64 [ 0, %63 ], [ %indvars.iv.next198, %84 ]
  %.9171 = phi i32 [ 0, %63 ], [ %.11, %84 ]
  %83 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv197)
  br label %85

84:                                               ; preds = %96
  %indvars.iv.next198 = add nuw nsw i64 %indvars.iv197, 1
  %exitcond200.not = icmp eq i64 %indvars.iv.next198, 256
  br i1 %exitcond200.not, label %80, label %82, !llvm.loop !15

85:                                               ; preds = %82, %96
  %indvars.iv193 = phi i64 [ 0, %82 ], [ %indvars.iv.next194, %96 ]
  %.10169 = phi i32 [ %.9171, %82 ], [ %.11, %96 ]
  %86 = call i64 @posit64_reinterpret(i64 noundef %indvars.iv193)
  %87 = call i64 @posit64_div(i64 %83, i64 %86)
  %88 = call x86_fp80 @posit64_told(i64 %83) #5
  %89 = call x86_fp80 @posit64_told(i64 %86) #5
  %90 = fdiv x86_fp80 %88, %89
  %91 = fptrunc x86_fp80 %90 to double
  %92 = call i64 @posit64_fromd(double noundef %91) #5
  %93 = call i32 @posit64_cmp(i64 %92, i64 %87)
  %.not152 = icmp eq i32 %93, 0
  br i1 %.not152, label %96, label %94

94:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 46, ptr nonnull %19) #5
  call void @posit64_str(ptr noundef nonnull %16, i64 %83) #5
  call void @posit64_str(ptr noundef nonnull %17, i64 %86) #5
  call void @posit64_str(ptr noundef nonnull %18, i64 %87) #5
  call void @posit64_str(ptr noundef nonnull %19, i64 %92) #5
  %95 = add nsw i32 %.10169, 1
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 46, ptr nonnull %16) #5
  br label %96

96:                                               ; preds = %94, %85
  %.11 = phi i32 [ %95, %94 ], [ %.10169, %85 ]
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  %exitcond196.not = icmp eq i64 %indvars.iv.next194, 256
  br i1 %exitcond196.not, label %84, label %85, !llvm.loop !16
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_add(i64, i64) local_unnamed_addr #2

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

declare void @posit64_str(ptr noundef, i64) local_unnamed_addr #3

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_sub(i64, i64) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_mul(i64, i64) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_div(i64, i64) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @posit64_reinterpret(i64 noundef) local_unnamed_addr #2

declare x86_fp80 @posit64_told(i64) local_unnamed_addr #3

declare i64 @posit64_fromd(double noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @posit64_cmp(i64, i64) local_unnamed_addr #2

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 = { 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 #3 = { "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 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}
!12 = distinct !{!12, !9}
!13 = distinct !{!13, !9}
!14 = distinct !{!14, !9}
!15 = distinct !{!15, !9}
!16 = distinct !{!16, !9}


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