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

; 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

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #4

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

68:                                               ; preds = %5
  %69 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %69, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %70 = load i64, ptr %18, align 8, !tbaa !11
  %71 = load i64, ptr %19, align 8, !tbaa !11
  %72 = icmp ule i64 %70, %71
  %73 = zext i1 %72 to i32
  store i32 %73, ptr %13, align 4, !tbaa !9
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %68
  br label %254

77:                                               ; preds = %68
  %78 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %78, ptr %18, align 8, !tbaa !11
  store i64 4294967295, ptr %19, align 8, !tbaa !11
  %79 = load i64, ptr %19, align 8, !tbaa !11
  %80 = load i64, ptr %18, align 8, !tbaa !11
  %81 = and i64 %80, %79
  store i64 %81, ptr %18, align 8, !tbaa !11
  %82 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %82, ptr %12, align 8, !tbaa !11
  %83 = load i64, ptr %18, align 8, !tbaa !11
  %84 = icmp ne i64 %83, 0
  %85 = xor i1 %84, true
  %86 = zext i1 %85 to i32
  store i32 %86, ptr %13, align 4, !tbaa !9
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %77
  br label %272

90:                                               ; preds = %77
  %91 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %91, ptr %13, align 4, !tbaa !9
  store i32 808, ptr %14, align 4, !tbaa !9
  %92 = load i32, ptr %14, align 4, !tbaa !9
  %93 = load i32, ptr %13, align 4, !tbaa !9
  %94 = add i32 %93, %92
  store i32 %94, ptr %13, align 4, !tbaa !9
  %95 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %95, ptr %11, align 4, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load i32, ptr %13, align 4, !tbaa !9
  %98 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %96, i32 noundef %97)
  store i32 %98, ptr %13, align 4, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %102

101:                                              ; preds = %90
  br label %290

102:                                              ; preds = %90
  %103 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %103, ptr %18, align 8, !tbaa !11
  store i64 -281474976710656, ptr %19, align 8, !tbaa !11
  %104 = load i64, ptr %19, align 8, !tbaa !11
  %105 = load i64, ptr %18, align 8, !tbaa !11
  %106 = or i64 %105, %104
  store i64 %106, ptr %18, align 8, !tbaa !11
  %107 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %107, ptr %12, align 8, !tbaa !11
  %108 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %108, ptr %13, align 4, !tbaa !9
  store i32 1396, ptr %14, align 4, !tbaa !9
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %13, align 4, !tbaa !9
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = call i32 @i32_load(ptr noundef %113, i64 noundef %115)
  store i32 %116, ptr %13, align 4, !tbaa !9
  %117 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %117, ptr %14, align 4, !tbaa !9
  store i32 16, ptr %15, align 4, !tbaa !9
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %14, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %14, align 4, !tbaa !9
  %121 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %121, ptr %8, align 4, !tbaa !9
  store i32 -4194304, ptr %15, align 4, !tbaa !9
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = and i32 %123, %122
  store i32 %124, ptr %14, align 4, !tbaa !9
  %125 = load i32, ptr %13, align 4, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = icmp ne i32 %125, %126
  %128 = zext i1 %127 to i32
  store i32 %128, ptr %13, align 4, !tbaa !9
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %139

131:                                              ; preds = %102
  %132 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %132, ptr %13, align 4, !tbaa !9
  %133 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %133, ptr %14, align 4, !tbaa !9
  %134 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %134, ptr %20, align 8, !tbaa !11
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = load i32, ptr %13, align 4, !tbaa !9
  %137 = load i32, ptr %14, align 4, !tbaa !9
  %138 = load i64, ptr %20, align 8, !tbaa !11
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %135, i32 noundef %136, i32 noundef %137, i64 noundef %138)
  br label %139

139:                                              ; preds = %131, %102
  %140 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %140, ptr %13, align 4, !tbaa !9
  %141 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %141, ptr %19, align 8, !tbaa !11
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.w2c_hermes, ptr %142, i32 0, i32 6
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = zext i32 %144 to i64
  %146 = load i64, ptr %19, align 8, !tbaa !11
  call void @i64_store(ptr noundef %143, i64 noundef %145, i64 noundef %146)
  %147 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %147, ptr %13, align 4, !tbaa !9
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.w2c_hermes, ptr %148, i32 0, i32 6
  %150 = load i32, ptr %13, align 4, !tbaa !9
  %151 = zext i32 %150 to i64
  %152 = add i64 %151, 4
  %153 = call i32 @i32_load(ptr noundef %149, i64 noundef %152)
  store i32 %153, ptr %13, align 4, !tbaa !9
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.w2c_hermes, ptr %154, i32 0, i32 6
  %156 = load i32, ptr %13, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = call i64 @i64_load(ptr noundef %155, i64 noundef %157)
  store i64 %158, ptr %18, align 8, !tbaa !11
  %159 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %159, ptr %12, align 8, !tbaa !11
  store i64 48, ptr %19, align 8, !tbaa !11
  %160 = load i64, ptr %18, align 8, !tbaa !11
  %161 = load i64, ptr %19, align 8, !tbaa !11
  %162 = and i64 %161, 63
  %163 = ashr i64 %160, %162
  store i64 %163, ptr %18, align 8, !tbaa !11
  %164 = load i64, ptr %18, align 8, !tbaa !11
  %165 = trunc i64 %164 to i32
  store i32 %165, ptr %13, align 4, !tbaa !9
  store i32 -1, ptr %14, align 4, !tbaa !9
  %166 = load i32, ptr %13, align 4, !tbaa !9
  %167 = load i32, ptr %14, align 4, !tbaa !9
  %168 = icmp ne i32 %166, %167
  %169 = zext i1 %168 to i32
  store i32 %169, ptr %13, align 4, !tbaa !9
  %170 = load i32, ptr %13, align 4, !tbaa !9
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %173

172:                                              ; preds = %139
  br label %308

173:                                              ; preds = %139
  %174 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %174, ptr %18, align 8, !tbaa !11
  store i64 -844424930131969, ptr %19, align 8, !tbaa !11
  %175 = load i64, ptr %18, align 8, !tbaa !11
  %176 = load i64, ptr %19, align 8, !tbaa !11
  %177 = icmp ule i64 %175, %176
  %178 = zext i1 %177 to i32
  store i32 %178, ptr %13, align 4, !tbaa !9
  %179 = load i32, ptr %13, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %182

181:                                              ; preds = %173
  br label %326

182:                                              ; preds = %173
  %183 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %183, ptr %18, align 8, !tbaa !11
  %184 = load i64, ptr %18, align 8, !tbaa !11
  %185 = trunc i64 %184 to i32
  store i32 %185, ptr %13, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %186, ptr %10, align 4, !tbaa !9
  %187 = load i32, ptr %13, align 4, !tbaa !9
  %188 = icmp ne i32 %187, 0
  %189 = xor i1 %188, true
  %190 = zext i1 %189 to i32
  store i32 %190, ptr %13, align 4, !tbaa !9
  %191 = load i32, ptr %13, align 4, !tbaa !9
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %194

193:                                              ; preds = %182
  br label %344

194:                                              ; preds = %182
  %195 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %195, ptr %13, align 4, !tbaa !9
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.w2c_hermes, ptr %196, i32 0, i32 6
  %198 = load i32, ptr %13, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = add i64 %199, 24
  %201 = call i32 @i32_load(ptr noundef %197, i64 noundef %200)
  store i32 %201, ptr %13, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %202, ptr %14, align 4, !tbaa !9
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.w2c_hermes, ptr %203, i32 0, i32 6
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = zext i32 %205 to i64
  %207 = add i64 %206, 31
  %208 = call i32 @i32_load8_u(ptr noundef %204, i64 noundef %207)
  store i32 %208, ptr %14, align 4, !tbaa !9
  %209 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %209, ptr %10, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %210, ptr %15, align 4, !tbaa !9
  %211 = load i32, ptr %15, align 4, !tbaa !9
  %212 = trunc i32 %211 to i8
  %213 = sext i8 %212 to i32
  store i32 %213, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %214 = load i32, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = icmp slt i32 %214, %215
  %217 = zext i1 %216 to i32
  store i32 %217, ptr %15, align 4, !tbaa !9
  %218 = load i32, ptr %15, align 4, !tbaa !9
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %222

220:                                              ; preds = %194
  %221 = load i32, ptr %13, align 4, !tbaa !9
  br label %224

222:                                              ; preds = %194
  %223 = load i32, ptr %14, align 4, !tbaa !9
  br label %224

224:                                              ; preds = %222, %220
  %225 = phi i32 [ %221, %220 ], [ %223, %222 ]
  store i32 %225, ptr %13, align 4, !tbaa !9
  %226 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %226, ptr %14, align 4, !tbaa !9
  %227 = load i32, ptr %13, align 4, !tbaa !9
  %228 = load i32, ptr %14, align 4, !tbaa !9
  %229 = icmp ult i32 %227, %228
  %230 = zext i1 %229 to i32
  store i32 %230, ptr %13, align 4, !tbaa !9
  %231 = load i32, ptr %13, align 4, !tbaa !9
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %234

233:                                              ; preds = %224
  br label %362

234:                                              ; preds = %224
  %235 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %235, ptr %13, align 4, !tbaa !9
  br label %380

236:                                              ; preds = %5
  store i32 0, ptr %13, align 4, !tbaa !9
  %237 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %237, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %238 = load i32, ptr %14, align 4, !tbaa !9
  %239 = load i32, ptr %13, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %13, align 4, !tbaa !9
  %241 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %241, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %14, align 4, !tbaa !9
  %244 = add i32 %243, %242
  store i32 %244, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %245 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %245, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %16, align 4, !tbaa !9
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = load i32, ptr %13, align 4, !tbaa !9
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %249, i32 noundef %250, i32 noundef %251, i32 noundef %252, i32 noundef %253)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

254:                                              ; preds = %76
  store i32 0, ptr %13, align 4, !tbaa !9
  %255 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %255, ptr %7, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = load i32, ptr %13, align 4, !tbaa !9
  %258 = add i32 %257, %256
  store i32 %258, ptr %13, align 4, !tbaa !9
  %259 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %259, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = add i32 %261, %260
  store i32 %262, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %263, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %17, align 4, !tbaa !9
  %265 = load i32, ptr %16, align 4, !tbaa !9
  %266 = add i32 %265, %264
  store i32 %266, ptr %16, align 4, !tbaa !9
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = load i32, ptr %13, align 4, !tbaa !9
  %269 = load i32, ptr %14, align 4, !tbaa !9
  %270 = load i32, ptr %15, align 4, !tbaa !9
  %271 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %267, i32 noundef %268, i32 noundef %269, i32 noundef %270, i32 noundef %271)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

272:                                              ; preds = %89
  store i32 0, ptr %13, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %273, ptr %7, align 4, !tbaa !9
  store i32 195004, ptr %14, align 4, !tbaa !9
  %274 = load i32, ptr %14, align 4, !tbaa !9
  %275 = load i32, ptr %13, align 4, !tbaa !9
  %276 = add i32 %275, %274
  store i32 %276, ptr %13, align 4, !tbaa !9
  %277 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %277, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = load i32, ptr %14, align 4, !tbaa !9
  %280 = add i32 %279, %278
  store i32 %280, ptr %14, align 4, !tbaa !9
  store i32 268, ptr %15, align 4, !tbaa !9
  %281 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %281, ptr %16, align 4, !tbaa !9
  store i32 90411, ptr %17, align 4, !tbaa !9
  %282 = load i32, ptr %17, align 4, !tbaa !9
  %283 = load i32, ptr %16, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %16, align 4, !tbaa !9
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = load i32, ptr %13, align 4, !tbaa !9
  %287 = load i32, ptr %14, align 4, !tbaa !9
  %288 = load i32, ptr %15, align 4, !tbaa !9
  %289 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %285, i32 noundef %286, i32 noundef %287, i32 noundef %288, i32 noundef %289)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

290:                                              ; preds = %101
  store i32 0, ptr %13, align 4, !tbaa !9
  %291 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %291, ptr %7, align 4, !tbaa !9
  store i32 200002, ptr %14, align 4, !tbaa !9
  %292 = load i32, ptr %14, align 4, !tbaa !9
  %293 = load i32, ptr %13, align 4, !tbaa !9
  %294 = add i32 %293, %292
  store i32 %294, ptr %13, align 4, !tbaa !9
  %295 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %295, ptr %14, align 4, !tbaa !9
  store i32 86379, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %15, align 4, !tbaa !9
  %297 = load i32, ptr %14, align 4, !tbaa !9
  %298 = add i32 %297, %296
  store i32 %298, ptr %14, align 4, !tbaa !9
  store i32 158, ptr %15, align 4, !tbaa !9
  %299 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %299, ptr %16, align 4, !tbaa !9
  store i32 50413, ptr %17, align 4, !tbaa !9
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = add i32 %301, %300
  store i32 %302, ptr %16, align 4, !tbaa !9
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = load i32, ptr %13, align 4, !tbaa !9
  %305 = load i32, ptr %14, align 4, !tbaa !9
  %306 = load i32, ptr %15, align 4, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %303, i32 noundef %304, i32 noundef %305, i32 noundef %306, i32 noundef %307)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

308:                                              ; preds = %172
  store i32 0, ptr %13, align 4, !tbaa !9
  %309 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %309, ptr %7, align 4, !tbaa !9
  store i32 118124, ptr %14, align 4, !tbaa !9
  %310 = load i32, ptr %14, align 4, !tbaa !9
  %311 = load i32, ptr %13, align 4, !tbaa !9
  %312 = add i32 %311, %310
  store i32 %312, ptr %13, align 4, !tbaa !9
  %313 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %313, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = load i32, ptr %14, align 4, !tbaa !9
  %316 = add i32 %315, %314
  store i32 %316, ptr %14, align 4, !tbaa !9
  store i32 480, ptr %15, align 4, !tbaa !9
  %317 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %317, ptr %16, align 4, !tbaa !9
  store i32 38798, ptr %17, align 4, !tbaa !9
  %318 = load i32, ptr %17, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = add i32 %319, %318
  store i32 %320, ptr %16, align 4, !tbaa !9
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = load i32, ptr %13, align 4, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !9
  %324 = load i32, ptr %15, align 4, !tbaa !9
  %325 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %321, i32 noundef %322, i32 noundef %323, i32 noundef %324, i32 noundef %325)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

326:                                              ; preds = %181
  store i32 0, ptr %13, align 4, !tbaa !9
  %327 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %327, ptr %7, align 4, !tbaa !9
  store i32 118273, ptr %14, align 4, !tbaa !9
  %328 = load i32, ptr %14, align 4, !tbaa !9
  %329 = load i32, ptr %13, align 4, !tbaa !9
  %330 = add i32 %329, %328
  store i32 %330, ptr %13, align 4, !tbaa !9
  %331 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %331, ptr %14, align 4, !tbaa !9
  store i32 83341, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %15, align 4, !tbaa !9
  %333 = load i32, ptr %14, align 4, !tbaa !9
  %334 = add i32 %333, %332
  store i32 %334, ptr %14, align 4, !tbaa !9
  store i32 438, ptr %15, align 4, !tbaa !9
  %335 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %335, ptr %16, align 4, !tbaa !9
  store i32 49706, ptr %17, align 4, !tbaa !9
  %336 = load i32, ptr %17, align 4, !tbaa !9
  %337 = load i32, ptr %16, align 4, !tbaa !9
  %338 = add i32 %337, %336
  store i32 %338, ptr %16, align 4, !tbaa !9
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = load i32, ptr %13, align 4, !tbaa !9
  %341 = load i32, ptr %14, align 4, !tbaa !9
  %342 = load i32, ptr %15, align 4, !tbaa !9
  %343 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef %342, i32 noundef %343)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

344:                                              ; preds = %193
  store i32 0, ptr %13, align 4, !tbaa !9
  %345 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %345, ptr %7, align 4, !tbaa !9
  store i32 168498, ptr %14, align 4, !tbaa !9
  %346 = load i32, ptr %14, align 4, !tbaa !9
  %347 = load i32, ptr %13, align 4, !tbaa !9
  %348 = add i32 %347, %346
  store i32 %348, ptr %13, align 4, !tbaa !9
  %349 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %349, ptr %14, align 4, !tbaa !9
  store i32 78081, ptr %15, align 4, !tbaa !9
  %350 = load i32, ptr %15, align 4, !tbaa !9
  %351 = load i32, ptr %14, align 4, !tbaa !9
  %352 = add i32 %351, %350
  store i32 %352, ptr %14, align 4, !tbaa !9
  store i32 269, ptr %15, align 4, !tbaa !9
  %353 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %353, ptr %16, align 4, !tbaa !9
  store i32 20456, ptr %17, align 4, !tbaa !9
  %354 = load i32, ptr %17, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = add i32 %355, %354
  store i32 %356, ptr %16, align 4, !tbaa !9
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = load i32, ptr %13, align 4, !tbaa !9
  %359 = load i32, ptr %14, align 4, !tbaa !9
  %360 = load i32, ptr %15, align 4, !tbaa !9
  %361 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %357, i32 noundef %358, i32 noundef %359, i32 noundef %360, i32 noundef %361)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

362:                                              ; preds = %233
  store i32 0, ptr %13, align 4, !tbaa !9
  %363 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %363, ptr %7, align 4, !tbaa !9
  store i32 148788, ptr %14, align 4, !tbaa !9
  %364 = load i32, ptr %14, align 4, !tbaa !9
  %365 = load i32, ptr %13, align 4, !tbaa !9
  %366 = add i32 %365, %364
  store i32 %366, ptr %13, align 4, !tbaa !9
  %367 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %367, ptr %14, align 4, !tbaa !9
  store i32 83126, ptr %15, align 4, !tbaa !9
  %368 = load i32, ptr %15, align 4, !tbaa !9
  %369 = load i32, ptr %14, align 4, !tbaa !9
  %370 = add i32 %369, %368
  store i32 %370, ptr %14, align 4, !tbaa !9
  store i32 711, ptr %15, align 4, !tbaa !9
  %371 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %371, ptr %16, align 4, !tbaa !9
  store i32 89353, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %17, align 4, !tbaa !9
  %373 = load i32, ptr %16, align 4, !tbaa !9
  %374 = add i32 %373, %372
  store i32 %374, ptr %16, align 4, !tbaa !9
  %375 = load ptr, ptr %6, align 8, !tbaa !5
  %376 = load i32, ptr %13, align 4, !tbaa !9
  %377 = load i32, ptr %14, align 4, !tbaa !9
  %378 = load i32, ptr %15, align 4, !tbaa !9
  %379 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %375, i32 noundef %376, i32 noundef %377, i32 noundef %378, i32 noundef %379)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

380:                                              ; preds = %234
  %381 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret i32 %381
}

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


; 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"

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABufferedStringPrimitive0x3Cchar0x3E0x3A0x3ABufferedStringPrimitive0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar0x3E0x3E0x29(ptr noundef %0, i32 noundef returned %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 16
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %8, i64 noundef -1688849860263936)
  %9 = add nuw nsw i64 %7, 12
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %9, i32 noundef %3)
  %10 = add nuw nsw i64 %7, 4
  tail call void @i32_store16(ptr noundef nonnull %6, i64 noundef %10, i32 noundef 52753)
  %11 = zext i32 %4 to i64
  %12 = add nuw nsw i64 %11, 4
  %13 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %12)
  %14 = zext i32 %13 to i64
  %15 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %14)
  %16 = icmp ugt i64 %15, -281474976710657
  br i1 %16, label %17, label %45

17:                                               ; preds = %5
  %18 = and i64 %15, 4294967295
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %46, label %19

19:                                               ; preds = %17
  %20 = add i32 %2, 808
  %21 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AcalledByBackgroundThread0x280x290x20const(ptr noundef %0, i32 noundef %20)
  %.not225 = icmp eq i32 %21, 0
  br i1 %.not225, label %22, label %47

22:                                               ; preds = %19
  %23 = or disjoint i64 %18, -281474976710656
  %24 = add i32 %2, 1396
  %25 = zext i32 %24 to i64
  %26 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %25)
  %27 = add i32 %1, 16
  %28 = and i32 %27, -4194304
  %.not226 = icmp eq i32 %26, %28
  br i1 %.not226, label %30, label %29

29:                                               ; preds = %22
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCHermesValueBase0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %0, i32 noundef %20, i32 noundef %27, i64 noundef %23)
  br label %30

30:                                               ; preds = %29, %22
  %31 = zext i32 %27 to i64
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %31, i64 noundef %23)
  %32 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %12)
  %33 = zext i32 %32 to i64
  %34 = tail call i64 @i64_load(ptr noundef nonnull %6, i64 noundef %33)
  %.not227 = icmp ugt i64 %34, -281474976710657
  br i1 %.not227, label %35, label %48

35:                                               ; preds = %30
  %36 = and i64 %34, 4294967295
  %.not228 = icmp eq i64 %36, 0
  br i1 %.not228, label %49, label %37

37:                                               ; preds = %35
  %38 = add nuw nsw i64 %36, 24
  %39 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %38)
  %40 = add nuw nsw i64 %36, 31
  %41 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %40)
  %sext.mask = and i32 %41, 128
  %.not229 = icmp eq i32 %sext.mask, 0
  %42 = select i1 %.not229, i32 %41, i32 %39
  %43 = icmp ult i32 %42, %3
  br i1 %43, label %50, label %44

44:                                               ; preds = %37
  ret i32 %1

45:                                               ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

46:                                               ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 195004, i32 noundef 83341, i32 noundef 268, i32 noundef 90411) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

47:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 200002, i32 noundef 86379, i32 noundef 158, i32 noundef 50413) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

48:                                               ; preds = %30
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118124, i32 noundef 83341, i32 noundef 480, i32 noundef 38798) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

49:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 168498, i32 noundef 78081, i32 noundef 269, i32 noundef 20456) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

50:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 148788, i32 noundef 83126, i32 noundef 711, i32 noundef 89353) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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


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