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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #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 zeroext i1 @func_types_eq(ptr noundef, ptr noundef) #1

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

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

46:                                               ; preds = %6
  store i32 1, ptr %20, align 4, !tbaa !9
  %47 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %47, ptr %15, align 4, !tbaa !9
  br label %441

48:                                               ; preds = %6
  store i32 1, ptr %20, align 4, !tbaa !9
  %49 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %49, ptr %15, align 4, !tbaa !9
  %50 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %50, ptr %20, align 4, !tbaa !9
  %51 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %51, ptr %21, align 4, !tbaa !9
  %52 = load i32, ptr %21, align 4, !tbaa !9
  %53 = load i32, ptr %20, align 4, !tbaa !9
  %54 = sub i32 %53, %52
  store i32 %54, ptr %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %55 = load i32, ptr %21, align 4, !tbaa !9
  %56 = load i32, ptr %20, align 4, !tbaa !9
  %57 = sub i32 %56, %55
  store i32 %57, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %58 = load i32, ptr %21, align 4, !tbaa !9
  %59 = and i32 %58, 31
  %60 = load i32, ptr %20, align 4, !tbaa !9
  %61 = lshr i32 %60, %59
  store i32 %61, ptr %20, align 4, !tbaa !9
  %62 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %62, ptr %21, align 4, !tbaa !9
  %63 = load i32, ptr %21, align 4, !tbaa !9
  %64 = load i32, ptr %20, align 4, !tbaa !9
  %65 = add i32 %64, %63
  store i32 %65, ptr %20, align 4, !tbaa !9
  %66 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %66, ptr %18, align 4, !tbaa !9
  %67 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %67, ptr %21, align 4, !tbaa !9
  %68 = load i32, ptr %20, align 4, !tbaa !9
  %69 = load i32, ptr %21, align 4, !tbaa !9
  %70 = icmp ult i32 %68, %69
  %71 = zext i1 %70 to i32
  store i32 %71, ptr %20, align 4, !tbaa !9
  %72 = load i32, ptr %20, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %48
  br label %441

75:                                               ; preds = %48
  %76 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %76, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %77 = load i32, ptr %21, align 4, !tbaa !9
  %78 = load i32, ptr %20, align 4, !tbaa !9
  %79 = add i32 %78, %77
  store i32 %79, ptr %20, align 4, !tbaa !9
  %80 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %80, ptr %19, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %439, %75
  %82 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %82, ptr %20, align 4, !tbaa !9
  %83 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %83, ptr %21, align 4, !tbaa !9
  %84 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %84, ptr %22, align 4, !tbaa !9
  %85 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %85, ptr %23, align 4, !tbaa !9
  %86 = load i32, ptr %23, align 4, !tbaa !9
  %87 = load i32, ptr %22, align 4, !tbaa !9
  %88 = sub i32 %87, %86
  store i32 %88, ptr %22, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  %89 = load i32, ptr %23, align 4, !tbaa !9
  %90 = and i32 %89, 31
  %91 = load i32, ptr %22, align 4, !tbaa !9
  %92 = shl i32 %91, %90
  store i32 %92, ptr %22, align 4, !tbaa !9
  %93 = load i32, ptr %22, align 4, !tbaa !9
  %94 = load i32, ptr %21, align 4, !tbaa !9
  %95 = add i32 %94, %93
  store i32 %95, ptr %21, align 4, !tbaa !9
  %96 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %96, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %97 = load i32, ptr %22, align 4, !tbaa !9
  %98 = load i32, ptr %21, align 4, !tbaa !9
  %99 = add i32 %98, %97
  store i32 %99, ptr %21, align 4, !tbaa !9
  %100 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %100, ptr %14, align 4, !tbaa !9
  %101 = load i32, ptr %20, align 4, !tbaa !9
  %102 = load i32, ptr %21, align 4, !tbaa !9
  %103 = icmp ugt i32 %101, %102
  %104 = zext i1 %103 to i32
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load i32, ptr %20, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %183

