; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_compiled_5)

; 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.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) #1

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aequals0x28hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x20const0x2A0x290x20const(ptr noundef, i32 noundef, i32 noundef) #2

declare i32 @w2c_hermes_hermes0x3A0x3Abigint0x3A0x3Acompare0x28hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x2C0x20hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x29(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AisSameValueZero0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i64 noundef %1, i64 noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store i64 %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.w2c_hermes, ptr %19, i32 0, i32 3
  %21 = load i32, ptr %20, align 8, !tbaa !13
  store i32 %21, ptr %10, align 4, !tbaa !11
  store i32 32, ptr %11, align 4, !tbaa !11
  %22 = load i32, ptr %11, align 4, !tbaa !11
  %23 = load i32, ptr %10, align 4, !tbaa !11
  %24 = sub i32 %23, %22
  store i32 %24, ptr %10, align 4, !tbaa !11
  %25 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %25, ptr %7, align 4, !tbaa !11
  %26 = load i32, ptr %10, align 4, !tbaa !11
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.w2c_hermes, ptr %27, i32 0, i32 3
  store i32 %26, ptr %28, align 8, !tbaa !13
  %29 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %29, ptr %13, align 8, !tbaa !9
  store i64 -1970324836974593, ptr %14, align 8, !tbaa !9
  %30 = load i64, ptr %13, align 8, !tbaa !9
  %31 = load i64, ptr %14, align 8, !tbaa !9
  %32 = icmp ugt i64 %30, %31
  %33 = zext i1 %32 to i32
  store i32 %33, ptr %10, align 4, !tbaa !11
  %34 = load i32, ptr %10, align 4, !tbaa !11
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %3
  br label %61

37:                                               ; preds = %3
  %38 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %38, ptr %13, align 8, !tbaa !9
  store i64 -1970324836974593, ptr %14, align 8, !tbaa !9
  %39 = load i64, ptr %13, align 8, !tbaa !9
  %40 = load i64, ptr %14, align 8, !tbaa !9
  %41 = icmp ugt i64 %39, %40
  %42 = zext i1 %41 to i32
  store i32 %42, ptr %10, align 4, !tbaa !11
  %43 = load i32, ptr %10, align 4, !tbaa !11
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %37
  br label %61

46:                                               ; preds = %37
  store i32 1, ptr %10, align 4, !tbaa !11
  %47 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %47, ptr %14, align 8, !tbaa !9
  %48 = load i64, ptr %14, align 8, !tbaa !9
  %49 = call double @f64_reinterpret_i64(i64 noundef %48)
  store double %49, ptr %17, align 8, !tbaa !18
  %50 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %50, ptr %15, align 8, !tbaa !9
  %51 = load i64, ptr %15, align 8, !tbaa !9
  %52 = call double @f64_reinterpret_i64(i64 noundef %51)
  store double %52, ptr %18, align 8, !tbaa !18
  %53 = load double, ptr %17, align 8, !tbaa !18
  %54 = load double, ptr %18, align 8, !tbaa !18
  %55 = fcmp oeq double %53, %54
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %11, align 4, !tbaa !11
  %57 = load i32, ptr %11, align 4, !tbaa !11
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %46
  br label %234

60:                                               ; preds = %46
  br label %61

61:                                               ; preds = %60, %45, %36
  %62 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %62, ptr %13, align 8, !tbaa !9
  store i64 9223372036854775807, ptr %14, align 8, !tbaa !9
  %63 = load i64, ptr %14, align 8, !tbaa !9
  %64 = load i64, ptr %13, align 8, !tbaa !9
  %65 = and i64 %64, %63
  store i64 %65, ptr %13, align 8, !tbaa !9
  store i64 9221120237041090560, ptr %14, align 8, !tbaa !9
  %66 = load i64, ptr %13, align 8, !tbaa !9
  %67 = load i64, ptr %14, align 8, !tbaa !9
  %68 = icmp eq i64 %66, %67
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %10, align 4, !tbaa !11
  %70 = load i32, ptr %10, align 4, !tbaa !11
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %85

72:                                               ; preds = %61
  store i32 1, ptr %10, align 4, !tbaa !11
  %73 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %73, ptr %14, align 8, !tbaa !9
  store i64 9223372036854775807, ptr %15, align 8, !tbaa !9
  %74 = load i64, ptr %15, align 8, !tbaa !9
  %75 = load i64, ptr %14, align 8, !tbaa !9
  %76 = and i64 %75, %74
  store i64 %76, ptr %14, align 8, !tbaa !9
  store i64 9221120237041090560, ptr %15, align 8, !tbaa !9
  %77 = load i64, ptr %14, align 8, !tbaa !9
  %78 = load i64, ptr %15, align 8, !tbaa !9
  %79 = icmp eq i64 %77, %78
  %80 = zext i1 %79 to i32
  store i32 %80, ptr %11, align 4, !tbaa !11
  %81 = load i32, ptr %11, align 4, !tbaa !11
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %72
  br label %234

84:                                               ; preds = %72
  br label %85

85:                                               ; preds = %84, %61
  store i32 0, ptr %10, align 4, !tbaa !11
  %86 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %86, ptr %14, align 8, !tbaa !9
  store i64 48, ptr %15, align 8, !tbaa !9
  %87 = load i64, ptr %14, align 8, !tbaa !9
  %88 = load i64, ptr %15, align 8, !tbaa !9
  %89 = and i64 %88, 63
  %90 = ashr i64 %87, %89
  store i64 %90, ptr %14, align 8, !tbaa !9
  %91 = load i64, ptr %14, align 8, !tbaa !9
  %92 = trunc i64 %91 to i32
  store i32 %92, ptr %11, align 4, !tbaa !11
  %93 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %93, ptr %9, align 4, !tbaa !11
  %94 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %94, ptr %15, align 8, !tbaa !9
  store i64 48, ptr %16, align 8, !tbaa !9
  %95 = load i64, ptr %15, align 8, !tbaa !9
  %96 = load i64, ptr %16, align 8, !tbaa !9
  %97 = and i64 %96, 63
  %98 = ashr i64 %95, %97
  store i64 %98, ptr %15, align 8, !tbaa !9
  %99 = load i64, ptr %15, align 8, !tbaa !9
  %100 = trunc i64 %99 to i32
  store i32 %100, ptr %12, align 4, !tbaa !11
  %101 = load i32, ptr %11, align 4, !tbaa !11
  %102 = load i32, ptr %12, align 4, !tbaa !11
  %103 = icmp ne i32 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %11, align 4, !tbaa !11
  %105 = load i32, ptr %11, align 4, !tbaa !11
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %85
  br label %234

108:                                              ; preds = %85
  %109 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %109, ptr %10, align 4, !tbaa !11
  store i32 3, ptr %11, align 4, !tbaa !11
  %110 = load i32, ptr %11, align 4, !tbaa !11
  %111 = load i32, ptr %10, align 4, !tbaa !11
  %112 = add i32 %111, %110
  store i32 %112, ptr %10, align 4, !tbaa !11
  %113 = load i32, ptr %10, align 4, !tbaa !11
  switch i32 %113, label %116 [
    i32 0, label %114
    i32 1, label %115
  ]

114:                                              ; preds = %108
  br label %117

115:                                              ; preds = %108
  br label %128

116:                                              ; preds = %108
  br label %227

117:                                              ; preds = %114
  %118 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %118, ptr %13, align 8, !tbaa !9
  %119 = load i64, ptr %13, align 8, !tbaa !9
  %120 = trunc i64 %119 to i32
  store i32 %120, ptr %10, align 4, !tbaa !11
  %121 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %121, ptr %14, align 8, !tbaa !9
  %122 = load i64, ptr %14, align 8, !tbaa !9
  %123 = trunc i64 %122 to i32
  store i32 %123, ptr %11, align 4, !tbaa !11
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = load i32, ptr %10, align 4, !tbaa !11
  %126 = load i32, ptr %11, align 4, !tbaa !11
  %127 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aequals0x28hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x20const0x2A0x290x20const(ptr noundef %124, i32 noundef %125, i32 noundef %126)
  store i32 %127, ptr %10, align 4, !tbaa !11
  br label %234

128:                                              ; preds = %115
  %129 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %129, ptr %10, align 4, !tbaa !11
  %130 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %130, ptr %14, align 8, !tbaa !9
  %131 = load i64, ptr %14, align 8, !tbaa !9
  %132 = trunc i64 %131 to i32
  store i32 %132, ptr %11, align 4, !tbaa !11
  %133 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %133, ptr %8, align 4, !tbaa !11
  store i32 8, ptr %12, align 4, !tbaa !11
  %134 = load i32, ptr %12, align 4, !tbaa !11
  %135 = load i32, ptr %11, align 4, !tbaa !11
  %136 = add i32 %135, %134
  store i32 %136, ptr %11, align 4, !tbaa !11
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.w2c_hermes, ptr %137, i32 0, i32 6
  %139 = load i32, ptr %10, align 4, !tbaa !11
  %140 = zext i32 %139 to i64
  %141 = add i64 %140, 24
  %142 = load i32, ptr %11, align 4, !tbaa !11
  call void @i32_store(ptr noundef %138, i64 noundef %141, i32 noundef %142)
  %143 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %143, ptr %10, align 4, !tbaa !11
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %10, align 4, !tbaa !11
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 4
  %149 = call i32 @i32_load(ptr noundef %145, i64 noundef %148)
  store i32 %149, ptr %10, align 4, !tbaa !11
  %150 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %150, ptr %8, align 4, !tbaa !11
  %151 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %151, ptr %10, align 4, !tbaa !11
  %152 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %152, ptr %14, align 8, !tbaa !9
  %153 = load i64, ptr %14, align 8, !tbaa !9
  %154 = trunc i64 %153 to i32
  store i32 %154, ptr %11, align 4, !tbaa !11
  %155 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %155, ptr %9, align 4, !tbaa !11
  store i32 8, ptr %12, align 4, !tbaa !11
  %156 = load i32, ptr %12, align 4, !tbaa !11
  %157 = load i32, ptr %11, align 4, !tbaa !11
  %158 = add i32 %157, %156
  store i32 %158, ptr %11, align 4, !tbaa !11
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %10, align 4, !tbaa !11
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 16
  %164 = load i32, ptr %11, align 4, !tbaa !11
  call void @i32_store(ptr noundef %160, i64 noundef %163, i32 noundef %164)
  %165 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %165, ptr %10, align 4, !tbaa !11
  %166 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %166, ptr %11, align 4, !tbaa !11
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %10, align 4, !tbaa !11
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 28
  %172 = load i32, ptr %11, align 4, !tbaa !11
  call void @i32_store(ptr noundef %168, i64 noundef %171, i32 noundef %172)
  %173 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %173, ptr %10, align 4, !tbaa !11
  %174 = load i32, ptr %9, align 4, !tbaa !11
  store i32 %174, ptr %11, align 4, !tbaa !11
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.w2c_hermes, ptr %175, i32 0, i32 6
  %177 = load i32, ptr %11, align 4, !tbaa !11
  %178 = zext i32 %177 to i64
  %179 = add i64 %178, 4
  %180 = call i32 @i32_load(ptr noundef %176, i64 noundef %179)
  store i32 %180, ptr %11, align 4, !tbaa !11
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %10, align 4, !tbaa !11
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 20
  %186 = load i32, ptr %11, align 4, !tbaa !11
  call void @i32_store(ptr noundef %182, i64 noundef %185, i32 noundef %186)
  %187 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %187, ptr %10, align 4, !tbaa !11
  %188 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %188, ptr %11, align 4, !tbaa !11
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %11, align 4, !tbaa !11
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 24
  %194 = call i64 @i64_load(ptr noundef %190, i64 noundef %193)
  store i64 %194, ptr %14, align 8, !tbaa !9
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %10, align 4, !tbaa !11
  %198 = zext i32 %197 to i64
  %199 = add i64 %198, 8
  %200 = load i64, ptr %14, align 8, !tbaa !9
  call void @i64_store(ptr noundef %196, i64 noundef %199, i64 noundef %200)
  %201 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %201, ptr %10, align 4, !tbaa !11
  %202 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %202, ptr %11, align 4, !tbaa !11
  %203 = load ptr, ptr %4, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %11, align 4, !tbaa !11
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 16
  %208 = call i64 @i64_load(ptr noundef %204, i64 noundef %207)
  store i64 %208, ptr %14, align 8, !tbaa !9
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.w2c_hermes, ptr %209, i32 0, i32 6
  %211 = load i32, ptr %10, align 4, !tbaa !11
  %212 = zext i32 %211 to i64
  %213 = load i64, ptr %14, align 8, !tbaa !9
  call void @i64_store(ptr noundef %210, i64 noundef %212, i64 noundef %213)
  %214 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %214, ptr %10, align 4, !tbaa !11
  store i32 8, ptr %11, align 4, !tbaa !11
  %215 = load i32, ptr %11, align 4, !tbaa !11
  %216 = load i32, ptr %10, align 4, !tbaa !11
  %217 = add i32 %216, %215
  store i32 %217, ptr %10, align 4, !tbaa !11
  %218 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %218, ptr %11, align 4, !tbaa !11
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = load i32, ptr %10, align 4, !tbaa !11
  %221 = load i32, ptr %11, align 4, !tbaa !11
  %222 = call i32 @w2c_hermes_hermes0x3A0x3Abigint0x3A0x3Acompare0x28hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x2C0x20hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x29(ptr noundef %219, i32 noundef %220, i32 noundef %221)
  store i32 %222, ptr %10, align 4, !tbaa !11
  %223 = load i32, ptr %10, align 4, !tbaa !11
  %224 = icmp ne i32 %223, 0
  %225 = xor i1 %224, true
  %226 = zext i1 %225 to i32
  store i32 %226, ptr %10, align 4, !tbaa !11
  br label %234

227:                                              ; preds = %116
  %228 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %228, ptr %13, align 8, !tbaa !9
  %229 = load i64, ptr %6, align 8, !tbaa !9
  store i64 %229, ptr %14, align 8, !tbaa !9
  %230 = load i64, ptr %13, align 8, !tbaa !9
  %231 = load i64, ptr %14, align 8, !tbaa !9
  %232 = icmp eq i64 %230, %231
  %233 = zext i1 %232 to i32
  store i32 %233, ptr %10, align 4, !tbaa !11
  br label %234

234:                                              ; preds = %227, %128, %117, %107, %83, %59
  %235 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %235, ptr %8, align 4, !tbaa !11
  %236 = load i32, ptr %7, align 4, !tbaa !11
  store i32 %236, ptr %10, align 4, !tbaa !11
  store i32 32, ptr %11, align 4, !tbaa !11
  %237 = load i32, ptr %11, align 4, !tbaa !11
  %238 = load i32, ptr %10, align 4, !tbaa !11
  %239 = add i32 %238, %237
  store i32 %239, ptr %10, align 4, !tbaa !11
  %240 = load i32, ptr %10, align 4, !tbaa !11
  %241 = load ptr, ptr %4, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 3
  store i32 %240, ptr %242, align 8, !tbaa !13
  %243 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %243, ptr %10, align 4, !tbaa !11
  %244 = load i32, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret i32 %244
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 12}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !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"

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) local_unnamed_addr #0

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aequals0x28hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x20const0x2A0x290x20const(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @w2c_hermes_hermes0x3A0x3Abigint0x3A0x3Acompare0x28hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x2C0x20hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AisSameValueZero0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = add i32 %5, -32
  store i32 %6, ptr %4, align 8, !tbaa !5
  %7 = icmp ugt i64 %1, -1970324836974593
  %8 = icmp ugt i64 %2, -1970324836974593
  %or.cond = or i1 %7, %8
  br i1 %or.cond, label %13, label %9

9:                                                ; preds = %3
  %10 = tail call double @f64_reinterpret_i64(i64 noundef %1)
  %11 = tail call double @f64_reinterpret_i64(i64 noundef %2)
  %12 = fcmp oeq double %10, %11
  br i1 %12, label %53, label %13

13:                                               ; preds = %9, %3
  %14 = and i64 %1, 9223372036854775807
  %15 = icmp eq i64 %14, 9221120237041090560
  %16 = and i64 %2, 9223372036854775807
  %17 = icmp eq i64 %16, 9221120237041090560
  %or.cond128 = and i1 %15, %17
  br i1 %or.cond128, label %53, label %18

18:                                               ; preds = %13
  %19 = ashr i64 %1, 48
  %20 = ashr i64 %2, 48
  %.not = icmp eq i64 %19, %20
  br i1 %.not, label %21, label %53

21:                                               ; preds = %18
  %22 = trunc nsw i64 %19 to i32
  switch i32 %22, label %50 [
    i32 -3, label %23
    i32 -2, label %27
  ]

23:                                               ; preds = %21
  %24 = trunc i64 %1 to i32
  %25 = trunc i64 %2 to i32
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3Aequals0x28hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x20const0x2A0x290x20const(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %25) #3
  br label %53

27:                                               ; preds = %21
  %28 = trunc i64 %1 to i32
  %29 = add i32 %28, 8
  %30 = getelementptr inbounds i8, ptr %0, i64 40
  %31 = zext i32 %6 to i64
  %32 = add nuw nsw i64 %31, 24
  tail call void @i32_store(ptr noundef nonnull %30, i64 noundef %32, i32 noundef %29)
  %33 = and i64 %1, 4294967295
  %34 = add nuw nsw i64 %33, 4
  %35 = tail call i32 @i32_load(ptr noundef nonnull %30, i64 noundef %34)
  %36 = trunc i64 %2 to i32
  %37 = add i32 %36, 8
  %38 = add nuw nsw i64 %31, 16
  tail call void @i32_store(ptr noundef nonnull %30, i64 noundef %38, i32 noundef %37)
  %39 = add nuw nsw i64 %31, 28
  tail call void @i32_store(ptr noundef nonnull %30, i64 noundef %39, i32 noundef %35)
  %40 = and i64 %2, 4294967295
  %41 = add nuw nsw i64 %40, 4
  %42 = tail call i32 @i32_load(ptr noundef nonnull %30, i64 noundef %41)
  %43 = add nuw nsw i64 %31, 20
  tail call void @i32_store(ptr noundef nonnull %30, i64 noundef %43, i32 noundef %42)
  %44 = tail call i64 @i64_load(ptr noundef nonnull %30, i64 noundef %32)
  %45 = add nuw nsw i64 %31, 8
  tail call void @i64_store(ptr noundef nonnull %30, i64 noundef %45, i64 noundef %44)
  %46 = tail call i64 @i64_load(ptr noundef nonnull %30, i64 noundef %38)
  tail call void @i64_store(ptr noundef nonnull %30, i64 noundef %31, i64 noundef %46)
  %47 = add i32 %5, -24
  %48 = tail call i32 @w2c_hermes_hermes0x3A0x3Abigint0x3A0x3Acompare0x28hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x2C0x20hermes0x3A0x3Abigint0x3A0x3AImmutableBigIntRef0x29(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %6) #3
  %.not126 = icmp eq i32 %48, 0
  %49 = zext i1 %.not126 to i32
  br label %53

50:                                               ; preds = %21
  %51 = icmp eq i64 %1, %2
  %52 = zext i1 %51 to i32
  br label %53

53:                                               ; preds = %13, %18, %9, %50, %27, %23
  %.0 = phi i32 [ 0, %18 ], [ %52, %50 ], [ %49, %27 ], [ %26, %23 ], [ 1, %9 ], [ 1, %13 ]
  store i32 %5, ptr %4, align 8, !tbaa !5
  ret i32 %.0
}

attributes #0 = { inlinehint 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!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, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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