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

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

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

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

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

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

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

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_load(ptr noundef, i64 noundef) #2

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AthisBigIntValue0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

66:                                               ; preds = %5
  %67 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %67, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %69, i64 noundef %71, i32 noundef %72)
  br label %350

73:                                               ; preds = %5
  %74 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %74, ptr %16, align 4, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 72
  %80 = call i64 @i64_load32_u(ptr noundef %76, i64 noundef %79)
  store i64 %80, ptr %21, align 8, !tbaa !11
  store i64 -562949953421312, ptr %22, align 8, !tbaa !11
  %81 = load i64, ptr %22, align 8, !tbaa !11
  %82 = load i64, ptr %21, align 8, !tbaa !11
  %83 = or i64 %82, %81
  store i64 %83, ptr %21, align 8, !tbaa !11
  %84 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %84, ptr %14, align 8, !tbaa !11
  %85 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %85, ptr %16, align 4, !tbaa !9
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = add i64 %89, 4
  %91 = call i32 @i32_load(ptr noundef %87, i64 noundef %90)
  store i32 %91, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %92, ptr %11, align 4, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 164
  %98 = call i32 @i32_load(ptr noundef %94, i64 noundef %97)
  store i32 %98, ptr %16, align 4, !tbaa !9
  %99 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %99, ptr %12, align 4, !tbaa !9
  %100 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %100, ptr %17, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 168
  %106 = call i32 @i32_load(ptr noundef %102, i64 noundef %105)
  store i32 %106, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = icmp ult i32 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %16, align 4, !tbaa !9
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %132

113:                                              ; preds = %73
  %114 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %114, ptr %16, align 4, !tbaa !9
  %115 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %115, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = load i32, ptr %17, align 4, !tbaa !9
  %118 = add i32 %117, %116
  store i32 %118, ptr %17, align 4, !tbaa !9
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %16, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 164
  %124 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %120, i64 noundef %123, i32 noundef %124)
  %125 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %125, ptr %16, align 4, !tbaa !9
  %126 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %126, ptr %22, align 8, !tbaa !11
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %128, i64 noundef %130, i64 noundef %131)
  br label %140

132:                                              ; preds = %73
  %133 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %133, ptr %16, align 4, !tbaa !9
  %134 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %134, ptr %22, align 8, !tbaa !11
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = load i64, ptr %22, align 8, !tbaa !11
  %138 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %135, i32 noundef %136, i64 noundef %137)
  store i32 %138, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %139, ptr %12, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %132, %113
  store i32 10, ptr %16, align 4, !tbaa !9
  %141 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %141, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %142 = load i32, ptr %18, align 4, !tbaa !9
  %143 = load i32, ptr %17, align 4, !tbaa !9
  %144 = sub i32 %143, %142
  store i32 %144, ptr %17, align 4, !tbaa !9
  store i32 67208, ptr %18, align 4, !tbaa !9
  %145 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.w2c_hermes, ptr %146, i32 0, i32 6
  %148 = load i32, ptr %19, align 4, !tbaa !9
  %149 = zext i32 %148 to i64
  %150 = add i64 %149, 4
  %151 = call i32 @i32_load(ptr noundef %147, i64 noundef %150)
  store i32 %151, ptr %19, align 4, !tbaa !9
  %152 = load i32, ptr %19, align 4, !tbaa !9
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %154, label %156

154:                                              ; preds = %140
  %155 = load i32, ptr %17, align 4, !tbaa !9
  br label %158

156:                                              ; preds = %140
  %157 = load i32, ptr %18, align 4, !tbaa !9
  br label %158

158:                                              ; preds = %156, %154
  %159 = phi i32 [ %155, %154 ], [ %157, %156 ]
  store i32 %159, ptr %17, align 4, !tbaa !9
  %160 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %160, ptr %10, align 4, !tbaa !9
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %17, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = call i64 @i64_load(ptr noundef %162, i64 noundef %164)
  store i64 %165, ptr %22, align 8, !tbaa !11
  store i64 47, ptr %23, align 8, !tbaa !11
  %166 = load i64, ptr %22, align 8, !tbaa !11
  %167 = load i64, ptr %23, align 8, !tbaa !11
  %168 = and i64 %167, 63
  %169 = ashr i64 %166, %168
  store i64 %169, ptr %22, align 8, !tbaa !11
  %170 = load i64, ptr %22, align 8, !tbaa !11
  %171 = trunc i64 %170 to i32
  store i32 %171, ptr %17, align 4, !tbaa !9
  store i32 -12, ptr %18, align 4, !tbaa !9
  %172 = load i32, ptr %17, align 4, !tbaa !9
  %173 = load i32, ptr %18, align 4, !tbaa !9
  %174 = icmp eq i32 %172, %173
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %17, align 4, !tbaa !9
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %158
  br label %331

179:                                              ; preds = %158
  %180 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %180, ptr %16, align 4, !tbaa !9
  store i32 48, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = add i32 %182, %181
  store i32 %183, ptr %16, align 4, !tbaa !9
  %184 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %184, ptr %17, align 4, !tbaa !9
  %185 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %185, ptr %18, align 4, !tbaa !9
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = load i32, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoIntegerOrInfinity0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %186, i32 noundef %187, i32 noundef %188, i32 noundef %189)
  %190 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %190, ptr %16, align 4, !tbaa !9
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.w2c_hermes, ptr %191, i32 0, i32 6
  %193 = load i32, ptr %16, align 4, !tbaa !9
  %194 = zext i32 %193 to i64
  %195 = add i64 %194, 48
  %196 = call i32 @i32_load(ptr noundef %192, i64 noundef %195)
  store i32 %196, ptr %16, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = icmp ne i32 %197, 0
  %199 = xor i1 %198, true
  %200 = zext i1 %199 to i32
  store i32 %200, ptr %16, align 4, !tbaa !9
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %210

203:                                              ; preds = %179
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.w2c_hermes, ptr %205, i32 0, i32 6
  %207 = load i32, ptr %16, align 4, !tbaa !9
  %208 = zext i32 %207 to i64
  %209 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %206, i64 noundef %208, i32 noundef %209)
  br label %350

210:                                              ; preds = %179
  %211 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %211, ptr %16, align 4, !tbaa !9
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.w2c_hermes, ptr %212, i32 0, i32 6
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = add i64 %215, 56
  %217 = call double @f64_load(ptr noundef %213, i64 noundef %216)
  store double %217, ptr %24, align 8, !tbaa !13
  %218 = load double, ptr %24, align 8, !tbaa !13
  store double %218, ptr %15, align 8, !tbaa !13
  store double 2.000000e+00, ptr %25, align 8, !tbaa !13
  %219 = load double, ptr %24, align 8, !tbaa !13
  %220 = load double, ptr %25, align 8, !tbaa !13
  %221 = fcmp olt double %219, %220
  %222 = zext i1 %221 to i32
  store i32 %222, ptr %16, align 4, !tbaa !9
  %223 = load double, ptr %15, align 8, !tbaa !13
  store double %223, ptr %25, align 8, !tbaa !13
  store double 3.600000e+01, ptr %26, align 8, !tbaa !13
  %224 = load double, ptr %25, align 8, !tbaa !13
  %225 = load double, ptr %26, align 8, !tbaa !13
  %226 = fcmp ogt double %224, %225
  %227 = zext i1 %226 to i32
  store i32 %227, ptr %17, align 4, !tbaa !9
  %228 = load i32, ptr %17, align 4, !tbaa !9
  %229 = load i32, ptr %16, align 4, !tbaa !9
  %230 = or i32 %229, %228
  store i32 %230, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %16, align 4, !tbaa !9
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %277