107:                                              ; preds = %81
  %108 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %108, ptr %20, align 4, !tbaa !9
  store i32 12, ptr %21, align 4, !tbaa !9
  %109 = load i32, ptr %21, align 4, !tbaa !9
  %110 = load i32, ptr %20, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %20, align 4, !tbaa !9
  %112 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %112, ptr %21, align 4, !tbaa !9
  %113 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %113, ptr %22, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %114, ptr %23, align 4, !tbaa !9
  %115 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %115, ptr %24, align 4, !tbaa !9
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load i32, ptr %20, align 4, !tbaa !9
  %118 = load i32, ptr %21, align 4, !tbaa !9
  %119 = load i32, ptr %22, align 4, !tbaa !9
  %120 = load i32, ptr %23, align 4, !tbaa !9
  %121 = load i32, ptr %24, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3A_less0x28hermes0x3A0x3Avm0x3A0x3ASortModel0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20int0x3E0x3E0x20const0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %122, ptr %20, align 4, !tbaa !9
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %20, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = add i64 %126, 12
  %128 = call i32 @i32_load16_u(ptr noundef %124, i64 noundef %127)
  store i32 %128, ptr %20, align 4, !tbaa !9
  %129 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %129, ptr %17, align 4, !tbaa !9
  store i32 255, ptr %21, align 4, !tbaa !9
  %130 = load i32, ptr %21, align 4, !tbaa !9
  %131 = load i32, ptr %20, align 4, !tbaa !9
  %132 = and i32 %131, %130
  store i32 %132, ptr %20, align 4, !tbaa !9
  %133 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %133, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %134 = load i32, ptr %20, align 4, !tbaa !9
  %135 = load i32, ptr %21, align 4, !tbaa !9
  %136 = icmp ne i32 %134, %135
  %137 = zext i1 %136 to i32
  store i32 %137, ptr %20, align 4, !tbaa !9
  %138 = load i32, ptr %20, align 4, !tbaa !9
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %167

140:                                              ; preds = %107
  %141 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %141, ptr %20, align 4, !tbaa !9
  %142 = load i32, ptr %20, align 4, !tbaa !9
  %143 = icmp ne i32 %142, 0
  %144 = xor i1 %143, true
  %145 = zext i1 %144 to i32
  store i32 %145, ptr %20, align 4, !tbaa !9
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %149

148:                                              ; preds = %140
  br label %441

149:                                              ; preds = %140
  store i32 0, ptr %20, align 4, !tbaa !9
  %150 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %150, ptr %13, align 4, !tbaa !9
  store i32 109676, ptr %21, align 4, !tbaa !9
  %151 = load i32, ptr %21, align 4, !tbaa !9
  %152 = load i32, ptr %20, align 4, !tbaa !9
  %153 = add i32 %152, %151
  store i32 %153, ptr %20, align 4, !tbaa !9
  %154 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %154, ptr %21, align 4, !tbaa !9
  store i32 77564, ptr %22, align 4, !tbaa !9
  %155 = load i32, ptr %22, align 4, !tbaa !9
  %156 = load i32, ptr %21, align 4, !tbaa !9
  %157 = add i32 %156, %155
  store i32 %157, ptr %21, align 4, !tbaa !9
  store i32 223, ptr %22, align 4, !tbaa !9
  %158 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %158, ptr %23, align 4, !tbaa !9
  store i32 90402, ptr %24, align 4, !tbaa !9
  %159 = load i32, ptr %24, align 4, !tbaa !9
  %160 = load i32, ptr %23, align 4, !tbaa !9
  %161 = add i32 %160, %159
  store i32 %161, ptr %23, align 4, !tbaa !9
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = load i32, ptr %20, align 4, !tbaa !9
  %164 = load i32, ptr %21, align 4, !tbaa !9
  %165 = load i32, ptr %22, align 4, !tbaa !9
  %166 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef %166)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

167:                                              ; preds = %107
  %168 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %168, ptr %20, align 4, !tbaa !9
  %169 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %169, ptr %21, align 4, !tbaa !9
  %170 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %170, ptr %22, align 4, !tbaa !9
  store i32 256, ptr %23, align 4, !tbaa !9
  %171 = load i32, ptr %23, align 4, !tbaa !9
  %172 = load i32, ptr %22, align 4, !tbaa !9
  %173 = and i32 %172, %171
  store i32 %173, ptr %22, align 4, !tbaa !9
  %174 = load i32, ptr %22, align 4, !tbaa !9
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %178

176:                                              ; preds = %167
  %177 = load i32, ptr %20, align 4, !tbaa !9
  br label %180

178:                                              ; preds = %167
  %179 = load i32, ptr %21, align 4, !tbaa !9
  br label %180

