; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_top/_ (main__)

; 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.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.tag_____List__ArgsParserError____ = type { ptr, i32, i32 }
%struct.tag_____ArgsParserResult__ = type { ptr, %struct.tag_____CommandLineInfo__ }
%struct.tag_____CommandLineInfo__ = type { %struct.string__, ptr }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }
%struct.tag_____ArgsParserError__ = type { %struct.string__, %struct.tag_____CommandLineArgsParserError__, %struct.string__, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____CommandLineArgsParserError__ = type { i32, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Compilation__ = type { ptr, ptr, i32, ptr, ptr, ptr, i32 }
%struct.tag_____List__Ptr__CodeUnit______ = type { ptr, i32, i32 }
%struct.tag_____List__Error____ = type { ptr, i32, i32 }
%struct.tag_____Array__Error____ = type { ptr, i32 }
%struct.tag_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____CompileArgs__ = type { ptr, %struct.string__, %struct.string__, %struct.string__, i8, i8, %struct.string__, %struct.string__, i32, i8, i8, i8 }
%struct.tag_____CodeUnit__ = type { %struct.string__, i32, %struct.string__, ptr }

@mu_____string0 = external dso_local global %struct.string__, align 8
@mu_____string570 = external dso_local global %struct.string__, align 8
@mu_____string612 = external dso_local global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local global %struct.tag_____IAllocator__, align 8
@__const.top_____main__.local4 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.top_____main__.local16 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.top_____main__.local17 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.top_____main__.local19 = external hidden unnamed_addr constant %struct.string__, align 8

; 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 speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @top_____main__() #3 {
  %1 = alloca %struct.tag_____IAllocator__, align 8
  %2 = alloca ptr, align 8
  %3 = alloca %struct.tag_____List__ArgsParserError____, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.tag_____ArgsParserResult__, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca %struct.tag_____StringBuilder__, align 8
  %10 = alloca %struct.string__, align 8
  %11 = alloca %struct.string__, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.tag_____ArgsParserError__, align 8
  %15 = alloca %struct.string__, align 8
  %16 = alloca %struct.string__, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %struct.tag_____Compilation__, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %struct.tag_____List__Ptr__CodeUnit______, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.tag_____List__Error____, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.tag_____Array__Error____, align 8
  %25 = alloca %struct.tag_____Array__Error____, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %struct.tag_____Error__, align 8
  %29 = alloca %struct.string__, align 8
  %30 = alloca i32, align 4
  %31 = alloca %struct.tag_____StringBuilder__, align 8
  %32 = alloca %struct.string__, align 8
  %33 = alloca %struct.string__, align 8
  %34 = alloca %struct.string__, align 8
  %35 = alloca %struct.tag_____StringBuilder__, align 8
  %36 = alloca %struct.string__, align 8
  %37 = alloca %struct.string__, align 8
  %38 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #6
  call void @Memory__newArenaAllocator__(ptr dead_on_unwind writable sret(%struct.tag_____IAllocator__) align 8 %1, i64 noundef 268435456)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %1, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %39 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %40 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %39, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !10
  %42 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %43 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %42, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !12
  %45 = call ptr %41(ptr noundef %44, i64 noundef 16)
  store ptr %45, ptr %2, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 16, i1 false)
  %46 = load ptr, ptr %2, align 8, !tbaa !6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %3, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %47 = load ptr, ptr %2, align 8, !tbaa !6
  store ptr %47, ptr %4, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %48 = call ptr @Environment__getCommandLineArgs__()
  store ptr %48, ptr %5, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %49 = load ptr, ptr %5, align 8, !tbaa !6
  %50 = load ptr, ptr %4, align 8, !tbaa !6
  call void @ArgsParser__parse__(ptr dead_on_unwind writable sret(%struct.tag_____ArgsParserResult__) align 8 %6, ptr noundef %49, ptr noundef %50)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %51 = getelementptr inbounds %struct.tag_____ArgsParserResult__, ptr %6, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !16
  store ptr %52, ptr %7, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  %53 = load ptr, ptr %7, align 8, !tbaa !6
  %54 = getelementptr inbounds %struct.tag_____CompileArgs__, ptr %53, i32 0, i32 10
  %55 = load i8, ptr %54, align 1, !tbaa !20
  store i8 %55, ptr %8, align 1, !tbaa !22
  %56 = load i8, ptr %8, align 1, !tbaa !22
  %57 = icmp ne i8 %56, 0
  br i1 %57, label %62, label %58

58:                                               ; preds = %0
  %59 = load ptr, ptr %7, align 8, !tbaa !6
  %60 = getelementptr inbounds %struct.tag_____CompileArgs__, ptr %59, i32 0, i32 11
  %61 = load i8, ptr %60, align 2, !tbaa !23
  store i8 %61, ptr %8, align 1, !tbaa !22
  br label %62

62:                                               ; preds = %58, %0
  %63 = load i8, ptr %8, align 1, !tbaa !22
  %64 = icmp ne i8 %63, 0
  br i1 %64, label %65, label %89

65:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 @__const.top_____main__.local4, i64 16, i1 false)
  %66 = getelementptr inbounds { ptr, i32 }, ptr %10, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8
  %68 = getelementptr inbounds { ptr, i32 }, ptr %10, i32 0, i32 1
  %69 = load i32, ptr %68, align 8
  call void @StringBuilder__write__(ptr noundef %9, ptr %67, i32 %69)
  %70 = load ptr, ptr @mu_____string570, align 8
  %71 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string570, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %9, ptr %70, i32 %71)
  %72 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %9)
  %73 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 0
  %74 = extractvalue { ptr, i32 } %72, 0
  store ptr %74, ptr %73, align 8
  %75 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 1
  %76 = extractvalue { ptr, i32 } %72, 1
  store i32 %76, ptr %75, align 8
  %77 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8
  %79 = getelementptr inbounds { ptr, i32 }, ptr %11, i32 0, i32 1
  %80 = load i32, ptr %79, align 8
  call void @Stdout__writeLine__(ptr %78, i32 %80)
  %81 = load ptr, ptr %7, align 8, !tbaa !6
  %82 = getelementptr inbounds %struct.tag_____CompileArgs__, ptr %81, i32 0, i32 11
  %83 = load i8, ptr %82, align 2, !tbaa !23
  %84 = icmp ne i8 %83, 0
  br i1 %84, label %85, label %88

85:                                               ; preds = %65
  %86 = load ptr, ptr @mu_____string612, align 8
  %87 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string612, i32 0, i32 1), align 8
  call void @Stdout__writeLine__(ptr %86, i32 %87)
  br label %88

88:                                               ; preds = %85, %65
  call void @exit(i32 noundef 1) #7
  unreachable

89:                                               ; preds = %62
  %90 = load ptr, ptr %4, align 8, !tbaa !6
  %91 = getelementptr inbounds %struct.tag_____List__ArgsParserError____, ptr %90, i32 0, i32 1
  %92 = load i32, ptr %91, align 8, !tbaa !24
  %93 = icmp sgt i32 %92, 0
  br i1 %93, label %94, label %163

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %95 = load ptr, ptr %4, align 8, !tbaa !6
  store ptr %95, ptr %12, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !14
  br label %96

96:                                               ; preds = %159, %94
  %97 = load i32, ptr %13, align 4, !tbaa !14
  %98 = load ptr, ptr %12, align 8, !tbaa !6
  %99 = getelementptr inbounds %struct.tag_____List__ArgsParserError____, ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 8, !tbaa !24
  %101 = icmp slt i32 %97, %100
  br i1 %101, label %102, label %162

102:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 88, ptr %14) #6
  %103 = load ptr, ptr %12, align 8, !tbaa !6
  %104 = getelementptr inbounds %struct.tag_____List__ArgsParserError____, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !26
  %106 = load i32, ptr %13, align 4, !tbaa !14
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %105, i64 %107
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %108, i64 88, i1 false), !tbaa.struct !27
  %109 = load i32, ptr %13, align 4, !tbaa !14
  %110 = icmp sgt i32 %109, 0
  br i1 %110, label %111, label %114

111:                                              ; preds = %102
  %112 = load ptr, ptr @mu_____string0, align 8
  %113 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string0, i32 0, i32 1), align 8
  call void @Stdout__writeLine__(ptr %112, i32 %113)
  br label %114

114:                                              ; preds = %111, %102
  %115 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %14, i32 0, i32 0
  %116 = getelementptr inbounds { ptr, i32 }, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8
  %118 = getelementptr inbounds { ptr, i32 }, ptr %115, i32 0, i32 1
  %119 = load i32, ptr %118, align 8
  %120 = load ptr, ptr @mu_____string0, align 8
  %121 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string0, i32 0, i32 1), align 8
  %122 = call zeroext i8 @string__equals__(ptr %117, i32 %119, ptr %120, i32 %121)
  %123 = icmp ne i8 %122, 0
  br i1 %123, label %124, label %136

124:                                              ; preds = %114
  %125 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %14, i32 0, i32 1
  %126 = getelementptr inbounds %struct.tag_____ArgsParserResult__, ptr %6, i32 0, i32 1
  %127 = call { ptr, i32 } @CommandLineArgsParser__getErrorDesc__(ptr noundef byval(%struct.tag_____CommandLineArgsParserError__) align 8 %125, ptr noundef byval(%struct.tag_____CommandLineInfo__) align 8 %126)
  %128 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 0
  %129 = extractvalue { ptr, i32 } %127, 0
  store ptr %129, ptr %128, align 8
  %130 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 1
  %131 = extractvalue { ptr, i32 } %127, 1
  store i32 %131, ptr %130, align 8
  %132 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 0
  %133 = load ptr, ptr %132, align 8
  %134 = getelementptr inbounds { ptr, i32 }, ptr %15, i32 0, i32 1
  %135 = load i32, ptr %134, align 8
  call void @Stdout__writeLine__(ptr %133, i32 %135)
  br label %159

136:                                              ; preds = %114
  %137 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %14, i32 0, i32 0
  %138 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %14, i32 0, i32 2
  %139 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %14, i32 0, i32 3
  %140 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %14, i32 0, i32 4
  %141 = getelementptr inbounds { ptr, i32 }, ptr %137, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8
  %143 = getelementptr inbounds { ptr, i32 }, ptr %137, i32 0, i32 1
  %144 = load i32, ptr %143, align 8
  %145 = getelementptr inbounds { ptr, i32 }, ptr %138, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8
  %147 = getelementptr inbounds { ptr, i32 }, ptr %138, i32 0, i32 1
  %148 = load i32, ptr %147, align 8
  %149 = load i64, ptr %139, align 8
  %150 = call { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr %142, i32 %144, ptr %146, i32 %148, i64 %149, ptr noundef byval(%struct.string__) align 8 %140)
  %151 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 0
  %152 = extractvalue { ptr, i32 } %150, 0
  store ptr %152, ptr %151, align 8
  %153 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 1
  %154 = extractvalue { ptr, i32 } %150, 1
  store i32 %154, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8
  %157 = getelementptr inbounds { ptr, i32 }, ptr %16, i32 0, i32 1
  %158 = load i32, ptr %157, align 8
  call void @Stdout__writeLine__(ptr %156, i32 %158)
  br label %159

159:                                              ; preds = %136, %124
  %160 = load i32, ptr %13, align 4, !tbaa !14
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %13, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 88, ptr %14) #6
  br label %96, !llvm.loop !28

162:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @exit(i32 noundef 1) #7
  unreachable

163:                                              ; preds = %89
  call void @Tag__static_init__()
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %164 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %165 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %164, i32 0, i32 1
  %166 = load ptr, ptr %165, align 8, !tbaa !10
  %167 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %168 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %167, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8, !tbaa !12
  %170 = call ptr %166(ptr noundef %169, i64 noundef 56)
  store ptr %170, ptr %17, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 56, ptr %18) #6
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 56, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %171 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %172 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %171, i32 0, i32 1
  %173 = load ptr, ptr %172, align 8, !tbaa !10
  %174 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %175 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %174, i32 0, i32 0
  %176 = load ptr, ptr %175, align 8, !tbaa !12
  %177 = call ptr %173(ptr noundef %176, i64 noundef 16)
  store ptr %177, ptr %19, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #6
  call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 16, i1 false)
  %178 = load ptr, ptr %19, align 8, !tbaa !6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %178, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !13
  %179 = load ptr, ptr %19, align 8, !tbaa !6
  %180 = getelementptr inbounds %struct.tag_____Compilation__, ptr %18, i32 0, i32 0
  store ptr %179, ptr %180, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %181 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %182 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %181, i32 0, i32 1
  %183 = load ptr, ptr %182, align 8, !tbaa !10
  %184 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  %185 = getelementptr inbounds %struct.tag_____IAllocator__, ptr %184, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !12
  %187 = call ptr %183(ptr noundef %186, i64 noundef 16)
  store ptr %187, ptr %21, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 16, i1 false)
  %188 = load ptr, ptr %21, align 8, !tbaa !6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %188, ptr align 8 %22, i64 16, i1 false), !tbaa.struct !13
  %189 = load ptr, ptr %21, align 8, !tbaa !6
  %190 = getelementptr inbounds %struct.tag_____Compilation__, ptr %18, i32 0, i32 1
  store ptr %189, ptr %190, align 8, !tbaa !32
  %191 = load ptr, ptr %17, align 8, !tbaa !6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %191, ptr align 8 %18, i64 56, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %192 = load ptr, ptr %17, align 8, !tbaa !6
  store ptr %192, ptr %23, align 8, !tbaa !6
  %193 = load ptr, ptr %23, align 8, !tbaa !6
  %194 = load ptr, ptr %7, align 8, !tbaa !6
  call void @top_____compile__(ptr noundef %193, ptr noundef %194)
  %195 = load ptr, ptr %23, align 8, !tbaa !6
  %196 = getelementptr inbounds %struct.tag_____Compilation__, ptr %195, i32 0, i32 1
  %197 = load ptr, ptr %196, align 8, !tbaa !32
  %198 = getelementptr inbounds %struct.tag_____List__Error____, ptr %197, i32 0, i32 1
  %199 = load i32, ptr %198, align 8, !tbaa !34
  %200 = icmp sgt i32 %199, 0
  br i1 %200, label %201, label %357

201:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %202 = load ptr, ptr %23, align 8, !tbaa !6
  %203 = getelementptr inbounds %struct.tag_____Compilation__, ptr %202, i32 0, i32 1
  %204 = load ptr, ptr %203, align 8, !tbaa !32
  %205 = load ptr, ptr %23, align 8, !tbaa !6
  %206 = getelementptr inbounds %struct.tag_____Compilation__, ptr %205, i32 0, i32 2
  %207 = load i32, ptr %206, align 8, !tbaa !36
  %208 = call { ptr, i32 } @List__slice__Error____(ptr noundef %204, i32 noundef 0, i32 noundef %207)
  %209 = getelementptr inbounds { ptr, i32 }, ptr %24, i32 0, i32 0
  %210 = extractvalue { ptr, i32 } %208, 0
  store ptr %210, ptr %209, align 8
  %211 = getelementptr inbounds { ptr, i32 }, ptr %24, i32 0, i32 1
  %212 = extractvalue { ptr, i32 } %208, 1
  store i32 %212, ptr %211, align 8
  call void @Array__stableSort__Error____(ptr noundef %24, ptr noundef @ErrorHelper__compareErrors__)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %213 = load ptr, ptr %23, align 8, !tbaa !6
  %214 = getelementptr inbounds %struct.tag_____Compilation__, ptr %213, i32 0, i32 1
  %215 = load ptr, ptr %214, align 8, !tbaa !32
  %216 = load ptr, ptr %23, align 8, !tbaa !6
  %217 = getelementptr inbounds %struct.tag_____Compilation__, ptr %216, i32 0, i32 2
  %218 = load i32, ptr %217, align 8, !tbaa !36
  %219 = load ptr, ptr %23, align 8, !tbaa !6
  %220 = getelementptr inbounds %struct.tag_____Compilation__, ptr %219, i32 0, i32 1
  %221 = load ptr, ptr %220, align 8, !tbaa !32
  %222 = getelementptr inbounds %struct.tag_____List__Error____, ptr %221, i32 0, i32 1
  %223 = load i32, ptr %222, align 8, !tbaa !34
  %224 = call { ptr, i32 } @List__slice__Error____(ptr noundef %215, i32 noundef %218, i32 noundef %223)
  %225 = getelementptr inbounds { ptr, i32 }, ptr %25, i32 0, i32 0
  %226 = extractvalue { ptr, i32 } %224, 0
  store ptr %226, ptr %225, align 8
  %227 = getelementptr inbounds { ptr, i32 }, ptr %25, i32 0, i32 1
  %228 = extractvalue { ptr, i32 } %224, 1
  store i32 %228, ptr %227, align 8
  call void @Array__stableSort__Error____(ptr noundef %25, ptr noundef @ErrorHelper__compareErrors__)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %229 = load ptr, ptr %23, align 8, !tbaa !6
  %230 = getelementptr inbounds %struct.tag_____Compilation__, ptr %229, i32 0, i32 1
  %231 = load ptr, ptr %230, align 8, !tbaa !32
  store ptr %231, ptr %26, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !14
  br label %232

232:                                              ; preds = %299, %201
  %233 = load i32, ptr %27, align 4, !tbaa !14
  %234 = load ptr, ptr %26, align 8, !tbaa !6
  %235 = getelementptr inbounds %struct.tag_____List__Error____, ptr %234, i32 0, i32 1
  %236 = load i32, ptr %235, align 8, !tbaa !34
  %237 = icmp slt i32 %233, %236
  br i1 %237, label %238, label %300

238:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #6
  %239 = load ptr, ptr %26, align 8, !tbaa !6
  %240 = getelementptr inbounds %struct.tag_____List__Error____, ptr %239, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8, !tbaa !37
  %242 = load i32, ptr %27, align 4, !tbaa !14
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds %struct.tag_____Error__, ptr %241, i64 %243
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %244, i64 32, i1 false), !tbaa.struct !38
  %245 = load i32, ptr %27, align 4, !tbaa !14
  %246 = load ptr, ptr %7, align 8, !tbaa !6
  %247 = getelementptr inbounds %struct.tag_____CompileArgs__, ptr %246, i32 0, i32 8
  %248 = load i32, ptr %247, align 8, !tbaa !39
  %249 = icmp sge i32 %245, %248
  br i1 %249, label %250, label %251

250:                                              ; preds = %238
  store i32 6, ptr %30, align 4
  br label %297

251:                                              ; preds = %238
  %252 = load i32, ptr %27, align 4, !tbaa !14
  %253 = icmp sgt i32 %252, 0
  br i1 %253, label %254, label %257

254:                                              ; preds = %251
  %255 = load ptr, ptr @mu_____string0, align 8
  %256 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string0, i32 0, i32 1), align 8
  call void @Stdout__writeLine__(ptr %255, i32 %256)
  br label %257

257:                                              ; preds = %254, %251
  %258 = getelementptr inbounds %struct.tag_____Error__, ptr %28, i32 0, i32 0
  %259 = load ptr, ptr %258, align 8, !tbaa !40
  %260 = icmp ne ptr %259, null
  br i1 %260, label %261, label %288

261:                                              ; preds = %257
  %262 = getelementptr inbounds %struct.tag_____Error__, ptr %28, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8, !tbaa !40
  %264 = getelementptr inbounds %struct.tag_____CodeUnit__, ptr %263, i32 0, i32 0
  %265 = getelementptr inbounds %struct.tag_____Error__, ptr %28, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !40
  %267 = getelementptr inbounds %struct.tag_____CodeUnit__, ptr %266, i32 0, i32 2
  %268 = getelementptr inbounds %struct.tag_____Error__, ptr %28, i32 0, i32 1
  %269 = getelementptr inbounds %struct.tag_____Error__, ptr %28, i32 0, i32 2
  %270 = getelementptr inbounds { ptr, i32 }, ptr %264, i32 0, i32 0
  %271 = load ptr, ptr %270, align 8
  %272 = getelementptr inbounds { ptr, i32 }, ptr %264, i32 0, i32 1
  %273 = load i32, ptr %272, align 8
  %274 = getelementptr inbounds { ptr, i32 }, ptr %267, i32 0, i32 0
  %275 = load ptr, ptr %274, align 8
  %276 = getelementptr inbounds { ptr, i32 }, ptr %267, i32 0, i32 1
  %277 = load i32, ptr %276, align 8
  %278 = load i64, ptr %268, align 8
  %279 = call { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr %271, i32 %273, ptr %275, i32 %277, i64 %278, ptr noundef byval(%struct.string__) align 8 %269)
  %280 = getelementptr inbounds { ptr, i32 }, ptr %29, i32 0, i32 0
  %281 = extractvalue { ptr, i32 } %279, 0
  store ptr %281, ptr %280, align 8
  %282 = getelementptr inbounds { ptr, i32 }, ptr %29, i32 0, i32 1
  %283 = extractvalue { ptr, i32 } %279, 1
  store i32 %283, ptr %282, align 8
  %284 = getelementptr inbounds { ptr, i32 }, ptr %29, i32 0, i32 0
  %285 = load ptr, ptr %284, align 8
  %286 = getelementptr inbounds { ptr, i32 }, ptr %29, i32 0, i32 1
  %287 = load i32, ptr %286, align 8
  call void @Stdout__writeLine__(ptr %285, i32 %287)
  br label %294

288:                                              ; preds = %257
  %289 = getelementptr inbounds %struct.tag_____Error__, ptr %28, i32 0, i32 2
  %290 = getelementptr inbounds { ptr, i32 }, ptr %289, i32 0, i32 0
  %291 = load ptr, ptr %290, align 8
  %292 = getelementptr inbounds { ptr, i32 }, ptr %289, i32 0, i32 1
  %293 = load i32, ptr %292, align 8
  call void @Stdout__writeLine__(ptr %291, i32 %293)
  br label %294

294:                                              ; preds = %288, %261
  %295 = load i32, ptr %27, align 4, !tbaa !14
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %27, align 4, !tbaa !14
  store i32 0, ptr %30, align 4
  br label %297

297:                                              ; preds = %294, %250
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #6
  %298 = load i32, ptr %30, align 4
  switch i32 %298, label %358 [
    i32 0, label %299
    i32 6, label %301
  ]

299:                                              ; preds = %297
  br label %232, !llvm.loop !43

300:                                              ; preds = %232
  br label %301

301:                                              ; preds = %300, %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  %302 = load ptr, ptr %23, align 8, !tbaa !6
  %303 = getelementptr inbounds %struct.tag_____Compilation__, ptr %302, i32 0, i32 1
  %304 = load ptr, ptr %303, align 8, !tbaa !32
  %305 = getelementptr inbounds %struct.tag_____List__Error____, ptr %304, i32 0, i32 1
  %306 = load i32, ptr %305, align 8, !tbaa !34
  %307 = load ptr, ptr %7, align 8, !tbaa !6
  %308 = getelementptr inbounds %struct.tag_____CompileArgs__, ptr %307, i32 0, i32 8
  %309 = load i32, ptr %308, align 8, !tbaa !39
  %310 = icmp sgt i32 %306, %309
  br i1 %310, label %311, label %337

311:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  call void @llvm.memset.p0.i64(ptr align 8 %31, i8 0, i64 16, i1 false)
  %312 = load ptr, ptr %23, align 8, !tbaa !6
  %313 = getelementptr inbounds %struct.tag_____Compilation__, ptr %312, i32 0, i32 1
  %314 = load ptr, ptr %313, align 8, !tbaa !32
  %315 = getelementptr inbounds %struct.tag_____List__Error____, ptr %314, i32 0, i32 1
  %316 = load i32, ptr %315, align 8, !tbaa !34
  call void @int__writeTo__(i32 noundef %316, ptr noundef %31)
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 @__const.top_____main__.local16, i64 16, i1 false)
  %317 = getelementptr inbounds { ptr, i32 }, ptr %32, i32 0, i32 0
  %318 = load ptr, ptr %317, align 8
  %319 = getelementptr inbounds { ptr, i32 }, ptr %32, i32 0, i32 1
  %320 = load i32, ptr %319, align 8
  call void @StringBuilder__write__(ptr noundef %31, ptr %318, i32 %320)
  %321 = load ptr, ptr %7, align 8, !tbaa !6
  %322 = getelementptr inbounds %struct.tag_____CompileArgs__, ptr %321, i32 0, i32 8
  %323 = load i32, ptr %322, align 8, !tbaa !39
  call void @int__writeTo__(i32 noundef %323, ptr noundef %31)
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 @__const.top_____main__.local17, i64 16, i1 false)
  %324 = getelementptr inbounds { ptr, i32 }, ptr %33, i32 0, i32 0
  %325 = load ptr, ptr %324, align 8
  %326 = getelementptr inbounds { ptr, i32 }, ptr %33, i32 0, i32 1
  %327 = load i32, ptr %326, align 8
  call void @StringBuilder__write__(ptr noundef %31, ptr %325, i32 %327)
  %328 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %31)
  %329 = getelementptr inbounds { ptr, i32 }, ptr %34, i32 0, i32 0
  %330 = extractvalue { ptr, i32 } %328, 0
  store ptr %330, ptr %329, align 8
  %331 = getelementptr inbounds { ptr, i32 }, ptr %34, i32 0, i32 1
  %332 = extractvalue { ptr, i32 } %328, 1
  store i32 %332, ptr %331, align 8
  %333 = getelementptr inbounds { ptr, i32 }, ptr %34, i32 0, i32 0
  %334 = load ptr, ptr %333, align 8
  %335 = getelementptr inbounds { ptr, i32 }, ptr %34, i32 0, i32 1
  %336 = load i32, ptr %335, align 8
  call void @Stdout__writeLine__(ptr %334, i32 %336)
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  br label %356

337:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  call void @llvm.memset.p0.i64(ptr align 8 %35, i8 0, i64 16, i1 false)
  %338 = load ptr, ptr %23, align 8, !tbaa !6
  %339 = getelementptr inbounds %struct.tag_____Compilation__, ptr %338, i32 0, i32 1
  %340 = load ptr, ptr %339, align 8, !tbaa !32
  %341 = getelementptr inbounds %struct.tag_____List__Error____, ptr %340, i32 0, i32 1
  %342 = load i32, ptr %341, align 8, !tbaa !34
  call void @int__writeTo__(i32 noundef %342, ptr noundef %35)
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 @__const.top_____main__.local19, i64 16, i1 false)
  %343 = getelementptr inbounds { ptr, i32 }, ptr %36, i32 0, i32 0
  %344 = load ptr, ptr %343, align 8
  %345 = getelementptr inbounds { ptr, i32 }, ptr %36, i32 0, i32 1
  %346 = load i32, ptr %345, align 8
  call void @StringBuilder__write__(ptr noundef %35, ptr %344, i32 %346)
  %347 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef %35)
  %348 = getelementptr inbounds { ptr, i32 }, ptr %37, i32 0, i32 0
  %349 = extractvalue { ptr, i32 } %347, 0
  store ptr %349, ptr %348, align 8
  %350 = getelementptr inbounds { ptr, i32 }, ptr %37, i32 0, i32 1
  %351 = extractvalue { ptr, i32 } %347, 1
  store i32 %351, ptr %350, align 8
  %352 = getelementptr inbounds { ptr, i32 }, ptr %37, i32 0, i32 0
  %353 = load ptr, ptr %352, align 8
  %354 = getelementptr inbounds { ptr, i32 }, ptr %37, i32 0, i32 1
  %355 = load i32, ptr %354, align 8
  call void @Stdout__writeLine__(ptr %353, i32 %355)
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  br label %356

356:                                              ; preds = %337, %311
  call void @exit(i32 noundef 1) #7
  unreachable

357:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  ret void

358:                                              ; preds = %297
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local void @Memory__newArenaAllocator__(ptr dead_on_unwind noalias writable sret(%struct.tag_____IAllocator__) align 8, i64 noundef) #3

; 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) #4

; Function Attrs: nounwind uwtable
declare dso_local void @ArgsParser__parse__(ptr dead_on_unwind noalias writable sret(%struct.tag_____ArgsParserResult__) align 8, ptr noundef, ptr noundef) #3

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

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @string__equals__(ptr, i32, ptr, i32) #3

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CommandLineArgsParser__getErrorDesc__(ptr noundef byval(%struct.tag_____CommandLineArgsParserError__) align 8, ptr noundef byval(%struct.tag_____CommandLineInfo__) align 8) #3

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr, i32, ptr, i32, i64, ptr noundef byval(%struct.string__) align 8) #3

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @ErrorHelper__compareErrors__(ptr noundef byval(%struct.tag_____Error__) align 8, ptr noundef byval(%struct.tag_____Error__) align 8) #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @Tag__static_init__() #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @Environment__getCommandLineArgs__() #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{i64 0, i64 8, !6, i64 8, i64 8, !6, i64 16, i64 8, !6, i64 24, i64 8, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"tag_____IAllocator__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!12 = !{!11, !7, i64 0}
!13 = !{i64 0, i64 8, !6, i64 8, i64 4, !14, i64 12, i64 4, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"tag_____ArgsParserResult__", !7, i64 0, !18, i64 8}
!18 = !{!"tag_____CommandLineInfo__", !19, i64 0, !7, i64 16}
!19 = !{!"", !7, i64 0, !15, i64 8}
!20 = !{!21, !8, i64 101}
!21 = !{!"tag_____CompileArgs__", !7, i64 0, !19, i64 8, !19, i64 24, !19, i64 40, !8, i64 56, !8, i64 57, !19, i64 64, !19, i64 80, !15, i64 96, !8, i64 100, !8, i64 101, !8, i64 102}
!22 = !{!8, !8, i64 0}
!23 = !{!21, !8, i64 102}
!24 = !{!25, !15, i64 8}
!25 = !{!"tag_____List__ArgsParserError____", !7, i64 0, !15, i64 8, !15, i64 12}
!26 = !{!25, !7, i64 0}
!27 = !{i64 0, i64 8, !6, i64 8, i64 4, !14, i64 16, i64 4, !14, i64 20, i64 4, !14, i64 24, i64 4, !14, i64 32, i64 8, !6, i64 40, i64 4, !14, i64 48, i64 8, !6, i64 56, i64 4, !14, i64 64, i64 4, !14, i64 68, i64 4, !14, i64 72, i64 8, !6, i64 80, i64 4, !14}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !7, i64 0}
!31 = !{!"tag_____Compilation__", !7, i64 0, !7, i64 8, !15, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !15, i64 48}
!32 = !{!31, !7, i64 8}
!33 = !{i64 0, i64 8, !6, i64 8, i64 8, !6, i64 16, i64 4, !14, i64 24, i64 8, !6, i64 32, i64 8, !6, i64 40, i64 8, !6, i64 48, i64 4, !14}
!34 = !{!35, !15, i64 8}
!35 = !{!"tag_____List__Error____", !7, i64 0, !15, i64 8, !15, i64 12}
!36 = !{!31, !15, i64 16}
!37 = !{!35, !7, i64 0}
!38 = !{i64 0, i64 8, !6, i64 8, i64 4, !14, i64 12, i64 4, !14, i64 16, i64 8, !6, i64 24, i64 4, !14}
!39 = !{!21, !15, i64 96}
!40 = !{!41, !7, i64 0}
!41 = !{!"tag_____Error__", !7, i64 0, !42, i64 8, !19, i64 16}
!42 = !{!"tag_____IntRange__", !15, i64 0, !15, i64 4}
!43 = distinct !{!43, !29}


; 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.string__ = type { ptr, i32 }
%struct.tag_____IAllocator__ = type { ptr, ptr, ptr, ptr }
%struct.tag_____ArgsParserResult__ = type { ptr, %struct.tag_____CommandLineInfo__ }
%struct.tag_____CommandLineInfo__ = type { %struct.string__, ptr }
%struct.tag_____StringBuilder__ = type { ptr, i32, i32 }
%struct.tag_____ArgsParserError__ = type { %struct.string__, %struct.tag_____CommandLineArgsParserError__, %struct.string__, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____CommandLineArgsParserError__ = type { i32, %struct.tag_____IntRange__, %struct.string__ }
%struct.tag_____IntRange__ = type { i32, i32 }
%struct.tag_____Array__Error____ = type { ptr, i32 }
%struct.tag_____Error__ = type { ptr, %struct.tag_____IntRange__, %struct.string__ }

@mu_____string0 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string570 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string612 = external dso_local local_unnamed_addr global %struct.string__, align 8
@top_____currentAllocator__ = external dso_local thread_local local_unnamed_addr global %struct.tag_____IAllocator__, align 8
@__const.top_____main__.local4 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.top_____main__.local16 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.top_____main__.local17 = external hidden unnamed_addr constant %struct.string__, align 8
@__const.top_____main__.local19 = external hidden unnamed_addr constant %struct.string__, align 8

; 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 speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @top_____main__() local_unnamed_addr #3 {
  %1 = alloca %struct.tag_____IAllocator__, align 8
  %2 = alloca %struct.tag_____ArgsParserResult__, align 8
  %3 = alloca %struct.tag_____StringBuilder__, align 8
  %4 = alloca %struct.tag_____ArgsParserError__, align 8
  %5 = alloca %struct.tag_____Array__Error____, align 8
  %6 = alloca %struct.tag_____Array__Error____, align 8
  %7 = alloca %struct.tag_____Error__, align 8
  %8 = alloca %struct.tag_____StringBuilder__, align 8
  %9 = alloca %struct.tag_____StringBuilder__, align 8
  %10 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____currentAllocator__)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @Memory__newArenaAllocator__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____IAllocator__) align 8 %1, i64 noundef 268435456)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %1, i64 32, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !10
  %13 = load ptr, ptr %10, align 8, !tbaa !12
  %14 = call ptr %12(ptr noundef %13, i64 noundef 16) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, i8 0, i64 16, i1 false)
  %15 = call ptr @Environment__getCommandLineArgs__()
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @ArgsParser__parse__(ptr dead_on_unwind nonnull writable sret(%struct.tag_____ArgsParserResult__) align 8 %2, ptr noundef %15, ptr noundef %14)
  %16 = load ptr, ptr %2, align 8, !tbaa !13
  %17 = getelementptr inbounds i8, ptr %16, i64 101
  %18 = load i8, ptr %17, align 1, !tbaa !18
  %.not = icmp eq i8 %18, 0
  br i1 %.not, label %19, label %.thread

19:                                               ; preds = %0
  %20 = getelementptr inbounds i8, ptr %16, i64 102
  %21 = load i8, ptr %20, align 2, !tbaa !20
  %.not71 = icmp eq i8 %21, 0
  br i1 %.not71, label %33, label %.thread

.thread:                                          ; preds = %0, %19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false)
  %.sroa.049.0.copyload = load ptr, ptr @__const.top_____main__.local4, align 8
  %.sroa.3.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.top_____main__.local4, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %3, ptr %.sroa.049.0.copyload, i32 %.sroa.3.0.copyload)
  %22 = load ptr, ptr @mu_____string570, align 8
  %23 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string570, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %3, ptr %22, i32 %23)
  %24 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %3)
  %25 = extractvalue { ptr, i32 } %24, 0
  %26 = extractvalue { ptr, i32 } %24, 1
  call void @Stdout__writeLine__(ptr %25, i32 %26)
  %27 = getelementptr inbounds i8, ptr %16, i64 102
  %28 = load i8, ptr %27, align 2, !tbaa !20
  %.not76 = icmp eq i8 %28, 0
  br i1 %.not76, label %32, label %29

29:                                               ; preds = %.thread
  %30 = load ptr, ptr @mu_____string612, align 8
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string612, i64 8), align 8
  call void @Stdout__writeLine__(ptr %30, i32 %31)
  br label %32

32:                                               ; preds = %29, %.thread
  call void @exit(i32 noundef 1) #7
  unreachable

33:                                               ; preds = %19
  %34 = getelementptr inbounds i8, ptr %14, i64 8
  %35 = load i32, ptr %34, align 8, !tbaa !21
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %37, label %85

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %4, i64 8
  %39 = getelementptr inbounds i8, ptr %4, i64 16
  %40 = getelementptr inbounds i8, ptr %2, i64 8
  %41 = getelementptr inbounds i8, ptr %4, i64 48
  %42 = getelementptr inbounds i8, ptr %4, i64 64
  %43 = getelementptr inbounds i8, ptr %4, i64 72
  %44 = getelementptr inbounds i8, ptr %4, i64 56
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #6
  %45 = load ptr, ptr %14, align 8, !tbaa !23
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %45, i64 88, i1 false), !tbaa.struct !24
  %.pre96 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string0, i64 8), align 8
  %.pre = load ptr, ptr @mu_____string0, align 8
  %46 = load ptr, ptr %4, align 8
  %47 = load i32, ptr %38, align 8
  %48 = call zeroext i8 @string__equals__(ptr %46, i32 %47, ptr %.pre, i32 %.pre96)
  %.not75.peel = icmp eq i8 %48, 0
  br i1 %.not75.peel, label %51, label %49

49:                                               ; preds = %37
  %50 = call { ptr, i32 } @CommandLineArgsParser__getErrorDesc__(ptr noundef nonnull byval(%struct.tag_____CommandLineArgsParserError__) align 8 %39, ptr noundef nonnull byval(%struct.tag_____CommandLineInfo__) align 8 %40)
  br label %56

51:                                               ; preds = %37
  %52 = load ptr, ptr %41, align 8
  %53 = load i32, ptr %44, align 8
  %54 = load i64, ptr %42, align 8
  %55 = call { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr %46, i32 %47, ptr %52, i32 %53, i64 %54, ptr noundef nonnull byval(%struct.string__) align 8 %43)
  br label %56

56:                                               ; preds = %51, %49
  %.sink100 = phi { ptr, i32 } [ %55, %51 ], [ %50, %49 ]
  %57 = extractvalue { ptr, i32 } %.sink100, 0
  %58 = extractvalue { ptr, i32 } %.sink100, 1
  call void @Stdout__writeLine__(ptr %57, i32 %58)
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #6
  %59 = load i32, ptr %34, align 8, !tbaa !21
  %60 = icmp sgt i32 %59, 1
  br i1 %60, label %.peel.next93, label %._crit_edge

.peel.next93:                                     ; preds = %56, %79
  %indvars.iv89 = phi i64 [ %indvars.iv.next90, %79 ], [ 1, %56 ]
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #6
  %61 = load ptr, ptr %14, align 8, !tbaa !23
  %62 = getelementptr inbounds %struct.tag_____ArgsParserError__, ptr %61, i64 %indvars.iv89
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %62, i64 88, i1 false), !tbaa.struct !24
  %63 = load ptr, ptr @mu_____string0, align 8
  %64 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string0, i64 8), align 8
  call void @Stdout__writeLine__(ptr %63, i32 %64)
  %65 = load ptr, ptr %4, align 8
  %66 = load i32, ptr %38, align 8
  %67 = load ptr, ptr @mu_____string0, align 8
  %68 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string0, i64 8), align 8
  %69 = call zeroext i8 @string__equals__(ptr %65, i32 %66, ptr %67, i32 %68)
  %.not75 = icmp eq i8 %69, 0
  br i1 %.not75, label %72, label %70

70:                                               ; preds = %.peel.next93
  %71 = call { ptr, i32 } @CommandLineArgsParser__getErrorDesc__(ptr noundef nonnull byval(%struct.tag_____CommandLineArgsParserError__) align 8 %39, ptr noundef nonnull byval(%struct.tag_____CommandLineInfo__) align 8 %40)
  br label %79

72:                                               ; preds = %.peel.next93
  %73 = load ptr, ptr %4, align 8
  %74 = load i32, ptr %38, align 8
  %75 = load ptr, ptr %41, align 8
  %76 = load i32, ptr %44, align 8
  %77 = load i64, ptr %42, align 8
  %78 = call { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr %73, i32 %74, ptr %75, i32 %76, i64 %77, ptr noundef nonnull byval(%struct.string__) align 8 %43)
  br label %79

79:                                               ; preds = %72, %70
  %.sink103 = phi { ptr, i32 } [ %78, %72 ], [ %71, %70 ]
  %80 = extractvalue { ptr, i32 } %.sink103, 0
  %81 = extractvalue { ptr, i32 } %.sink103, 1
  call void @Stdout__writeLine__(ptr %80, i32 %81)
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #6
  %82 = load i32, ptr %34, align 8, !tbaa !21
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next90, %83
  br i1 %84, label %.peel.next93, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %79, %56
  call void @exit(i32 noundef 1) #7
  unreachable

85:                                               ; preds = %33
  call void @Tag__static_init__()
  %86 = load ptr, ptr %11, align 8, !tbaa !10
  %87 = load ptr, ptr %10, align 8, !tbaa !12
  %88 = call ptr %86(ptr noundef %87, i64 noundef 56) #6
  %89 = load ptr, ptr %11, align 8, !tbaa !10
  %90 = load ptr, ptr %10, align 8, !tbaa !12
  %91 = call ptr %89(ptr noundef %90, i64 noundef 16) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %91, i8 0, i64 16, i1 false)
  %92 = load ptr, ptr %11, align 8, !tbaa !10
  %93 = load ptr, ptr %10, align 8, !tbaa !12
  %94 = call ptr %92(ptr noundef %93, i64 noundef 16) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %94, i8 0, i64 16, i1 false)
  store ptr %91, ptr %88, align 8, !tbaa !6
  %.sroa.534.0..sroa_idx = getelementptr inbounds i8, ptr %88, i64 8
  store ptr %94, ptr %.sroa.534.0..sroa_idx, align 8, !tbaa !6
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %88, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %.sroa.6.0..sroa_idx, i8 0, i64 40, i1 false)
  call void @top_____compile__(ptr noundef nonnull %88, ptr noundef nonnull %16)
  %95 = load ptr, ptr %.sroa.534.0..sroa_idx, align 8, !tbaa !29
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = load i32, ptr %96, align 8, !tbaa !31
  %98 = icmp sgt i32 %97, 0
  br i1 %98, label %99, label %186

99:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %100 = load i32, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !33
  %101 = call { ptr, i32 } @List__slice__Error____(ptr noundef nonnull %95, i32 noundef 0, i32 noundef %100)
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %5, align 8
  %103 = getelementptr inbounds i8, ptr %5, i64 8
  %104 = extractvalue { ptr, i32 } %101, 1
  store i32 %104, ptr %103, align 8
  call void @Array__stableSort__Error____(ptr noundef nonnull %5, ptr noundef nonnull @ErrorHelper__compareErrors__)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %105 = load ptr, ptr %.sroa.534.0..sroa_idx, align 8, !tbaa !29
  %106 = load i32, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !33
  %107 = getelementptr inbounds i8, ptr %105, i64 8
  %108 = load i32, ptr %107, align 8, !tbaa !31
  %109 = call { ptr, i32 } @List__slice__Error____(ptr noundef %105, i32 noundef %106, i32 noundef %108)
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %6, align 8
  %111 = getelementptr inbounds i8, ptr %6, i64 8
  %112 = extractvalue { ptr, i32 } %109, 1
  store i32 %112, ptr %111, align 8
  call void @Array__stableSort__Error____(ptr noundef nonnull %6, ptr noundef nonnull @ErrorHelper__compareErrors__)
  %113 = load ptr, ptr %.sroa.534.0..sroa_idx, align 8, !tbaa !29
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  %115 = load i32, ptr %114, align 8, !tbaa !31
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %99
  %117 = getelementptr inbounds i8, ptr %16, i64 96
  %118 = getelementptr inbounds i8, ptr %7, i64 8
  %119 = getelementptr inbounds i8, ptr %7, i64 16
  %120 = getelementptr inbounds i8, ptr %7, i64 24
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %121 = load ptr, ptr %113, align 8, !tbaa !34
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %121, i64 32, i1 false), !tbaa.struct !35
  %122 = load i32, ptr %117, align 8, !tbaa !36
  %.not72.peel = icmp sgt i32 %122, 0
  br i1 %.not72.peel, label %123, label %.thread79

123:                                              ; preds = %.lr.ph
  %124 = load ptr, ptr %7, align 8, !tbaa !37
  %.not73.peel = icmp eq ptr %124, null
  br i1 %.not73.peel, label %137, label %125

125:                                              ; preds = %123
  %126 = getelementptr inbounds i8, ptr %124, i64 24
  %127 = load ptr, ptr %124, align 8
  %128 = getelementptr inbounds i8, ptr %124, i64 8
  %129 = load i32, ptr %128, align 8
  %130 = load ptr, ptr %126, align 8
  %131 = getelementptr inbounds i8, ptr %124, i64 32
  %132 = load i32, ptr %131, align 8
  %133 = load i64, ptr %118, align 8
  %134 = call { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr %127, i32 %129, ptr %130, i32 %132, i64 %133, ptr noundef nonnull byval(%struct.string__) align 8 %119)
  %135 = extractvalue { ptr, i32 } %134, 0
  %136 = extractvalue { ptr, i32 } %134, 1
  call void @Stdout__writeLine__(ptr %135, i32 %136)
  br label %140

137:                                              ; preds = %123
  %138 = load ptr, ptr %119, align 8
  %139 = load i32, ptr %120, align 8
  call void @Stdout__writeLine__(ptr %138, i32 %139)
  br label %140

140:                                              ; preds = %137, %125
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %141 = load i32, ptr %114, align 8, !tbaa !31
  %142 = icmp sgt i32 %141, 1
  br i1 %142, label %.peel.next, label %.loopexit

.peel.next:                                       ; preds = %140, %166
  %indvars.iv = phi i64 [ %indvars.iv.next, %166 ], [ 1, %140 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %143 = load ptr, ptr %113, align 8, !tbaa !34
  %144 = getelementptr inbounds %struct.tag_____Error__, ptr %143, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %144, i64 32, i1 false), !tbaa.struct !35
  %145 = load i32, ptr %117, align 8, !tbaa !36
  %146 = sext i32 %145 to i64
  %.not72 = icmp slt i64 %indvars.iv, %146
  br i1 %.not72, label %147, label %.thread79

.thread79:                                        ; preds = %.peel.next, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %.loopexit

147:                                              ; preds = %.peel.next
  %148 = load ptr, ptr @mu_____string0, align 8
  %149 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string0, i64 8), align 8
  call void @Stdout__writeLine__(ptr %148, i32 %149)
  %150 = load ptr, ptr %7, align 8, !tbaa !37
  %.not73 = icmp eq ptr %150, null
  br i1 %.not73, label %163, label %151

151:                                              ; preds = %147
  %152 = getelementptr inbounds i8, ptr %150, i64 24
  %153 = load ptr, ptr %150, align 8
  %154 = getelementptr inbounds i8, ptr %150, i64 8
  %155 = load i32, ptr %154, align 8
  %156 = load ptr, ptr %152, align 8
  %157 = getelementptr inbounds i8, ptr %150, i64 32
  %158 = load i32, ptr %157, align 8
  %159 = load i64, ptr %118, align 8
  %160 = call { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr %153, i32 %155, ptr %156, i32 %158, i64 %159, ptr noundef nonnull byval(%struct.string__) align 8 %119)
  %161 = extractvalue { ptr, i32 } %160, 0
  %162 = extractvalue { ptr, i32 } %160, 1
  call void @Stdout__writeLine__(ptr %161, i32 %162)
  br label %166

163:                                              ; preds = %147
  %164 = load ptr, ptr %119, align 8
  %165 = load i32, ptr %120, align 8
  call void @Stdout__writeLine__(ptr %164, i32 %165)
  br label %166

166:                                              ; preds = %151, %163
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %167 = load i32, ptr %114, align 8, !tbaa !31
  %168 = sext i32 %167 to i64
  %169 = icmp slt i64 %indvars.iv.next, %168
  br i1 %169, label %.peel.next, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %166, %140, %99, %.thread79
  %170 = load ptr, ptr %.sroa.534.0..sroa_idx, align 8, !tbaa !29
  %171 = getelementptr inbounds i8, ptr %170, i64 8
  %172 = load i32, ptr %171, align 8, !tbaa !31
  %173 = getelementptr inbounds i8, ptr %16, i64 96
  %174 = load i32, ptr %173, align 8, !tbaa !36
  %175 = icmp sgt i32 %172, %174
  br i1 %175, label %176, label %181

176:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  call void @int__writeTo__(i32 noundef %172, ptr noundef nonnull %8)
  %.sroa.07.0.copyload = load ptr, ptr @__const.top_____main__.local16, align 8
  %.sroa.48.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.top_____main__.local16, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %8, ptr %.sroa.07.0.copyload, i32 %.sroa.48.0.copyload)
  %177 = load i32, ptr %173, align 8, !tbaa !36
  call void @int__writeTo__(i32 noundef %177, ptr noundef nonnull %8)
  %.sroa.04.0.copyload = load ptr, ptr @__const.top_____main__.local17, align 8
  %.sroa.45.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.top_____main__.local17, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %8, ptr %.sroa.04.0.copyload, i32 %.sroa.45.0.copyload)
  %178 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %8)
  %179 = extractvalue { ptr, i32 } %178, 0
  %180 = extractvalue { ptr, i32 } %178, 1
  call void @Stdout__writeLine__(ptr %179, i32 %180)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %185

181:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  call void @int__writeTo__(i32 noundef %172, ptr noundef nonnull %9)
  %.sroa.01.0.copyload = load ptr, ptr @__const.top_____main__.local19, align 8
  %.sroa.4.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const.top_____main__.local19, i64 8), align 8
  call void @StringBuilder__write__(ptr noundef nonnull %9, ptr %.sroa.01.0.copyload, i32 %.sroa.4.0.copyload)
  %182 = call { ptr, i32 } @StringBuilder__compactToString__(ptr noundef nonnull %9)
  %183 = extractvalue { ptr, i32 } %182, 0
  %184 = extractvalue { ptr, i32 } %182, 1
  call void @Stdout__writeLine__(ptr %183, i32 %184)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %185

185:                                              ; preds = %181, %176
  call void @exit(i32 noundef 1) #7
  unreachable

186:                                              ; preds = %85
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @Memory__newArenaAllocator__(ptr dead_on_unwind noalias writable sret(%struct.tag_____IAllocator__) align 8, i64 noundef) local_unnamed_addr #3

; 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) #4

; Function Attrs: nounwind uwtable
declare dso_local void @ArgsParser__parse__(ptr dead_on_unwind noalias writable sret(%struct.tag_____ArgsParserResult__) align 8, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @string__equals__(ptr, i32, ptr, i32) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @CommandLineArgsParser__getErrorDesc__(ptr noundef byval(%struct.tag_____CommandLineArgsParserError__) align 8, ptr noundef byval(%struct.tag_____CommandLineInfo__) align 8) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local { ptr, i32 } @ErrorHelper__getErrorDesc__(ptr, i32, ptr, i32, i64, ptr noundef byval(%struct.string__) align 8) local_unnamed_addr #3

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @ErrorHelper__compareErrors__(ptr noundef byval(%struct.tag_____Error__) align 8, ptr noundef byval(%struct.tag_____Error__) align 8) #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @Tag__static_init__() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @Environment__getCommandLineArgs__() local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 = !{i64 0, i64 8, !6, i64 8, i64 8, !6, i64 16, i64 8, !6, i64 24, i64 8, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"tag_____IAllocator__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!12 = !{!11, !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"tag_____ArgsParserResult__", !7, i64 0, !15, i64 8}
!15 = !{!"tag_____CommandLineInfo__", !16, i64 0, !7, i64 16}
!16 = !{!"", !7, i64 0, !17, i64 8}
!17 = !{!"int", !8, i64 0}
!18 = !{!19, !8, i64 101}
!19 = !{!"tag_____CompileArgs__", !7, i64 0, !16, i64 8, !16, i64 24, !16, i64 40, !8, i64 56, !8, i64 57, !16, i64 64, !16, i64 80, !17, i64 96, !8, i64 100, !8, i64 101, !8, i64 102}
!20 = !{!19, !8, i64 102}
!21 = !{!22, !17, i64 8}
!22 = !{!"tag_____List__ArgsParserError____", !7, i64 0, !17, i64 8, !17, i64 12}
!23 = !{!22, !7, i64 0}
!24 = !{i64 0, i64 8, !6, i64 8, i64 4, !25, i64 16, i64 4, !25, i64 20, i64 4, !25, i64 24, i64 4, !25, i64 32, i64 8, !6, i64 40, i64 4, !25, i64 48, i64 8, !6, i64 56, i64 4, !25, i64 64, i64 4, !25, i64 68, i64 4, !25, i64 72, i64 8, !6, i64 80, i64 4, !25}
!25 = !{!17, !17, i64 0}
!26 = distinct !{!26, !27, !28}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!"llvm.loop.peeled.count", i32 1}
!29 = !{!30, !7, i64 8}
!30 = !{!"tag_____Compilation__", !7, i64 0, !7, i64 8, !17, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !17, i64 48}
!31 = !{!32, !17, i64 8}
!32 = !{!"tag_____List__Error____", !7, i64 0, !17, i64 8, !17, i64 12}
!33 = !{!30, !17, i64 16}
!34 = !{!32, !7, i64 0}
!35 = !{i64 0, i64 8, !6, i64 8, i64 4, !25, i64 12, i64 4, !25, i64 16, i64 8, !6, i64 24, i64 4, !25}
!36 = !{!19, !17, i64 96}
!37 = !{!38, !7, i64 0}
!38 = !{!"tag_____Error__", !7, i64 0, !39, i64 8, !16, i64 16}
!39 = !{!"tag_____IntRange__", !17, i64 0, !17, i64 4}
!40 = distinct !{!40, !28}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass