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

; 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 }
%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t2 = external constant ptr, align 8

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) #1

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhermesInternalIsLazy0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #5 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %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
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !11
  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
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.w2c_hermes, ptr %22, i32 0, i32 3
  %24 = load i32, ptr %23, align 8, !tbaa !13
  store i32 %24, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %25 = load i32, ptr %16, align 4, !tbaa !9
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = sub i32 %26, %25
  store i32 %27, ptr %15, align 4, !tbaa !9
  %28 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %28, ptr %11, align 4, !tbaa !9
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.w2c_hermes, ptr %30, i32 0, i32 3
  store i32 %29, ptr %31, align 8, !tbaa !13
  %32 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %32, ptr %15, align 4, !tbaa !9
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 6
  %35 = load i32, ptr %15, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = add i64 %36, 4
  %38 = call i32 @i32_load(ptr noundef %34, i64 noundef %37)
  store i32 %38, ptr %15, align 4, !tbaa !9
  %39 = load i32, ptr %15, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  %41 = xor i1 %40, true
  %42 = zext i1 %41 to i32
  store i32 %42, ptr %15, align 4, !tbaa !9
  %43 = load i32, ptr %15, align 4, !tbaa !9
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %5
  br label %100

46:                                               ; preds = %5
  %47 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %47, ptr %15, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %15, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call i32 @i32_load(ptr noundef %49, i64 noundef %51)
  store i32 %52, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %53 = load i32, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %15, align 4, !tbaa !9
  %55 = sub i32 %54, %53
  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 %6, 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 = call i64 @i64_load(ptr noundef %58, i64 noundef %60)
  store i64 %61, ptr %20, align 8, !tbaa !11
  %62 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %62, ptr %13, align 8, !tbaa !11
  store i64 -844424930131968, ptr %21, align 8, !tbaa !11
  %63 = load i64, ptr %20, align 8, !tbaa !11
  %64 = load i64, ptr %21, align 8, !tbaa !11
  %65 = icmp ult i64 %63, %64
  %66 = zext i1 %65 to i32
  store i32 %66, ptr %15, align 4, !tbaa !9
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %46
  br label %100

70:                                               ; preds = %46
  %71 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %71, ptr %20, align 8, !tbaa !11
  %72 = load i64, ptr %20, align 8, !tbaa !11
  %73 = trunc i64 %72 to i32
  store i32 %73, ptr %15, align 4, !tbaa !9
  %74 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %74, ptr %12, align 4, !tbaa !9
  %75 = load i32, ptr %15, align 4, !tbaa !9
  %76 = icmp ne i32 %75, 0
  %77 = xor i1 %76, true
  %78 = zext i1 %77 to i32
  store i32 %78, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %70
  br label %317

82:                                               ; preds = %70
  %83 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %83, ptr %15, align 4, !tbaa !9
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %15, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = call i32 @i32_load(ptr noundef %85, i64 noundef %87)
  store i32 %88, ptr %15, align 4, !tbaa !9
  store i32 1140850688, ptr %16, align 4, !tbaa !9
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %15, align 4, !tbaa !9
  %91 = sub i32 %90, %89
  store i32 %91, ptr %15, align 4, !tbaa !9
  store i32 150994944, ptr %16, align 4, !tbaa !9
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = icmp ult i32 %92, %93
  %95 = zext i1 %94 to i32
  store i32 %95, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %15, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %82
  br label %146

99:                                               ; preds = %82
  br label %100

100:                                              ; preds = %99, %69, %45
  store i32 217520, ptr %15, align 4, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = call i64 @i64_load(ptr noundef %102, i64 noundef %104)
  store i64 %105, ptr %20, align 8, !tbaa !11
  %106 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %106, ptr %13, align 8, !tbaa !11
  store i64 -844424930131969, ptr %21, align 8, !tbaa !11
  %107 = load i64, ptr %20, align 8, !tbaa !11
  %108 = load i64, ptr %21, align 8, !tbaa !11
  %109 = icmp ule i64 %107, %108
  %110 = zext i1 %109 to i32
  store i32 %110, ptr %15, align 4, !tbaa !9
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %100
  br label %335

114:                                              ; preds = %100
  store i32 217520, ptr %15, align 4, !tbaa !9
  %115 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %115, ptr %10, align 4, !tbaa !9
  %116 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %116, ptr %20, align 8, !tbaa !11
  %117 = load i64, ptr %20, align 8, !tbaa !11
  %118 = trunc i64 %117 to i32
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %15, align 4, !tbaa !9
  %121 = icmp ne i32 %120, 0
  %122 = xor i1 %121, true
  %123 = zext i1 %122 to i32
  store i32 %123, ptr %15, align 4, !tbaa !9
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %114
  br label %146

127:                                              ; preds = %114
  %128 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %128, ptr %15, align 4, !tbaa !9
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.w2c_hermes, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = call i32 @i32_load(ptr noundef %130, i64 noundef %132)
  store i32 %133, ptr %15, align 4, !tbaa !9
  %134 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %134, ptr %12, align 4, !tbaa !9
  store i32 1140850688, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = load i32, ptr %15, align 4, !tbaa !9
  %137 = sub i32 %136, %135
  store i32 %137, ptr %15, align 4, !tbaa !9
  store i32 150994944, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = icmp uge i32 %138, %139
  %141 = zext i1 %140 to i32
  store i32 %141, ptr %15, align 4, !tbaa !9
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %127
  br label %353

145:                                              ; preds = %127
  br label %146

146:                                              ; preds = %145, %126, %98
  store i64 -1407374883553280, ptr %20, align 8, !tbaa !11
  %147 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %147, ptr %14, align 8, !tbaa !11
  %148 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %148, ptr %20, align 8, !tbaa !11
  %149 = load i64, ptr %20, align 8, !tbaa !11
  %150 = trunc i64 %149 to i32
  store i32 %150, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  %153 = xor i1 %152, true
  %154 = zext i1 %153 to i32
  store i32 %154, ptr %15, align 4, !tbaa !9
  %155 = load i32, ptr %15, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %158

157:                                              ; preds = %146
  br label %295

158:                                              ; preds = %146
  %159 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %159, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %160 = load ptr, ptr %6, 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, 8
  %165 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %161, i64 noundef %164, i32 noundef %165)
  %166 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %166, ptr %15, align 4, !tbaa !9
  %167 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %167, ptr %16, align 4, !tbaa !9
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.w2c_hermes, ptr %168, i32 0, i32 6
  %170 = load i32, ptr %15, align 4, !tbaa !9
  %171 = zext i32 %170 to i64
  %172 = add i64 %171, 12
  %173 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %169, i64 noundef %172, i32 noundef %173)
  %174 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %174, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = load i32, ptr %15, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %15, align 4, !tbaa !9
  %178 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %178, ptr %16, align 4, !tbaa !9
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = load i32, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %16, align 4, !tbaa !9
  %182 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AgetLeafCodeBlock0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef %179, i32 noundef %180, i32 noundef %181)
  store i32 %182, ptr %15, align 4, !tbaa !9
  %183 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %183, ptr %10, align 4, !tbaa !9
  %184 = load i32, ptr %15, align 4, !tbaa !9
  %185 = icmp ne i32 %184, 0
  %186 = xor i1 %185, true
  %187 = zext i1 %186 to i32
  store i32 %187, ptr %15, align 4, !tbaa !9
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %191

190:                                              ; preds = %158
  br label %295

191:                                              ; preds = %158
  %192 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %192, ptr %15, align 4, !tbaa !9
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.w2c_hermes, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %15, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = call i32 @i32_load(ptr noundef %194, i64 noundef %196)
  store i32 %197, ptr %15, align 4, !tbaa !9
  %198 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %198, ptr %10, align 4, !tbaa !9
  %199 = load i32, ptr %15, align 4, !tbaa !9
  %200 = icmp ne i32 %199, 0
  %201 = xor i1 %200, true
  %202 = zext i1 %201 to i32
  store i32 %202, ptr %15, align 4, !tbaa !9
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %206

205:                                              ; preds = %191
  br label %295

206:                                              ; preds = %191
  %207 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %207, ptr %15, align 4, !tbaa !9
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.w2c_hermes, ptr %208, i32 0, i32 6
  %210 = load i32, ptr %15, align 4, !tbaa !9
  %211 = zext i32 %210 to i64
  %212 = add i64 %211, 40
  %213 = call i32 @i32_load(ptr noundef %209, i64 noundef %212)
  store i32 %213, ptr %15, align 4, !tbaa !9
  %214 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %214, ptr %10, align 4, !tbaa !9
  %215 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %215, ptr %16, align 4, !tbaa !9
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %16, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = call i32 @i32_load(ptr noundef %217, i64 noundef %219)
  store i32 %220, ptr %16, align 4, !tbaa !9
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.w2c_hermes, ptr %221, i32 0, i32 6
  %223 = load i32, ptr %16, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = add i64 %224, 44
  %226 = call i32 @i32_load(ptr noundef %222, i64 noundef %225)
  store i32 %226, ptr %16, align 4, !tbaa !9
  %227 = load i32, ptr %16, align 4, !tbaa !9
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.w2c_hermes, ptr %228, i32 0, i32 7
  %230 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %229, i32 0, i32 2
  %231 = load i32, ptr %230, align 4, !tbaa !18
  %232 = icmp ult i32 %227, %231
  br i1 %232, label %233, label %256

