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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 void @i32_store8(ptr noundef, i64 noundef, i32 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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) #4

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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArray0x3Cunsigned0x20char0x2C0x200x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29390x3E0x3A0x3A_setOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
  %7 = alloca ptr, align 8
  %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 i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca double, align 8
  %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 double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, 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 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store double 0.000000e+00, ptr %16, align 8, !tbaa !13
  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 %7, 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 %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %30 = load i32, ptr %18, align 4, !tbaa !9
  %31 = load i32, ptr %17, align 4, !tbaa !9
  %32 = sub i32 %31, %30
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %33, ptr %13, align 4, !tbaa !9
  %34 = load i32, ptr %17, align 4, !tbaa !9
  %35 = load ptr, ptr %7, 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
  store i32 0, ptr %17, align 4, !tbaa !9
  %37 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %37, ptr %18, align 4, !tbaa !9
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.w2c_hermes, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %18, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = call i64 @i64_load(ptr noundef %39, i64 noundef %41)
  store i64 %42, ptr %21, align 8, !tbaa !11
  %43 = load i64, ptr %21, align 8, !tbaa !11
  store i64 %43, ptr %15, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %22, align 8, !tbaa !11
  %44 = load i64, ptr %21, align 8, !tbaa !11
  %45 = load i64, ptr %22, align 8, !tbaa !11
  %46 = icmp uge i64 %44, %45
  %47 = zext i1 %46 to i32
  store i32 %47, ptr %18, align 4, !tbaa !9
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %83

50:                                               ; preds = %6
  %51 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %51, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %52 = load i32, ptr %19, align 4, !tbaa !9
  %53 = load i32, ptr %18, align 4, !tbaa !9
  %54 = add i32 %53, %52
  store i32 %54, ptr %18, align 4, !tbaa !9
  %55 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %55, ptr %19, align 4, !tbaa !9
  %56 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %56, ptr %20, align 4, !tbaa !9
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i32, ptr %18, align 4, !tbaa !9
  %59 = load i32, ptr %19, align 4, !tbaa !9
  %60 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60)
  %61 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %61, ptr %18, align 4, !tbaa !9
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %18, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 8
  %67 = call i32 @i32_load(ptr noundef %63, i64 noundef %66)
  store i32 %67, ptr %18, align 4, !tbaa !9
  %68 = load i32, ptr %18, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  %70 = xor i1 %69, true
  %71 = zext i1 %70 to i32
  store i32 %71, ptr %18, align 4, !tbaa !9
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %50
  br label %352

75:                                               ; preds = %50
  %76 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %76, ptr %18, align 4, !tbaa !9
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.w2c_hermes, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %18, align 4, !tbaa !9
  %80 = zext i32 %79 to i64
  %81 = add i64 %80, 16
  %82 = call i64 @i64_load(ptr noundef %78, i64 noundef %81)
  store i64 %82, ptr %21, align 8, !tbaa !11
  br label %85

83:                                               ; preds = %6
  %84 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %84, ptr %21, align 8, !tbaa !11
  br label %85

85:                                               ; preds = %83, %75
  %86 = load i64, ptr %21, align 8, !tbaa !11
  %87 = call double @f64_reinterpret_i64(i64 noundef %86)
  store double %87, ptr %24, align 8, !tbaa !13
  %88 = load double, ptr %24, align 8, !tbaa !13
  store double %88, ptr %16, align 8, !tbaa !13
  store double 5.000000e-01, ptr %25, align 8, !tbaa !13
  %89 = load double, ptr %24, align 8, !tbaa !13
  %90 = load double, ptr %25, align 8, !tbaa !13
  %91 = fcmp oge double %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %18, align 4, !tbaa !9
  %93 = load i32, ptr %18, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  %95 = xor i1 %94, true
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %18, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %85
  br label %189

