; LLVM IR from nickmqb/muon :: bootstrap/mu.ll_CGenerator (genCompareOrderedOperator__)

; 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.Node__ = type { i32, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }
%struct.tag_____BinaryOperatorExpression__ = type { ptr, %struct.Node__, %struct.Node__ }
%struct.tag_____Namespace__ = type { %struct.string__, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.tag_____GenerateContext__ = type { ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, %struct.string__, i32, %struct.string__, i32, ptr, ptr, i8 }
%struct.tag_____CommonTags__ = type { %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, %struct.tag_____Tag__, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@mu_____string441 = external dso_local global %struct.string__, align 8
@mu_____string409 = external dso_local global %struct.string__, align 8
@mu_____string444 = external dso_local global %struct.string__, align 8
@mu_____string455 = external dso_local global %struct.string__, align 8
@mu_____string453 = external dso_local global %struct.string__, align 8
@mu_____string445 = external dso_local global %struct.string__, align 8
@mu_____string452 = external dso_local global %struct.string__, align 8
@mu_____string454 = external dso_local global %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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genLiftingBinaryOperator__(ptr noundef, ptr, i32, i32, ptr, ptr noundef byval(%struct.Node__) align 8, ptr noundef, ptr noundef byval(%struct.tag_____Tag__) align 8) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genCompareOrderedOperator__(ptr noundef %0, ptr %1, i32 %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca %struct.string__, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.tag_____Tag__, align 8
  %11 = alloca %struct.tag_____Tag__, align 8
  %12 = alloca %struct.tag_____Tag__, align 8
  %13 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  store ptr %1, ptr %13, align 8
  %14 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  store i32 %2, ptr %14, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  store ptr %4, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #2
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = load ptr, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %16, i32 0, i32 1
  %18 = getelementptr inbounds { i32, ptr }, ptr %17, i32 0, i32 0
  %19 = load i32, ptr %18, align 8
  %20 = getelementptr inbounds { i32, ptr }, ptr %17, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8
  %22 = call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %15, i32 %19, ptr %21)
  %23 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 0
  %24 = extractvalue { ptr, ptr } %22, 0
  store ptr %24, ptr %23, align 8
  %25 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 1
  %26 = extractvalue { ptr, ptr } %22, 1
  store ptr %26, ptr %25, align 8
  %27 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.tag_____Namespace__, ptr %28, i32 0, i32 3
  %30 = load i32, ptr %29, align 4, !tbaa !11
  %31 = and i32 %30, 5
  %32 = icmp ne i32 %31, 0
  br i1 %32, label %33, label %80

33:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #2
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load ptr, ptr %8, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %35, i32 0, i32 2
  %37 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 8
  %39 = getelementptr inbounds { i32, ptr }, ptr %36, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8
  %41 = call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %34, i32 %38, ptr %40)
  %42 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 0
  %43 = extractvalue { ptr, ptr } %41, 0
  store ptr %43, ptr %42, align 8
  %44 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 1
  %45 = extractvalue { ptr, ptr } %41, 1
  store ptr %45, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #2
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %46, i32 0, i32 4
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %49, i32 0, i32 1
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %51, i32 0, i32 2
  %53 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8
  %55 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 1
  %56 = load ptr, ptr %55, align 8
  %57 = getelementptr inbounds { i32, ptr }, ptr %50, i32 0, i32 0
  %58 = load i32, ptr %57, align 8
  %59 = getelementptr inbounds { i32, ptr }, ptr %50, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8
  %61 = call { ptr, ptr } @TypeChecker__tryUnifyNumbers__(ptr noundef %48, ptr %54, ptr %56, i32 %58, ptr %60, ptr noundef byval(%struct.tag_____Tag__) align 8 %11, ptr noundef byval(%struct.Node__) align 8 %52)
  %62 = getelementptr inbounds { ptr, ptr }, ptr %12, i32 0, i32 0
  %63 = extractvalue { ptr, ptr } %61, 0
  store ptr %63, ptr %62, align 8
  %64 = getelementptr inbounds { ptr, ptr }, ptr %12, i32 0, i32 1
  %65 = extractvalue { ptr, ptr } %61, 1
  store ptr %65, ptr %64, align 8
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %69, i32 0, i32 2
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %75 = load i32, ptr %74, align 8
  %76 = getelementptr inbounds { i32, ptr }, ptr %68, i32 0, i32 0
  %77 = load i32, ptr %76, align 8
  %78 = getelementptr inbounds { i32, ptr }, ptr %68, i32 0, i32 1
  %79 = load ptr, ptr %78, align 8
  call void @CGenerator__genLiftingBinaryOperator__(ptr noundef %66, ptr %73, i32 %75, i32 %77, ptr %79, ptr noundef byval(%struct.Node__) align 8 %70, ptr noundef %71, ptr noundef byval(%struct.tag_____Tag__) align 8 %12)
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #2
  br label %194

80:                                               ; preds = %5
  %81 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.tag_____Namespace__, ptr %82, i32 0, i32 3
  %84 = load i32, ptr %83, align 4, !tbaa !11
  %85 = and i32 %84, 128
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %95

87:                                               ; preds = %80
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8
  %93 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %94 = load i32, ptr %93, align 8
  call void @CGenerator__genBasicBinaryOperator__(ptr noundef %88, ptr %92, i32 %94, ptr noundef %89, ptr noundef %90)
  br label %193

95:                                               ; preds = %80
  %96 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %98, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  %101 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %100, i32 0, i32 15
  %102 = getelementptr inbounds %struct.tag_____Tag__, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8, !tbaa !17
  %104 = icmp eq ptr %97, %103
  br i1 %104, label %105, label %139

105:                                              ; preds = %95
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = load ptr, ptr @mu_____string452, align 8
  %108 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string452, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %106, ptr %107, i32 %108)
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %110, i32 0, i32 1
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds { i32, ptr }, ptr %111, i32 0, i32 0
  %114 = load i32, ptr %113, align 8
  %115 = getelementptr inbounds { i32, ptr }, ptr %111, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8
  call void @CGenerator__genExpression__(ptr noundef %109, i32 %114, ptr %116, ptr noundef %112)
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = load ptr, ptr @mu_____string444, align 8
  %119 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string444, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %117, ptr %118, i32 %119)
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8
  %123 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %124 = load i32, ptr %123, align 8
  call void @StringBuilder__write__(ptr noundef %120, ptr %122, i32 %124)
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = load ptr, ptr @mu_____string453, align 8
  %127 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string453, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %125, ptr %126, i32 %127)
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %129, i32 0, i32 2
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = getelementptr inbounds { i32, ptr }, ptr %130, i32 0, i32 0
  %133 = load i32, ptr %132, align 8
  %134 = getelementptr inbounds { i32, ptr }, ptr %130, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8
  call void @CGenerator__genExpression__(ptr noundef %128, i32 %133, ptr %135, ptr noundef %131)
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = load ptr, ptr @mu_____string445, align 8
  %138 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string445, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %136, ptr %137, i32 %138)
  br label %192

139:                                              ; preds = %95
  %140 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.tag_____GenerateContext__, ptr %142, i32 0, i32 4
  %144 = load ptr, ptr %143, align 8, !tbaa !15
  %145 = getelementptr inbounds %struct.tag_____CommonTags__, ptr %144, i32 0, i32 16
  %146 = getelementptr inbounds %struct.tag_____Tag__, ptr %145, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8, !tbaa !19
  %148 = icmp eq ptr %141, %147
  br i1 %148, label %149, label %183

149:                                              ; preds = %139
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = load ptr, ptr @mu_____string454, align 8
  %152 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string454, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %150, ptr %151, i32 %152)
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %154, i32 0, i32 1
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = getelementptr inbounds { i32, ptr }, ptr %155, i32 0, i32 0
  %158 = load i32, ptr %157, align 8
  %159 = getelementptr inbounds { i32, ptr }, ptr %155, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8
  call void @CGenerator__genExpression__(ptr noundef %153, i32 %158, ptr %160, ptr noundef %156)
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = load ptr, ptr @mu_____string409, align 8
  %163 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string409, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %161, ptr %162, i32 %163)
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %165, i32 0, i32 2
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds { i32, ptr }, ptr %166, i32 0, i32 0
  %169 = load i32, ptr %168, align 8
  %170 = getelementptr inbounds { i32, ptr }, ptr %166, i32 0, i32 1
  %171 = load ptr, ptr %170, align 8
  call void @CGenerator__genExpression__(ptr noundef %164, i32 %169, ptr %171, ptr noundef %167)
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = load ptr, ptr @mu_____string441, align 8
  %174 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string441, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %172, ptr %173, i32 %174)
  %175 = load ptr, ptr %9, align 8, !tbaa !5
  %176 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8
  %178 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %179 = load i32, ptr %178, align 8
  call void @StringBuilder__write__(ptr noundef %175, ptr %177, i32 %179)
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = load ptr, ptr @mu_____string455, align 8
  %182 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string455, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %180, ptr %181, i32 %182)
  br label %191

183:                                              ; preds = %139
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = load ptr, ptr %8, align 8, !tbaa !5
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8
  %189 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %190 = load i32, ptr %189, align 8
  call void @CGenerator__genBasicBinaryOperator__(ptr noundef %184, ptr %188, i32 %190, ptr noundef %185, ptr noundef %186)
  br label %191

191:                                              ; preds = %183, %149
  br label %192

192:                                              ; preds = %191, %105
  br label %193

193:                                              ; preds = %192, %87
  br label %194

194:                                              ; preds = %193, %33
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #2
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__tryUnifyNumbers__(ptr noundef, ptr, ptr, i32, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8, ptr noundef byval(%struct.Node__) align 8) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !6, i64 0}
!10 = !{!"tag_____Tag__", !6, i64 0, !6, i64 8}
!11 = !{!12, !14, i64 28}
!12 = !{!"tag_____Namespace__", !13, i64 0, !6, i64 16, !14, i64 24, !14, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !14, i64 104}
!13 = !{!"", !6, i64 0, !14, i64 8}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !6, i64 32}
!16 = !{!"tag_____GenerateContext__", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !14, i64 48, !14, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !14, i64 96, !13, i64 104, !14, i64 120, !6, i64 128, !6, i64 136, !7, i64 144}
!17 = !{!18, !6, i64 240}
!18 = !{!"tag_____CommonTags__", !10, i64 0, !10, i64 16, !10, i64 32, !10, i64 48, !10, i64 64, !10, i64 80, !10, i64 96, !10, i64 112, !10, i64 128, !10, i64 144, !10, i64 160, !10, i64 176, !10, i64 192, !10, i64 208, !10, i64 224, !10, i64 240, !10, i64 256, !10, i64 272, !10, i64 288, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376}
!19 = !{!18, !6, i64 256}


; 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.Node__ = type { i32, ptr }
%struct.tag_____Tag__ = type { ptr, ptr }

@mu_____string441 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string409 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string444 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string455 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string453 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string445 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string452 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string454 = external dso_local local_unnamed_addr global %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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @CGenerator__genLiftingBinaryOperator__(ptr noundef, ptr, i32, i32, ptr, ptr noundef byval(%struct.Node__) align 8, ptr noundef, ptr noundef byval(%struct.tag_____Tag__) align 8) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genCompareOrderedOperator__(ptr noundef %0, ptr %1, i32 %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = alloca %struct.tag_____Tag__, align 8
  %7 = alloca %struct.tag_____Tag__, align 8
  %8 = getelementptr inbounds i8, ptr %3, i64 8
  %9 = load i32, ptr %8, align 8
  %10 = getelementptr inbounds i8, ptr %3, i64 16
  %11 = load ptr, ptr %10, align 8
  %12 = tail call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %0, i32 %9, ptr %11)
  %13 = extractvalue { ptr, ptr } %12, 0
  %14 = getelementptr inbounds i8, ptr %13, i64 28
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = and i32 %15, 5
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %37, label %17

17:                                               ; preds = %5
  %18 = extractvalue { ptr, ptr } %12, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #2
  %19 = getelementptr inbounds i8, ptr %3, i64 24
  %20 = load i32, ptr %19, align 8
  %21 = getelementptr inbounds i8, ptr %3, i64 32
  %22 = load ptr, ptr %21, align 8
  %23 = tail call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %0, i32 %20, ptr %22)
  %24 = extractvalue { ptr, ptr } %23, 0
  store ptr %24, ptr %6, align 8
  %25 = getelementptr inbounds i8, ptr %6, i64 8
  %26 = extractvalue { ptr, ptr } %23, 1
  store ptr %26, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #2
  %27 = getelementptr inbounds i8, ptr %0, i64 32
  %28 = load ptr, ptr %27, align 8, !tbaa !12
  %29 = load i32, ptr %8, align 8
  %30 = load ptr, ptr %10, align 8
  %31 = tail call { ptr, ptr } @TypeChecker__tryUnifyNumbers__(ptr noundef %28, ptr nonnull %13, ptr %18, i32 %29, ptr %30, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %6, ptr noundef nonnull byval(%struct.Node__) align 8 %19)
  %32 = extractvalue { ptr, ptr } %31, 0
  store ptr %32, ptr %7, align 8
  %33 = getelementptr inbounds i8, ptr %7, i64 8
  %34 = extractvalue { ptr, ptr } %31, 1
  store ptr %34, ptr %33, align 8
  %35 = load i32, ptr %8, align 8
  %36 = load ptr, ptr %10, align 8
  tail call void @CGenerator__genLiftingBinaryOperator__(ptr noundef %0, ptr %1, i32 %2, i32 %35, ptr %36, ptr noundef nonnull byval(%struct.Node__) align 8 %19, ptr noundef %4, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #2
  br label %81

37:                                               ; preds = %5
  %38 = and i32 %15, 128
  %.not54 = icmp eq i32 %38, 0
  br i1 %.not54, label %40, label %39

39:                                               ; preds = %37
  tail call void @CGenerator__genBasicBinaryOperator__(ptr noundef %0, ptr %1, i32 %2, ptr noundef nonnull %3, ptr noundef %4)
  br label %81

40:                                               ; preds = %37
  %41 = getelementptr inbounds i8, ptr %0, i64 32
  %42 = load ptr, ptr %41, align 8, !tbaa !12
  %43 = getelementptr inbounds i8, ptr %42, i64 240
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = icmp eq ptr %13, %44
  br i1 %45, label %46, label %61

46:                                               ; preds = %40
  %47 = load ptr, ptr @mu_____string452, align 8
  %48 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string452, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %47, i32 %48)
  %49 = load i32, ptr %8, align 8
  %50 = load ptr, ptr %10, align 8
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %49, ptr %50, ptr noundef %4)
  %51 = load ptr, ptr @mu_____string444, align 8
  %52 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string444, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %51, i32 %52)
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %1, i32 %2)
  %53 = load ptr, ptr @mu_____string453, align 8
  %54 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string453, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %53, i32 %54)
  %55 = getelementptr inbounds i8, ptr %3, i64 24
  %56 = load i32, ptr %55, align 8
  %57 = getelementptr inbounds i8, ptr %3, i64 32
  %58 = load ptr, ptr %57, align 8
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %56, ptr %58, ptr noundef %4)
  %59 = load ptr, ptr @mu_____string445, align 8
  %60 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string445, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %59, i32 %60)
  br label %81

61:                                               ; preds = %40
  %62 = getelementptr inbounds i8, ptr %42, i64 256
  %63 = load ptr, ptr %62, align 8, !tbaa !17
  %64 = icmp eq ptr %13, %63
  br i1 %64, label %65, label %80

65:                                               ; preds = %61
  %66 = load ptr, ptr @mu_____string454, align 8
  %67 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string454, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %66, i32 %67)
  %68 = load i32, ptr %8, align 8
  %69 = load ptr, ptr %10, align 8
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %68, ptr %69, ptr noundef %4)
  %70 = load ptr, ptr @mu_____string409, align 8
  %71 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string409, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %70, i32 %71)
  %72 = getelementptr inbounds i8, ptr %3, i64 24
  %73 = load i32, ptr %72, align 8
  %74 = getelementptr inbounds i8, ptr %3, i64 32
  %75 = load ptr, ptr %74, align 8
  tail call void @CGenerator__genExpression__(ptr noundef nonnull %0, i32 %73, ptr %75, ptr noundef %4)
  %76 = load ptr, ptr @mu_____string441, align 8
  %77 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string441, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %76, i32 %77)
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %1, i32 %2)
  %78 = load ptr, ptr @mu_____string455, align 8
  %79 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string455, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %78, i32 %79)
  br label %81

80:                                               ; preds = %61
  tail call void @CGenerator__genBasicBinaryOperator__(ptr noundef nonnull %0, ptr %1, i32 %2, ptr noundef nonnull %3, ptr noundef %4)
  br label %81

81:                                               ; preds = %39, %65, %80, %46, %17
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local { ptr, ptr } @TypeChecker__tryUnifyNumbers__(ptr noundef, ptr, ptr, i32, ptr, ptr noundef byval(%struct.tag_____Tag__) align 8, ptr noundef byval(%struct.Node__) align 8) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !11, i64 28}
!6 = !{!"tag_____Namespace__", !7, i64 0, !8, i64 16, !11, i64 24, !11, i64 28, !8, i64 32, !8, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 88, !8, i64 96, !11, i64 104}
!7 = !{!"", !8, i64 0, !11, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!13, !8, i64 32}
!13 = !{!"tag_____GenerateContext__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !11, i64 48, !11, i64 52, !8, i64 56, !8, i64 64, !8, i64 72, !7, i64 80, !11, i64 96, !7, i64 104, !11, i64 120, !8, i64 128, !8, i64 136, !9, i64 144}
!14 = !{!15, !8, i64 240}
!15 = !{!"tag_____CommonTags__", !16, i64 0, !16, i64 16, !16, i64 32, !16, i64 48, !16, i64 64, !16, i64 80, !16, i64 96, !16, i64 112, !16, i64 128, !16, i64 144, !16, i64 160, !16, i64 176, !16, i64 192, !16, i64 208, !16, i64 224, !16, i64 240, !16, i64 256, !16, i64 272, !16, i64 288, !8, i64 304, !8, i64 312, !8, i64 320, !8, i64 328, !8, i64 336, !8, i64 344, !8, i64 352, !8, i64 360, !8, i64 368, !8, i64 376}
!16 = !{!"tag_____Tag__", !8, i64 0, !8, i64 8}
!17 = !{!15, !8, i64 256}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass