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

; 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 i32 @i32_load(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 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: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPrimitive_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3APreferredType0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca double, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store double 0.000000e+00, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 3
  %28 = load i32, ptr %27, align 8, !tbaa !15
  store i32 %28, ptr %13, align 4, !tbaa !9
  store i32 48, ptr %14, align 4, !tbaa !9
  %29 = load i32, ptr %14, align 4, !tbaa !9
  %30 = load i32, ptr %13, align 4, !tbaa !9
  %31 = sub i32 %30, %29
  store i32 %31, ptr %13, align 4, !tbaa !9
  %32 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %32, ptr %9, align 4, !tbaa !9
  %33 = load i32, ptr %13, align 4, !tbaa !9
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 3
  store i32 %33, ptr %35, align 8, !tbaa !15
  %36 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %36, ptr %13, align 4, !tbaa !9
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %13, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = call i64 @i64_load(ptr noundef %38, i64 noundef %40)
  store i64 %41, ptr %17, align 8, !tbaa !11
  %42 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %42, ptr %11, align 8, !tbaa !11
  store i64 47, ptr %18, align 8, !tbaa !11
  %43 = load i64, ptr %17, align 8, !tbaa !11
  %44 = load i64, ptr %18, align 8, !tbaa !11
  %45 = and i64 %44, 63
  %46 = ashr i64 %43, %45
  store i64 %46, ptr %17, align 8, !tbaa !11
  %47 = load i64, ptr %17, align 8, !tbaa !11
  %48 = trunc i64 %47 to i32
  store i32 %48, ptr %13, align 4, !tbaa !9
  store i32 12, ptr %14, align 4, !tbaa !9
  %49 = load i32, ptr %14, align 4, !tbaa !9
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = add i32 %50, %49
  store i32 %51, ptr %13, align 4, !tbaa !9
  %52 = load i32, ptr %13, align 4, !tbaa !9
  switch i32 %52, label %65 [
    i32 0, label %53
    i32 1, label %54
    i32 2, label %55
    i32 3, label %56
    i32 4, label %57
    i32 5, label %58
    i32 6, label %59
    i32 7, label %60
    i32 8, label %61
    i32 9, label %62
    i32 10, label %63
    i32 11, label %64
  ]

53:                                               ; preds = %4
  br label %218

54:                                               ; preds = %4
  br label %304

55:                                               ; preds = %4
  br label %221

56:                                               ; preds = %4
  br label %237

57:                                               ; preds = %4
  br label %281

58:                                               ; preds = %4
  br label %281

59:                                               ; preds = %4
  br label %296

60:                                               ; preds = %4
  br label %296

61:                                               ; preds = %4
  br label %174

62:                                               ; preds = %4
  br label %174

63:                                               ; preds = %4
  br label %66

64:                                               ; preds = %4
  br label %66

65:                                               ; preds = %4
  br label %281

66:                                               ; preds = %64, %63
  %67 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %67, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %68 = load i32, ptr %14, align 4, !tbaa !9
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = add i32 %69, %68
  store i32 %70, ptr %13, align 4, !tbaa !9
  %71 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %71, ptr %14, align 4, !tbaa !9
  %72 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %72, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPrimitive_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3APreferredType0x29(ptr noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77)
  %78 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %78, ptr %13, align 4, !tbaa !9
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = add i64 %82, 8
  %84 = call i32 @i32_load(ptr noundef %80, i64 noundef %83)
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  %87 = xor i1 %86, true
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %13, align 4, !tbaa !9
  %89 = load i32, ptr %13, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %98

91:                                               ; preds = %66
  %92 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %92, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %13, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %94, i64 noundef %96, i32 noundef %97)
  br label %335

98:                                               ; preds = %66
  %99 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %99, ptr %13, align 4, !tbaa !9
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %13, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 16
  %105 = call i64 @i64_load(ptr noundef %101, i64 noundef %104)
  store i64 %105, ptr %17, align 8, !tbaa !11
  %106 = load i64, ptr %17, align 8, !tbaa !11
  store i64 %106, ptr %11, align 8, !tbaa !11
  %107 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %107, ptr %13, align 4, !tbaa !9
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 4
  %113 = call i32 @i32_load(ptr noundef %109, i64 noundef %112)
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %114, ptr %8, align 4, !tbaa !9
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.w2c_hermes, ptr %115, i32 0, i32 6
  %117 = load i32, ptr %13, align 4, !tbaa !9
  %118 = zext i32 %117 to i64
  %119 = add i64 %118, 164
  %120 = call i32 @i32_load(ptr noundef %116, i64 noundef %119)
  store i32 %120, ptr %13, align 4, !tbaa !9
  %121 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %121, ptr %10, align 4, !tbaa !9
  %122 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %122, ptr %14, align 4, !tbaa !9
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %14, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = add i64 %126, 168
  %128 = call i32 @i32_load(ptr noundef %124, i64 noundef %127)
  store i32 %128, ptr %14, align 4, !tbaa !9
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = icmp ult i32 %129, %130
  %132 = zext i1 %131 to i32
  store i32 %132, ptr %13, align 4, !tbaa !9
  %133 = load i32, ptr %13, align 4, !tbaa !9
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %135, label %161

135:                                              ; preds = %98
  %136 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %136, ptr %13, align 4, !tbaa !9
  %137 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %137, ptr %14, align 4, !tbaa !9
  store i32 8, ptr %15, align 4, !tbaa !9
  %138 = load i32, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %14, align 4, !tbaa !9
  %140 = add i32 %139, %138
  store i32 %140, ptr %14, align 4, !tbaa !9
  %141 = load ptr, ptr %5, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.w2c_hermes, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %13, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  %145 = add i64 %144, 164
  %146 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %142, i64 noundef %145, i32 noundef %146)
  %147 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %147, ptr %13, align 4, !tbaa !9
  %148 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %148, ptr %18, align 8, !tbaa !11
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.w2c_hermes, ptr %149, i32 0, i32 6
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %150, i64 noundef %152, i64 noundef %153)
  %154 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %154, ptr %13, align 4, !tbaa !9
  %155 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %155, ptr %14, align 4, !tbaa !9
  %156 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %156, ptr %15, align 4, !tbaa !9
  %157 = load ptr, ptr %5, align 8, !tbaa !5
  %158 = load i32, ptr %13, align 4, !tbaa !9
  %159 = load i32, ptr %14, align 4, !tbaa !9
  %160 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %160)
  br label %335

161:                                              ; preds = %98
  %162 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %162, ptr %13, align 4, !tbaa !9
  %163 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %163, ptr %14, align 4, !tbaa !9
  %164 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %164, ptr %15, align 4, !tbaa !9
  %165 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %165, ptr %20, align 8, !tbaa !11
  %166 = load ptr, ptr %5, align 8, !tbaa !5
  %167 = load i32, ptr %15, align 4, !tbaa !9
  %168 = load i64, ptr %20, align 8, !tbaa !11
  %169 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %166, i32 noundef %167, i64 noundef %168)
  store i32 %169, ptr %15, align 4, !tbaa !9
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %170, i32 noundef %171, i32 noundef %172, i32 noundef %173)
  br label %335

174:                                              ; preds = %62, %61
  %175 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %175, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %176 = load ptr, ptr %5, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.w2c_hermes, ptr %176, i32 0, i32 6
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = zext i32 %178 to i64
  %180 = add i64 %179, 40
  %181 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %177, i64 noundef %180, i32 noundef %181)
  %182 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %182, ptr %13, align 4, !tbaa !9
  store i64 133143986177, ptr %18, align 8, !tbaa !11
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.w2c_hermes, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %13, align 4, !tbaa !9
  %186 = zext i32 %185 to i64
  %187 = add i64 %186, 32
  %188 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %184, i64 noundef %187, i64 noundef %188)
  %189 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %189, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %14, align 4, !tbaa !9
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %13, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = add i64 %193, 16
  %195 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %191, i64 noundef %194, i32 noundef %195)
  %196 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %196, ptr %13, align 4, !tbaa !9
  store i32 38987, ptr %14, align 4, !tbaa !9
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = add i64 %200, 8
  %202 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %198, i64 noundef %201, i32 noundef %202)
  %203 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %203, ptr %13, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %14, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %206 = load i32, ptr %16, align 4, !tbaa !9
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %15, align 4, !tbaa !9
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = load i32, ptr %14, align 4, !tbaa !9
  %211 = load i32, ptr %15, align 4, !tbaa !9
  %212 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %209, i32 noundef %210, i32 noundef %211)
  store i32 %212, ptr %14, align 4, !tbaa !9
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.w2c_hermes, ptr %213, i32 0, i32 6
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %214, i64 noundef %216, i32 noundef %217)
  br label %335

218:                                              ; preds = %53
  %219 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %219, ptr %21, align 8, !tbaa !13
  %220 = load double, ptr %21, align 8, !tbaa !13
  store double %220, ptr %12, align 8, !tbaa !13
  br label %304

221:                                              ; preds = %55
  store double 1.000000e+00, ptr %21, align 8, !tbaa !13
  store double 0.000000e+00, ptr %22, align 8, !tbaa !13
  %222 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %222, ptr %19, align 8, !tbaa !11
  %223 = load i64, ptr %19, align 8, !tbaa !11
  %224 = trunc i64 %223 to i32
  store i32 %224, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %225 = load i32, ptr %16, align 4, !tbaa !9
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = and i32 %226, %225
  store i32 %227, ptr %15, align 4, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %232

230:                                              ; preds = %221
  %231 = load double, ptr %21, align 8, !tbaa !13
  br label %234

232:                                              ; preds = %221
  %233 = load double, ptr %22, align 8, !tbaa !13
  br label %234

234:                                              ; preds = %232, %230
  %235 = phi double [ %231, %230 ], [ %233, %232 ]
  store double %235, ptr %21, align 8, !tbaa !13
  %236 = load double, ptr %21, align 8, !tbaa !13
  store double %236, ptr %12, align 8, !tbaa !13
  br label %304

237:                                              ; preds = %56
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %13, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = add i64 %242, 40
  %244 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %240, i64 noundef %243, i32 noundef %244)
  %245 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %245, ptr %13, align 4, !tbaa !9
  store i64 133143986177, ptr %18, align 8, !tbaa !11
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %13, align 4, !tbaa !9
  %249 = zext i32 %248 to i64
  %250 = add i64 %249, 32
  %251 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %247, i64 noundef %250, i64 noundef %251)
  %252 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %252, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %14, align 4, !tbaa !9
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 6
  %255 = load i32, ptr %13, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = add i64 %256, 16
  %258 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %254, i64 noundef %257, i32 noundef %258)
  %259 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %259, ptr %13, align 4, !tbaa !9
  store i32 39019, ptr %14, align 4, !tbaa !9
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 6
  %262 = load i32, ptr %13, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = add i64 %263, 8
  %265 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %261, i64 noundef %264, i32 noundef %265)
  %266 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %266, ptr %13, align 4, !tbaa !9
  %267 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %267, ptr %14, align 4, !tbaa !9
  %268 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %268, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %269 = load i32, ptr %16, align 4, !tbaa !9
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %15, align 4, !tbaa !9
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = load i32, ptr %14, align 4, !tbaa !9
  %274 = load i32, ptr %15, align 4, !tbaa !9
  %275 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %272, i32 noundef %273, i32 noundef %274)
  store i32 %275, ptr %14, align 4, !tbaa !9
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.w2c_hermes, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %13, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %277, i64 noundef %279, i32 noundef %280)
  br label %335

281:                                              ; preds = %65, %58, %57
  %282 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %282, ptr %13, align 4, !tbaa !9
  %283 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %283, ptr %18, align 8, !tbaa !11
  %284 = load ptr, ptr %5, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.w2c_hermes, ptr %284, i32 0, i32 6
  %286 = load i32, ptr %13, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = add i64 %287, 8
  %289 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %285, i64 noundef %288, i64 noundef %289)
  %290 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %290, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.w2c_hermes, ptr %291, i32 0, i32 6
  %293 = load i32, ptr %13, align 4, !tbaa !9
  %294 = zext i32 %293 to i64
  %295 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %292, i64 noundef %294, i32 noundef %295)
  br label %335

296:                                              ; preds = %60, %59
  %297 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %297, ptr %13, align 4, !tbaa !9
  %298 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %298, ptr %14, align 4, !tbaa !9
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = load i32, ptr %13, align 4, !tbaa !9
  %301 = load i32, ptr %14, align 4, !tbaa !9
  %302 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AstringToNumber0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef %299, i32 noundef %300, i32 noundef %301)
  store double %302, ptr %21, align 8, !tbaa !13
  %303 = load double, ptr %21, align 8, !tbaa !13
  store double %303, ptr %12, align 8, !tbaa !13
  br label %304

304:                                              ; preds = %296, %234, %218, %54
  %305 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %305, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %306 = load ptr, ptr %5, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.w2c_hermes, ptr %306, i32 0, i32 6
  %308 = load i32, ptr %13, align 4, !tbaa !9
  %309 = zext i32 %308 to i64
  %310 = load i32, ptr %14, align 4, !tbaa !9
  call void @i32_store(ptr noundef %307, i64 noundef %309, i32 noundef %310)
  %311 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %311, ptr %13, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %18, align 8, !tbaa !11
  %312 = load double, ptr %12, align 8, !tbaa !13
  store double %312, ptr %23, align 8, !tbaa !13
  %313 = load double, ptr %23, align 8, !tbaa !13
  %314 = call i64 @i64_reinterpret_f64(double noundef %313)
  store i64 %314, ptr %19, align 8, !tbaa !11
  %315 = load double, ptr %12, align 8, !tbaa !13
  store double %315, ptr %24, align 8, !tbaa !13
  %316 = load double, ptr %12, align 8, !tbaa !13
  store double %316, ptr %25, align 8, !tbaa !13
  %317 = load double, ptr %24, align 8, !tbaa !13
  %318 = load double, ptr %25, align 8, !tbaa !13
  %319 = fcmp une double %317, %318
  %320 = zext i1 %319 to i32
  store i32 %320, ptr %16, align 4, !tbaa !9
  %321 = load i32, ptr %16, align 4, !tbaa !9
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %323, label %325

323:                                              ; preds = %304
  %324 = load i64, ptr %18, align 8, !tbaa !11
  br label %327

325:                                              ; preds = %304
  %326 = load i64, ptr %19, align 8, !tbaa !11
  br label %327

327:                                              ; preds = %325, %323
  %328 = phi i64 [ %324, %323 ], [ %326, %325 ]
  store i64 %328, ptr %18, align 8, !tbaa !11
  %329 = load ptr, ptr %5, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.w2c_hermes, ptr %329, i32 0, i32 6
  %331 = load i32, ptr %13, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = add i64 %332, 8
  %334 = load i64, ptr %18, align 8, !tbaa !11
  call void @i64_store(ptr noundef %330, i64 noundef %333, i64 noundef %334)
  br label %335

335:                                              ; preds = %327, %281, %237, %174, %161, %135, %91
  %336 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %336, ptr %13, align 4, !tbaa !9
  store i32 48, ptr %14, align 4, !tbaa !9
  %337 = load i32, ptr %14, align 4, !tbaa !9
  %338 = load i32, ptr %13, align 4, !tbaa !9
  %339 = add i32 %338, %337
  store i32 %339, ptr %13, align 4, !tbaa !9
  %340 = load i32, ptr %13, align 4, !tbaa !9
  %341 = load ptr, ptr %5, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.w2c_hermes, ptr %341, i32 0, i32 3
  store i32 %340, ptr %342, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  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 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AstringToNumber0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef, i32 noundef, i32 noundef) #3

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

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 = { 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 = { "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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


; 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 i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; 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 i64 @i64_load(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %9)
  %11 = ashr i64 %10, 47
  %12 = trunc nsw i64 %11 to i32
  switch i32 %12, label %60 [
    i32 -12, label %46
    i32 -11, label %65
    i32 -10, label %48
    i32 -9, label %51
    i32 -1, label %13
    i32 -2, label %13
    i32 -6, label %63
    i32 -5, label %63
    i32 -4, label %37
    i32 -3, label %37
  ]

13:                                               ; preds = %4, %4
  %14 = add i32 %6, -40
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoPrimitive_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3APreferredType0x29(ptr noundef nonnull %0, i32 noundef %14, i32 noundef %2, i32 noundef %3, i32 noundef 2)
  %15 = zext i32 %7 to i64
  %16 = add nuw nsw i64 %15, 8
  %17 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %16)
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %18, label %20

18:                                               ; preds = %13
  %19 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %19, i32 noundef 0)
  br label %71

20:                                               ; preds = %13
  %21 = add nuw nsw i64 %15, 16
  %22 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %21)
  %23 = zext i32 %2 to i64
  %24 = add nuw nsw i64 %23, 4
  %25 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %24)
  %26 = zext i32 %25 to i64
  %27 = add nuw nsw i64 %26, 164
  %28 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %27)
  %29 = add nuw nsw i64 %26, 168
  %30 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %29)
  %31 = icmp ult i32 %28, %30
  br i1 %31, label %32, label %35

32:                                               ; preds = %20
  %33 = add i32 %28, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %27, i32 noundef %33)
  %34 = zext i32 %28 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %34, i64 noundef %22)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %28)
  br label %71

35:                                               ; preds = %20
  %36 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %25, i64 noundef %22) #3
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %36)
  br label %71

37:                                               ; preds = %4, %4
  %38 = zext i32 %7 to i64
  %39 = add nuw nsw i64 %38, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %39, i32 noundef 0)
  %40 = add nuw nsw i64 %38, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %40, i64 noundef 133143986177)
  %41 = add nuw nsw i64 %38, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %41, i32 noundef 3)
  %42 = add nuw nsw i64 %38, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %42, i32 noundef 38987)
  %43 = add i32 %6, -40
  %44 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %43) #3
  %45 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %45, i32 noundef %44)
  br label %71

46:                                               ; preds = %4
  %47 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  br label %65

48:                                               ; preds = %4
  %49 = and i64 %10, 1
  %.not182 = icmp eq i64 %49, 0
  %50 = select i1 %.not182, double 0.000000e+00, double 1.000000e+00
  br label %65

51:                                               ; preds = %4
  %52 = zext i32 %7 to i64
  %53 = add nuw nsw i64 %52, 40
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %53, i32 noundef 0)
  %54 = add nuw nsw i64 %52, 32
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %54, i64 noundef 133143986177)
  %55 = add nuw nsw i64 %52, 16
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %55, i32 noundef 3)
  %56 = add nuw nsw i64 %52, 8
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %56, i32 noundef 39019)
  %57 = add i32 %6, -40
  %58 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %57) #3
  %59 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %59, i32 noundef %58)
  br label %71

60:                                               ; preds = %4
  %61 = zext i32 %1 to i64
  %62 = add nuw nsw i64 %61, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %62, i64 noundef %10)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %61, i32 noundef 1)
  br label %71

63:                                               ; preds = %4, %4
  %64 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AstringToNumber0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3) #3
  br label %65

65:                                               ; preds = %4, %63, %48, %46
  %.0 = phi double [ %64, %63 ], [ %50, %48 ], [ 0.000000e+00, %4 ], [ %47, %46 ]
  %66 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %66, i32 noundef 1)
  %67 = tail call i64 @i64_reinterpret_f64(double noundef %.0)
  %68 = fcmp uno double %.0, 0.000000e+00
  %69 = select i1 %68, i64 9221120237041090560, i64 %67
  %70 = add nuw nsw i64 %66, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %70, i64 noundef %69)
  br label %71

71:                                               ; preds = %65, %60, %51, %37, %35, %32, %18
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AstringToNumber0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3E0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_reinterpret_f64(double noundef) local_unnamed_addr #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 = { 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 }

!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