233:                                              ; preds = %206
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 7
  %236 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %235, i32 0, i32 0
  %237 = load ptr, ptr %236, align 8, !tbaa !19
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %237, i64 %239
  %241 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %240, i32 0, i32 1
  %242 = load ptr, ptr %241, align 8, !tbaa !20
  %243 = icmp ne ptr %242, null
  br i1 %243, label %244, label %256

244:                                              ; preds = %233
  %245 = load ptr, ptr @w2c_hermes_t2, align 8, !tbaa !5
  %246 = load ptr, ptr %6, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.w2c_hermes, ptr %246, i32 0, i32 7
  %248 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %247, i32 0, i32 0
  %249 = load ptr, ptr %248, align 8, !tbaa !19
  %250 = load i32, ptr %16, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %249, i64 %251
  %253 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %252, i32 0, i32 0
  %254 = load ptr, ptr %253, align 8, !tbaa !22
  %255 = call zeroext i1 @func_types_eq(ptr noundef %245, ptr noundef %254)
  br label %256

256:                                              ; preds = %244, %233, %206
  %257 = phi i1 [ false, %233 ], [ false, %206 ], [ %255, %244 ]
  %258 = xor i1 %257, true
  %259 = xor i1 %258, true
  %260 = zext i1 %259 to i32
  %261 = sext i32 %260 to i64
  %262 = call i64 @llvm.expect.i64(i64 %261, i64 1)
  %263 = icmp ne i64 %262, 0
  br i1 %263, label %266, label %264

264:                                              ; preds = %256
  call void @wasm_rt_trap(i32 noundef 6) #7
  unreachable

265:                                              ; No predecessors!
  br label %266

266:                                              ; preds = %265, %256
  %267 = phi i1 [ true, %256 ], [ false, %265 ]
  %268 = zext i1 %267 to i32
  %269 = load ptr, ptr %6, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.w2c_hermes, ptr %269, i32 0, i32 7
  %271 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %270, i32 0, i32 0
  %272 = load ptr, ptr %271, align 8, !tbaa !19
  %273 = load i32, ptr %16, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %272, i64 %274
  %276 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %275, i32 0, i32 1
  %277 = load ptr, ptr %276, align 8, !tbaa !20
  %278 = load ptr, ptr %6, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 7
  %280 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !19
  %282 = load i32, ptr %16, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %281, i64 %283
  %285 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %284, i32 0, i32 2
  %286 = load ptr, ptr %285, align 8, !tbaa !23
  %287 = load i32, ptr %15, align 4, !tbaa !9
  %288 = call i32 %277(ptr noundef %286, i32 noundef %287)
  store i32 %288, ptr %15, align 4, !tbaa !9
  %289 = load i32, ptr %15, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  store i64 %290, ptr %20, align 8, !tbaa !11
  store i64 -1407374883553280, ptr %21, align 8, !tbaa !11
  %291 = load i64, ptr %21, align 8, !tbaa !11
  %292 = load i64, ptr %20, align 8, !tbaa !11
  %293 = or i64 %292, %291
  store i64 %293, ptr %20, align 8, !tbaa !11
  %294 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %294, ptr %14, align 8, !tbaa !11
  br label %295

295:                                              ; preds = %266, %205, %190, %157
  %296 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %296, ptr %15, align 4, !tbaa !9
  %297 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %297, ptr %21, align 8, !tbaa !11
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 6
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = add i64 %301, 8
  %303 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %299, i64 noundef %302, i64 noundef %303)
  %304 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %304, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %15, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %306, i64 noundef %308, i32 noundef %309)
  %310 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %310, ptr %15, align 4, !tbaa !9
  store i32 16, ptr %16, align 4, !tbaa !9
  %311 = load i32, ptr %16, align 4, !tbaa !9
  %312 = load i32, ptr %15, align 4, !tbaa !9
  %313 = add i32 %312, %311
  store i32 %313, ptr %15, align 4, !tbaa !9
  %314 = load i32, ptr %15, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 3
  store i32 %314, ptr %316, align 8, !tbaa !13
  br label %371

317:                                              ; preds = %81
  store i32 0, ptr %15, align 4, !tbaa !9
  %318 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %318, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %319 = load i32, ptr %16, align 4, !tbaa !9
  %320 = load i32, ptr %15, align 4, !tbaa !9
  %321 = add i32 %320, %319
  store i32 %321, ptr %15, align 4, !tbaa !9
  %322 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %322, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %323 = load i32, ptr %17, align 4, !tbaa !9
  %324 = load i32, ptr %16, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %326 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %326, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %327 = load i32, ptr %19, align 4, !tbaa !9
  %328 = load i32, ptr %18, align 4, !tbaa !9
  %329 = add i32 %328, %327
  store i32 %329, ptr %18, align 4, !tbaa !9
  %330 = load ptr, ptr %6, align 8, !tbaa !5
  %331 = load i32, ptr %15, align 4, !tbaa !9
  %332 = load i32, ptr %16, align 4, !tbaa !9
  %333 = load i32, ptr %17, align 4, !tbaa !9
  %334 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333, i32 noundef %334)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

335:                                              ; preds = %113
  store i32 0, ptr %15, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %336, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %16, align 4, !tbaa !9
  %337 = load i32, ptr %16, align 4, !tbaa !9
  %338 = load i32, ptr %15, align 4, !tbaa !9
  %339 = add i32 %338, %337
  store i32 %339, ptr %15, align 4, !tbaa !9
  %340 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %340, ptr %16, align 4, !tbaa !9
  store i32 82692, ptr %17, align 4, !tbaa !9
  %341 = load i32, ptr %17, align 4, !tbaa !9
  %342 = load i32, ptr %16, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, ptr %16, align 4, !tbaa !9
  store i32 61, ptr %17, align 4, !tbaa !9
  %344 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %344, ptr %18, align 4, !tbaa !9
  store i32 72547, ptr %19, align 4, !tbaa !9
  %345 = load i32, ptr %19, align 4, !tbaa !9
  %346 = load i32, ptr %18, align 4, !tbaa !9
  %347 = add i32 %346, %345
  store i32 %347, ptr %18, align 4, !tbaa !9
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = load i32, ptr %15, align 4, !tbaa !9
  %350 = load i32, ptr %16, align 4, !tbaa !9
  %351 = load i32, ptr %17, align 4, !tbaa !9
  %352 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351, i32 noundef %352)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

353:                                              ; preds = %144
  store i32 0, ptr %15, align 4, !tbaa !9
  %354 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %354, ptr %11, align 4, !tbaa !9
  store i32 205071, ptr %16, align 4, !tbaa !9
  %355 = load i32, ptr %16, align 4, !tbaa !9
  %356 = load i32, ptr %15, align 4, !tbaa !9
  %357 = add i32 %356, %355
  store i32 %357, ptr %15, align 4, !tbaa !9
  %358 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %358, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %359 = load i32, ptr %17, align 4, !tbaa !9
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, ptr %16, align 4, !tbaa !9
  store i32 299, ptr %17, align 4, !tbaa !9
  %362 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %362, ptr %18, align 4, !tbaa !9
  store i32 72549, ptr %19, align 4, !tbaa !9
  %363 = load i32, ptr %19, align 4, !tbaa !9
  %364 = load i32, ptr %18, align 4, !tbaa !9
  %365 = add i32 %364, %363
  store i32 %365, ptr %18, align 4, !tbaa !9
  %366 = load ptr, ptr %6, align 8, !tbaa !5
  %367 = load i32, ptr %15, align 4, !tbaa !9
  %368 = load i32, ptr %16, align 4, !tbaa !9
  %369 = load i32, ptr %17, align 4, !tbaa !9
  %370 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %366, i32 noundef %367, i32 noundef %368, i32 noundef %369, i32 noundef %370)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

371:                                              ; preds = %295
  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 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(none) }
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 = { 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 #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}
!18 = !{!14, !10, i64 92}
!19 = !{!14, !6, i64 80}
!20 = !{!21, !6, i64 8}
!21 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!21, !6, i64 0}
!23 = !{!21, !6, i64 16}


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

%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t2 = external local_unnamed_addr constant ptr, align 8

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

13:                                               ; preds = %5
  %14 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %15 = add i32 %14, -8
  %16 = zext i32 %15 to i64
  %17 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %16)
  %18 = icmp ult i64 %17, -844424930131968
  br i1 %18, label %25, label %19

19:                                               ; preds = %13
  %20 = and i64 %17, 4294967295
  %.not171 = icmp eq i64 %20, 0
  br i1 %.not171, label %79, label %21

21:                                               ; preds = %19
  %22 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %20)
  %23 = add i32 %22, -1140850688
  %24 = icmp ult i32 %23, 150994944
  br i1 %24, label %34, label %25

25:                                               ; preds = %21, %13, %5
  %26 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 217520)
  %27 = icmp ult i64 %26, -844424930131968
  br i1 %27, label %80, label %28

28:                                               ; preds = %25
  %29 = and i64 %26, 4294967295
  %.not172 = icmp eq i64 %29, 0
  br i1 %.not172, label %76, label %30

30:                                               ; preds = %28
  %31 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %29)
  %32 = add i32 %31, -1291845632
  %33 = icmp ult i32 %32, -150994944
  br i1 %33, label %81, label %34

34:                                               ; preds = %30, %21
  %.0167.ph = phi i32 [ %15, %21 ], [ 217520, %30 ]
  %35 = zext i32 %8 to i64
  %36 = add nuw nsw i64 %35, 8
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %36, i32 noundef 0)
  %37 = add nuw nsw i64 %35, 12
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %37, i32 noundef %.0167.ph)
  %38 = add i32 %7, -8
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AgetLeafCodeBlock0x28hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3ACallable0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x29(ptr noundef nonnull %0, i32 noundef %38, i32 noundef %3)
  %.not174 = icmp eq i32 %39, 0
  br i1 %.not174, label %76, label %40

40:                                               ; preds = %34
  %41 = zext i32 %39 to i64
  %42 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %41)
  %.not175 = icmp eq i32 %42, 0
  br i1 %.not175, label %76, label %43

43:                                               ; preds = %40
  %44 = zext i32 %42 to i64
  %45 = add nuw nsw i64 %44, 40
  %46 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %45)
  %47 = zext i32 %46 to i64
  %48 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %47)
  %49 = zext i32 %48 to i64
  %50 = add nuw nsw i64 %49, 44
  %51 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %50)
  %52 = getelementptr inbounds i8, ptr %0, i64 80
  %53 = getelementptr inbounds i8, ptr %0, i64 92
  %54 = load i32, ptr %53, align 4, !tbaa !15
  %55 = icmp ult i32 %51, %54
  br i1 %55, label %56, label %.critedge, !prof !16

56:                                               ; preds = %43
  %57 = load ptr, ptr %52, align 8, !tbaa !17
  %58 = zext i32 %51 to i64
  %59 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %57, i64 %58
  %60 = getelementptr inbounds i8, ptr %59, i64 8
  %61 = load ptr, ptr %60, align 8, !tbaa !18
  %.not176 = icmp eq ptr %61, null
  br i1 %.not176, label %.critedge, label %62, !prof !20

62:                                               ; preds = %56
  %63 = load ptr, ptr @w2c_hermes_t2, align 8, !tbaa !21
  %64 = load ptr, ptr %59, align 8, !tbaa !22
  %65 = tail call zeroext i1 @func_types_eq(ptr noundef %63, ptr noundef %64)
  br i1 %65, label %66, label %.critedge, !prof !16

.critedge:                                        ; preds = %56, %43, %62
  tail call void @wasm_rt_trap(i32 noundef 6) #4
  unreachable

66:                                               ; preds = %62
  %67 = load ptr, ptr %52, align 8, !tbaa !17
  %68 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %67, i64 %58
  %69 = getelementptr inbounds i8, ptr %68, i64 8
  %70 = load ptr, ptr %69, align 8, !tbaa !18
  %71 = getelementptr inbounds i8, ptr %68, i64 16
  %72 = load ptr, ptr %71, align 8, !tbaa !23
  %73 = tail call i32 %70(ptr noundef %72, i32 noundef %46) #5
  %74 = zext i32 %73 to i64
  %75 = or disjoint i64 %74, -1407374883553280
  br label %76

76:                                               ; preds = %28, %40, %34, %66
  %.0 = phi i64 [ -1407374883553280, %34 ], [ -1407374883553280, %40 ], [ %75, %66 ], [ -1407374883553280, %28 ]
  %77 = zext i32 %1 to i64
  %78 = add nuw nsw i64 %77, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %78, i64 noundef %.0)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %77, i32 noundef 1)
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

79:                                               ; preds = %19
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

80:                                               ; preds = %25
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 61, i32 noundef 72547) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

81:                                               ; preds = %30
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205071, i32 noundef 82611, i32 noundef 299, i32 noundef 72549) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable
}

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { "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 = { noreturn nounwind }
attributes #5 = { 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 = !{!6, !10, i64 92}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!6, !7, i64 80}
!18 = !{!19, !7, i64 8}
!19 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!21 = !{!7, !7, i64 0}
!22 = !{!19, !7, i64 0}
!23 = !{!19, !7, i64 16}


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