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

; 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 i32 @i32_load8_u(ptr noundef, i64 noundef) #1

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateHBCLoadFromEnvironmentInst0x28hermes0x3A0x3AHBCLoadFromEnvironmentInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, 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
  %24 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %24, ptr %15, align 4, !tbaa !9
  %25 = load i32, ptr %15, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %284

27:                                               ; preds = %4
  %28 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %28, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %29 = load i32, ptr %16, align 4, !tbaa !9
  %30 = load i32, ptr %15, align 4, !tbaa !9
  %31 = add i32 %30, %29
  store i32 %31, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %32, ptr %17, align 4, !tbaa !9
  %33 = load i32, ptr %17, align 4, !tbaa !9
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %27
  %36 = load i32, ptr %15, align 4, !tbaa !9
  br label %39

37:                                               ; preds = %27
  %38 = load i32, ptr %16, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %37, %35
  %40 = phi i32 [ %36, %35 ], [ %38, %37 ]
  store i32 %40, ptr %15, align 4, !tbaa !9
  %41 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %41, ptr %9, align 4, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %15, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = call i32 @i32_load8_u(ptr noundef %43, i64 noundef %45)
  store i32 %46, ptr %15, align 4, !tbaa !9
  %47 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %47, ptr %10, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %48 = load i32, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %15, align 4, !tbaa !9
  %50 = sub i32 %49, %48
  store i32 %50, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %51 = load i32, ptr %16, align 4, !tbaa !9
  %52 = load i32, ptr %15, align 4, !tbaa !9
  %53 = and i32 %52, %51
  store i32 %53, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %15, align 4, !tbaa !9
  %55 = load i32, ptr %16, align 4, !tbaa !9
  %56 = icmp ule i32 %54, %55
  %57 = zext i1 %56 to i32
  store i32 %57, ptr %15, align 4, !tbaa !9
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %73

60:                                               ; preds = %39
  %61 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %61, ptr %15, align 4, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %15, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 8
  %67 = call i32 @i32_load(ptr noundef %63, i64 noundef %66)
  store i32 %67, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %16, align 4, !tbaa !9
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %16, align 4, !tbaa !9
  %72 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %69, i32 noundef %70, i32 noundef %71)
  store i32 %72, ptr %15, align 4, !tbaa !9
  br label %90

73:                                               ; preds = %39
  %74 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %74, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = and i32 %76, %75
  store i32 %77, ptr %15, align 4, !tbaa !9
  store i32 124, ptr %16, align 4, !tbaa !9
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = icmp ne i32 %78, %79
  %81 = zext i1 %80 to i32
  store i32 %81, ptr %15, align 4, !tbaa !9
  %82 = load i32, ptr %15, align 4, !tbaa !9
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %73
  br label %302

85:                                               ; preds = %73
  %86 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %86, ptr %15, align 4, !tbaa !9
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = load i32, ptr %15, align 4, !tbaa !9
  %89 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %87, i32 noundef %88)
  store i32 %89, ptr %15, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %85, %60
  %91 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %91, ptr %10, align 4, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %92, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %93, i32 noundef %94, i32 noundef %95)
  store i32 %96, ptr %15, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %97, ptr %9, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  %100 = xor i1 %99, true
  %101 = zext i1 %100 to i32
  store i32 %101, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %90
  br label %315

105:                                              ; preds = %90
  %106 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %106, ptr %15, align 4, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.w2c_hermes, ptr %107, i32 0, i32 6
  %109 = load i32, ptr %15, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = call i32 @i32_load8_u(ptr noundef %108, i64 noundef %110)
  store i32 %111, ptr %15, align 4, !tbaa !9
  store i32 124, ptr %16, align 4, !tbaa !9
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = load i32, ptr %16, align 4, !tbaa !9
  %114 = icmp ne i32 %112, %113
  %115 = zext i1 %114 to i32
  store i32 %115, ptr %15, align 4, !tbaa !9
  %116 = load i32, ptr %15, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %119

118:                                              ; preds = %105
  br label %333

119:                                              ; preds = %105
  %120 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %120, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %121, i32 noundef %122, i32 noundef %123)
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %125, ptr %7, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = icmp ne i32 %126, 0
  %128 = xor i1 %127, true
  %129 = zext i1 %128 to i32
  store i32 %129, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %119
  br label %351