233:                                              ; preds = %210
  %234 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %234, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %16, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = add i64 %238, 40
  %240 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %236, i64 noundef %239, i32 noundef %240)
  %241 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %241, ptr %16, align 4, !tbaa !9
  store i64 201863462913, ptr %22, align 8, !tbaa !11
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %16, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 32
  %247 = load i64, ptr %22, align 8, !tbaa !11
  call void @i64_store(ptr noundef %243, i64 noundef %246, i64 noundef %247)
  %248 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %248, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = add i64 %252, 16
  %254 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %250, i64 noundef %253, i32 noundef %254)
  %255 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %255, ptr %16, align 4, !tbaa !9
  store i32 45476, ptr %17, align 4, !tbaa !9
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.w2c_hermes, ptr %256, i32 0, i32 6
  %258 = load i32, ptr %16, align 4, !tbaa !9
  %259 = zext i32 %258 to i64
  %260 = add i64 %259, 8
  %261 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %257, i64 noundef %260, i32 noundef %261)
  %262 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %262, ptr %16, align 4, !tbaa !9
  %263 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %263, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %264, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %265 = load i32, ptr %19, align 4, !tbaa !9
  %266 = load i32, ptr %18, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %18, align 4, !tbaa !9
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = load i32, ptr %18, align 4, !tbaa !9
  %271 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %268, i32 noundef %269, i32 noundef %270)
  store i32 %271, ptr %17, align 4, !tbaa !9
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 6
  %274 = load i32, ptr %16, align 4, !tbaa !9
  %275 = zext i32 %274 to i64
  %276 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %273, i64 noundef %275, i32 noundef %276)
  br label %350

277:                                              ; preds = %210
  %278 = load double, ptr %15, align 8, !tbaa !13
  store double %278, ptr %24, align 8, !tbaa !13
  store double 0x41F0000000000000, ptr %25, align 8, !tbaa !13
  %279 = load double, ptr %24, align 8, !tbaa !13
  %280 = load double, ptr %25, align 8, !tbaa !13
  %281 = fcmp olt double %279, %280
  %282 = zext i1 %281 to i32
  store i32 %282, ptr %16, align 4, !tbaa !9
  %283 = load double, ptr %15, align 8, !tbaa !13
  store double %283, ptr %25, align 8, !tbaa !13
  store double 0.000000e+00, ptr %26, align 8, !tbaa !13
  %284 = load double, ptr %25, align 8, !tbaa !13
  %285 = load double, ptr %26, align 8, !tbaa !13
  %286 = fcmp oge double %284, %285
  %287 = zext i1 %286 to i32
  store i32 %287, ptr %17, align 4, !tbaa !9
  %288 = load i32, ptr %17, align 4, !tbaa !9
  %289 = load i32, ptr %16, align 4, !tbaa !9
  %290 = and i32 %289, %288
  store i32 %290, ptr %16, align 4, !tbaa !9
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = icmp ne i32 %291, 0
  br i1 %292, label %293, label %330

293:                                              ; preds = %277
  %294 = load double, ptr %15, align 8, !tbaa !13
  store double %294, ptr %24, align 8, !tbaa !13
  %295 = load double, ptr %24, align 8, !tbaa !13
  %296 = load double, ptr %24, align 8, !tbaa !13
  %297 = fcmp une double %295, %296
  %298 = xor i1 %297, true
  %299 = xor i1 %298, true
  %300 = zext i1 %299 to i32
  %301 = sext i32 %300 to i64
  %302 = call i64 @llvm.expect.i64(i64 %301, i64 0)
  %303 = icmp ne i64 %302, 0
  br i1 %303, label %304, label %306

304:                                              ; preds = %293
  call void @wasm_rt_trap(i32 noundef 4) #7
  unreachable

305:                                              ; No predecessors!
  br label %328

306:                                              ; preds = %293
  %307 = load double, ptr %24, align 8, !tbaa !13
  %308 = fcmp ogt double %307, -1.000000e+00
  br i1 %308, label %309, label %312

309:                                              ; preds = %306
  %310 = load double, ptr %24, align 8, !tbaa !13
  %311 = fcmp olt double %310, 0x41F0000000000000
  br label %312

312:                                              ; preds = %309, %306
  %313 = phi i1 [ false, %306 ], [ %311, %309 ]
  %314 = xor i1 %313, true
  %315 = xor i1 %314, true
  %316 = xor i1 %315, true
  %317 = zext i1 %316 to i32
  %318 = sext i32 %317 to i64
  %319 = call i64 @llvm.expect.i64(i64 %318, i64 0)
  %320 = icmp ne i64 %319, 0
  br i1 %320, label %321, label %323

321:                                              ; preds = %312
  call void @wasm_rt_trap(i32 noundef 2) #7
  unreachable

322:                                              ; No predecessors!
  br label %326

323:                                              ; preds = %312
  %324 = load double, ptr %24, align 8, !tbaa !13
  %325 = fptoui double %324 to i32
  br label %326

326:                                              ; preds = %323, %322
  %327 = phi i32 [ 0, %322 ], [ %325, %323 ]
  br label %328

328:                                              ; preds = %326, %305
  %329 = phi i32 [ 0, %305 ], [ %327, %326 ]
  store i32 %329, ptr %16, align 4, !tbaa !9
  br label %331

330:                                              ; preds = %277
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %331

331:                                              ; preds = %330, %328, %178
  %332 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %332, ptr %11, align 4, !tbaa !9
  %333 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %333, ptr %16, align 4, !tbaa !9
  %334 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %334, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %335, ptr %18, align 4, !tbaa !9
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.w2c_hermes, ptr %336, i32 0, i32 6
  %338 = load i32, ptr %18, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = call i32 @i32_load(ptr noundef %337, i64 noundef %339)
  store i32 %340, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %341, ptr %19, align 4, !tbaa !9
  store i32 255, ptr %20, align 4, !tbaa !9
  %342 = load i32, ptr %20, align 4, !tbaa !9
  %343 = load i32, ptr %19, align 4, !tbaa !9
  %344 = and i32 %343, %342
  store i32 %344, ptr %19, align 4, !tbaa !9
  %345 = load ptr, ptr %6, align 8, !tbaa !5
  %346 = load i32, ptr %16, align 4, !tbaa !9
  %347 = load i32, ptr %17, align 4, !tbaa !9
  %348 = load i32, ptr %18, align 4, !tbaa !9
  %349 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AtoString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20unsigned0x20char0x29(ptr noundef %345, i32 noundef %346, i32 noundef %347, i32 noundef %348, i32 noundef %349)
  br label %350

350:                                              ; preds = %331, %233, %203, %66
  %351 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %351, ptr %16, align 4, !tbaa !9
  store i32 80, ptr %17, align 4, !tbaa !9
  %352 = load i32, ptr %17, align 4, !tbaa !9
  %353 = load i32, ptr %16, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %16, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.w2c_hermes, ptr %356, i32 0, i32 3
  store i32 %355, ptr %357, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret void
}

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoIntegerOrInfinity0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AtoString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20unsigned0x20char0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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 = { 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 #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 = { noreturn "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 #5 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

!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: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #3

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AthisBigIntValue0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AbigintPrototypeToString0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -80
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = add i32 %7, -16
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %4 to i64
  %12 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %11)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AthisBigIntValue0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %9, i32 noundef %3, i32 noundef %12) #4
  %13 = zext i32 %8 to i64
  %14 = add nuw nsw i64 %13, 64
  %15 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %14)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %18

16:                                               ; preds = %5
  %17 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %17, i32 noundef 0)
  br label %80

18:                                               ; preds = %5
  %19 = add nuw nsw i64 %13, 72
  %20 = tail call i64 @i64_load32_u(ptr noundef nonnull %10, i64 noundef %19)
  %21 = or i64 %20, -562949953421312
  %22 = zext i32 %3 to i64
  %23 = add nuw nsw i64 %22, 4
  %24 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %23)
  %25 = zext i32 %24 to i64
  %26 = add nuw nsw i64 %25, 164
  %27 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %26)
  %28 = add nuw nsw i64 %25, 168
  %29 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %28)
  %30 = icmp ult i32 %27, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %18
  %32 = add i32 %27, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %26, i32 noundef %32)
  %33 = zext i32 %27 to i64
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %33, i64 noundef %21)
  br label %36

34:                                               ; preds = %18
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %24, i64 noundef %21) #4
  br label %36

36:                                               ; preds = %34, %31
  %.0172 = phi i32 [ %27, %31 ], [ %35, %34 ]
  %37 = add i32 %12, -8
  %38 = add nuw nsw i64 %11, 4
  %39 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %38)
  %.not174 = icmp eq i32 %39, 0
  %40 = select i1 %.not174, i32 67208, i32 %37
  %41 = zext i32 %40 to i64
  %42 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %41)
  %.mask = and i64 %42, -140737488355328
  %43 = icmp eq i64 %.mask, -1688849860263936
  br i1 %43, label %77, label %44

44:                                               ; preds = %36
  %45 = add i32 %7, -32
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoIntegerOrInfinity0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %45, i32 noundef %3, i32 noundef %40) #4
  %46 = add nuw nsw i64 %13, 48
  %47 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %46)
  %.not175 = icmp eq i32 %47, 0
  br i1 %.not175, label %48, label %50

48:                                               ; preds = %44
  %49 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %49, i32 noundef 0)
  br label %80

50:                                               ; preds = %44
  %51 = add nuw nsw i64 %13, 56
  %52 = tail call double @f64_load(ptr noundef nonnull %10, i64 noundef %51)
  %53 = fcmp olt double %52, 2.000000e+00
  %54 = fcmp ogt double %52, 3.600000e+01
  %55 = or i1 %53, %54
  br i1 %55, label %56, label %64

56:                                               ; preds = %50
  %57 = add nuw nsw i64 %13, 40
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %57, i32 noundef 0)
  %58 = add nuw nsw i64 %13, 32
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %58, i64 noundef 201863462913)
  %59 = add nuw nsw i64 %13, 16
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %59, i32 noundef 3)
  %60 = add nuw nsw i64 %13, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %60, i32 noundef 45476)
  %61 = add i32 %7, -72
  %62 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %61)
  %63 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %63, i32 noundef %62)
  br label %80

64:                                               ; preds = %50
  %65 = fcmp olt double %52, 0x41F0000000000000
  %66 = fcmp oge double %52, 0.000000e+00
  %67 = and i1 %65, %66
  br i1 %67, label %68, label %77

68:                                               ; preds = %64
  %69 = fcmp uno double %52, 0.000000e+00
  br i1 %69, label %70, label %71, !prof !15

70:                                               ; preds = %68
  tail call void @wasm_rt_trap(i32 noundef 4) #5
  unreachable

71:                                               ; preds = %68
  %72 = fcmp ogt double %52, -1.000000e+00
  br i1 %72, label %74, label %73, !prof !16

73:                                               ; preds = %71
  tail call void @wasm_rt_trap(i32 noundef 2) #5
  unreachable

74:                                               ; preds = %71
  %75 = fptoui double %52 to i32
  %76 = and i32 %75, 255
  br label %77

77:                                               ; preds = %64, %36, %74
  %.0 = phi i32 [ 10, %36 ], [ %76, %74 ], [ 0, %64 ]
  %78 = zext i32 %.0172 to i64
  %79 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %78)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AtoString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20unsigned0x20char0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %79, i32 noundef %.0) #4
  br label %80

80:                                               ; preds = %77, %56, %48, %16
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoIntegerOrInfinity0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AtoString0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3APseudoHandle0x3Chermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3E0x2C0x20unsigned0x20char0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 = { 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 = { noreturn "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 }
attributes #5 = { noreturn 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}
!15 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}


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