100:                                              ; preds = %85
  store i32 255, ptr %17, align 4, !tbaa !9
  %101 = load double, ptr %16, align 8, !tbaa !13
  store double %101, ptr %24, align 8, !tbaa !13
  store double 2.550000e+02, ptr %25, align 8, !tbaa !13
  %102 = load double, ptr %24, align 8, !tbaa !13
  %103 = load double, ptr %25, align 8, !tbaa !13
  %104 = fcmp ogt double %102, %103
  %105 = zext i1 %104 to i32
  store i32 %105, ptr %18, align 4, !tbaa !9
  %106 = load i32, ptr %18, align 4, !tbaa !9
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %100
  br label %189

109:                                              ; preds = %100
  %110 = load double, ptr %16, align 8, !tbaa !13
  store double %110, ptr %23, align 8, !tbaa !13
  store double 5.000000e-01, ptr %24, align 8, !tbaa !13
  %111 = load double, ptr %24, align 8, !tbaa !13
  %112 = load double, ptr %23, align 8, !tbaa !13
  %113 = fadd double %112, %111
  store double %113, ptr %23, align 8, !tbaa !13
  %114 = load double, ptr %23, align 8, !tbaa !13
  store double %114, ptr %16, align 8, !tbaa !13
  store double 0x41F0000000000000, ptr %24, align 8, !tbaa !13
  %115 = load double, ptr %23, align 8, !tbaa !13
  %116 = load double, ptr %24, align 8, !tbaa !13
  %117 = fcmp olt double %115, %116
  %118 = zext i1 %117 to i32
  store i32 %118, ptr %17, align 4, !tbaa !9
  %119 = load double, ptr %16, align 8, !tbaa !13
  store double %119, ptr %24, align 8, !tbaa !13
  store double 0.000000e+00, ptr %25, align 8, !tbaa !13
  %120 = load double, ptr %24, align 8, !tbaa !13
  %121 = load double, ptr %25, align 8, !tbaa !13
  %122 = fcmp oge double %120, %121
  %123 = zext i1 %122 to i32
  store i32 %123, ptr %18, align 4, !tbaa !9
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = load i32, ptr %17, align 4, !tbaa !9
  %126 = and i32 %125, %124
  store i32 %126, ptr %17, align 4, !tbaa !9
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %166

129:                                              ; preds = %109
  %130 = load double, ptr %16, align 8, !tbaa !13
  store double %130, ptr %23, align 8, !tbaa !13
  %131 = load double, ptr %23, align 8, !tbaa !13
  %132 = load double, ptr %23, align 8, !tbaa !13
  %133 = fcmp une double %131, %132
  %134 = xor i1 %133, true
  %135 = xor i1 %134, true
  %136 = zext i1 %135 to i32
  %137 = sext i32 %136 to i64
  %138 = call i64 @llvm.expect.i64(i64 %137, i64 0)
  %139 = icmp ne i64 %138, 0
  br i1 %139, label %140, label %142

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

141:                                              ; No predecessors!
  br label %164

142:                                              ; preds = %129
  %143 = load double, ptr %23, align 8, !tbaa !13
  %144 = fcmp ogt double %143, -1.000000e+00
  br i1 %144, label %145, label %148

145:                                              ; preds = %142
  %146 = load double, ptr %23, align 8, !tbaa !13
  %147 = fcmp olt double %146, 0x41F0000000000000
  br label %148

148:                                              ; preds = %145, %142
  %149 = phi i1 [ false, %142 ], [ %147, %145 ]
  %150 = xor i1 %149, true
  %151 = xor i1 %150, true
  %152 = xor i1 %151, true
  %153 = zext i1 %152 to i32
  %154 = sext i32 %153 to i64
  %155 = call i64 @llvm.expect.i64(i64 %154, i64 0)
  %156 = icmp ne i64 %155, 0
  br i1 %156, label %157, label %159

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

158:                                              ; No predecessors!
  br label %162

159:                                              ; preds = %148
  %160 = load double, ptr %23, align 8, !tbaa !13
  %161 = fptoui double %160 to i32
  br label %162

162:                                              ; preds = %159, %158
  %163 = phi i32 [ 0, %158 ], [ %161, %159 ]
  br label %164

164:                                              ; preds = %162, %141
  %165 = phi i32 [ 0, %141 ], [ %163, %162 ]
  store i32 %165, ptr %17, align 4, !tbaa !9
  br label %167

166:                                              ; preds = %109
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %166, %164
  %168 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %168, ptr %12, align 4, !tbaa !9
  store i32 254, ptr %18, align 4, !tbaa !9
  %169 = load i32, ptr %18, align 4, !tbaa !9
  %170 = load i32, ptr %17, align 4, !tbaa !9
  %171 = and i32 %170, %169
  store i32 %171, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %172, ptr %18, align 4, !tbaa !9
  %173 = load double, ptr %16, align 8, !tbaa !13
  store double %173, ptr %25, align 8, !tbaa !13
  %174 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %174, ptr %20, align 4, !tbaa !9
  %175 = load i32, ptr %20, align 4, !tbaa !9
  %176 = uitofp i32 %175 to double
  store double %176, ptr %26, align 8, !tbaa !13
  %177 = load double, ptr %25, align 8, !tbaa !13
  %178 = load double, ptr %26, align 8, !tbaa !13
  %179 = fcmp oeq double %177, %178
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %19, align 4, !tbaa !9
  %181 = load i32, ptr %19, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %185

183:                                              ; preds = %167
  %184 = load i32, ptr %17, align 4, !tbaa !9
  br label %187

185:                                              ; preds = %167
  %186 = load i32, ptr %18, align 4, !tbaa !9
  br label %187

187:                                              ; preds = %185, %183
  %188 = phi i32 [ %184, %183 ], [ %186, %185 ]
  store i32 %188, ptr %17, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %187, %108, %99
  %190 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %190, ptr %14, align 4, !tbaa !9
  %191 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %191, ptr %17, align 4, !tbaa !9
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.w2c_hermes, ptr %192, i32 0, i32 6
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = zext i32 %194 to i64
  %196 = call i32 @i32_load(ptr noundef %193, i64 noundef %195)
  store i32 %196, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %197, ptr %9, align 4, !tbaa !9
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %17, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 20
  %203 = call i32 @i32_load(ptr noundef %199, i64 noundef %202)
  store i32 %203, ptr %17, align 4, !tbaa !9
  %204 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %204, ptr %12, align 4, !tbaa !9
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %207, label %219

207:                                              ; preds = %189
  %208 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %208, ptr %17, align 4, !tbaa !9
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.w2c_hermes, ptr %209, i32 0, i32 6
  %211 = load i32, ptr %17, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = add i64 %212, 29
  %214 = call i32 @i32_load8_u(ptr noundef %210, i64 noundef %213)
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %17, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %218

217:                                              ; preds = %207
  br label %263

218:                                              ; preds = %207
  br label %219

219:                                              ; preds = %218, %189
  %220 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %220, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %17, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = add i64 %224, 40
  %226 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %222, i64 noundef %225, i32 noundef %226)
  %227 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %227, ptr %17, align 4, !tbaa !9
  store i64 197568495617, ptr %21, align 8, !tbaa !11
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 6
  %230 = load i32, ptr %17, align 4, !tbaa !9
  %231 = zext i32 %230 to i64
  %232 = add i64 %231, 32
  %233 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %229, i64 noundef %232, i64 noundef %233)
  %234 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %234, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %235 = load ptr, ptr %7, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.w2c_hermes, ptr %235, i32 0, i32 6
  %237 = load i32, ptr %17, align 4, !tbaa !9
  %238 = zext i32 %237 to i64
  %239 = add i64 %238, 16
  %240 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %236, i64 noundef %239, i32 noundef %240)
  %241 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %241, ptr %17, align 4, !tbaa !9
  store i32 38730, ptr %18, align 4, !tbaa !9
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = add i64 %245, 8
  %247 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %243, i64 noundef %246, i32 noundef %247)
  %248 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %248, ptr %17, align 4, !tbaa !9
  %249 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %249, ptr %18, align 4, !tbaa !9
  %250 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %250, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %251 = load i32, ptr %20, align 4, !tbaa !9
  %252 = load i32, ptr %19, align 4, !tbaa !9
  %253 = add i32 %252, %251
  store i32 %253, ptr %19, align 4, !tbaa !9
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = load i32, ptr %18, align 4, !tbaa !9
  %256 = load i32, ptr %19, align 4, !tbaa !9
  %257 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %254, i32 noundef %255, i32 noundef %256)
  store i32 %257, ptr %18, align 4, !tbaa !9
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %17, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %259, i64 noundef %261, i32 noundef %262)
  br label %373

263:                                              ; preds = %217
  %264 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %264, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %265, ptr %18, align 4, !tbaa !9
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %18, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = add i64 %269, 24
  %271 = call i32 @i32_load(ptr noundef %267, i64 noundef %270)
  store i32 %271, ptr %18, align 4, !tbaa !9
  %272 = load i32, ptr %17, align 4, !tbaa !9
  %273 = load i32, ptr %18, align 4, !tbaa !9
  %274 = icmp ult i32 %272, %273
  %275 = zext i1 %274 to i32
  store i32 %275, ptr %17, align 4, !tbaa !9
  %276 = load i32, ptr %17, align 4, !tbaa !9
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %333

278:                                              ; preds = %263
  %279 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %279, ptr %17, align 4, !tbaa !9
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.w2c_hermes, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %17, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = add i64 %283, 5300
  %285 = call i32 @i32_load8_u(ptr noundef %281, i64 noundef %284)
  store i32 %285, ptr %17, align 4, !tbaa !9
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = icmp ne i32 %286, 0
  %288 = xor i1 %287, true
  %289 = zext i1 %288 to i32
  store i32 %289, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = icmp ne i32 %290, 0
  br i1 %291, label %292, label %293

292:                                              ; preds = %278
  br label %370

293:                                              ; preds = %278
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %17, align 4, !tbaa !9
  %295 = load ptr, ptr %7, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.w2c_hermes, ptr %295, i32 0, i32 6
  %297 = load i32, ptr %17, align 4, !tbaa !9
  %298 = zext i32 %297 to i64
  %299 = add i64 %298, 28
  %300 = call i32 @i32_load(ptr noundef %296, i64 noundef %299)
  store i32 %300, ptr %17, align 4, !tbaa !9
  %301 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %301, ptr %18, align 4, !tbaa !9
  store i32 1272, ptr %19, align 4, !tbaa !9
  %302 = load i32, ptr %19, align 4, !tbaa !9
  %303 = load i32, ptr %18, align 4, !tbaa !9
  %304 = add i32 %303, %302
  store i32 %304, ptr %18, align 4, !tbaa !9
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %18, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = call i32 @i32_load(ptr noundef %306, i64 noundef %308)
  store i32 %309, ptr %18, align 4, !tbaa !9
  %310 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %310, ptr %19, align 4, !tbaa !9
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.w2c_hermes, ptr %311, i32 0, i32 6
  %313 = load i32, ptr %19, align 4, !tbaa !9
  %314 = zext i32 %313 to i64
  %315 = add i64 %314, 20
  %316 = call i32 @i32_load(ptr noundef %312, i64 noundef %315)
  store i32 %316, ptr %19, align 4, !tbaa !9
  %317 = load i32, ptr %19, align 4, !tbaa !9
  %318 = load i32, ptr %18, align 4, !tbaa !9
  %319 = xor i32 %318, %317
  store i32 %319, ptr %18, align 4, !tbaa !9
  %320 = load i32, ptr %18, align 4, !tbaa !9
  %321 = load i32, ptr %17, align 4, !tbaa !9
  %322 = add i32 %321, %320
  store i32 %322, ptr %17, align 4, !tbaa !9
  %323 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %323, ptr %18, align 4, !tbaa !9
  %324 = load i32, ptr %18, align 4, !tbaa !9
  %325 = load i32, ptr %17, align 4, !tbaa !9
  %326 = add i32 %325, %324
  store i32 %326, ptr %17, align 4, !tbaa !9
  %327 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %327, ptr %18, align 4, !tbaa !9
  %328 = load ptr, ptr %7, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.w2c_hermes, ptr %328, i32 0, i32 6
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = zext i32 %330 to i64
  %332 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %329, i64 noundef %331, i32 noundef %332)
  br label %333

333:                                              ; preds = %293, %263
  %334 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %334, ptr %17, align 4, !tbaa !9
  %335 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %335, ptr %18, align 4, !tbaa !9
  %336 = load ptr, ptr %7, 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_load16_u(ptr noundef %337, i64 noundef %339)
  store i32 %340, ptr %18, align 4, !tbaa !9
  store i32 65024, ptr %19, align 4, !tbaa !9
  %341 = load i32, ptr %19, align 4, !tbaa !9
  %342 = load i32, ptr %18, align 4, !tbaa !9
  %343 = and i32 %342, %341
  store i32 %343, ptr %18, align 4, !tbaa !9
  store i32 257, ptr %19, align 4, !tbaa !9
  %344 = load i32, ptr %19, align 4, !tbaa !9
  %345 = load i32, ptr %18, align 4, !tbaa !9
  %346 = or i32 %345, %344
  store i32 %346, ptr %18, align 4, !tbaa !9
  %347 = load ptr, ptr %7, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.w2c_hermes, ptr %347, i32 0, i32 6
  %349 = load i32, ptr %17, align 4, !tbaa !9
  %350 = zext i32 %349 to i64
  %351 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %348, i64 noundef %350, i32 noundef %351)
  br label %373

352:                                              ; preds = %74
  %353 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %353, ptr %17, align 4, !tbaa !9
  %354 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %354, ptr %18, align 4, !tbaa !9
  %355 = load ptr, ptr %7, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.w2c_hermes, ptr %355, i32 0, i32 6
  %357 = load i32, ptr %18, align 4, !tbaa !9
  %358 = zext i32 %357 to i64
  %359 = add i64 %358, 1
  %360 = call i32 @i32_load8_u(ptr noundef %356, i64 noundef %359)
  store i32 %360, ptr %18, align 4, !tbaa !9
  store i32 8, ptr %19, align 4, !tbaa !9
  %361 = load i32, ptr %19, align 4, !tbaa !9
  %362 = and i32 %361, 31
  %363 = load i32, ptr %18, align 4, !tbaa !9
  %364 = shl i32 %363, %362
  store i32 %364, ptr %18, align 4, !tbaa !9
  %365 = load ptr, ptr %7, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.w2c_hermes, ptr %365, i32 0, i32 6
  %367 = load i32, ptr %17, align 4, !tbaa !9
  %368 = zext i32 %367 to i64
  %369 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store16(ptr noundef %366, i64 noundef %368, i32 noundef %369)
  br label %373

370:                                              ; preds = %292
  store i32 38571, ptr %17, align 4, !tbaa !9
  %371 = load ptr, ptr %7, align 8, !tbaa !5
  %372 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %371, i32 noundef %372)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

373:                                              ; preds = %352, %333, %219
  %374 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %374, ptr %17, align 4, !tbaa !9
  store i32 48, ptr %18, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %17, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = load ptr, ptr %7, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.w2c_hermes, ptr %379, i32 0, i32 3
  store i32 %378, ptr %380, 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 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  ret void
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { "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_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(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 void @i32_store8(ptr noundef, i64 noundef, i32 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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArray0x3Cunsigned0x20char0x2C0x200x28hermes0x3A0x3Avm0x3A0x3ACellKind0x29390x3E0x3A0x3A_setOwnIndexedImpl0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -48
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  %11 = zext i32 %5 to i64
  %12 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %11)
  %13 = icmp ugt i64 %12, -1970324836974593
  br i1 %13, label %14, label %22

14:                                               ; preds = %6
  %15 = add i32 %8, -40
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %3, i32 noundef %5) #4
  %16 = zext i32 %9 to i64
  %17 = add nuw nsw i64 %16, 8
  %18 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %17)
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %84, label %19

19:                                               ; preds = %14
  %20 = add nuw nsw i64 %16, 16
  %21 = tail call i64 @i64_load(ptr noundef nonnull %10, i64 noundef %20)
  br label %22

22:                                               ; preds = %6, %19
  %.0 = phi i64 [ %21, %19 ], [ %12, %6 ]
  %23 = tail call double @f64_reinterpret_i64(i64 noundef %.0)
  %24 = fcmp ult double %23, 5.000000e-01
  br i1 %24, label %40, label %25

25:                                               ; preds = %22
  %26 = fcmp ogt double %23, 2.550000e+02
  br i1 %26, label %40, label %27

27:                                               ; preds = %25
  %28 = fadd double %23, 5.000000e-01
  %29 = fcmp uge double %28, 0x41F0000000000000
  br i1 %29, label %35, label %30

30:                                               ; preds = %27
  %31 = fcmp ule double %28, -1.000000e+00
  br i1 %31, label %32, label %33, !prof !15

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

33:                                               ; preds = %30
  %34 = fptoui double %28 to i32
  br label %35

35:                                               ; preds = %27, %33
  %.0171 = phi i32 [ %34, %33 ], [ 0, %27 ]
  %36 = and i32 %.0171, 254
  %37 = uitofp i32 %.0171 to double
  %38 = fcmp oeq double %28, %37
  %39 = select i1 %38, i32 %36, i32 %.0171
  br label %40

40:                                               ; preds = %25, %22, %35
  %.1 = phi i32 [ 0, %22 ], [ 255, %25 ], [ %39, %35 ]
  %41 = zext i32 %2 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %41)
  %43 = zext i32 %42 to i64
  %44 = add nuw nsw i64 %43, 20
  %45 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %44)
  %.not179 = icmp eq i32 %45, 0
  br i1 %.not179, label %50, label %46

46:                                               ; preds = %40
  %47 = zext i32 %45 to i64
  %48 = add nuw nsw i64 %47, 29
  %49 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %48)
  %.not180 = icmp eq i32 %49, 0
  br i1 %.not180, label %50, label %59

50:                                               ; preds = %46, %40
  %51 = zext i32 %9 to i64
  %52 = add nuw nsw i64 %51, 40
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %52, i32 noundef 0)
  %53 = add nuw nsw i64 %51, 32
  tail call void @i64_store(ptr noundef nonnull %10, i64 noundef %53, i64 noundef 197568495617)
  %54 = add nuw nsw i64 %51, 16
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %54, i32 noundef 3)
  %55 = add nuw nsw i64 %51, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %55, i32 noundef 38730)
  %56 = add i32 %8, -40
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %56)
  %58 = zext i32 %1 to i64
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %58, i32 noundef %57)
  br label %90

59:                                               ; preds = %46
  %60 = add nuw nsw i64 %43, 24
  %61 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %60)
  %62 = icmp ugt i32 %61, %4
  br i1 %62, label %63, label %79

63:                                               ; preds = %59
  %64 = zext i32 %3 to i64
  %65 = add nuw nsw i64 %64, 5300
  %66 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %65)
  %.not181 = icmp eq i32 %66, 0
  br i1 %.not181, label %89, label %67

67:                                               ; preds = %63
  %68 = add nuw nsw i64 %43, 28
  %69 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %68)
  %70 = add i32 %3, 1272
  %71 = zext i32 %70 to i64
  %72 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %71)
  %73 = add nuw nsw i64 %47, 20
  %74 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %73)
  %75 = xor i32 %74, %72
  %76 = add i32 %69, %4
  %77 = add i32 %76, %75
  %78 = zext i32 %77 to i64
  tail call void @i32_store8(ptr noundef nonnull %10, i64 noundef %78, i32 noundef %.1)
  br label %79

79:                                               ; preds = %67, %59
  %80 = zext i32 %1 to i64
  %81 = tail call i32 @i32_load16_u(ptr noundef nonnull %10, i64 noundef %80)
  %82 = and i32 %81, 65024
  %83 = or disjoint i32 %82, 257
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %80, i32 noundef %83)
  br label %90

84:                                               ; preds = %14
  %85 = zext i32 %1 to i64
  %86 = add nuw nsw i64 %85, 1
  %87 = tail call i32 @i32_load8_u(ptr noundef nonnull %10, i64 noundef %86)
  %88 = shl i32 %87, 8
  tail call void @i32_store16(ptr noundef nonnull %10, i64 noundef %85, i32 noundef %88)
  br label %90

89:                                               ; preds = %63
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef 38571) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

90:                                               ; preds = %84, %79, %50
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret void
}

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 = { 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 #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 }
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}


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