133:                                              ; preds = %119
  %134 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %134, ptr %15, align 4, !tbaa !9
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = call i32 @i32_load8_u(ptr noundef %136, i64 noundef %138)
  store i32 %139, ptr %15, align 4, !tbaa !9
  %140 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %140, ptr %11, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %141 = load i32, ptr %16, align 4, !tbaa !9
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = sub i32 %142, %141
  store i32 %143, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  %146 = and i32 %145, %144
  store i32 %146, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %147 = load i32, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = icmp ule i32 %147, %148
  %150 = zext i1 %149 to i32
  store i32 %150, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %166

153:                                              ; preds = %133
  %154 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %154, ptr %15, align 4, !tbaa !9
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %15, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = add i64 %158, 8
  %160 = call i32 @i32_load(ptr noundef %156, i64 noundef %159)
  store i32 %160, ptr %15, align 4, !tbaa !9
  %161 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %161, ptr %16, align 4, !tbaa !9
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = load i32, ptr %15, align 4, !tbaa !9
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %162, i32 noundef %163, i32 noundef %164)
  store i32 %165, ptr %15, align 4, !tbaa !9
  br label %183

166:                                              ; preds = %133
  %167 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %167, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %16, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = and i32 %169, %168
  store i32 %170, ptr %15, align 4, !tbaa !9
  store i32 124, ptr %16, align 4, !tbaa !9
  %171 = load i32, ptr %15, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = icmp ne i32 %171, %172
  %174 = zext i1 %173 to i32
  store i32 %174, ptr %15, align 4, !tbaa !9
  %175 = load i32, ptr %15, align 4, !tbaa !9
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %178

177:                                              ; preds = %166
  br label %369

178:                                              ; preds = %166
  %179 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %179, ptr %15, align 4, !tbaa !9
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %180, i32 noundef %181)
  store i32 %182, ptr %15, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %178, %153
  %184 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %184, ptr %11, align 4, !tbaa !9
  %185 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %185, ptr %15, align 4, !tbaa !9
  %186 = load ptr, ptr %5, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.w2c_hermes, ptr %186, i32 0, i32 6
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = call i32 @i32_load8_u(ptr noundef %187, i64 noundef %189)
  store i32 %190, ptr %15, align 4, !tbaa !9
  %191 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %191, ptr %7, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %192 = load i32, ptr %16, align 4, !tbaa !9
  %193 = load i32, ptr %15, align 4, !tbaa !9
  %194 = sub i32 %193, %192
  store i32 %194, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %16, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = and i32 %196, %195
  store i32 %197, ptr %15, align 4, !tbaa !9
  store i32 106, ptr %16, align 4, !tbaa !9
  %198 = load i32, ptr %15, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = icmp ule i32 %198, %199
  %201 = zext i1 %200 to i32
  store i32 %201, ptr %15, align 4, !tbaa !9
  %202 = load i32, ptr %15, align 4, !tbaa !9
  %203 = icmp ne i32 %202, 0
  br i1 %203, label %204, label %217

204:                                              ; preds = %183
  %205 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %205, ptr %15, align 4, !tbaa !9
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = add i64 %209, 8
  %211 = call i32 @i32_load(ptr noundef %207, i64 noundef %210)
  store i32 %211, ptr %15, align 4, !tbaa !9
  %212 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %212, ptr %16, align 4, !tbaa !9
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load i32, ptr %15, align 4, !tbaa !9
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %213, i32 noundef %214, i32 noundef %215)
  store i32 %216, ptr %15, align 4, !tbaa !9
  br label %234

217:                                              ; preds = %183
  %218 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %218, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %219 = load i32, ptr %16, align 4, !tbaa !9
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = and i32 %220, %219
  store i32 %221, ptr %15, align 4, !tbaa !9
  store i32 124, ptr %16, align 4, !tbaa !9
  %222 = load i32, ptr %15, align 4, !tbaa !9
  %223 = load i32, ptr %16, align 4, !tbaa !9
  %224 = icmp ne i32 %222, %223
  %225 = zext i1 %224 to i32
  store i32 %225, ptr %15, align 4, !tbaa !9
  %226 = load i32, ptr %15, align 4, !tbaa !9
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %229

228:                                              ; preds = %217
  br label %382

229:                                              ; preds = %217
  %230 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %230, ptr %15, align 4, !tbaa !9
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = load i32, ptr %15, align 4, !tbaa !9
  %233 = call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %231, i32 noundef %232)
  store i32 %233, ptr %15, align 4, !tbaa !9
  br label %234

234:                                              ; preds = %229, %204
  %235 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %235, ptr %7, align 4, !tbaa !9
  %236 = load i32, ptr %15, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  store i64 %237, ptr %20, align 8, !tbaa !11
  %238 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %238, ptr %12, align 8, !tbaa !11
  %239 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %239, ptr %15, align 4, !tbaa !9
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  store i64 %241, ptr %20, align 8, !tbaa !11
  %242 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %242, ptr %13, align 8, !tbaa !11
  %243 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %243, ptr %15, align 4, !tbaa !9
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  store i64 %245, ptr %20, align 8, !tbaa !11
  %246 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %246, ptr %14, align 8, !tbaa !11
  %247 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 4
  %253 = call i32 @i32_load(ptr noundef %249, i64 noundef %252)
  store i32 %253, ptr %15, align 4, !tbaa !9
  %254 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %254, ptr %9, align 4, !tbaa !9
  %255 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %255, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = icmp ule i32 %256, %257
  %259 = zext i1 %258 to i32
  store i32 %259, ptr %15, align 4, !tbaa !9
  %260 = load i32, ptr %15, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %273

262:                                              ; preds = %234
  %263 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %263, ptr %15, align 4, !tbaa !9
  %264 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %264, ptr %21, align 8, !tbaa !11
  %265 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %265, ptr %22, align 8, !tbaa !11
  %266 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %266, ptr %23, align 8, !tbaa !11
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  %268 = load i32, ptr %15, align 4, !tbaa !9
  %269 = load i64, ptr %21, align 8, !tbaa !11
  %270 = load i64, ptr %22, align 8, !tbaa !11
  %271 = load i64, ptr %23, align 8, !tbaa !11
  %272 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitLoadFromEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %267, i32 noundef %268, i64 noundef %269, i64 noundef %270, i64 noundef %271)
  store i32 %272, ptr %15, align 4, !tbaa !9
  br label %395

273:                                              ; preds = %234
  %274 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %274, ptr %15, align 4, !tbaa !9
  %275 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %275, ptr %21, align 8, !tbaa !11
  %276 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %276, ptr %22, align 8, !tbaa !11
  %277 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %277, ptr %23, align 8, !tbaa !11
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = load i32, ptr %15, align 4, !tbaa !9
  %280 = load i64, ptr %21, align 8, !tbaa !11
  %281 = load i64, ptr %22, align 8, !tbaa !11
  %282 = load i64, ptr %23, align 8, !tbaa !11
  %283 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitLoadFromEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %278, i32 noundef %279, i64 noundef %280, i64 noundef %281, i64 noundef %282)
  store i32 %283, ptr %15, align 4, !tbaa !9
  br label %395

284:                                              ; preds = %4
  store i32 0, ptr %15, align 4, !tbaa !9
  %285 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %285, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %286 = load i32, ptr %16, align 4, !tbaa !9
  %287 = load i32, ptr %15, align 4, !tbaa !9
  %288 = add i32 %287, %286
  store i32 %288, ptr %15, align 4, !tbaa !9
  %289 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %289, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %290 = load i32, ptr %17, align 4, !tbaa !9
  %291 = load i32, ptr %16, align 4, !tbaa !9
  %292 = add i32 %291, %290
  store i32 %292, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %293 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %293, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %294 = load i32, ptr %19, align 4, !tbaa !9
  %295 = load i32, ptr %18, align 4, !tbaa !9
  %296 = add i32 %295, %294
  store i32 %296, ptr %18, align 4, !tbaa !9
  %297 = load ptr, ptr %5, align 8, !tbaa !5
  %298 = load i32, ptr %15, align 4, !tbaa !9
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = load i32, ptr %17, align 4, !tbaa !9
  %301 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %297, i32 noundef %298, i32 noundef %299, i32 noundef %300, i32 noundef %301)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

302:                                              ; preds = %84
  store i32 0, ptr %15, align 4, !tbaa !9
  %303 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %303, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %16, align 4, !tbaa !9
  %304 = load i32, ptr %16, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  %306 = add i32 %305, %304
  store i32 %306, ptr %15, align 4, !tbaa !9
  %307 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %307, ptr %16, align 4, !tbaa !9
  store i32 59600, ptr %17, align 4, !tbaa !9
  %308 = load i32, ptr %17, align 4, !tbaa !9
  %309 = load i32, ptr %16, align 4, !tbaa !9
  %310 = add i32 %309, %308
  store i32 %310, ptr %16, align 4, !tbaa !9
  store i32 79, ptr %17, align 4, !tbaa !9
  %311 = load ptr, ptr %5, align 8, !tbaa !5
  %312 = load i32, ptr %15, align 4, !tbaa !9
  %313 = load i32, ptr %16, align 4, !tbaa !9
  %314 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %311, i32 noundef %312, i32 noundef %313, i32 noundef %314)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

333:                                              ; preds = %118
  store i32 0, ptr %15, align 4, !tbaa !9
  %334 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %334, ptr %7, align 4, !tbaa !9
  store i32 205012, ptr %16, align 4, !tbaa !9
  %335 = load i32, ptr %16, align 4, !tbaa !9
  %336 = load i32, ptr %15, align 4, !tbaa !9
  %337 = add i32 %336, %335
  store i32 %337, ptr %15, align 4, !tbaa !9
  %338 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %338, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %339 = load i32, ptr %17, align 4, !tbaa !9
  %340 = load i32, ptr %16, align 4, !tbaa !9
  %341 = add i32 %340, %339
  store i32 %341, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %342 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %342, ptr %18, align 4, !tbaa !9
  store i32 24720, ptr %19, align 4, !tbaa !9
  %343 = load i32, ptr %19, align 4, !tbaa !9
  %344 = load i32, ptr %18, align 4, !tbaa !9
  %345 = add i32 %344, %343
  store i32 %345, ptr %18, align 4, !tbaa !9
  %346 = load ptr, ptr %5, align 8, !tbaa !5
  %347 = load i32, ptr %15, align 4, !tbaa !9
  %348 = load i32, ptr %16, align 4, !tbaa !9
  %349 = load i32, ptr %17, align 4, !tbaa !9
  %350 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %346, i32 noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

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

369:                                              ; preds = %177
  store i32 0, ptr %15, align 4, !tbaa !9
  %370 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %370, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %16, align 4, !tbaa !9
  %371 = load i32, ptr %16, align 4, !tbaa !9
  %372 = load i32, ptr %15, align 4, !tbaa !9
  %373 = add i32 %372, %371
  store i32 %373, ptr %15, align 4, !tbaa !9
  %374 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %374, ptr %16, align 4, !tbaa !9
  store i32 59600, ptr %17, align 4, !tbaa !9
  %375 = load i32, ptr %17, align 4, !tbaa !9
  %376 = load i32, ptr %16, align 4, !tbaa !9
  %377 = add i32 %376, %375
  store i32 %377, ptr %16, align 4, !tbaa !9
  store i32 79, ptr %17, align 4, !tbaa !9
  %378 = load ptr, ptr %5, align 8, !tbaa !5
  %379 = load i32, ptr %15, align 4, !tbaa !9
  %380 = load i32, ptr %16, align 4, !tbaa !9
  %381 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %378, i32 noundef %379, i32 noundef %380, i32 noundef %381)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

382:                                              ; preds = %228
  store i32 0, ptr %15, align 4, !tbaa !9
  %383 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %383, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %16, align 4, !tbaa !9
  %384 = load i32, ptr %16, align 4, !tbaa !9
  %385 = load i32, ptr %15, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %15, align 4, !tbaa !9
  %387 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %387, ptr %16, align 4, !tbaa !9
  store i32 59600, ptr %17, align 4, !tbaa !9
  %388 = load i32, ptr %17, align 4, !tbaa !9
  %389 = load i32, ptr %16, align 4, !tbaa !9
  %390 = add i32 %389, %388
  store i32 %390, ptr %16, align 4, !tbaa !9
  store i32 79, ptr %17, align 4, !tbaa !9
  %391 = load ptr, ptr %5, align 8, !tbaa !5
  %392 = load i32, ptr %15, align 4, !tbaa !9
  %393 = load i32, ptr %16, align 4, !tbaa !9
  %394 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %391, i32 noundef %392, i32 noundef %393, i32 noundef %394)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

395:                                              ; preds = %273, %262
  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 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

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

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

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 = { "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"

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load8_u(ptr noundef, i64 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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateHBCLoadFromEnvironmentInst0x28hermes0x3A0x3AHBCLoadFromEnvironmentInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %69, label %5

5:                                                ; preds = %4
  %6 = add i32 %2, 8
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = zext i32 %6 to i64
  %9 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %8)
  %10 = add i32 %9, 254
  %11 = and i32 %10, 255
  %12 = icmp ult i32 %11, 107
  br i1 %12, label %13, label %18

13:                                               ; preds = %5
  %14 = zext i32 %1 to i64
  %15 = add nuw nsw i64 %14, 8
  %16 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %15)
  %17 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %16, i32 noundef %6) #4
  br label %22

18:                                               ; preds = %5
  %19 = and i32 %9, 255
  %.not233 = icmp eq i32 %19, 124
  br i1 %.not233, label %20, label %70

20:                                               ; preds = %18
  %21 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %0, i32 noundef %6) #4
  br label %22

22:                                               ; preds = %20, %13
  %.0 = phi i32 [ %17, %13 ], [ %21, %20 ]
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef 1) #4
  %.not234 = icmp eq i32 %23, 0
  br i1 %.not234, label %71, label %24

24:                                               ; preds = %22
  %25 = zext i32 %23 to i64
  %26 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %25)
  %.not235 = icmp eq i32 %26, 124
  br i1 %.not235, label %27, label %72

27:                                               ; preds = %24
  %28 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetOperand0x28unsigned0x20int0x290x20const(ptr noundef %0, i32 noundef %2, i32 noundef 0) #4
  %.not236 = icmp eq i32 %28, 0
  br i1 %.not236, label %73, label %29

29:                                               ; preds = %27
  %30 = zext i32 %28 to i64
  %31 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %30)
  %32 = add i32 %31, 254
  %33 = and i32 %32, 255
  %34 = icmp ult i32 %33, 107
  br i1 %34, label %35, label %40

35:                                               ; preds = %29
  %36 = zext i32 %1 to i64
  %37 = add nuw nsw i64 %36, 8
  %38 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %37)
  %39 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %38, i32 noundef %28) #4
  br label %44

40:                                               ; preds = %29
  %41 = and i32 %31, 255
  %.not237 = icmp eq i32 %41, 124
  br i1 %.not237, label %42, label %74

42:                                               ; preds = %40
  %43 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %0, i32 noundef %28) #4
  br label %44

44:                                               ; preds = %42, %35
  %.1 = phi i32 [ %39, %35 ], [ %43, %42 ]
  %45 = tail call i32 @i32_load8_u(ptr noundef nonnull %7, i64 noundef %25)
  %46 = add i32 %45, 254
  %47 = and i32 %46, 255
  %48 = icmp ult i32 %47, 107
  br i1 %48, label %49, label %54

49:                                               ; preds = %44
  %50 = zext i32 %1 to i64
  %51 = add nuw nsw i64 %50, 8
  %52 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %51)
  %53 = tail call i32 @w2c_hermes_hermes0x3A0x3ARegisterAllocator0x3A0x3AgetRegister0x28hermes0x3A0x3AValue0x2A0x29(ptr noundef %0, i32 noundef %52, i32 noundef %23) #4
  br label %58

54:                                               ; preds = %44
  %55 = and i32 %45, 255
  %.not238 = icmp eq i32 %55, 124
  br i1 %.not238, label %56, label %75

56:                                               ; preds = %54
  %57 = tail call i32 @w2c_hermes_hermes0x3A0x3AVariable0x3A0x3AgetIndexInVariableList0x280x290x20const(ptr noundef %0, i32 noundef %23) #4
  %.pre = zext i32 %1 to i64
  br label %58

58:                                               ; preds = %56, %49
  %.pre-phi = phi i64 [ %.pre, %56 ], [ %50, %49 ]
  %.2 = phi i32 [ %57, %56 ], [ %53, %49 ]
  %59 = zext i32 %.2 to i64
  %60 = zext i32 %.1 to i64
  %61 = zext i32 %.0 to i64
  %62 = add nuw nsw i64 %.pre-phi, 4
  %63 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %62)
  %64 = icmp ult i32 %.2, 256
  br i1 %64, label %65, label %67

65:                                               ; preds = %58
  %66 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitLoadFromEnvironment0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %63, i64 noundef %61, i64 noundef %60, i64 noundef %59) #4
  br label %76

67:                                               ; preds = %58
  %68 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitLoadFromEnvironmentL0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %63, i64 noundef %61, i64 noundef %60, i64 noundef %59) #4
  br label %76

69:                                               ; preds = %4
  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

70:                                               ; preds = %18
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

71:                                               ; preds = %22
  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

72:                                               ; preds = %24
  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

73:                                               ; preds = %27
  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

74:                                               ; preds = %40
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

75:                                               ; preds = %54
  tail call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %0, i32 noundef 44604, i32 noundef 59600, i32 noundef 79) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

76:                                               ; preds = %67, %65
  ret void
}

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

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

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)"}


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