180:                                              ; preds = %178, %176
  %181 = phi i32 [ %177, %176 ], [ %179, %178 ]
  store i32 %181, ptr %20, align 4, !tbaa !9
  %182 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %182, ptr %13, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %180, %81
  %184 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %184, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %185 = load i32, ptr %21, align 4, !tbaa !9
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %188, ptr %21, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %189, ptr %22, align 4, !tbaa !9
  %190 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %190, ptr %23, align 4, !tbaa !9
  %191 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %191, ptr %24, align 4, !tbaa !9
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = load i32, ptr %20, align 4, !tbaa !9
  %194 = load i32, ptr %21, align 4, !tbaa !9
  %195 = load i32, ptr %22, align 4, !tbaa !9
  %196 = load i32, ptr %23, align 4, !tbaa !9
  %197 = load i32, ptr %24, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3A_less0x28hermes0x3A0x3Avm0x3A0x3ASortModel0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20int0x3E0x3E0x20const0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef %192, i32 noundef %193, i32 noundef %194, i32 noundef %195, i32 noundef %196, i32 noundef %197)
  %198 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %198, ptr %20, align 4, !tbaa !9
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.w2c_hermes, ptr %199, i32 0, i32 6
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = zext i32 %201 to i64
  %203 = add i64 %202, 8
  %204 = call i32 @i32_load16_u(ptr noundef %200, i64 noundef %203)
  store i32 %204, ptr %20, align 4, !tbaa !9
  %205 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %205, ptr %14, align 4, !tbaa !9
  store i32 255, ptr %21, align 4, !tbaa !9
  %206 = load i32, ptr %21, align 4, !tbaa !9
  %207 = load i32, ptr %20, align 4, !tbaa !9
  %208 = and i32 %207, %206
  store i32 %208, ptr %20, align 4, !tbaa !9
  %209 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %209, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %210 = load i32, ptr %20, align 4, !tbaa !9
  %211 = load i32, ptr %21, align 4, !tbaa !9
  %212 = icmp ne i32 %210, %211
  %213 = zext i1 %212 to i32
  store i32 %213, ptr %20, align 4, !tbaa !9
  %214 = load i32, ptr %20, align 4, !tbaa !9
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %243

216:                                              ; preds = %183
  %217 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %217, ptr %20, align 4, !tbaa !9
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = icmp ne i32 %218, 0
  %220 = xor i1 %219, true
  %221 = zext i1 %220 to i32
  store i32 %221, ptr %20, align 4, !tbaa !9
  %222 = load i32, ptr %20, align 4, !tbaa !9
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %225

224:                                              ; preds = %216
  br label %441

225:                                              ; preds = %216
  store i32 0, ptr %20, align 4, !tbaa !9
  %226 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %226, ptr %13, align 4, !tbaa !9
  store i32 109676, ptr %21, align 4, !tbaa !9
  %227 = load i32, ptr %21, align 4, !tbaa !9
  %228 = load i32, ptr %20, align 4, !tbaa !9
  %229 = add i32 %228, %227
  store i32 %229, ptr %20, align 4, !tbaa !9
  %230 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %230, ptr %21, align 4, !tbaa !9
  store i32 77564, ptr %22, align 4, !tbaa !9
  %231 = load i32, ptr %22, align 4, !tbaa !9
  %232 = load i32, ptr %21, align 4, !tbaa !9
  %233 = add i32 %232, %231
  store i32 %233, ptr %21, align 4, !tbaa !9
  store i32 223, ptr %22, align 4, !tbaa !9
  %234 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %234, ptr %23, align 4, !tbaa !9
  store i32 90402, ptr %24, align 4, !tbaa !9
  %235 = load i32, ptr %24, align 4, !tbaa !9
  %236 = load i32, ptr %23, align 4, !tbaa !9
  %237 = add i32 %236, %235
  store i32 %237, ptr %23, align 4, !tbaa !9
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = load i32, ptr %20, align 4, !tbaa !9
  %240 = load i32, ptr %21, align 4, !tbaa !9
  %241 = load i32, ptr %22, align 4, !tbaa !9
  %242 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %238, i32 noundef %239, i32 noundef %240, i32 noundef %241, i32 noundef %242)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

243:                                              ; preds = %183
  store i32 1, ptr %20, align 4, !tbaa !9
  %244 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %244, ptr %15, align 4, !tbaa !9
  %245 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %245, ptr %20, align 4, !tbaa !9
  store i32 256, ptr %21, align 4, !tbaa !9
  %246 = load i32, ptr %21, align 4, !tbaa !9
  %247 = load i32, ptr %20, align 4, !tbaa !9
  %248 = and i32 %247, %246
  store i32 %248, ptr %20, align 4, !tbaa !9
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = icmp ne i32 %249, 0
  %251 = xor i1 %250, true
  %252 = zext i1 %251 to i32
  store i32 %252, ptr %20, align 4, !tbaa !9
  %253 = load i32, ptr %20, align 4, !tbaa !9
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %256

255:                                              ; preds = %243
  br label %441

256:                                              ; preds = %243
  %257 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %257, ptr %20, align 4, !tbaa !9
  %258 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %258, ptr %21, align 4, !tbaa !9
  %259 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %259, ptr %22, align 4, !tbaa !9
  %260 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %260, ptr %23, align 4, !tbaa !9
  %261 = load ptr, ptr %7, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 6
  %263 = load i32, ptr %23, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = call i32 @i32_load(ptr noundef %262, i64 noundef %264)
  store i32 %265, ptr %23, align 4, !tbaa !9
  %266 = load ptr, ptr %7, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %23, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = call i32 @i32_load(ptr noundef %267, i64 noundef %269)
  store i32 %270, ptr %23, align 4, !tbaa !9
  %271 = load i32, ptr %23, align 4, !tbaa !9
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.w2c_hermes, ptr %272, i32 0, i32 7
  %274 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %273, i32 0, i32 2
  %275 = load i32, ptr %274, align 4, !tbaa !17
  %276 = icmp ult i32 %271, %275
  br i1 %276, label %277, label %300

277:                                              ; preds = %256
  %278 = load ptr, ptr %7, 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 !18
  %282 = load i32, ptr %23, 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 1
  %286 = load ptr, ptr %285, align 8, !tbaa !19
  %287 = icmp ne ptr %286, null
  br i1 %287, label %288, label %300

288:                                              ; preds = %277
  %289 = load ptr, ptr @w2c_hermes_t6, align 8, !tbaa !5
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 7
  %292 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !18
  %294 = load i32, ptr %23, align 4, !tbaa !9
  %295 = zext i32 %294 to i64
  %296 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %293, i64 %295
  %297 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %296, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8, !tbaa !21
  %299 = call zeroext i1 @func_types_eq(ptr noundef %289, ptr noundef %298)
  br label %300

300:                                              ; preds = %288, %277, %256
  %301 = phi i1 [ false, %277 ], [ false, %256 ], [ %299, %288 ]
  %302 = xor i1 %301, true
  %303 = xor i1 %302, true
  %304 = zext i1 %303 to i32
  %305 = sext i32 %304 to i64
  %306 = call i64 @llvm.expect.i64(i64 %305, i64 1)
  %307 = icmp ne i64 %306, 0
  br i1 %307, label %310, label %308

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

309:                                              ; No predecessors!
  br label %310

310:                                              ; preds = %309, %300
  %311 = phi i1 [ true, %300 ], [ false, %309 ]
  %312 = zext i1 %311 to i32
  %313 = load ptr, ptr %7, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 7
  %315 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %314, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8, !tbaa !18
  %317 = load i32, ptr %23, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %316, i64 %318
  %320 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %319, i32 0, i32 1
  %321 = load ptr, ptr %320, align 8, !tbaa !19
  %322 = load ptr, ptr %7, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 7
  %324 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %323, i32 0, i32 0
  %325 = load ptr, ptr %324, align 8, !tbaa !18
  %326 = load i32, ptr %23, align 4, !tbaa !9
  %327 = zext i32 %326 to i64
  %328 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %325, i64 %327
  %329 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %328, i32 0, i32 2
  %330 = load ptr, ptr %329, align 8, !tbaa !22
  %331 = load i32, ptr %20, align 4, !tbaa !9
  %332 = load i32, ptr %21, align 4, !tbaa !9
  %333 = load i32, ptr %22, align 4, !tbaa !9
  %334 = call i32 %321(ptr noundef %330, i32 noundef %331, i32 noundef %332, i32 noundef %333)
  store i32 %334, ptr %20, align 4, !tbaa !9
  %335 = load i32, ptr %20, align 4, !tbaa !9
  %336 = icmp ne i32 %335, 0
  %337 = xor i1 %336, true
  %338 = zext i1 %337 to i32
  store i32 %338, ptr %20, align 4, !tbaa !9
  %339 = load i32, ptr %20, align 4, !tbaa !9
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %343

341:                                              ; preds = %310
  store i32 0, ptr %20, align 4, !tbaa !9
  %342 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %342, ptr %15, align 4, !tbaa !9
  br label %441

343:                                              ; preds = %310
  %344 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %344, ptr %20, align 4, !tbaa !9
  %345 = load ptr, ptr %7, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.w2c_hermes, ptr %345, i32 0, i32 6
  %347 = load i32, ptr %20, align 4, !tbaa !9
  %348 = zext i32 %347 to i64
  %349 = add i64 %348, 4
  %350 = call i32 @i32_load(ptr noundef %346, i64 noundef %349)
  store i32 %350, ptr %20, align 4, !tbaa !9
  %351 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %351, ptr %21, align 4, !tbaa !9
  %352 = load ptr, ptr %7, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.w2c_hermes, ptr %352, i32 0, i32 6
  %354 = load i32, ptr %21, align 4, !tbaa !9
  %355 = zext i32 %354 to i64
  %356 = call i32 @i32_load(ptr noundef %353, i64 noundef %355)
  store i32 %356, ptr %21, align 4, !tbaa !9
  %357 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %357, ptr %14, align 4, !tbaa !9
  %358 = load i32, ptr %21, align 4, !tbaa !9
  %359 = load i32, ptr %20, align 4, !tbaa !9
  %360 = sub i32 %359, %358
  store i32 %360, ptr %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %361 = load i32, ptr %20, align 4, !tbaa !9
  %362 = load i32, ptr %21, align 4, !tbaa !9
  %363 = and i32 %362, 31
  %364 = ashr i32 %361, %363
  store i32 %364, ptr %20, align 4, !tbaa !9
  %365 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %365, ptr %17, align 4, !tbaa !9
  %366 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %366, ptr %21, align 4, !tbaa !9
  %367 = load i32, ptr %20, align 4, !tbaa !9
  %368 = load i32, ptr %21, align 4, !tbaa !9
  %369 = icmp ule i32 %367, %368
  %370 = zext i1 %369 to i32
  store i32 %370, ptr %20, align 4, !tbaa !9
  %371 = load i32, ptr %20, align 4, !tbaa !9
  %372 = icmp ne i32 %371, 0
  br i1 %372, label %373, label %374

373:                                              ; preds = %343
  br label %450

374:                                              ; preds = %343
  %375 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %375, ptr %20, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %376, ptr %21, align 4, !tbaa !9
  %377 = load i32, ptr %20, align 4, !tbaa !9
  %378 = load i32, ptr %21, align 4, !tbaa !9
  %379 = icmp uge i32 %377, %378
  %380 = zext i1 %379 to i32
  store i32 %380, ptr %20, align 4, !tbaa !9
  %381 = load i32, ptr %20, align 4, !tbaa !9
  %382 = icmp ne i32 %381, 0
  br i1 %382, label %383, label %384

383:                                              ; preds = %374
  br label %468

384:                                              ; preds = %374
  %385 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %385, ptr %20, align 4, !tbaa !9
  %386 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %386, ptr %21, align 4, !tbaa !9
  store i32 2, ptr %22, align 4, !tbaa !9
  %387 = load i32, ptr %22, align 4, !tbaa !9
  %388 = and i32 %387, 31
  %389 = load i32, ptr %21, align 4, !tbaa !9
  %390 = shl i32 %389, %388
  store i32 %390, ptr %21, align 4, !tbaa !9
  %391 = load i32, ptr %21, align 4, !tbaa !9
  %392 = load i32, ptr %20, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %20, align 4, !tbaa !9
  %394 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %394, ptr %11, align 4, !tbaa !9
  %395 = load ptr, ptr %7, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.w2c_hermes, ptr %395, i32 0, i32 6
  %397 = load i32, ptr %20, align 4, !tbaa !9
  %398 = zext i32 %397 to i64
  %399 = call i32 @i32_load(ptr noundef %396, i64 noundef %398)
  store i32 %399, ptr %20, align 4, !tbaa !9
  %400 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %400, ptr %17, align 4, !tbaa !9
  %401 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %401, ptr %20, align 4, !tbaa !9
  %402 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %402, ptr %21, align 4, !tbaa !9
  %403 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %403, ptr %22, align 4, !tbaa !9
  store i32 2, ptr %23, align 4, !tbaa !9
  %404 = load i32, ptr %23, align 4, !tbaa !9
  %405 = and i32 %404, 31
  %406 = load i32, ptr %22, align 4, !tbaa !9
  %407 = shl i32 %406, %405
  store i32 %407, ptr %22, align 4, !tbaa !9
  %408 = load i32, ptr %22, align 4, !tbaa !9
  %409 = load i32, ptr %21, align 4, !tbaa !9
  %410 = add i32 %409, %408
  store i32 %410, ptr %21, align 4, !tbaa !9
  %411 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %411, ptr %14, align 4, !tbaa !9
  %412 = load ptr, ptr %7, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.w2c_hermes, ptr %412, i32 0, i32 6
  %414 = load i32, ptr %21, align 4, !tbaa !9
  %415 = zext i32 %414 to i64
  %416 = call i32 @i32_load(ptr noundef %413, i64 noundef %415)
  store i32 %416, ptr %21, align 4, !tbaa !9
  %417 = load ptr, ptr %7, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.w2c_hermes, ptr %417, i32 0, i32 6
  %419 = load i32, ptr %20, align 4, !tbaa !9
  %420 = zext i32 %419 to i64
  %421 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %418, i64 noundef %420, i32 noundef %421)
  %422 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %422, ptr %20, align 4, !tbaa !9
  %423 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %423, ptr %21, align 4, !tbaa !9
  %424 = load ptr, ptr %7, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.w2c_hermes, ptr %424, i32 0, i32 6
  %426 = load i32, ptr %20, align 4, !tbaa !9
  %427 = zext i32 %426 to i64
  %428 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %425, i64 noundef %427, i32 noundef %428)
  %429 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %429, ptr %20, align 4, !tbaa !9
  %430 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %430, ptr %11, align 4, !tbaa !9
  %431 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %431, ptr %20, align 4, !tbaa !9
  %432 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %432, ptr %21, align 4, !tbaa !9
  %433 = load i32, ptr %20, align 4, !tbaa !9
  %434 = load i32, ptr %21, align 4, !tbaa !9
  %435 = icmp ule i32 %433, %434
  %436 = zext i1 %435 to i32
  store i32 %436, ptr %20, align 4, !tbaa !9
  %437 = load i32, ptr %20, align 4, !tbaa !9
  %438 = icmp ne i32 %437, 0
  br i1 %438, label %439, label %440

439:                                              ; preds = %384
  br label %81

440:                                              ; preds = %384
  br label %441

441:                                              ; preds = %440, %341, %255, %224, %148, %74, %46
  %442 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %442, ptr %20, align 4, !tbaa !9
  store i32 16, ptr %21, align 4, !tbaa !9
  %443 = load i32, ptr %21, align 4, !tbaa !9
  %444 = load i32, ptr %20, align 4, !tbaa !9
  %445 = add i32 %444, %443
  store i32 %445, ptr %20, align 4, !tbaa !9
  %446 = load i32, ptr %20, align 4, !tbaa !9
  %447 = load ptr, ptr %7, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.w2c_hermes, ptr %447, i32 0, i32 3
  store i32 %446, ptr %448, align 8, !tbaa !11
  %449 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %449, ptr %20, align 4, !tbaa !9
  br label %486

450:                                              ; preds = %373
  store i32 0, ptr %20, align 4, !tbaa !9
  %451 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %451, ptr %13, align 4, !tbaa !9
  store i32 169099, ptr %21, align 4, !tbaa !9
  %452 = load i32, ptr %21, align 4, !tbaa !9
  %453 = load i32, ptr %20, align 4, !tbaa !9
  %454 = add i32 %453, %452
  store i32 %454, ptr %20, align 4, !tbaa !9
  %455 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %455, ptr %21, align 4, !tbaa !9
  store i32 60063, ptr %22, align 4, !tbaa !9
  %456 = load i32, ptr %22, align 4, !tbaa !9
  %457 = load i32, ptr %21, align 4, !tbaa !9
  %458 = add i32 %457, %456
  store i32 %458, ptr %21, align 4, !tbaa !9
  store i32 48, ptr %22, align 4, !tbaa !9
  %459 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %459, ptr %23, align 4, !tbaa !9
  store i32 63282, ptr %24, align 4, !tbaa !9
  %460 = load i32, ptr %24, align 4, !tbaa !9
  %461 = load i32, ptr %23, align 4, !tbaa !9
  %462 = add i32 %461, %460
  store i32 %462, ptr %23, align 4, !tbaa !9
  %463 = load ptr, ptr %7, align 8, !tbaa !5
  %464 = load i32, ptr %20, align 4, !tbaa !9
  %465 = load i32, ptr %21, align 4, !tbaa !9
  %466 = load i32, ptr %22, align 4, !tbaa !9
  %467 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %463, i32 noundef %464, i32 noundef %465, i32 noundef %466, i32 noundef %467)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

468:                                              ; preds = %383
  store i32 0, ptr %20, align 4, !tbaa !9
  %469 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %469, ptr %13, align 4, !tbaa !9
  store i32 169052, ptr %21, align 4, !tbaa !9
  %470 = load i32, ptr %21, align 4, !tbaa !9
  %471 = load i32, ptr %20, align 4, !tbaa !9
  %472 = add i32 %471, %470
  store i32 %472, ptr %20, align 4, !tbaa !9
  %473 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %473, ptr %21, align 4, !tbaa !9
  store i32 60063, ptr %22, align 4, !tbaa !9
  %474 = load i32, ptr %22, align 4, !tbaa !9
  %475 = load i32, ptr %21, align 4, !tbaa !9
  %476 = add i32 %475, %474
  store i32 %476, ptr %21, align 4, !tbaa !9
  store i32 49, ptr %22, align 4, !tbaa !9
  %477 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %477, ptr %23, align 4, !tbaa !9
  store i32 63282, ptr %24, align 4, !tbaa !9
  %478 = load i32, ptr %24, align 4, !tbaa !9
  %479 = load i32, ptr %23, align 4, !tbaa !9
  %480 = add i32 %479, %478
  store i32 %480, ptr %23, align 4, !tbaa !9
  %481 = load ptr, ptr %7, align 8, !tbaa !5
  %482 = load i32, ptr %20, align 4, !tbaa !9
  %483 = load i32, ptr %21, align 4, !tbaa !9
  %484 = load i32, ptr %22, align 4, !tbaa !9
  %485 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %481, i32 noundef %482, i32 noundef %483, i32 noundef %484, i32 noundef %485)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

486:                                              ; preds = %441
  %487 = load i32, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  ret i32 %487
}

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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
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, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!12, !10, i64 92}
!18 = !{!12, !6, i64 80}
!19 = !{!20, !6, i64 8}
!20 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!20, !6, i64 0}
!22 = !{!20, !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_t6 = 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: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #1

; 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 i32 @i32_load16_u(ptr noundef, i64 noundef) local_unnamed_addr #0

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 zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 256) i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3AheapFixDown0x28hermes0x3A0x3Avm0x3A0x3ASortModel0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20int0x3E0x3E0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #3 {
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, -16
  store i32 %9, ptr %7, align 8, !tbaa !5
  %10 = sub i32 %5, %4
  %11 = icmp ult i32 %10, 2
  br i1 %11, label %.loopexit, label %12

12:                                               ; preds = %6
  %reass.sub = sub i32 %5, %3
  %13 = add i32 %reass.sub, -2
  %14 = lshr i32 %13, 1
  %15 = add i32 %14, %3
  %16 = icmp ult i32 %15, %4
  br i1 %16, label %.loopexit, label %17

17:                                               ; preds = %12
  %18 = add i32 %3, 1
  %19 = add i32 %8, -4
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  %21 = zext i32 %9 to i64
  %22 = add nuw nsw i64 %21, 12
  %23 = add i32 %8, -8
  %24 = add nuw nsw i64 %21, 8
  %25 = zext i32 %1 to i64
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  %27 = getelementptr inbounds i8, ptr %0, i64 92
  %28 = load ptr, ptr @w2c_hermes_t6, align 8
  %29 = zext i32 %2 to i64
  %30 = add nuw nsw i64 %29, 4
  br label %31

31:                                               ; preds = %78, %17
  %.0262 = phi i32 [ %4, %17 ], [ %.0261, %78 ]
  %32 = sub i32 %.0262, %3
  %33 = shl i32 %32, 1
  %34 = add i32 %18, %33
  %35 = add i32 %34, 1
  %36 = icmp ult i32 %35, %5
  br i1 %36, label %37, label %44

37:                                               ; preds = %31
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3A_less0x28hermes0x3A0x3Avm0x3A0x3ASortModel0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20int0x3E0x3E0x20const0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %1, i32 noundef %2, i32 noundef %34, i32 noundef %35)
  %38 = tail call i32 @i32_load16_u(ptr noundef nonnull %20, i64 noundef %22)
  %trunc = trunc i32 %38 to i8
  switch i8 %trunc, label %39 [
    i8 1, label %40
    i8 0, label %.loopexit
  ]

39:                                               ; preds = %37
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109676, i32 noundef 77564, i32 noundef 223, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

40:                                               ; preds = %37
  %41 = lshr i32 %38, 8
  %42 = and i32 %41, 1
  %43 = add i32 %42, %34
  br label %44

44:                                               ; preds = %40, %31
  %.0261 = phi i32 [ %43, %40 ], [ %34, %31 ]
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3A0x28anonymous0x20namespace0x290x3A0x3A_less0x28hermes0x3A0x3Avm0x3A0x3ASortModel0x2A0x2C0x20std0x3A0x3A_0x5F20x3A0x3Avector0x3Cunsigned0x20int0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cunsigned0x20int0x3E0x3E0x20const0x260x2C0x20unsigned0x20int0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef %23, i32 noundef %1, i32 noundef %2, i32 noundef %.0262, i32 noundef %.0261)
  %45 = tail call i32 @i32_load16_u(ptr noundef nonnull %20, i64 noundef %24)
  %trunc280 = trunc i32 %45 to i8
  switch i8 %trunc280, label %46 [
    i8 1, label %47
    i8 0, label %.loopexit
  ]

46:                                               ; preds = %44
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 109676, i32 noundef 77564, i32 noundef 223, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

47:                                               ; preds = %44
  %48 = and i32 %45, 256
  %.not272 = icmp eq i32 %48, 0
  br i1 %.not272, label %.loopexit, label %49

49:                                               ; preds = %47
  %50 = tail call i32 @i32_load(ptr noundef nonnull %20, i64 noundef %25)
  %51 = zext i32 %50 to i64
  %52 = tail call i32 @i32_load(ptr noundef nonnull %20, i64 noundef %51)
  %53 = load i32, ptr %27, align 4, !tbaa !15
  %54 = icmp ult i32 %52, %53
  br i1 %54, label %55, label %.critedge, !prof !16

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

61:                                               ; preds = %55
  %62 = load ptr, ptr %58, align 8, !tbaa !21
  %63 = tail call zeroext i1 @func_types_eq(ptr noundef %28, ptr noundef %62)
  br i1 %63, label %64, label %.critedge, !prof !16

.critedge:                                        ; preds = %55, %49, %61
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

64:                                               ; preds = %61
  %65 = load ptr, ptr %26, align 8, !tbaa !17
  %66 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %65, i64 %57
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = load ptr, ptr %67, align 8, !tbaa !18
  %69 = getelementptr inbounds i8, ptr %66, i64 16
  %70 = load ptr, ptr %69, align 8, !tbaa !22
  %71 = tail call i32 %68(ptr noundef %70, i32 noundef %1, i32 noundef %.0262, i32 noundef %.0261) #4
  %.not274 = icmp eq i32 %71, 0
  br i1 %.not274, label %.loopexit, label %72

72:                                               ; preds = %64
  %73 = tail call i32 @i32_load(ptr noundef nonnull %20, i64 noundef %30)
  %74 = tail call i32 @i32_load(ptr noundef nonnull %20, i64 noundef %29)
  %75 = sub i32 %73, %74
  %76 = ashr i32 %75, 2
  %.not275 = icmp ugt i32 %76, %.0262
  br i1 %.not275, label %77, label %87

77:                                               ; preds = %72
  %.not276 = icmp ult i32 %.0261, %76
  br i1 %.not276, label %78, label %88

78:                                               ; preds = %77
  %79 = shl i32 %.0262, 2
  %80 = add i32 %74, %79
  %81 = zext i32 %80 to i64
  %82 = tail call i32 @i32_load(ptr noundef nonnull %20, i64 noundef %81)
  %83 = shl i32 %.0261, 2
  %84 = add i32 %74, %83
  %85 = zext i32 %84 to i64
  %86 = tail call i32 @i32_load(ptr noundef nonnull %20, i64 noundef %85)
  tail call void @i32_store(ptr noundef nonnull %20, i64 noundef %81, i32 noundef %86)
  tail call void @i32_store(ptr noundef nonnull %20, i64 noundef %85, i32 noundef %82)
  %.not277 = icmp ugt i32 %.0261, %15
  br i1 %.not277, label %.loopexit, label %31

.loopexit:                                        ; preds = %64, %44, %37, %78, %47, %6, %12
  %.0 = phi i32 [ 1, %12 ], [ 1, %6 ], [ 0, %64 ], [ 0, %44 ], [ 0, %37 ], [ 1, %78 ], [ 1, %47 ]
  store i32 %8, ptr %7, align 8, !tbaa !5
  ret i32 %.0

87:                                               ; preds = %72
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 169099, i32 noundef 60063, i32 noundef 48, i32 noundef 63282) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

88:                                               ; preds = %77
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 169052, i32 noundef 60063, i32 noundef 49, i32 noundef 63282) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  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 = { 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 = !{!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 = !{!19, !7, i64 0}
!22 = !{!19, !7, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass