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

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

@mu_____string255 = external dso_local global %struct.string__, align 8
@mu_____string449 = external dso_local global %struct.string__, align 8
@mu_____string254 = external dso_local global %struct.string__, align 8
@mu_____string409 = external dso_local global %struct.string__, align 8
@mu_____string190 = external dso_local global %struct.string__, align 8
@mu_____string303 = external dso_local global %struct.string__, align 8
@top_____abandonFn__ = external dso_local thread_local global ptr, 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: nounwind uwtable
declare dso_local void @StringBuilder__write__(ptr noundef, ptr, i32) #2

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @CGenerator__genCompareEqualsOperator__(ptr noundef %0, ptr %1, i32 %2, ptr noundef %3, ptr noundef %4) #2 {
  %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 = alloca i8, align 1
  %14 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  store ptr %1, ptr %14, align 8
  %15 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  store i32 %2, ptr %15, 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) #3
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %17, i32 0, i32 1
  %19 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 8
  %21 = getelementptr inbounds { i32, ptr }, ptr %18, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8
  %23 = call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %16, i32 %20, ptr %22)
  %24 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 0
  %25 = extractvalue { ptr, ptr } %23, 0
  store ptr %25, ptr %24, align 8
  %26 = getelementptr inbounds { ptr, ptr }, ptr %10, i32 0, i32 1
  %27 = extractvalue { ptr, ptr } %23, 1
  store ptr %27, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #3
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %29, i32 0, i32 2
  %31 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8
  %33 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8
  %35 = call { ptr, ptr } @CGenerator__nodeTag__(ptr noundef %28, i32 %32, ptr %34)
  %36 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 0
  %37 = extractvalue { ptr, ptr } %35, 0
  store ptr %37, ptr %36, align 8
  %38 = getelementptr inbounds { ptr, ptr }, ptr %11, i32 0, i32 1
  %39 = extractvalue { ptr, ptr } %35, 1
  store ptr %39, ptr %38, align 8
  %40 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.tag_____Namespace__, ptr %41, i32 0, i32 3
  %43 = load i32, ptr %42, align 4, !tbaa !11
  %44 = and i32 %43, 1
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %81

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

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

88:                                               ; preds = %81
  %89 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8
  %91 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %92 = load i32, ptr %91, align 8
  %93 = load ptr, ptr @mu_____string255, align 8
  %94 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string255, i32 0, i32 1), align 8
  %95 = call zeroext i8 @string__equals__(ptr %90, i32 %92, ptr %93, i32 %94)
  %96 = icmp ne i8 %95, 0
  br i1 %96, label %97, label %101

97:                                               ; preds = %88
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = load ptr, ptr @mu_____string190, align 8
  %100 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string190, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %98, ptr %99, i32 %100)
  br label %114

101:                                              ; preds = %88
  %102 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %105 = load i32, ptr %104, align 8
  %106 = load ptr, ptr @mu_____string254, align 8
  %107 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string254, i32 0, i32 1), align 8
  %108 = call zeroext i8 @string__equals__(ptr %103, i32 %105, ptr %106, i32 %107)
  %109 = icmp ne i8 %108, 0
  br i1 %109, label %113, label %110

110:                                              ; preds = %101
  %111 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  call void %112(i32 noundef -2)
  br label %113

113:                                              ; preds = %110, %101
  br label %114

114:                                              ; preds = %113, %97
  %115 = load ptr, ptr %9, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !9
  call void @CGenerator__writeNs__(ptr noundef %115, ptr noundef %117)
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = load ptr, ptr @mu_____string449, align 8
  %120 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string449, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %118, ptr %119, i32 %120)
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %122, i32 0, i32 1
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds { i32, ptr }, ptr %123, i32 0, i32 0
  %126 = load i32, ptr %125, align 8
  %127 = getelementptr inbounds { i32, ptr }, ptr %123, i32 0, i32 1
  %128 = load ptr, ptr %127, align 8
  call void @CGenerator__genExpression__(ptr noundef %121, i32 %126, ptr %128, ptr noundef %124)
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = load ptr, ptr @mu_____string409, align 8
  %131 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string409, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %129, ptr %130, i32 %131)
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.tag_____BinaryOperatorExpression__, ptr %133, i32 0, i32 2
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = getelementptr inbounds { i32, ptr }, ptr %134, i32 0, i32 0
  %137 = load i32, ptr %136, align 8
  %138 = getelementptr inbounds { i32, ptr }, ptr %134, i32 0, i32 1
  %139 = load ptr, ptr %138, align 8
  call void @CGenerator__genExpression__(ptr noundef %132, i32 %137, ptr %139, ptr noundef %135)
  %140 = load ptr, ptr %9, align 8, !tbaa !5
  %141 = load ptr, ptr @mu_____string303, align 8
  %142 = load i32, ptr getelementptr inbounds ({ ptr, i32 }, ptr @mu_____string303, i32 0, i32 1), align 8
  call void @StringBuilder__write__(ptr noundef %140, ptr %141, i32 %142)
  br label %183

143:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #3
  %144 = getelementptr inbounds %struct.tag_____Tag__, ptr %10, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.tag_____Namespace__, ptr %145, i32 0, i32 3
  %147 = load i32, ptr %146, align 4, !tbaa !11
  %148 = and i32 %147, 8192
  %149 = icmp ne i32 %148, 0
  %150 = zext i1 %149 to i32
  %151 = trunc i32 %150 to i8
  store i8 %151, ptr %13, align 1, !tbaa !17
  %152 = load i8, ptr %13, align 1, !tbaa !17
  %153 = icmp ne i8 %152, 0
  br i1 %153, label %163, label %154

154:                                              ; preds = %143
  %155 = getelementptr inbounds %struct.tag_____Tag__, ptr %11, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = getelementptr inbounds %struct.tag_____Namespace__, ptr %156, i32 0, i32 3
  %158 = load i32, ptr %157, align 4, !tbaa !11
  %159 = and i32 %158, 8192
  %160 = icmp ne i32 %159, 0
  %161 = zext i1 %160 to i32
  %162 = trunc i32 %161 to i8
  store i8 %162, ptr %13, align 1, !tbaa !17
  br label %163

163:                                              ; preds = %154, %143
  %164 = load i8, ptr %13, align 1, !tbaa !17
  %165 = icmp ne i8 %164, 0
  br i1 %165, label %166, label %174

166:                                              ; preds = %163
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8
  %172 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %173 = load i32, ptr %172, align 8
  call void @CGenerator__genTaggedPointerEqualsOperator__(ptr noundef %167, ptr %171, i32 %173, ptr noundef %168, ptr noundef %169, ptr noundef byval(%struct.tag_____Tag__) align 8 %10, ptr noundef byval(%struct.tag_____Tag__) align 8 %11)
  br label %182

174:                                              ; preds = %163
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8
  %180 = getelementptr inbounds { ptr, i32 }, ptr %6, i32 0, i32 1
  %181 = load i32, ptr %180, align 8
  call void @CGenerator__genBasicBinaryOperator__(ptr noundef %175, ptr %179, i32 %181, ptr noundef %176, ptr noundef %177)
  br label %182

182:                                              ; preds = %174, %166
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  br label %183

183:                                              ; preds = %182, %114
  br label %184

184:                                              ; preds = %183, %46
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  ret void
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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 = !{!7, !7, i64 0}


; 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_____string255 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string449 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string254 = 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_____string190 = external dso_local local_unnamed_addr global %struct.string__, align 8
@mu_____string303 = external dso_local local_unnamed_addr global %struct.string__, align 8
@top_____abandonFn__ = external dso_local thread_local local_unnamed_addr global ptr, 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: nounwind uwtable
declare dso_local void @StringBuilder__write__(ptr noundef, ptr, i32) local_unnamed_addr #2

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

; 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 #2

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

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

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

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

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

28:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #3
  %29 = getelementptr inbounds i8, ptr %0, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !12
  %31 = load i32, ptr %9, align 8
  %32 = load ptr, ptr %11, align 8
  %33 = tail call { ptr, ptr } @TypeChecker__tryUnifyIntvals__(ptr noundef %30, ptr nonnull %14, ptr %16, i32 %31, ptr %32, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %7, ptr noundef nonnull byval(%struct.Node__) align 8 %17)
  %34 = extractvalue { ptr, ptr } %33, 0
  store ptr %34, ptr %8, align 8
  %35 = getelementptr inbounds i8, ptr %8, i64 8
  %36 = extractvalue { ptr, ptr } %33, 1
  store ptr %36, ptr %35, align 8
  %37 = load i32, ptr %9, align 8
  %38 = load ptr, ptr %11, align 8
  tail call void @CGenerator__genLiftingBinaryOperator__(ptr noundef %0, ptr %1, i32 %2, i32 %37, ptr %38, ptr noundef nonnull byval(%struct.Node__) align 8 %17, ptr noundef %4, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #3
  br label %74

39:                                               ; preds = %5
  %40 = and i32 %26, 256
  %.not38 = icmp eq i32 %40, 0
  br i1 %.not38, label %66, label %41

41:                                               ; preds = %39
  %42 = load ptr, ptr @mu_____string255, align 8
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string255, i64 8), align 8
  %44 = tail call zeroext i8 @string__equals__(ptr %1, i32 %2, ptr %42, i32 %43)
  %.not41 = icmp eq i8 %44, 0
  br i1 %.not41, label %48, label %45

45:                                               ; preds = %41
  %46 = load ptr, ptr @mu_____string190, align 8
  %47 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string190, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %46, i32 %47)
  br label %55

48:                                               ; preds = %41
  %49 = load ptr, ptr @mu_____string254, align 8
  %50 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string254, i64 8), align 8
  %51 = tail call zeroext i8 @string__equals__(ptr %1, i32 %2, ptr %49, i32 %50)
  %.not42 = icmp eq i8 %51, 0
  br i1 %.not42, label %52, label %55

52:                                               ; preds = %48
  %53 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @top_____abandonFn__)
  %54 = load ptr, ptr %53, align 8, !tbaa !14
  tail call void %54(i32 noundef -2) #3
  br label %55

55:                                               ; preds = %48, %52, %45
  tail call void @CGenerator__writeNs__(ptr noundef %4, ptr noundef nonnull %14)
  %56 = load ptr, ptr @mu_____string449, align 8
  %57 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string449, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %56, i32 %57)
  %58 = load i32, ptr %9, align 8
  %59 = load ptr, ptr %11, align 8
  tail call void @CGenerator__genExpression__(ptr noundef %0, i32 %58, ptr %59, ptr noundef %4)
  %60 = load ptr, ptr @mu_____string409, align 8
  %61 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string409, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %60, i32 %61)
  %62 = load i32, ptr %17, align 8
  %63 = load ptr, ptr %19, align 8
  tail call void @CGenerator__genExpression__(ptr noundef %0, i32 %62, ptr %63, ptr noundef %4)
  %64 = load ptr, ptr @mu_____string303, align 8
  %65 = load i32, ptr getelementptr inbounds (i8, ptr @mu_____string303, i64 8), align 8
  tail call void @StringBuilder__write__(ptr noundef %4, ptr %64, i32 %65)
  br label %74

66:                                               ; preds = %39
  %67 = and i32 %26, 8192
  %.not39 = icmp eq i32 %67, 0
  br i1 %.not39, label %68, label %.critedge

68:                                               ; preds = %66
  %69 = getelementptr inbounds i8, ptr %22, i64 28
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = and i32 %70, 8192
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %.critedge

.critedge:                                        ; preds = %66, %68
  tail call void @CGenerator__genTaggedPointerEqualsOperator__(ptr noundef %0, ptr %1, i32 %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %6, ptr noundef nonnull byval(%struct.tag_____Tag__) align 8 %7)
  br label %74

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

74:                                               ; preds = %.critedge, %73, %55, %28
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  ret void
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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 = !{!8, !8, i64 0}


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