; LLVM IR from marcobambini/gravity :: src/runtime (gravity_core)

; 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.gravity_string_t = type { ptr, %struct.gravity_gc_s, ptr, i32, i32, i32 }
%struct.gravity_gc_s = type { i8, i8, ptr, ptr, ptr, ptr }
%struct.gravity_value_t = type { ptr, %union.anon }
%union.anon = type { i64 }
%struct.gravity_class_s = type { ptr, %struct.gravity_gc_s, ptr, ptr, i8, i8, i8, i8, ptr, ptr, ptr, ptr, i32, ptr }

@gravity_class_int = external dso_local global ptr, align 8
@gravity_class_float = external dso_local global ptr, align 8
@gravity_class_bool = external dso_local global ptr, align 8
@gravity_class_null = external dso_local global ptr, align 8
@gravity_class_string = external dso_local global ptr, align 8
@gravity_class_class = external dso_local global ptr, align 8
@gravity_class_function = external dso_local global ptr, align 8
@gravity_class_closure = external dso_local global ptr, align 8
@gravity_class_list = external dso_local global ptr, align 8
@gravity_class_map = external dso_local global ptr, align 8
@gravity_class_range = external dso_local global ptr, align 8
@gravity_class_fiber = external dso_local global ptr, align 8
@gravity_class_instance = external dso_local global ptr, align 8
@core_inited = external hidden global i8, align 1
@gravity_class_object = external dso_local global ptr, align 8
@gravity_class_upvalue = external dso_local global ptr, align 8
@gravity_class_module = external dso_local global ptr, align 8
@.str.51 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [7 x i8], align 1
@gravity_class_system = external dso_local global ptr, align 8
@.str.121 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [18 x i8], align 1
@refcount = external hidden global i32, align 4

; 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 @computed_property_free(ptr noundef, ptr noundef, i1 noundef zeroext) #1

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

declare i32 @gravity_hash_compute_buffer(ptr noundef, i32 noundef) #3

declare zeroext i1 @gravity_hash_remove(ptr noundef, ptr, i64) #3

declare ptr @gravity_class_get_meta(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @gravity_core_free() #1 {
  %1 = alloca ptr, align 8
  %2 = alloca %struct.gravity_string_t, align 8
  %3 = alloca %struct.gravity_value_t, align 8
  %4 = alloca %struct.gravity_string_t, align 8
  %5 = alloca %struct.gravity_value_t, align 8
  %6 = alloca %struct.gravity_string_t, align 8
  %7 = alloca %struct.gravity_value_t, align 8
  %8 = alloca %struct.gravity_string_t, align 8
  %9 = alloca %struct.gravity_value_t, align 8
  %10 = alloca %struct.gravity_string_t, align 8
  %11 = alloca %struct.gravity_value_t, align 8
  %12 = alloca %struct.gravity_string_t, align 8
  %13 = alloca %struct.gravity_value_t, align 8
  call void @gravity_opt_free()
  %14 = load i8, ptr @core_inited, align 1, !tbaa !5, !range !9, !noundef !10
  %15 = trunc i8 %14 to i1
  br i1 %15, label %17, label %16

16:                                               ; preds = %0
  br label %221

17:                                               ; preds = %0
  %18 = load i32, ptr @refcount, align 4, !tbaa !11
  %19 = add i32 %18, -1
  store i32 %19, ptr @refcount, align 4, !tbaa !11
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %21, label %22

21:                                               ; preds = %17
  br label %221

22:                                               ; preds = %17
  %23 = load ptr, ptr @gravity_class_list, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %23, ptr noundef @.str.51, i1 noundef zeroext true)
  %24 = load ptr, ptr @gravity_class_map, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %24, ptr noundef @.str.51, i1 noundef zeroext true)
  %25 = load ptr, ptr @gravity_class_range, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %25, ptr noundef @.str.51, i1 noundef zeroext true)
  %26 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %26, ptr noundef @.str.94, i1 noundef zeroext true)
  %27 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %27, ptr noundef @.str.82, i1 noundef zeroext true)
  %28 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %28, ptr noundef @.str.83, i1 noundef zeroext true)
  %29 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %29, ptr noundef @.str.82, i1 noundef zeroext true)
  %30 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %30, ptr noundef @.str.83, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %31 = load ptr, ptr @gravity_class_system, align 8, !tbaa !13
  %32 = call ptr @gravity_class_get_meta(ptr noundef %31)
  store ptr %32, ptr %1, align 8, !tbaa !13
  %33 = load ptr, ptr %1, align 8, !tbaa !13
  call void @computed_property_free(ptr noundef %33, ptr noundef @.str.121, i1 noundef zeroext true)
  %34 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  %35 = call ptr @gravity_class_get_meta(ptr noundef %34)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %35)
  %36 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %36)
  %37 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  %38 = call ptr @gravity_class_get_meta(ptr noundef %37)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %38)
  %39 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %39)
  %40 = load ptr, ptr @gravity_class_bool, align 8, !tbaa !13
  %41 = call ptr @gravity_class_get_meta(ptr noundef %40)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %41)
  %42 = load ptr, ptr @gravity_class_bool, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %42)
  %43 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %44 = call ptr @gravity_class_get_meta(ptr noundef %43)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %44)
  %45 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %45)
  %46 = load ptr, ptr @gravity_class_null, align 8, !tbaa !13
  %47 = call ptr @gravity_class_get_meta(ptr noundef %46)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %47)
  %48 = load ptr, ptr @gravity_class_null, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %48)
  %49 = load ptr, ptr @gravity_class_function, align 8, !tbaa !13
  %50 = call ptr @gravity_class_get_meta(ptr noundef %49)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %50)
  %51 = load ptr, ptr @gravity_class_function, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %51)
  %52 = load ptr, ptr @gravity_class_closure, align 8, !tbaa !13
  %53 = call ptr @gravity_class_get_meta(ptr noundef %52)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %53)
  %54 = load ptr, ptr @gravity_class_closure, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %54)
  %55 = load ptr, ptr @gravity_class_fiber, align 8, !tbaa !13
  %56 = call ptr @gravity_class_get_meta(ptr noundef %55)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %56)
  %57 = load ptr, ptr @gravity_class_fiber, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %57)
  %58 = load ptr, ptr @gravity_class_instance, align 8, !tbaa !13
  %59 = call ptr @gravity_class_get_meta(ptr noundef %58)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %59)
  %60 = load ptr, ptr @gravity_class_instance, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %60)
  %61 = load ptr, ptr @gravity_class_list, align 8, !tbaa !13
  %62 = call ptr @gravity_class_get_meta(ptr noundef %61)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %62)
  %63 = load ptr, ptr @gravity_class_list, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %63)
  %64 = load ptr, ptr @gravity_class_map, align 8, !tbaa !13
  %65 = call ptr @gravity_class_get_meta(ptr noundef %64)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %65)
  %66 = load ptr, ptr @gravity_class_map, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %66)
  %67 = load ptr, ptr @gravity_class_range, align 8, !tbaa !13
  %68 = call ptr @gravity_class_get_meta(ptr noundef %67)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %68)
  %69 = load ptr, ptr @gravity_class_range, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %69)
  %70 = load ptr, ptr @gravity_class_upvalue, align 8, !tbaa !13
  %71 = call ptr @gravity_class_get_meta(ptr noundef %70)
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %71)
  %72 = load ptr, ptr @gravity_class_upvalue, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %72)
  call void @llvm.lifetime.start.p0(i64 72, ptr %2) #4
  %73 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 0
  %74 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %74, ptr %73, align 8, !tbaa !15
  %75 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %75, i8 0, i64 40, i1 false)
  %76 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 2
  store ptr @.str.122, ptr %76, align 8, !tbaa !18
  %77 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 3
  store i32 0, ptr %77, align 8, !tbaa !19
  %78 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 4
  store i32 14, ptr %78, align 4, !tbaa !20
  %79 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 5
  store i32 0, ptr %79, align 8, !tbaa !21
  %80 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 2
  %81 = load ptr, ptr %80, align 8, !tbaa !18
  %82 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 4
  %83 = load i32, ptr %82, align 4, !tbaa !20
  %84 = call i32 @gravity_hash_compute_buffer(ptr noundef %81, i32 noundef %83)
  %85 = getelementptr inbounds %struct.gravity_string_t, ptr %2, i32 0, i32 3
  store i32 %84, ptr %85, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #4
  %86 = getelementptr inbounds %struct.gravity_value_t, ptr %3, i32 0, i32 0
  %87 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %87, ptr %86, align 8, !tbaa !22
  %88 = getelementptr inbounds %struct.gravity_value_t, ptr %3, i32 0, i32 1
  store ptr %2, ptr %88, align 8, !tbaa !24
  %89 = load ptr, ptr %1, align 8, !tbaa !13
  %90 = getelementptr inbounds %struct.gravity_class_s, ptr %89, i32 0, i32 11
  %91 = load ptr, ptr %90, align 8, !tbaa !25
  %92 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8
  %94 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 1
  %95 = load i64, ptr %94, align 8
  %96 = call zeroext i1 @gravity_hash_remove(ptr noundef %91, ptr %93, i64 %95)
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %4) #4
  %97 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 0
  %98 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %98, ptr %97, align 8, !tbaa !15
  %99 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %99, i8 0, i64 40, i1 false)
  %100 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 2
  store ptr @.str.123, ptr %100, align 8, !tbaa !18
  %101 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 3
  store i32 0, ptr %101, align 8, !tbaa !19
  %102 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 4
  store i32 11, ptr %102, align 4, !tbaa !20
  %103 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 5
  store i32 0, ptr %103, align 8, !tbaa !21
  %104 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !18
  %106 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 4
  %107 = load i32, ptr %106, align 4, !tbaa !20
  %108 = call i32 @gravity_hash_compute_buffer(ptr noundef %105, i32 noundef %107)
  %109 = getelementptr inbounds %struct.gravity_string_t, ptr %4, i32 0, i32 3
  store i32 %108, ptr %109, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %110 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 0
  %111 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %111, ptr %110, align 8, !tbaa !22
  %112 = getelementptr inbounds %struct.gravity_value_t, ptr %5, i32 0, i32 1
  store ptr %4, ptr %112, align 8, !tbaa !24
  %113 = load ptr, ptr %1, align 8, !tbaa !13
  %114 = getelementptr inbounds %struct.gravity_class_s, ptr %113, i32 0, i32 11
  %115 = load ptr, ptr %114, align 8, !tbaa !25
  %116 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8
  %118 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %119 = load i64, ptr %118, align 8
  %120 = call zeroext i1 @gravity_hash_remove(ptr noundef %115, ptr %117, i64 %119)
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #4
  %121 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 0
  %122 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %122, ptr %121, align 8, !tbaa !15
  %123 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %123, i8 0, i64 40, i1 false)
  %124 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 2
  store ptr @.str.124, ptr %124, align 8, !tbaa !18
  %125 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 3
  store i32 0, ptr %125, align 8, !tbaa !19
  %126 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 4
  store i32 7, ptr %126, align 4, !tbaa !20
  %127 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 5
  store i32 0, ptr %127, align 8, !tbaa !21
  %128 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 2
  %129 = load ptr, ptr %128, align 8, !tbaa !18
  %130 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 4
  %131 = load i32, ptr %130, align 4, !tbaa !20
  %132 = call i32 @gravity_hash_compute_buffer(ptr noundef %129, i32 noundef %131)
  %133 = getelementptr inbounds %struct.gravity_string_t, ptr %6, i32 0, i32 3
  store i32 %132, ptr %133, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  %134 = getelementptr inbounds %struct.gravity_value_t, ptr %7, i32 0, i32 0
  %135 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %135, ptr %134, align 8, !tbaa !22
  %136 = getelementptr inbounds %struct.gravity_value_t, ptr %7, i32 0, i32 1
  store ptr %6, ptr %136, align 8, !tbaa !24
  %137 = load ptr, ptr %1, align 8, !tbaa !13
  %138 = getelementptr inbounds %struct.gravity_class_s, ptr %137, i32 0, i32 11
  %139 = load ptr, ptr %138, align 8, !tbaa !25
  %140 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %143 = load i64, ptr %142, align 8
  %144 = call zeroext i1 @gravity_hash_remove(ptr noundef %139, ptr %141, i64 %143)
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %8) #4
  %145 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 0
  %146 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %146, ptr %145, align 8, !tbaa !15
  %147 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %147, i8 0, i64 40, i1 false)
  %148 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 2
  store ptr @.str.125, ptr %148, align 8, !tbaa !18
  %149 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 3
  store i32 0, ptr %149, align 8, !tbaa !19
  %150 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 4
  store i32 9, ptr %150, align 4, !tbaa !20
  %151 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 5
  store i32 0, ptr %151, align 8, !tbaa !21
  %152 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 2
  %153 = load ptr, ptr %152, align 8, !tbaa !18
  %154 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 4
  %155 = load i32, ptr %154, align 4, !tbaa !20
  %156 = call i32 @gravity_hash_compute_buffer(ptr noundef %153, i32 noundef %155)
  %157 = getelementptr inbounds %struct.gravity_string_t, ptr %8, i32 0, i32 3
  store i32 %156, ptr %157, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  %158 = getelementptr inbounds %struct.gravity_value_t, ptr %9, i32 0, i32 0
  %159 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %159, ptr %158, align 8, !tbaa !22
  %160 = getelementptr inbounds %struct.gravity_value_t, ptr %9, i32 0, i32 1
  store ptr %8, ptr %160, align 8, !tbaa !24
  %161 = load ptr, ptr %1, align 8, !tbaa !13
  %162 = getelementptr inbounds %struct.gravity_class_s, ptr %161, i32 0, i32 11
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  %164 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %165 = load ptr, ptr %164, align 8
  %166 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %167 = load i64, ptr %166, align 8
  %168 = call zeroext i1 @gravity_hash_remove(ptr noundef %163, ptr %165, i64 %167)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %10) #4
  %169 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 0
  %170 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %170, ptr %169, align 8, !tbaa !15
  %171 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %171, i8 0, i64 40, i1 false)
  %172 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 2
  store ptr @.str.126, ptr %172, align 8, !tbaa !18
  %173 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 3
  store i32 0, ptr %173, align 8, !tbaa !19
  %174 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 4
  store i32 8, ptr %174, align 4, !tbaa !20
  %175 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 5
  store i32 0, ptr %175, align 8, !tbaa !21
  %176 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 2
  %177 = load ptr, ptr %176, align 8, !tbaa !18
  %178 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 4
  %179 = load i32, ptr %178, align 4, !tbaa !20
  %180 = call i32 @gravity_hash_compute_buffer(ptr noundef %177, i32 noundef %179)
  %181 = getelementptr inbounds %struct.gravity_string_t, ptr %10, i32 0, i32 3
  store i32 %180, ptr %181, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %182 = getelementptr inbounds %struct.gravity_value_t, ptr %11, i32 0, i32 0
  %183 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %183, ptr %182, align 8, !tbaa !22
  %184 = getelementptr inbounds %struct.gravity_value_t, ptr %11, i32 0, i32 1
  store ptr %10, ptr %184, align 8, !tbaa !24
  %185 = load ptr, ptr %1, align 8, !tbaa !13
  %186 = getelementptr inbounds %struct.gravity_class_s, ptr %185, i32 0, i32 11
  %187 = load ptr, ptr %186, align 8, !tbaa !25
  %188 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %189 = load ptr, ptr %188, align 8
  %190 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %191 = load i64, ptr %190, align 8
  %192 = call zeroext i1 @gravity_hash_remove(ptr noundef %187, ptr %189, i64 %191)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #4
  %193 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 0
  %194 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %194, ptr %193, align 8, !tbaa !15
  %195 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 1
  call void @llvm.memset.p0.i64(ptr align 8 %195, i8 0, i64 40, i1 false)
  %196 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 2
  store ptr @.str.127, ptr %196, align 8, !tbaa !18
  %197 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 3
  store i32 0, ptr %197, align 8, !tbaa !19
  %198 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 4
  store i32 17, ptr %198, align 4, !tbaa !20
  %199 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 5
  store i32 0, ptr %199, align 8, !tbaa !21
  %200 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 2
  %201 = load ptr, ptr %200, align 8, !tbaa !18
  %202 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 4
  %203 = load i32, ptr %202, align 4, !tbaa !20
  %204 = call i32 @gravity_hash_compute_buffer(ptr noundef %201, i32 noundef %203)
  %205 = getelementptr inbounds %struct.gravity_string_t, ptr %12, i32 0, i32 3
  store i32 %204, ptr %205, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %206 = getelementptr inbounds %struct.gravity_value_t, ptr %13, i32 0, i32 0
  %207 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %207, ptr %206, align 8, !tbaa !22
  %208 = getelementptr inbounds %struct.gravity_value_t, ptr %13, i32 0, i32 1
  store ptr %12, ptr %208, align 8, !tbaa !24
  %209 = load ptr, ptr %1, align 8, !tbaa !13
  %210 = getelementptr inbounds %struct.gravity_class_s, ptr %209, i32 0, i32 11
  %211 = load ptr, ptr %210, align 8, !tbaa !25
  %212 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %213 = load ptr, ptr %212, align 8
  %214 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %215 = load i64, ptr %214, align 8
  %216 = call zeroext i1 @gravity_hash_remove(ptr noundef %211, ptr %213, i64 %215)
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #4
  %217 = load ptr, ptr %1, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %217)
  %218 = load ptr, ptr @gravity_class_system, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %218)
  %219 = load ptr, ptr @gravity_class_class, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %219)
  %220 = load ptr, ptr @gravity_class_object, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %220)
  store ptr null, ptr @gravity_class_int, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_float, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_bool, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_object, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_null, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_function, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_closure, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_fiber, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_class, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_instance, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_list, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_map, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_range, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_upvalue, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_system, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_module, align 8, !tbaa !13
  store i8 0, ptr @core_inited, align 1, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  br label %221

221:                                              ; preds = %22, %21, %16
  ret void
}

declare void @gravity_opt_free() #3

declare void @gravity_class_free_core(ptr noundef, ptr noundef) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"_Bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"", !14, i64 0, !17, i64 8, !14, i64 48, !12, i64 56, !12, i64 60, !12, i64 64}
!17 = !{!"gravity_gc_s", !6, i64 0, !6, i64 1, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!18 = !{!16, !14, i64 48}
!19 = !{!16, !12, i64 56}
!20 = !{!16, !12, i64 60}
!21 = !{!16, !12, i64 64}
!22 = !{!23, !14, i64 0}
!23 = !{!"", !14, i64 0, !7, i64 8}
!24 = !{!7, !7, i64 0}
!25 = !{!26, !14, i64 96}
!26 = !{!"gravity_class_s", !14, i64 0, !17, i64 8, !14, i64 48, !14, i64 56, !6, i64 64, !6, i64 65, !6, i64 66, !6, i64 67, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !12, i64 104, !14, i64 112}


; 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.gravity_string_t = type { ptr, %struct.gravity_gc_s, ptr, i32, i32, i32 }
%struct.gravity_gc_s = type { i8, i8, ptr, ptr, ptr, ptr }

@gravity_class_int = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_float = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_bool = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_null = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_string = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_class = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_function = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_closure = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_list = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_map = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_range = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_fiber = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_instance = external dso_local local_unnamed_addr global ptr, align 8
@core_inited = external hidden local_unnamed_addr global i8, align 1
@gravity_class_object = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_upvalue = external dso_local local_unnamed_addr global ptr, align 8
@gravity_class_module = external dso_local local_unnamed_addr global ptr, align 8
@.str.51 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [7 x i8], align 1
@gravity_class_system = external dso_local local_unnamed_addr global ptr, align 8
@.str.121 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [18 x i8], align 1
@refcount = external hidden local_unnamed_addr global i32, align 4

; 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 @computed_property_free(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

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

declare i32 @gravity_hash_compute_buffer(ptr noundef, i32 noundef) local_unnamed_addr #3

declare zeroext i1 @gravity_hash_remove(ptr noundef, ptr, i64) local_unnamed_addr #3

declare ptr @gravity_class_get_meta(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @gravity_core_free() local_unnamed_addr #1 {
  %1 = alloca %struct.gravity_string_t, align 8
  %2 = alloca %struct.gravity_string_t, align 8
  %3 = alloca %struct.gravity_string_t, align 8
  %4 = alloca %struct.gravity_string_t, align 8
  %5 = alloca %struct.gravity_string_t, align 8
  %6 = alloca %struct.gravity_string_t, align 8
  tail call void @gravity_opt_free() #4
  %7 = load i8, ptr @core_inited, align 1, !tbaa !5, !range !9, !noundef !10
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %9, label %132

9:                                                ; preds = %0
  %10 = load i32, ptr @refcount, align 4, !tbaa !11
  %11 = add i32 %10, -1
  store i32 %11, ptr @refcount, align 4, !tbaa !11
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %12, label %132

12:                                               ; preds = %9
  %13 = load ptr, ptr @gravity_class_list, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %13, ptr noundef nonnull @.str.51, i1 noundef zeroext true)
  %14 = load ptr, ptr @gravity_class_map, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %14, ptr noundef nonnull @.str.51, i1 noundef zeroext true)
  %15 = load ptr, ptr @gravity_class_range, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %15, ptr noundef nonnull @.str.51, i1 noundef zeroext true)
  %16 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %16, ptr noundef nonnull @.str.94, i1 noundef zeroext true)
  %17 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %17, ptr noundef nonnull @.str.82, i1 noundef zeroext true)
  %18 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %18, ptr noundef nonnull @.str.83, i1 noundef zeroext true)
  %19 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %19, ptr noundef nonnull @.str.82, i1 noundef zeroext true)
  %20 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  tail call void @computed_property_free(ptr noundef %20, ptr noundef nonnull @.str.83, i1 noundef zeroext true)
  %21 = load ptr, ptr @gravity_class_system, align 8, !tbaa !13
  %22 = tail call ptr @gravity_class_get_meta(ptr noundef %21) #4
  tail call void @computed_property_free(ptr noundef %22, ptr noundef nonnull @.str.121, i1 noundef zeroext true)
  %23 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  %24 = tail call ptr @gravity_class_get_meta(ptr noundef %23) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %24) #4
  %25 = load ptr, ptr @gravity_class_int, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %25) #4
  %26 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  %27 = tail call ptr @gravity_class_get_meta(ptr noundef %26) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %27) #4
  %28 = load ptr, ptr @gravity_class_float, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %28) #4
  %29 = load ptr, ptr @gravity_class_bool, align 8, !tbaa !13
  %30 = tail call ptr @gravity_class_get_meta(ptr noundef %29) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %30) #4
  %31 = load ptr, ptr @gravity_class_bool, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %31) #4
  %32 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %33 = tail call ptr @gravity_class_get_meta(ptr noundef %32) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %33) #4
  %34 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %34) #4
  %35 = load ptr, ptr @gravity_class_null, align 8, !tbaa !13
  %36 = tail call ptr @gravity_class_get_meta(ptr noundef %35) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %36) #4
  %37 = load ptr, ptr @gravity_class_null, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %37) #4
  %38 = load ptr, ptr @gravity_class_function, align 8, !tbaa !13
  %39 = tail call ptr @gravity_class_get_meta(ptr noundef %38) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %39) #4
  %40 = load ptr, ptr @gravity_class_function, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %40) #4
  %41 = load ptr, ptr @gravity_class_closure, align 8, !tbaa !13
  %42 = tail call ptr @gravity_class_get_meta(ptr noundef %41) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %42) #4
  %43 = load ptr, ptr @gravity_class_closure, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %43) #4
  %44 = load ptr, ptr @gravity_class_fiber, align 8, !tbaa !13
  %45 = tail call ptr @gravity_class_get_meta(ptr noundef %44) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %45) #4
  %46 = load ptr, ptr @gravity_class_fiber, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %46) #4
  %47 = load ptr, ptr @gravity_class_instance, align 8, !tbaa !13
  %48 = tail call ptr @gravity_class_get_meta(ptr noundef %47) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %48) #4
  %49 = load ptr, ptr @gravity_class_instance, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %49) #4
  %50 = load ptr, ptr @gravity_class_list, align 8, !tbaa !13
  %51 = tail call ptr @gravity_class_get_meta(ptr noundef %50) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %51) #4
  %52 = load ptr, ptr @gravity_class_list, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %52) #4
  %53 = load ptr, ptr @gravity_class_map, align 8, !tbaa !13
  %54 = tail call ptr @gravity_class_get_meta(ptr noundef %53) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %54) #4
  %55 = load ptr, ptr @gravity_class_map, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %55) #4
  %56 = load ptr, ptr @gravity_class_range, align 8, !tbaa !13
  %57 = tail call ptr @gravity_class_get_meta(ptr noundef %56) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %57) #4
  %58 = load ptr, ptr @gravity_class_range, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %58) #4
  %59 = load ptr, ptr @gravity_class_upvalue, align 8, !tbaa !13
  %60 = tail call ptr @gravity_class_get_meta(ptr noundef %59) #4
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %60) #4
  %61 = load ptr, ptr @gravity_class_upvalue, align 8, !tbaa !13
  tail call void @gravity_class_free_core(ptr noundef null, ptr noundef %61) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %1) #4
  %62 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %62, ptr %1, align 8, !tbaa !15
  %63 = getelementptr inbounds i8, ptr %1, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %63, i8 0, i64 40, i1 false)
  %64 = getelementptr inbounds i8, ptr %1, i64 48
  store ptr @.str.122, ptr %64, align 8, !tbaa !18
  %65 = getelementptr inbounds i8, ptr %1, i64 56
  %66 = getelementptr inbounds i8, ptr %1, i64 60
  store i32 14, ptr %66, align 4, !tbaa !19
  %67 = getelementptr inbounds i8, ptr %1, i64 64
  store i32 0, ptr %67, align 8, !tbaa !20
  %68 = tail call i32 @gravity_hash_compute_buffer(ptr noundef nonnull @.str.122, i32 noundef 14) #4
  store i32 %68, ptr %65, align 8, !tbaa !21
  %69 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %70 = ptrtoint ptr %1 to i64
  %71 = getelementptr inbounds i8, ptr %22, i64 96
  %72 = load ptr, ptr %71, align 8, !tbaa !22
  %73 = call zeroext i1 @gravity_hash_remove(ptr noundef %72, ptr %69, i64 %70) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #4
  %74 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %74, ptr %2, align 8, !tbaa !15
  %75 = getelementptr inbounds i8, ptr %2, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %75, i8 0, i64 40, i1 false)
  %76 = getelementptr inbounds i8, ptr %2, i64 48
  store ptr @.str.123, ptr %76, align 8, !tbaa !18
  %77 = getelementptr inbounds i8, ptr %2, i64 56
  %78 = getelementptr inbounds i8, ptr %2, i64 60
  store i32 11, ptr %78, align 4, !tbaa !19
  %79 = getelementptr inbounds i8, ptr %2, i64 64
  store i32 0, ptr %79, align 8, !tbaa !20
  %80 = call i32 @gravity_hash_compute_buffer(ptr noundef nonnull @.str.123, i32 noundef 11) #4
  store i32 %80, ptr %77, align 8, !tbaa !21
  %81 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %82 = ptrtoint ptr %2 to i64
  %83 = load ptr, ptr %71, align 8, !tbaa !22
  %84 = call zeroext i1 @gravity_hash_remove(ptr noundef %83, ptr %81, i64 %82) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #4
  %85 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %85, ptr %3, align 8, !tbaa !15
  %86 = getelementptr inbounds i8, ptr %3, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %86, i8 0, i64 40, i1 false)
  %87 = getelementptr inbounds i8, ptr %3, i64 48
  store ptr @.str.124, ptr %87, align 8, !tbaa !18
  %88 = getelementptr inbounds i8, ptr %3, i64 56
  %89 = getelementptr inbounds i8, ptr %3, i64 60
  store i32 7, ptr %89, align 4, !tbaa !19
  %90 = getelementptr inbounds i8, ptr %3, i64 64
  store i32 0, ptr %90, align 8, !tbaa !20
  %91 = call i32 @gravity_hash_compute_buffer(ptr noundef nonnull @.str.124, i32 noundef 7) #4
  store i32 %91, ptr %88, align 8, !tbaa !21
  %92 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %93 = ptrtoint ptr %3 to i64
  %94 = load ptr, ptr %71, align 8, !tbaa !22
  %95 = call zeroext i1 @gravity_hash_remove(ptr noundef %94, ptr %92, i64 %93) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #4
  %96 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %96, ptr %4, align 8, !tbaa !15
  %97 = getelementptr inbounds i8, ptr %4, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %97, i8 0, i64 40, i1 false)
  %98 = getelementptr inbounds i8, ptr %4, i64 48
  store ptr @.str.125, ptr %98, align 8, !tbaa !18
  %99 = getelementptr inbounds i8, ptr %4, i64 56
  %100 = getelementptr inbounds i8, ptr %4, i64 60
  store i32 9, ptr %100, align 4, !tbaa !19
  %101 = getelementptr inbounds i8, ptr %4, i64 64
  store i32 0, ptr %101, align 8, !tbaa !20
  %102 = call i32 @gravity_hash_compute_buffer(ptr noundef nonnull @.str.125, i32 noundef 9) #4
  store i32 %102, ptr %99, align 8, !tbaa !21
  %103 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %104 = ptrtoint ptr %4 to i64
  %105 = load ptr, ptr %71, align 8, !tbaa !22
  %106 = call zeroext i1 @gravity_hash_remove(ptr noundef %105, ptr %103, i64 %104) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #4
  %107 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %107, ptr %5, align 8, !tbaa !15
  %108 = getelementptr inbounds i8, ptr %5, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %108, i8 0, i64 40, i1 false)
  %109 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr @.str.126, ptr %109, align 8, !tbaa !18
  %110 = getelementptr inbounds i8, ptr %5, i64 56
  %111 = getelementptr inbounds i8, ptr %5, i64 60
  store i32 8, ptr %111, align 4, !tbaa !19
  %112 = getelementptr inbounds i8, ptr %5, i64 64
  store i32 0, ptr %112, align 8, !tbaa !20
  %113 = call i32 @gravity_hash_compute_buffer(ptr noundef nonnull @.str.126, i32 noundef 8) #4
  store i32 %113, ptr %110, align 8, !tbaa !21
  %114 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %115 = ptrtoint ptr %5 to i64
  %116 = load ptr, ptr %71, align 8, !tbaa !22
  %117 = call zeroext i1 @gravity_hash_remove(ptr noundef %116, ptr %114, i64 %115) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #4
  %118 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr %118, ptr %6, align 8, !tbaa !15
  %119 = getelementptr inbounds i8, ptr %6, i64 8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %119, i8 0, i64 40, i1 false)
  %120 = getelementptr inbounds i8, ptr %6, i64 48
  store ptr @.str.127, ptr %120, align 8, !tbaa !18
  %121 = getelementptr inbounds i8, ptr %6, i64 56
  %122 = getelementptr inbounds i8, ptr %6, i64 60
  store i32 17, ptr %122, align 4, !tbaa !19
  %123 = getelementptr inbounds i8, ptr %6, i64 64
  store i32 0, ptr %123, align 8, !tbaa !20
  %124 = call i32 @gravity_hash_compute_buffer(ptr noundef nonnull @.str.127, i32 noundef 17) #4
  store i32 %124, ptr %121, align 8, !tbaa !21
  %125 = load ptr, ptr @gravity_class_string, align 8, !tbaa !13
  %126 = ptrtoint ptr %6 to i64
  %127 = load ptr, ptr %71, align 8, !tbaa !22
  %128 = call zeroext i1 @gravity_hash_remove(ptr noundef %127, ptr %125, i64 %126) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #4
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %22) #4
  %129 = load ptr, ptr @gravity_class_system, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %129) #4
  %130 = load ptr, ptr @gravity_class_class, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %130) #4
  %131 = load ptr, ptr @gravity_class_object, align 8, !tbaa !13
  call void @gravity_class_free_core(ptr noundef null, ptr noundef %131) #4
  store ptr null, ptr @gravity_class_int, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_float, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_bool, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_string, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_object, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_null, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_function, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_closure, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_fiber, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_class, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_instance, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_list, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_map, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_range, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_upvalue, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_system, align 8, !tbaa !13
  store ptr null, ptr @gravity_class_module, align 8, !tbaa !13
  store i8 0, ptr @core_inited, align 1, !tbaa !5
  br label %132

132:                                              ; preds = %9, %0, %12
  ret void
}

declare void @gravity_opt_free() local_unnamed_addr #3

declare void @gravity_class_free_core(ptr noundef, ptr noundef) local_unnamed_addr #3

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"_Bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !14, i64 0}
!16 = !{!"", !14, i64 0, !17, i64 8, !14, i64 48, !12, i64 56, !12, i64 60, !12, i64 64}
!17 = !{!"gravity_gc_s", !6, i64 0, !6, i64 1, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!18 = !{!16, !14, i64 48}
!19 = !{!16, !12, i64 60}
!20 = !{!16, !12, i64 64}
!21 = !{!16, !12, i64 56}
!22 = !{!23, !14, i64 96}
!23 = !{!"gravity_class_s", !14, i64 0, !17, i64 8, !14, i64 48, !14, i64 56, !6, i64 64, !6, i64 65, !6, i64 66, !6, i64 67, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !12, i64 104, !14, i64 112}


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