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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

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

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

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

51:                                               ; preds = %7
  %52 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %52, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %53 = load i64, ptr %22, align 8, !tbaa !11
  %54 = load i64, ptr %23, align 8, !tbaa !11
  %55 = icmp ule i64 %53, %54
  %56 = zext i1 %55 to i32
  store i32 %56, ptr %17, align 4, !tbaa !9
  %57 = load i32, ptr %17, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %51
  br label %321

60:                                               ; preds = %51
  %61 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %61, ptr %17, align 4, !tbaa !9
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 4
  %67 = call i32 @i32_load(ptr noundef %63, i64 noundef %66)
  store i32 %67, ptr %17, align 4, !tbaa !9
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.w2c_hermes, ptr %68, i32 0, i32 6
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = call i64 @i64_load(ptr noundef %69, i64 noundef %71)
  store i64 %72, ptr %22, align 8, !tbaa !11
  %73 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %73, ptr %16, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %74 = load i64, ptr %22, align 8, !tbaa !11
  %75 = load i64, ptr %23, align 8, !tbaa !11
  %76 = and i64 %75, 63
  %77 = ashr i64 %74, %76
  store i64 %77, ptr %22, align 8, !tbaa !11
  %78 = load i64, ptr %22, align 8, !tbaa !11
  %79 = trunc i64 %78 to i32
  store i32 %79, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %80 = load i32, ptr %17, align 4, !tbaa !9
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = icmp ne i32 %80, %81
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %17, align 4, !tbaa !9
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %60
  br label %339

87:                                               ; preds = %60
  %88 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %88, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %89 = load i64, ptr %22, align 8, !tbaa !11
  %90 = load i64, ptr %23, align 8, !tbaa !11
  %91 = icmp ule i64 %89, %90
  %92 = zext i1 %91 to i32
  store i32 %92, ptr %17, align 4, !tbaa !9
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %87
  br label %357

96:                                               ; preds = %87
  %97 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %97, ptr %17, align 4, !tbaa !9
  %98 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %98, ptr %18, align 4, !tbaa !9
  %99 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %99, ptr %24, align 8, !tbaa !11
  %100 = load i64, ptr %24, align 8, !tbaa !11
  %101 = trunc i64 %100 to i32
  store i32 %101, ptr %19, align 4, !tbaa !9
  %102 = load i64, ptr %16, align 8, !tbaa !11
  store i64 %102, ptr %25, align 8, !tbaa !11
  %103 = load i64, ptr %25, align 8, !tbaa !11
  %104 = trunc i64 %103 to i32
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = load i32, ptr %17, align 4, !tbaa !9
  %107 = load i32, ptr %18, align 4, !tbaa !9
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = load i32, ptr %20, align 4, !tbaa !9
  %110 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109)
  store i32 %110, ptr %17, align 4, !tbaa !9
  %111 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %111, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %112, ptr %17, align 4, !tbaa !9
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.w2c_hermes, ptr %113, i32 0, i32 6
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = add i64 %116, 4
  %118 = call i32 @i32_load(ptr noundef %114, i64 noundef %117)
  store i32 %118, ptr %17, align 4, !tbaa !9
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %17, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = call i64 @i64_load(ptr noundef %120, i64 noundef %122)
  store i64 %123, ptr %22, align 8, !tbaa !11
  %124 = load i64, ptr %22, align 8, !tbaa !11
  store i64 %124, ptr %15, align 8, !tbaa !11
  store i64 48, ptr %23, align 8, !tbaa !11
  %125 = load i64, ptr %22, align 8, !tbaa !11
  %126 = load i64, ptr %23, align 8, !tbaa !11
  %127 = and i64 %126, 63
  %128 = ashr i64 %125, %127
  store i64 %128, ptr %22, align 8, !tbaa !11
  %129 = load i64, ptr %22, align 8, !tbaa !11
  %130 = trunc i64 %129 to i32
  store i32 %130, ptr %17, align 4, !tbaa !9
  store i32 -1, ptr %18, align 4, !tbaa !9
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = load i32, ptr %18, align 4, !tbaa !9
  %133 = icmp ne i32 %131, %132
  %134 = zext i1 %133 to i32
  store i32 %134, ptr %17, align 4, !tbaa !9
  %135 = load i32, ptr %17, align 4, !tbaa !9
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %138

137:                                              ; preds = %96
  br label %375

138:                                              ; preds = %96
  %139 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %139, ptr %22, align 8, !tbaa !11
  store i64 -844424930131969, ptr %23, align 8, !tbaa !11
  %140 = load i64, ptr %22, align 8, !tbaa !11
  %141 = load i64, ptr %23, align 8, !tbaa !11
  %142 = icmp ule i64 %140, %141
  %143 = zext i1 %142 to i32
  store i32 %143, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %17, align 4, !tbaa !9
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %138
  br label %393

147:                                              ; preds = %138
  %148 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %148, ptr %17, align 4, !tbaa !9
  store i32 28, ptr %18, align 4, !tbaa !9
  %149 = load i32, ptr %18, align 4, !tbaa !9
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = add i32 %150, %149
  store i32 %151, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %152, ptr %13, align 4, !tbaa !9
  %153 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %153, ptr %23, align 8, !tbaa !11
  %154 = load i64, ptr %23, align 8, !tbaa !11
  %155 = trunc i64 %154 to i32
  store i32 %155, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %156, ptr %12, align 4, !tbaa !9
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.w2c_hermes, ptr %157, i32 0, i32 6
  %159 = load i32, ptr %17, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %158, i64 noundef %160, i32 noundef %161)
  %162 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %162, ptr %17, align 4, !tbaa !9
  store i32 808, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = load i32, ptr %17, align 4, !tbaa !9
  %165 = add i32 %164, %163
  store i32 %165, ptr %17, align 4, !tbaa !9
  %166 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %166, ptr %9, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %167, ptr %17, align 4, !tbaa !9
  %168 = load i32, ptr %17, align 4, !tbaa !9
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %170, label %185

170:                                              ; preds = %147
  %171 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %171, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %172, ptr %18, align 4, !tbaa !9
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = load i32, ptr %17, align 4, !tbaa !9
  %175 = load i32, ptr %18, align 4, !tbaa !9
  %176 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %173, i32 noundef %174, i32 noundef %175)
  store i32 %176, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %17, align 4, !tbaa !9
  %178 = icmp ne i32 %177, 0
  %179 = xor i1 %178, true
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %170
  br label %411

184:                                              ; preds = %170
  br label %185

185:                                              ; preds = %184, %147
  %186 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %186, ptr %17, align 4, !tbaa !9
  store i32 1396, ptr %18, align 4, !tbaa !9
  %187 = load i32, ptr %18, align 4, !tbaa !9
  %188 = load i32, ptr %17, align 4, !tbaa !9
  %189 = add i32 %188, %187
  store i32 %189, ptr %17, align 4, !tbaa !9
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.w2c_hermes, ptr %190, i32 0, i32 6
  %192 = load i32, ptr %17, align 4, !tbaa !9
  %193 = zext i32 %192 to i64
  %194 = call i32 @i32_load(ptr noundef %191, i64 noundef %193)
  store i32 %194, ptr %17, align 4, !tbaa !9
  %195 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %195, ptr %18, align 4, !tbaa !9
  store i32 -4194304, ptr %19, align 4, !tbaa !9
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = load i32, ptr %18, align 4, !tbaa !9
  %198 = and i32 %197, %196
  store i32 %198, ptr %18, align 4, !tbaa !9
  %199 = load i32, ptr %17, align 4, !tbaa !9
  %200 = load i32, ptr %18, align 4, !tbaa !9
  %201 = icmp ne i32 %199, %200
  %202 = zext i1 %201 to i32
  store i32 %202, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %205, label %213

205:                                              ; preds = %185
  %206 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %206, ptr %17, align 4, !tbaa !9
  %207 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %207, ptr %18, align 4, !tbaa !9
  %208 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %208, ptr %19, align 4, !tbaa !9
  %209 = load ptr, ptr %8, align 8, !tbaa !5
  %210 = load i32, ptr %17, align 4, !tbaa !9
  %211 = load i32, ptr %18, align 4, !tbaa !9
  %212 = load i32, ptr %19, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef %212)
  br label %213

213:                                              ; preds = %205, %185
  %214 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %214, ptr %17, align 4, !tbaa !9
  %215 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %215, ptr %18, align 4, !tbaa !9
  %216 = load ptr, ptr %8, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.w2c_hermes, ptr %216, i32 0, i32 6
  %218 = load i32, ptr %17, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = add i64 %219, 32
  %221 = load i32, ptr %18, align 4, !tbaa !9
  call void @i32_store(ptr noundef %217, i64 noundef %220, i32 noundef %221)
  %222 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %222, ptr %17, align 4, !tbaa !9
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %17, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = add i64 %226, 28
  %228 = call i32 @i32_load(ptr noundef %224, i64 noundef %227)
  store i32 %228, ptr %17, align 4, !tbaa !9
  %229 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %229, ptr %10, align 4, !tbaa !9
  %230 = load i32, ptr %17, align 4, !tbaa !9
  %231 = icmp ne i32 %230, 0
  %232 = xor i1 %231, true
  %233 = zext i1 %232 to i32
  store i32 %233, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %237

236:                                              ; preds = %213
  br label %429

237:                                              ; preds = %213
  %238 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %238, ptr %17, align 4, !tbaa !9
  %239 = load ptr, ptr %8, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.w2c_hermes, ptr %239, i32 0, i32 6
  %241 = load i32, ptr %17, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = add i64 %242, 3
  %244 = call i32 @i32_load8_u(ptr noundef %240, i64 noundef %243)
  store i32 %244, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = and i32 %245, 31
  %247 = load i32, ptr %17, align 4, !tbaa !9
  %248 = shl i32 %247, %246
  store i32 %248, ptr %17, align 4, !tbaa !9
  store i32 486539264, ptr %18, align 4, !tbaa !9
  %249 = load i32, ptr %17, align 4, !tbaa !9
  %250 = load i32, ptr %18, align 4, !tbaa !9
  %251 = icmp ne i32 %249, %250
  %252 = zext i1 %251 to i32
  store i32 %252, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %17, align 4, !tbaa !9
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %256

255:                                              ; preds = %237
  br label %447

256:                                              ; preds = %237
  %257 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %257, ptr %17, align 4, !tbaa !9
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.w2c_hermes, ptr %258, i32 0, i32 6
  %260 = load i32, ptr %17, align 4, !tbaa !9
  %261 = zext i32 %260 to i64
  %262 = add i64 %261, 28
  %263 = call i32 @i32_load(ptr noundef %259, i64 noundef %262)
  store i32 %263, ptr %17, align 4, !tbaa !9
  %264 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %264, ptr %10, align 4, !tbaa !9
  %265 = load i32, ptr %17, align 4, !tbaa !9
  %266 = icmp ne i32 %265, 0
  %267 = xor i1 %266, true
  %268 = zext i1 %267 to i32
  store i32 %268, ptr %17, align 4, !tbaa !9
  %269 = load i32, ptr %17, align 4, !tbaa !9
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %256
  br label %465

272:                                              ; preds = %256
  %273 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %273, ptr %17, align 4, !tbaa !9
  %274 = load ptr, ptr %8, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.w2c_hermes, ptr %274, i32 0, i32 6
  %276 = load i32, ptr %17, align 4, !tbaa !9
  %277 = zext i32 %276 to i64
  %278 = add i64 %277, 4
  %279 = call i32 @i32_load(ptr noundef %275, i64 noundef %278)
  store i32 %279, ptr %17, align 4, !tbaa !9
  %280 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %280, ptr %18, align 4, !tbaa !9
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.w2c_hermes, ptr %281, i32 0, i32 6
  %283 = load i32, ptr %18, align 4, !tbaa !9
  %284 = zext i32 %283 to i64
  %285 = call i32 @i32_load(ptr noundef %282, i64 noundef %284)
  store i32 %285, ptr %18, align 4, !tbaa !9
  %286 = load i32, ptr %18, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = sub i32 %287, %286
  store i32 %288, ptr %17, align 4, !tbaa !9
  store i32 3, ptr %18, align 4, !tbaa !9
  %289 = load i32, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %18, align 4, !tbaa !9
  %291 = and i32 %290, 31
  %292 = ashr i32 %289, %291
  store i32 %292, ptr %17, align 4, !tbaa !9
  %293 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %293, ptr %18, align 4, !tbaa !9
  %294 = load i32, ptr %17, align 4, !tbaa !9
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = icmp ule i32 %294, %295
  %297 = zext i1 %296 to i32
  store i32 %297, ptr %17, align 4, !tbaa !9
  %298 = load i32, ptr %17, align 4, !tbaa !9
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %301

300:                                              ; preds = %272
  br label %483

301:                                              ; preds = %272
  %302 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %302, ptr %17, align 4, !tbaa !9
  br label %501

303:                                              ; preds = %7
  store i32 0, ptr %17, align 4, !tbaa !9
  %304 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %304, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %305 = load i32, ptr %18, align 4, !tbaa !9
  %306 = load i32, ptr %17, align 4, !tbaa !9
  %307 = add i32 %306, %305
  store i32 %307, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %308, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %309 = load i32, ptr %19, align 4, !tbaa !9
  %310 = load i32, ptr %18, align 4, !tbaa !9
  %311 = add i32 %310, %309
  store i32 %311, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %312 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %312, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %313 = load i32, ptr %21, align 4, !tbaa !9
  %314 = load i32, ptr %20, align 4, !tbaa !9
  %315 = add i32 %314, %313
  store i32 %315, ptr %20, align 4, !tbaa !9
  %316 = load ptr, ptr %8, align 8, !tbaa !5
  %317 = load i32, ptr %17, align 4, !tbaa !9
  %318 = load i32, ptr %18, align 4, !tbaa !9
  %319 = load i32, ptr %19, align 4, !tbaa !9
  %320 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %316, i32 noundef %317, i32 noundef %318, i32 noundef %319, i32 noundef %320)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

321:                                              ; preds = %59
  store i32 0, ptr %17, align 4, !tbaa !9
  %322 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %322, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %323 = load i32, ptr %18, align 4, !tbaa !9
  %324 = load i32, ptr %17, align 4, !tbaa !9
  %325 = add i32 %324, %323
  store i32 %325, 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 83341, 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
  store i32 438, ptr %19, align 4, !tbaa !9
  %330 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %330, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %331 = load i32, ptr %21, align 4, !tbaa !9
  %332 = load i32, ptr %20, align 4, !tbaa !9
  %333 = add i32 %332, %331
  store i32 %333, ptr %20, align 4, !tbaa !9
  %334 = load ptr, ptr %8, align 8, !tbaa !5
  %335 = load i32, ptr %17, align 4, !tbaa !9
  %336 = load i32, ptr %18, align 4, !tbaa !9
  %337 = load i32, ptr %19, align 4, !tbaa !9
  %338 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %334, i32 noundef %335, i32 noundef %336, i32 noundef %337, i32 noundef %338)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

339:                                              ; preds = %86
  store i32 0, ptr %17, align 4, !tbaa !9
  %340 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %340, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %341 = load i32, ptr %18, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = add i32 %342, %341
  store i32 %343, 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 83341, 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
  store i32 480, ptr %19, align 4, !tbaa !9
  %348 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %348, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %349 = load i32, ptr %21, align 4, !tbaa !9
  %350 = load i32, ptr %20, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %20, align 4, !tbaa !9
  %352 = load ptr, ptr %8, align 8, !tbaa !5
  %353 = load i32, ptr %17, align 4, !tbaa !9
  %354 = load i32, ptr %18, align 4, !tbaa !9
  %355 = load i32, ptr %19, align 4, !tbaa !9
  %356 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %352, i32 noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

357:                                              ; preds = %95
  store i32 0, ptr %17, align 4, !tbaa !9
  %358 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %358, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %359 = load i32, ptr %18, align 4, !tbaa !9
  %360 = load i32, ptr %17, align 4, !tbaa !9
  %361 = add i32 %360, %359
  store i32 %361, 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 83341, 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
  store i32 438, ptr %19, align 4, !tbaa !9
  %366 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %366, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %367 = load i32, ptr %21, align 4, !tbaa !9
  %368 = load i32, ptr %20, align 4, !tbaa !9
  %369 = add i32 %368, %367
  store i32 %369, ptr %20, align 4, !tbaa !9
  %370 = load ptr, ptr %8, align 8, !tbaa !5
  %371 = load i32, ptr %17, align 4, !tbaa !9
  %372 = load i32, ptr %18, align 4, !tbaa !9
  %373 = load i32, ptr %19, align 4, !tbaa !9
  %374 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %370, i32 noundef %371, i32 noundef %372, i32 noundef %373, i32 noundef %374)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

375:                                              ; preds = %137
  store i32 0, ptr %17, align 4, !tbaa !9
  %376 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %376, ptr %11, align 4, !tbaa !9
  store i32 118124, ptr %18, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = load i32, ptr %17, align 4, !tbaa !9
  %379 = add i32 %378, %377
  store i32 %379, ptr %17, align 4, !tbaa !9
  %380 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %380, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %381 = load i32, ptr %19, align 4, !tbaa !9
  %382 = load i32, ptr %18, align 4, !tbaa !9
  %383 = add i32 %382, %381
  store i32 %383, ptr %18, align 4, !tbaa !9
  store i32 480, ptr %19, align 4, !tbaa !9
  %384 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %384, ptr %20, align 4, !tbaa !9
  store i32 38798, ptr %21, align 4, !tbaa !9
  %385 = load i32, ptr %21, align 4, !tbaa !9
  %386 = load i32, ptr %20, align 4, !tbaa !9
  %387 = add i32 %386, %385
  store i32 %387, ptr %20, align 4, !tbaa !9
  %388 = load ptr, ptr %8, align 8, !tbaa !5
  %389 = load i32, ptr %17, align 4, !tbaa !9
  %390 = load i32, ptr %18, align 4, !tbaa !9
  %391 = load i32, ptr %19, align 4, !tbaa !9
  %392 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %388, i32 noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

393:                                              ; preds = %146
  store i32 0, ptr %17, align 4, !tbaa !9
  %394 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %394, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %18, align 4, !tbaa !9
  %395 = load i32, ptr %18, align 4, !tbaa !9
  %396 = load i32, ptr %17, align 4, !tbaa !9
  %397 = add i32 %396, %395
  store i32 %397, ptr %17, align 4, !tbaa !9
  %398 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %398, ptr %18, align 4, !tbaa !9
  store i32 83341, ptr %19, align 4, !tbaa !9
  %399 = load i32, ptr %19, align 4, !tbaa !9
  %400 = load i32, ptr %18, align 4, !tbaa !9
  %401 = add i32 %400, %399
  store i32 %401, ptr %18, align 4, !tbaa !9
  store i32 438, ptr %19, align 4, !tbaa !9
  %402 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %402, ptr %20, align 4, !tbaa !9
  store i32 49706, ptr %21, align 4, !tbaa !9
  %403 = load i32, ptr %21, align 4, !tbaa !9
  %404 = load i32, ptr %20, align 4, !tbaa !9
  %405 = add i32 %404, %403
  store i32 %405, ptr %20, align 4, !tbaa !9
  %406 = load ptr, ptr %8, align 8, !tbaa !5
  %407 = load i32, ptr %17, align 4, !tbaa !9
  %408 = load i32, ptr %18, align 4, !tbaa !9
  %409 = load i32, ptr %19, align 4, !tbaa !9
  %410 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %406, i32 noundef %407, i32 noundef %408, i32 noundef %409, i32 noundef %410)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

411:                                              ; preds = %183
  store i32 0, ptr %17, align 4, !tbaa !9
  %412 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %412, ptr %11, align 4, !tbaa !9
  store i32 147550, ptr %18, align 4, !tbaa !9
  %413 = load i32, ptr %18, align 4, !tbaa !9
  %414 = load i32, ptr %17, align 4, !tbaa !9
  %415 = add i32 %414, %413
  store i32 %415, ptr %17, align 4, !tbaa !9
  %416 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %416, ptr %18, align 4, !tbaa !9
  store i32 83763, ptr %19, align 4, !tbaa !9
  %417 = load i32, ptr %19, align 4, !tbaa !9
  %418 = load i32, ptr %18, align 4, !tbaa !9
  %419 = add i32 %418, %417
  store i32 %419, ptr %18, align 4, !tbaa !9
  store i32 28, ptr %19, align 4, !tbaa !9
  %420 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %420, ptr %20, align 4, !tbaa !9
  store i32 92238, ptr %21, align 4, !tbaa !9
  %421 = load i32, ptr %21, align 4, !tbaa !9
  %422 = load i32, ptr %20, align 4, !tbaa !9
  %423 = add i32 %422, %421
  store i32 %423, ptr %20, align 4, !tbaa !9
  %424 = load ptr, ptr %8, align 8, !tbaa !5
  %425 = load i32, ptr %17, align 4, !tbaa !9
  %426 = load i32, ptr %18, align 4, !tbaa !9
  %427 = load i32, ptr %19, align 4, !tbaa !9
  %428 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %424, i32 noundef %425, i32 noundef %426, i32 noundef %427, i32 noundef %428)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

429:                                              ; preds = %236
  store i32 0, ptr %17, align 4, !tbaa !9
  %430 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %430, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %18, align 4, !tbaa !9
  %431 = load i32, ptr %18, align 4, !tbaa !9
  %432 = load i32, ptr %17, align 4, !tbaa !9
  %433 = add i32 %432, %431
  store i32 %433, ptr %17, align 4, !tbaa !9
  %434 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %434, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %435 = load i32, ptr %19, align 4, !tbaa !9
  %436 = load i32, ptr %18, align 4, !tbaa !9
  %437 = add i32 %436, %435
  store i32 %437, ptr %18, align 4, !tbaa !9
  store i32 106, ptr %19, align 4, !tbaa !9
  %438 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %438, ptr %20, align 4, !tbaa !9
  store i32 28119, ptr %21, align 4, !tbaa !9
  %439 = load i32, ptr %21, align 4, !tbaa !9
  %440 = load i32, ptr %20, align 4, !tbaa !9
  %441 = add i32 %440, %439
  store i32 %441, ptr %20, align 4, !tbaa !9
  %442 = load ptr, ptr %8, align 8, !tbaa !5
  %443 = load i32, ptr %17, align 4, !tbaa !9
  %444 = load i32, ptr %18, align 4, !tbaa !9
  %445 = load i32, ptr %19, align 4, !tbaa !9
  %446 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %442, i32 noundef %443, i32 noundef %444, i32 noundef %445, i32 noundef %446)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

447:                                              ; preds = %255
  store i32 0, ptr %17, align 4, !tbaa !9
  %448 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %448, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %18, align 4, !tbaa !9
  %449 = load i32, ptr %18, align 4, !tbaa !9
  %450 = load i32, ptr %17, align 4, !tbaa !9
  %451 = add i32 %450, %449
  store i32 %451, ptr %17, align 4, !tbaa !9
  %452 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %452, ptr %18, align 4, !tbaa !9
  store i32 82611, ptr %19, align 4, !tbaa !9
  %453 = load i32, ptr %19, align 4, !tbaa !9
  %454 = load i32, ptr %18, align 4, !tbaa !9
  %455 = add i32 %454, %453
  store i32 %455, ptr %18, align 4, !tbaa !9
  store i32 255, ptr %19, align 4, !tbaa !9
  %456 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %456, ptr %20, align 4, !tbaa !9
  store i32 24720, ptr %21, align 4, !tbaa !9
  %457 = load i32, ptr %21, align 4, !tbaa !9
  %458 = load i32, ptr %20, align 4, !tbaa !9
  %459 = add i32 %458, %457
  store i32 %459, ptr %20, align 4, !tbaa !9
  %460 = load ptr, ptr %8, align 8, !tbaa !5
  %461 = load i32, ptr %17, align 4, !tbaa !9
  %462 = load i32, ptr %18, align 4, !tbaa !9
  %463 = load i32, ptr %19, align 4, !tbaa !9
  %464 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %460, i32 noundef %461, i32 noundef %462, i32 noundef %463, i32 noundef %464)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

465:                                              ; preds = %271
  store i32 0, ptr %17, align 4, !tbaa !9
  %466 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %466, ptr %11, align 4, !tbaa !9
  store i32 173751, ptr %18, align 4, !tbaa !9
  %467 = load i32, ptr %18, align 4, !tbaa !9
  %468 = load i32, ptr %17, align 4, !tbaa !9
  %469 = add i32 %468, %467
  store i32 %469, ptr %17, align 4, !tbaa !9
  %470 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %470, ptr %18, align 4, !tbaa !9
  store i32 60443, ptr %19, align 4, !tbaa !9
  %471 = load i32, ptr %19, align 4, !tbaa !9
  %472 = load i32, ptr %18, align 4, !tbaa !9
  %473 = add i32 %472, %471
  store i32 %473, ptr %18, align 4, !tbaa !9
  store i32 47, ptr %19, align 4, !tbaa !9
  %474 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %474, ptr %20, align 4, !tbaa !9
  store i32 91025, ptr %21, align 4, !tbaa !9
  %475 = load i32, ptr %21, align 4, !tbaa !9
  %476 = load i32, ptr %20, align 4, !tbaa !9
  %477 = add i32 %476, %475
  store i32 %477, ptr %20, align 4, !tbaa !9
  %478 = load ptr, ptr %8, align 8, !tbaa !5
  %479 = load i32, ptr %17, align 4, !tbaa !9
  %480 = load i32, ptr %18, align 4, !tbaa !9
  %481 = load i32, ptr %19, align 4, !tbaa !9
  %482 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %478, i32 noundef %479, i32 noundef %480, i32 noundef %481, i32 noundef %482)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

483:                                              ; preds = %300
  store i32 0, ptr %17, align 4, !tbaa !9
  %484 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %484, ptr %11, align 4, !tbaa !9
  store i32 143665, ptr %18, align 4, !tbaa !9
  %485 = load i32, ptr %18, align 4, !tbaa !9
  %486 = load i32, ptr %17, align 4, !tbaa !9
  %487 = add i32 %486, %485
  store i32 %487, ptr %17, align 4, !tbaa !9
  %488 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %488, ptr %18, align 4, !tbaa !9
  store i32 60443, ptr %19, align 4, !tbaa !9
  %489 = load i32, ptr %19, align 4, !tbaa !9
  %490 = load i32, ptr %18, align 4, !tbaa !9
  %491 = add i32 %490, %489
  store i32 %491, ptr %18, align 4, !tbaa !9
  store i32 50, ptr %19, align 4, !tbaa !9
  %492 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %492, ptr %20, align 4, !tbaa !9
  store i32 91025, ptr %21, align 4, !tbaa !9
  %493 = load i32, ptr %21, align 4, !tbaa !9
  %494 = load i32, ptr %20, align 4, !tbaa !9
  %495 = add i32 %494, %493
  store i32 %495, ptr %20, align 4, !tbaa !9
  %496 = load ptr, ptr %8, align 8, !tbaa !5
  %497 = load i32, ptr %17, align 4, !tbaa !9
  %498 = load i32, ptr %18, align 4, !tbaa !9
  %499 = load i32, ptr %19, align 4, !tbaa !9
  %500 = load i32, ptr %20, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %496, i32 noundef %497, i32 noundef %498, i32 noundef %499, i32 noundef %500)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

501:                                              ; preds = %301
  %502 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  ret i32 %502
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSCallSite0x3A0x3AJSCallSite0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHiddenClass0x3E0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSError0x3E0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #3 {
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %12)
  %14 = icmp ugt i64 %13, -281474976710657
  br i1 %14, label %15, label %63

15:                                               ; preds = %7
  %16 = zext i32 %4 to i64
  %17 = add nuw nsw i64 %16, 4
  %18 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %17)
  %19 = zext i32 %18 to i64
  %20 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %19)
  %.not = icmp ugt i64 %20, -281474976710657
  br i1 %.not, label %21, label %64

21:                                               ; preds = %15
  %22 = trunc i64 %13 to i32
  %23 = trunc i64 %20 to i32
  %24 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AJSObject0x3A0x3AJSObject0x3Chermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AJSObject0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AHiddenClass0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3AGCPointerBase0x3A0x3ANoBarriers0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %22, i32 noundef %23) #4
  %25 = zext i32 %5 to i64
  %26 = add nuw nsw i64 %25, 4
  %27 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %26)
  %28 = zext i32 %27 to i64
  %29 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %28)
  %.not298 = icmp ugt i64 %29, -281474976710657
  br i1 %.not298, label %30, label %65

30:                                               ; preds = %21
  %31 = add i32 %24, 28
  %32 = trunc i64 %29 to i32
  %33 = zext i32 %31 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %33, i32 noundef %32)
  %34 = add i32 %2, 808
  %.not299 = icmp eq i32 %32, 0
  br i1 %.not299, label %37, label %35

35:                                               ; preds = %30
  %36 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3AvalidPointer0x28void0x20const0x2A0x290x20const(ptr noundef %0, i32 noundef %34, i32 noundef %32)
  %.not300 = icmp eq i32 %36, 0
  br i1 %.not300, label %66, label %37

37:                                               ; preds = %35, %30
  %38 = add i32 %2, 1396
  %39 = zext i32 %38 to i64
  %40 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %39)
  %41 = and i32 %31, -4194304
  %.not301 = icmp eq i32 %40, %41
  br i1 %.not301, label %43, label %42

42:                                               ; preds = %37
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AHadesGC0x3A0x3ArelocationWriteBarrier0x28void0x20const0x2A0x2C0x20void0x20const0x2A0x29(ptr noundef %0, i32 noundef %34, i32 noundef %31, i32 noundef %32)
  br label %43

43:                                               ; preds = %42, %37
  %44 = zext i32 %24 to i64
  %45 = add nuw nsw i64 %44, 32
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %45, i32 noundef %6)
  %46 = add nuw nsw i64 %44, 28
  %47 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %46)
  %.not302 = icmp eq i32 %47, 0
  br i1 %.not302, label %67, label %48

48:                                               ; preds = %43
  %49 = zext i32 %47 to i64
  %50 = add nuw nsw i64 %49, 3
  %51 = tail call i32 @i32_load8_u(ptr noundef nonnull %8, i64 noundef %50)
  %.mask = and i32 %51, 255
  %.not303 = icmp eq i32 %.mask, 29
  br i1 %.not303, label %52, label %68

52:                                               ; preds = %48
  %53 = add nuw nsw i64 %49, 28
  %54 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %53)
  %.not304 = icmp eq i32 %54, 0
  br i1 %.not304, label %69, label %55

55:                                               ; preds = %52
  %56 = zext i32 %54 to i64
  %57 = add nuw nsw i64 %56, 4
  %58 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %57)
  %59 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %56)
  %60 = sub i32 %58, %59
  %61 = ashr i32 %60, 3
  %.not305 = icmp ugt i32 %61, %6
  br i1 %.not305, label %62, label %70

62:                                               ; preds = %55
  ret i32 %24

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

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

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

66:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 147550, i32 noundef 83763, i32 noundef 28, i32 noundef 92238) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

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

68:                                               ; preds = %48
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

69:                                               ; preds = %52
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 173751, i32 noundef 60443, i32 noundef 47, i32 noundef 91025) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

70:                                               ; preds = %55
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 143665, i32 noundef 60443, i32 noundef 50, i32 noundef 91025) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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