; LLVM IR from Tiramisu-Compiler/tiramisu :: 3rdParty/isl/imath (imath)

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

%struct.mpz = type { i32, ptr, i32, i32, i8 }

@.str.1 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [51 x i8], align 1
@__PRETTY_FUNCTION__.mp_int_to_string = external hidden unnamed_addr constant [57 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @mp_int_clear(ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @mp_int_to_string(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.mpz, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %27

20:                                               ; preds = %4
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %27

23:                                               ; preds = %20
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = icmp sge i32 %24, 2
  br i1 %25, label %26, label %27

26:                                               ; preds = %23
  br label %28

27:                                               ; preds = %23, %20, %4
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 1678, ptr noundef @__PRETTY_FUNCTION__.mp_int_to_string) #4
  unreachable

28:                                               ; preds = %26
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = icmp ult i32 %29, 2
  br i1 %30, label %34, label %31

31:                                               ; preds = %28
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = icmp ugt i32 %32, 36
  br i1 %33, label %34, label %35

34:                                               ; preds = %31, %28
  store i32 -3, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %147

35:                                               ; preds = %31
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.mpz, ptr %36, i32 0, i32 3
  %38 = load i32, ptr %37, align 4, !tbaa !11
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %48

40:                                               ; preds = %35
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.mpz, ptr %41, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = getelementptr inbounds i32, ptr %43, i64 0
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %40
  br label %56

48:                                               ; preds = %40, %35
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.mpz, ptr %49, i32 0, i32 4
  %51 = load i8, ptr %50, align 8, !tbaa !14
  %52 = zext i8 %51 to i32
  %53 = icmp eq i32 %52, 1
  %54 = zext i1 %53 to i64
  %55 = select i1 %53, i32 -1, i32 1
  br label %56

56:                                               ; preds = %48, %47
  %57 = phi i32 [ 0, %47 ], [ %55, %48 ]
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %63

59:                                               ; preds = %56
  %60 = call signext i8 @s_val2ch(i32 noundef 0, i32 noundef 1)
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i32 1
  store ptr %62, ptr %8, align 8, !tbaa !5
  store i8 %60, ptr %61, align 1, !tbaa !15
  br label %141

63:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = call i32 @mp_int_init_copy(ptr noundef %13, ptr noundef %64)
  store i32 %65, ptr %10, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %69

67:                                               ; preds = %63
  %68 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %68, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %138

69:                                               ; preds = %63
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.mpz, ptr %70, i32 0, i32 4
  %72 = load i8, ptr %71, align 8, !tbaa !14
  %73 = zext i8 %72 to i32
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %80

75:                                               ; preds = %69
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i32 1
  store ptr %77, ptr %8, align 8, !tbaa !5
  store i8 45, ptr %76, align 1, !tbaa !15
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = add nsw i32 %78, -1
  store i32 %79, ptr %9, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %75, %69
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %81, ptr %14, align 8, !tbaa !5
  br label %82

82:                                               ; preds = %117, %80
  %83 = load i32, ptr %9, align 4, !tbaa !9
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %85, label %120

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %86 = getelementptr inbounds %struct.mpz, ptr %13, i32 0, i32 3
  %87 = load i32, ptr %86, align 4, !tbaa !11
  %88 = icmp eq i32 %87, 1
  br i1 %88, label %89, label %96

89:                                               ; preds = %85
  %90 = getelementptr inbounds %struct.mpz, ptr %13, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = getelementptr inbounds i32, ptr %91, i64 0
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %89
  br label %103

96:                                               ; preds = %89, %85
  %97 = getelementptr inbounds %struct.mpz, ptr %13, i32 0, i32 4
  %98 = load i8, ptr %97, align 8, !tbaa !14
  %99 = zext i8 %98 to i32
  %100 = icmp eq i32 %99, 1
  %101 = zext i1 %100 to i64
  %102 = select i1 %100, i32 -1, i32 1
  br label %103

103:                                              ; preds = %96, %95
  %104 = phi i32 [ 0, %95 ], [ %102, %96 ]
  store i32 %104, ptr %11, align 4, !tbaa !9
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %103
  store i32 2, ptr %12, align 4
  br label %114

107:                                              ; preds = %103
  %108 = load i32, ptr %7, align 4, !tbaa !9
  %109 = call i32 @s_ddiv(ptr noundef %13, i32 noundef %108)
  store i32 %109, ptr %16, align 4, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = call signext i8 @s_val2ch(i32 noundef %110, i32 noundef 1)
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i32 1
  store ptr %113, ptr %8, align 8, !tbaa !5
  store i8 %111, ptr %112, align 1, !tbaa !15
  store i32 0, ptr %12, align 4
  br label %114

114:                                              ; preds = %107, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  %115 = load i32, ptr %12, align 4
  switch i32 %115, label %149 [
    i32 0, label %116
    i32 2, label %120
  ]

116:                                              ; preds = %114
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %9, align 4, !tbaa !9
  %119 = add nsw i32 %118, -1
  store i32 %119, ptr %9, align 4, !tbaa !9
  br label %82, !llvm.loop !16

120:                                              ; preds = %114, %82
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 -1
  store ptr %122, ptr %15, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %127, %120
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  %125 = load ptr, ptr %15, align 8, !tbaa !5
  %126 = icmp ult ptr %124, %125
  br i1 %126, label %127, label %137

127:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #3
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  %129 = load i8, ptr %128, align 1, !tbaa !15
  store i8 %129, ptr %17, align 1, !tbaa !15
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = load i8, ptr %130, align 1, !tbaa !15
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  %133 = getelementptr inbounds i8, ptr %132, i32 1
  store ptr %133, ptr %14, align 8, !tbaa !5
  store i8 %131, ptr %132, align 1, !tbaa !15
  %134 = load i8, ptr %17, align 1, !tbaa !15
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i32 -1
  store ptr %136, ptr %15, align 8, !tbaa !5
  store i8 %134, ptr %135, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #3
  br label %123, !llvm.loop !18

137:                                              ; preds = %123
  call void @mp_int_clear(ptr noundef %13)
  store i32 0, ptr %12, align 4
  br label %138

138:                                              ; preds = %137, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #3
  %139 = load i32, ptr %12, align 4
  switch i32 %139, label %147 [
    i32 0, label %140
  ]

140:                                              ; preds = %138
  br label %141

141:                                              ; preds = %140, %59
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %142, align 1, !tbaa !15
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %141
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %147

146:                                              ; preds = %141
  store i32 -5, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %147

147:                                              ; preds = %146, %145, %138, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  %148 = load i32, ptr %5, align 4
  ret i32 %148

149:                                              ; preds = %114
  unreachable
}

; Function Attrs: nounwind uwtable
declare hidden signext i8 @s_val2ch(i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @s_ddiv(ptr noundef, i32 noundef) #2

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.mpz = type { i32, ptr, i32, i32, i8 }

@.str.1 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [51 x i8], align 1
@__PRETTY_FUNCTION__.mp_int_to_string = external hidden unnamed_addr constant [57 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @mp_int_to_string(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = alloca %struct.mpz, align 8
  %6 = icmp ne ptr %0, null
  %7 = icmp ne ptr %2, null
  %or.cond = and i1 %6, %7
  %8 = icmp sgt i32 %3, 1
  %or.cond3 = and i1 %or.cond, %8
  br i1 %or.cond3, label %10, label %9

9:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 1678, ptr noundef nonnull @__PRETTY_FUNCTION__.mp_int_to_string) #3
  unreachable

10:                                               ; preds = %4
  %11 = add i32 %1, -37
  %or.cond5 = icmp ult i32 %11, -35
  br i1 %or.cond5, label %53, label %12

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 20
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = icmp eq i32 %14, 1
  br i1 %15, label %16, label %.critedge

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !11
  %19 = load i32, ptr %18, align 4, !tbaa !12
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %.thread59, label %.critedge

.critedge:                                        ; preds = %16, %12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  %21 = call i32 @mp_int_init_copy(ptr noundef nonnull %5, ptr noundef nonnull %0)
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %24, label %.thread56

.thread56:                                        ; preds = %.critedge
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  br label %53

.thread59:                                        ; preds = %16
  %22 = tail call signext i8 @s_val2ch(i32 noundef 0, i32 noundef 1)
  %23 = getelementptr inbounds i8, ptr %2, i64 1
  store i8 %22, ptr %2, align 1, !tbaa !13
  store i8 0, ptr %23, align 1, !tbaa !13
  br label %52

24:                                               ; preds = %.critedge
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = load i8, ptr %25, align 8, !tbaa !14
  %27 = icmp eq i8 %26, 1
  br i1 %27, label %28, label %.lr.ph

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %2, i64 1
  store i8 45, ptr %2, align 1, !tbaa !13
  %30 = add nsw i32 %3, -1
  br label %.lr.ph

.lr.ph:                                           ; preds = %24, %28
  %.047 = phi i32 [ %30, %28 ], [ %3, %24 ]
  %.037 = phi ptr [ %29, %28 ], [ %2, %24 ]
  %31 = getelementptr inbounds i8, ptr %5, i64 8
  %32 = getelementptr inbounds i8, ptr %5, i64 20
  br label %33

33:                                               ; preds = %.lr.ph, %40
  %.13864 = phi ptr [ %.037, %.lr.ph ], [ %43, %40 ]
  %.14863 = phi i32 [ %.047, %.lr.ph ], [ %44, %40 ]
  %34 = load i32, ptr %32, align 4, !tbaa !5
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %36, label %40

36:                                               ; preds = %33
  %37 = load ptr, ptr %31, align 8, !tbaa !11
  %38 = load i32, ptr %37, align 4, !tbaa !12
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %.thread52, label %40

40:                                               ; preds = %36, %33
  %41 = call i32 @s_ddiv(ptr noundef nonnull %5, i32 noundef %1)
  %42 = call signext i8 @s_val2ch(i32 noundef %41, i32 noundef 1)
  %43 = getelementptr inbounds i8, ptr %.13864, i64 1
  store i8 %42, ptr %.13864, align 1, !tbaa !13
  %44 = add nsw i32 %.14863, -1
  %45 = icmp sgt i32 %.14863, 1
  br i1 %45, label %33, label %.thread52, !llvm.loop !15

.thread52:                                        ; preds = %36, %40
  %.138.lcssa = phi ptr [ %43, %40 ], [ %.13864, %36 ]
  %46 = phi i1 [ false, %40 ], [ true, %36 ]
  %.03970 = getelementptr inbounds i8, ptr %.138.lcssa, i64 -1
  %47 = icmp ult ptr %.037, %.03970
  br i1 %47, label %.lr.ph73, label %._crit_edge

.lr.ph73:                                         ; preds = %.thread52, %.lr.ph73
  %.03972 = phi ptr [ %.039, %.lr.ph73 ], [ %.03970, %.thread52 ]
  %.04071 = phi ptr [ %50, %.lr.ph73 ], [ %.037, %.thread52 ]
  %48 = load i8, ptr %.04071, align 1, !tbaa !13
  %49 = load i8, ptr %.03972, align 1, !tbaa !13
  %50 = getelementptr inbounds i8, ptr %.04071, i64 1
  store i8 %49, ptr %.04071, align 1, !tbaa !13
  store i8 %48, ptr %.03972, align 1, !tbaa !13
  %.039 = getelementptr inbounds i8, ptr %.03972, i64 -1
  %51 = icmp ult ptr %50, %.039
  br i1 %51, label %.lr.ph73, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph73, %.thread52
  call void @mp_int_clear(ptr noundef nonnull %5)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  store i8 0, ptr %.138.lcssa, align 1, !tbaa !13
  br i1 %46, label %52, label %53

52:                                               ; preds = %.thread59, %._crit_edge
  br label %53

53:                                               ; preds = %52, %._crit_edge, %.thread56, %10
  %.1 = phi i32 [ -3, %10 ], [ %21, %.thread56 ], [ 0, %52 ], [ -5, %._crit_edge ]
  ret i32 %.1
}

; Function Attrs: nounwind uwtable
declare hidden signext i8 @s_val2ch(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @s_ddiv(ptr noundef, i32 noundef) local_unnamed_addr #2

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


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass