; 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

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

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

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

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

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

77:                                               ; preds = %4
  %78 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %79, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = add i32 %81, %80
  store i32 %82, ptr %16, align 4, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.w2c_hermes, ptr %83, i32 0, i32 6
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = zext i32 %85 to i64
  %87 = add i64 %86, 164
  %88 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %84, i64 noundef %87, i32 noundef %88)
  %89 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %89, ptr %15, align 4, !tbaa !9
  %90 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %90, ptr %21, align 8, !tbaa !11
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %15, align 4, !tbaa !9
  %94 = zext i32 %93 to i64
  %95 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %92, i64 noundef %94, i64 noundef %95)
  br label %104

96:                                               ; preds = %4
  %97 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %98, ptr %21, align 8, !tbaa !11
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load i32, ptr %15, align 4, !tbaa !9
  %101 = load i64, ptr %21, align 8, !tbaa !11
  %102 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef %99, i32 noundef %100, i64 noundef %101)
  store i32 %102, ptr %15, align 4, !tbaa !9
  %103 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %103, ptr %9, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %96, %77
  %105 = load i64, ptr %8, align 8, !tbaa !11
  store i64 %105, ptr %20, align 8, !tbaa !11
  store i32 -1, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %106, ptr %17, align 4, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %17, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = call i32 @i32_load(ptr noundef %108, i64 noundef %110)
  store i32 %111, ptr %17, align 4, !tbaa !9
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %17, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 3
  %117 = call i32 @i32_load8_u(ptr noundef %113, i64 noundef %116)
  store i32 %117, ptr %17, align 4, !tbaa !9
  store i32 78813, ptr %18, align 4, !tbaa !9
  %118 = load i32, ptr %18, align 4, !tbaa !9
  %119 = load i32, ptr %17, align 4, !tbaa !9
  %120 = add i32 %119, %118
  store i32 %120, ptr %17, align 4, !tbaa !9
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.w2c_hermes, ptr %121, i32 0, i32 6
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = zext i32 %123 to i64
  %125 = call i32 @i32_load8_u(ptr noundef %122, i64 noundef %124)
  store i32 %125, ptr %17, align 4, !tbaa !9
  %126 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %126, ptr %10, align 4, !tbaa !9
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = icmp eq i32 %127, 0
  %129 = xor i1 %128, true
  %130 = xor i1 %129, true
  %131 = zext i1 %130 to i32
  %132 = sext i32 %131 to i64
  %133 = call i64 @llvm.expect.i64(i64 %132, i64 0)
  %134 = icmp ne i64 %133, 0
  br i1 %134, label %135, label %137

135:                                              ; preds = %104
  call void @wasm_rt_trap(i32 noundef 3) #7
  unreachable

136:                                              ; No predecessors!
  br label %141

137:                                              ; preds = %104
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %17, align 4, !tbaa !9
  %140 = udiv i32 %138, %139
  br label %141

141:                                              ; preds = %137, %136
  %142 = phi i32 [ 0, %136 ], [ %140, %137 ]
  store i32 %142, ptr %16, align 4, !tbaa !9
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = zext i32 %143 to i64
  store i64 %144, ptr %21, align 8, !tbaa !11
  %145 = load i64, ptr %20, align 8, !tbaa !11
  %146 = load i64, ptr %21, align 8, !tbaa !11
  %147 = icmp ugt i64 %145, %146
  %148 = zext i1 %147 to i32
  store i32 %148, ptr %15, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %189

151:                                              ; preds = %141
  %152 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %152, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %15, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 40
  %158 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %154, i64 noundef %157, i32 noundef %158)
  %159 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %159, ptr %15, align 4, !tbaa !9
  store i64 206158430209, ptr %21, align 8, !tbaa !11
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.w2c_hermes, ptr %160, i32 0, i32 6
  %162 = load i32, ptr %15, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = add i64 %163, 32
  %165 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %161, i64 noundef %164, i64 noundef %165)
  %166 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %166, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, align 4, !tbaa !9
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.w2c_hermes, ptr %167, i32 0, i32 6
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = zext i32 %169 to i64
  %171 = add i64 %170, 16
  %172 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %168, i64 noundef %171, i32 noundef %172)
  %173 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %173, ptr %15, align 4, !tbaa !9
  store i32 38681, ptr %16, align 4, !tbaa !9
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.w2c_hermes, ptr %174, i32 0, i32 6
  %176 = load i32, ptr %15, align 4, !tbaa !9
  %177 = zext i32 %176 to i64
  %178 = add i64 %177, 8
  %179 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %175, i64 noundef %178, i32 noundef %179)
  %180 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %180, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %181, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %17, align 4, !tbaa !9
  %183 = load i32, ptr %16, align 4, !tbaa !9
  %184 = add i32 %183, %182
  store i32 %184, ptr %16, align 4, !tbaa !9
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = load i32, ptr %15, align 4, !tbaa !9
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %185, i32 noundef %186, i32 noundef %187)
  store i32 %188, ptr %15, align 4, !tbaa !9
  br label %320

189:                                              ; preds = %141
  store i32 0, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %190, ptr %16, align 4, !tbaa !9
  %191 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %191, ptr %17, align 4, !tbaa !9
  %192 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %192, ptr %18, align 4, !tbaa !9
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = zext i32 %193 to i64
  store i64 %194, ptr %22, align 8, !tbaa !11
  %195 = load i64, ptr %8, align 8, !tbaa !11
  store i64 %195, ptr %23, align 8, !tbaa !11
  %196 = load i64, ptr %23, align 8, !tbaa !11
  %197 = load i64, ptr %22, align 8, !tbaa !11
  %198 = mul i64 %197, %196
  store i64 %198, ptr %22, align 8, !tbaa !11
  %199 = load i64, ptr %22, align 8, !tbaa !11
  %200 = trunc i64 %199 to i32
  store i32 %200, ptr %18, align 4, !tbaa !9
  %201 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %201, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = load i32, ptr %16, align 4, !tbaa !9
  %204 = load i32, ptr %17, align 4, !tbaa !9
  %205 = load i32, ptr %18, align 4, !tbaa !9
  %206 = load i32, ptr %19, align 4, !tbaa !9
  %207 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3A0x3AcreateDataBlock0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3E0x2C0x20unsigned0x20int0x2C0x20bool0x29(ptr noundef %202, i32 noundef %203, i32 noundef %204, i32 noundef %205, i32 noundef %206)
  store i32 %207, ptr %16, align 4, !tbaa !9
  %208 = load i32, ptr %16, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  %210 = xor i1 %209, true
  %211 = zext i1 %210 to i32
  store i32 %211, ptr %16, align 4, !tbaa !9
  %212 = load i32, ptr %16, align 4, !tbaa !9
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %215

214:                                              ; preds = %189
  br label %320

215:                                              ; preds = %189
  %216 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %216, ptr %15, align 4, !tbaa !9
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.w2c_hermes, ptr %217, i32 0, i32 6
  %219 = load i32, ptr %15, align 4, !tbaa !9
  %220 = zext i32 %219 to i64
  %221 = call i32 @i32_load(ptr noundef %218, i64 noundef %220)
  store i32 %221, ptr %15, align 4, !tbaa !9
  %222 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %222, ptr %7, align 4, !tbaa !9
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 3
  %228 = call i32 @i32_load8_u(ptr noundef %224, i64 noundef %227)
  store i32 %228, ptr %15, align 4, !tbaa !9
  store i32 78813, ptr %16, align 4, !tbaa !9
  %229 = load i32, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %15, align 4, !tbaa !9
  %231 = add i32 %230, %229
  store i32 %231, ptr %15, align 4, !tbaa !9
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.w2c_hermes, ptr %232, i32 0, i32 6
  %234 = load i32, ptr %15, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = call i32 @i32_load8_u(ptr noundef %233, i64 noundef %235)
  store i32 %236, ptr %15, align 4, !tbaa !9
  %237 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %237, ptr %12, align 4, !tbaa !9
  %238 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %238, ptr %15, align 4, !tbaa !9
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %15, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = call i32 @i32_load(ptr noundef %240, i64 noundef %242)
  store i32 %243, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %244, ptr %9, align 4, !tbaa !9
  %245 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %245, ptr %15, align 4, !tbaa !9
  store i32 1356, ptr %16, align 4, !tbaa !9
  %246 = load i32, ptr %16, align 4, !tbaa !9
  %247 = load i32, ptr %15, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %15, align 4, !tbaa !9
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.w2c_hermes, ptr %249, i32 0, i32 6
  %251 = load i32, ptr %15, align 4, !tbaa !9
  %252 = zext i32 %251 to i64
  %253 = call i32 @i32_load(ptr noundef %250, i64 noundef %252)
  store i32 %253, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %254, ptr %16, align 4, !tbaa !9
  store i32 20, ptr %17, align 4, !tbaa !9
  %255 = load i32, ptr %17, align 4, !tbaa !9
  %256 = load i32, ptr %16, align 4, !tbaa !9
  %257 = add i32 %256, %255
  store i32 %257, ptr %16, align 4, !tbaa !9
  %258 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %258, ptr %13, align 4, !tbaa !9
  store i32 -4194304, ptr %17, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = load i32, ptr %16, align 4, !tbaa !9
  %261 = and i32 %260, %259
  store i32 %261, ptr %16, align 4, !tbaa !9
  %262 = load i32, ptr %15, align 4, !tbaa !9
  %263 = load i32, ptr %16, align 4, !tbaa !9
  %264 = icmp ne i32 %262, %263
  %265 = zext i1 %264 to i32
  store i32 %265, ptr %15, align 4, !tbaa !9
  %266 = load i32, ptr %15, align 4, !tbaa !9
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %279

268:                                              ; preds = %215
  %269 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %269, ptr %15, align 4, !tbaa !9
  store i32 808, ptr %16, align 4, !tbaa !9
  %270 = load i32, ptr %16, align 4, !tbaa !9
  %271 = load i32, ptr %15, align 4, !tbaa !9
  %272 = add i32 %271, %270
  store i32 %272, ptr %15, align 4, !tbaa !9
  %273 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %273, ptr %16, align 4, !tbaa !9
  %274 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %274, ptr %17, align 4, !tbaa !9
  %275 = load ptr, ptr %5, align 8, !tbaa !5
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef %275, i32 noundef %276, i32 noundef %277, i32 noundef %278)
  br label %279

279:                                              ; preds = %268, %215
  %280 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %280, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.w2c_hermes, ptr %281, i32 0, i32 6
  %283 = load i32, ptr %15, align 4, !tbaa !9
  %284 = zext i32 %283 to i64
  %285 = add i64 %284, 28
  %286 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %282, i64 noundef %285, i32 noundef %286)
  %287 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %287, ptr %15, align 4, !tbaa !9
  %288 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %288, ptr %16, align 4, !tbaa !9
  %289 = load ptr, ptr %5, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.w2c_hermes, ptr %289, i32 0, i32 6
  %291 = load i32, ptr %15, align 4, !tbaa !9
  %292 = zext i32 %291 to i64
  %293 = add i64 %292, 20
  %294 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %290, i64 noundef %293, i32 noundef %294)
  %295 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %295, ptr %15, align 4, !tbaa !9
  %296 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %296, ptr %16, align 4, !tbaa !9
  %297 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %297, ptr %17, align 4, !tbaa !9
  %298 = load i32, ptr %17, align 4, !tbaa !9
  %299 = icmp eq i32 %298, 0
  %300 = xor i1 %299, true
  %301 = xor i1 %300, true
  %302 = zext i1 %301 to i32
  %303 = sext i32 %302 to i64
  %304 = call i64 @llvm.expect.i64(i64 %303, i64 0)
  %305 = icmp ne i64 %304, 0
  br i1 %305, label %306, label %308

306:                                              ; preds = %279
  call void @wasm_rt_trap(i32 noundef 3) #7
  unreachable

307:                                              ; No predecessors!
  br label %312

308:                                              ; preds = %279
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = udiv i32 %309, %310
  br label %312

312:                                              ; preds = %308, %307
  %313 = phi i32 [ 0, %307 ], [ %311, %308 ]
  store i32 %313, ptr %16, align 4, !tbaa !9
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 6
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = zext i32 %316 to i64
  %318 = add i64 %317, 24
  %319 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %315, i64 noundef %318, i32 noundef %319)
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %320

320:                                              ; preds = %312, %214, %151
  %321 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %321, ptr %6, align 4, !tbaa !9
  %322 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %322, ptr %15, align 4, !tbaa !9
  store i32 48, ptr %16, align 4, !tbaa !9
  %323 = load i32, ptr %16, align 4, !tbaa !9
  %324 = load i32, ptr %15, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %15, align 4, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = load ptr, ptr %5, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.w2c_hermes, ptr %327, i32 0, i32 3
  store i32 %326, ptr %328, align 8, !tbaa !13
  %329 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %329, ptr %15, align 4, !tbaa !9
  %330 = load i32, ptr %15, align 4, !tbaa !9
  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 8, 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 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret i32 %330
}

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3A0x3AcreateDataBlock0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3E0x2C0x20unsigned0x20int0x2C0x20bool0x29(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, !10, i64 24}
!14 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !15, i64 40, !17, i64 80}
!15 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !16, i64 32}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!"", !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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3A0x3AcreateBuffer0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSTypedArrayBase0x3E0x2C0x20unsigned0x20long0x20long0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -48
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = add i32 %1, 264
  %9 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x29(ptr noundef %0, i32 noundef %1, i32 noundef %8) #4
  %10 = zext i32 %9 to i64
  %11 = or disjoint i64 %10, -281474976710656
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = zext i32 %1 to i64
  %14 = add nuw nsw i64 %13, 4
  %15 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %14)
  %16 = zext i32 %15 to i64
  %17 = add nuw nsw i64 %16, 164
  %18 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %17)
  %19 = add nuw nsw i64 %16, 168
  %20 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %19)
  %21 = icmp ult i32 %18, %20
  br i1 %21, label %22, label %25

22:                                               ; preds = %4
  %23 = add i32 %18, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %17, i32 noundef %23)
  %24 = zext i32 %18 to i64
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %24, i64 noundef %11)
  br label %27

25:                                               ; preds = %4
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A_newChunkAndPHV0x28hermes0x3A0x3Avm0x3A0x3AHermesValue0x29(ptr noundef nonnull %0, i32 noundef %15, i64 noundef %11) #4
  br label %27

27:                                               ; preds = %25, %22
  %.0 = phi i32 [ %18, %22 ], [ %26, %25 ]
  %28 = zext i32 %2 to i64
  %29 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %28)
  %30 = zext i32 %29 to i64
  %31 = add nuw nsw i64 %30, 3
  %32 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %31)
  %33 = add i32 %32, 78813
  %34 = zext i32 %33 to i64
  %35 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %34)
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %38, !prof !15

37:                                               ; preds = %27
  tail call void @wasm_rt_trap(i32 noundef 3) #5
  unreachable

38:                                               ; preds = %27
  %39 = udiv i32 -1, %35
  %40 = zext i32 %39 to i64
  %41 = icmp ult i64 %40, %3
  br i1 %41, label %42, label %50

42:                                               ; preds = %38
  %43 = zext i32 %7 to i64
  %44 = add nuw nsw i64 %43, 40
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %44, i32 noundef 0)
  %45 = add nuw nsw i64 %43, 32
  tail call void @i64_store(ptr noundef nonnull %12, i64 noundef %45, i64 noundef 206158430209)
  %46 = add nuw nsw i64 %43, 16
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %46, i32 noundef 3)
  %47 = add nuw nsw i64 %43, 8
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %47, i32 noundef 38681)
  %48 = add i32 %6, -40
  %49 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %48)
  br label %79

50:                                               ; preds = %38
  %51 = trunc i64 %3 to i32
  %52 = mul i32 %35, %51
  %53 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3A0x3AcreateDataBlock0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3E0x2C0x20unsigned0x20int0x2C0x20bool0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %.0, i32 noundef %52, i32 noundef 1) #4
  %.not = icmp eq i32 %53, 0
  br i1 %.not, label %79, label %54

54:                                               ; preds = %50
  %55 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %28)
  %56 = zext i32 %55 to i64
  %57 = add nuw nsw i64 %56, 3
  %58 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %57)
  %59 = add i32 %58, 78813
  %60 = zext i32 %59 to i64
  %61 = tail call i32 @i32_load8_u(ptr noundef nonnull %12, i64 noundef %60)
  %62 = zext i32 %.0 to i64
  %63 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %62)
  %64 = add i32 %1, 1356
  %65 = zext i32 %64 to i64
  %66 = tail call i32 @i32_load(ptr noundef nonnull %12, i64 noundef %65)
  %67 = add i32 %55, 20
  %68 = and i32 %67, -4194304
  %.not173 = icmp eq i32 %66, %68
  br i1 %.not173, label %71, label %69

69:                                               ; preds = %54
  %70 = add i32 %1, 808
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AwriteBarrierSlow0x28hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x20const0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCCell0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %67, i32 noundef %63) #4
  br label %71

71:                                               ; preds = %69, %54
  %72 = add nuw nsw i64 %56, 28
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %72, i32 noundef 0)
  %73 = add nuw nsw i64 %56, 20
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %73, i32 noundef %63)
  %74 = icmp eq i32 %61, 0
  br i1 %74, label %75, label %76, !prof !15

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

76:                                               ; preds = %71
  %77 = udiv i32 %52, %61
  %78 = add nuw nsw i64 %56, 24
  tail call void @i32_store(ptr noundef nonnull %12, i64 noundef %78, i32 noundef %77)
  br label %79

79:                                               ; preds = %50, %76, %42
  %.0168 = phi i32 [ %49, %42 ], [ 0, %50 ], [ 1, %76 ]
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret i32 %.0168
}

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3A0x3AcreateDataBlock0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSArrayBuffer0x3E0x2C0x20unsigned0x20int0x2C0x20bool0x29(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}


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