; 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_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr 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
declare dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AverifyCall0x28hermes0x3A0x3ACallInst0x2A0x29(ptr noundef, i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateCallBuiltinInst0x28hermes0x3A0x3ACallBuiltinInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(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 %165

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 %183

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 %9, align 4, !tbaa !9
  %92 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %92, ptr %15, align 4, !tbaa !9
  %93 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %93, ptr %16, align 4, !tbaa !9
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AverifyCall0x28hermes0x3A0x3ACallInst0x2A0x29(ptr noundef %94, i32 noundef %95, i32 noundef %96)
  %97 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load ptr, ptr %5, align 8, !tbaa !5
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef %98, i32 noundef %99)
  store i32 %100, ptr %15, align 4, !tbaa !9
  %101 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %101, ptr %10, align 4, !tbaa !9
  %102 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %102, ptr %15, align 4, !tbaa !9
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.w2c_hermes, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %15, align 4, !tbaa !9
  %106 = zext i32 %105 to i64
  %107 = add i64 %106, 4
  %108 = call i32 @i32_load(ptr noundef %104, i64 noundef %107)
  store i32 %108, ptr %15, align 4, !tbaa !9
  %109 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %109, ptr %6, align 4, !tbaa !9
  %110 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %110, ptr %15, align 4, !tbaa !9
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = load i32, ptr %15, align 4, !tbaa !9
  %113 = call i32 @w2c_hermes_hermes0x3A0x3ACallBuiltinInst0x3A0x3AgetBuiltinIndex0x280x290x20const(ptr noundef %111, i32 noundef %112)
  store i32 %113, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %114, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load i32, ptr %15, align 4, !tbaa !9
  %118 = call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef %116, i32 noundef %117)
  store i32 %118, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = load i32, ptr %15, align 4, !tbaa !9
  %121 = sub i32 %120, %119
  store i32 %121, ptr %15, align 4, !tbaa !9
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  store i64 %123, ptr %20, align 8, !tbaa !11
  %124 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %124, ptr %12, align 8, !tbaa !11
  %125 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %125, ptr %15, align 4, !tbaa !9
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  store i64 %127, ptr %20, align 8, !tbaa !11
  %128 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %128, ptr %13, align 8, !tbaa !11
  %129 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %129, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  store i64 %131, ptr %20, align 8, !tbaa !11
  %132 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %132, ptr %14, align 8, !tbaa !11
  %133 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %133, ptr %15, align 4, !tbaa !9
  store i32 2, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %16, align 4, !tbaa !9
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = sub i32 %135, %134
  store i32 %136, ptr %15, align 4, !tbaa !9
  store i32 255, ptr %16, align 4, !tbaa !9
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = icmp ule i32 %137, %138
  %140 = zext i1 %139 to i32
  store i32 %140, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %15, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %154

143:                                              ; preds = %90
  %144 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %144, ptr %15, align 4, !tbaa !9
  %145 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %145, ptr %21, align 8, !tbaa !11
  %146 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %146, ptr %22, align 8, !tbaa !11
  %147 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %147, ptr %23, align 8, !tbaa !11
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = load i64, ptr %21, align 8, !tbaa !11
  %151 = load i64, ptr %22, align 8, !tbaa !11
  %152 = load i64, ptr %23, align 8, !tbaa !11
  %153 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitCallBuiltin0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %148, i32 noundef %149, i64 noundef %150, i64 noundef %151, i64 noundef %152)
  store i32 %153, ptr %15, align 4, !tbaa !9
  br label %196

154:                                              ; preds = %90
  %155 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %156, ptr %21, align 8, !tbaa !11
  %157 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %157, ptr %22, align 8, !tbaa !11
  %158 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %158, ptr %23, align 8, !tbaa !11
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = load i64, ptr %21, align 8, !tbaa !11
  %162 = load i64, ptr %22, align 8, !tbaa !11
  %163 = load i64, ptr %23, align 8, !tbaa !11
  %164 = call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitCallBuiltinLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %159, i32 noundef %160, i64 noundef %161, i64 noundef %162, i64 noundef %163)
  store i32 %164, ptr %15, align 4, !tbaa !9
  br label %196

165:                                              ; preds = %4
  store i32 0, ptr %15, align 4, !tbaa !9
  %166 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %166, ptr %7, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %16, align 4, !tbaa !9
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %170, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %171 = load i32, ptr %17, align 4, !tbaa !9
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = add i32 %172, %171
  store i32 %173, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %174 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %174, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %175 = load i32, ptr %19, align 4, !tbaa !9
  %176 = load i32, ptr %18, align 4, !tbaa !9
  %177 = add i32 %176, %175
  store i32 %177, ptr %18, align 4, !tbaa !9
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = load i32, ptr %15, align 4, !tbaa !9
  %180 = load i32, ptr %16, align 4, !tbaa !9
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181, i32 noundef %182)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

183:                                              ; preds = %84
  store i32 0, ptr %15, align 4, !tbaa !9
  %184 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %184, ptr %7, align 4, !tbaa !9
  store i32 44604, ptr %16, align 4, !tbaa !9
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = load i32, ptr %15, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %15, align 4, !tbaa !9
  %188 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %188, ptr %16, align 4, !tbaa !9
  store i32 59600, ptr %17, align 4, !tbaa !9
  %189 = load i32, ptr %17, align 4, !tbaa !9
  %190 = load i32, ptr %16, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %16, align 4, !tbaa !9
  store i32 79, ptr %17, align 4, !tbaa !9
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = load i32, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %16, align 4, !tbaa !9
  %195 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Allvm_unreachable_internal0x28char0x20const0x2A0x2C0x20char0x20const0x2A0x2C0x20unsigned0x20int0x29(ptr noundef %192, i32 noundef %193, i32 noundef %194, i32 noundef %195)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

196:                                              ; preds = %154, %143
  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_hermes0x3A0x3ACallBuiltinInst0x3A0x3AgetBuiltinIndex0x280x290x20const(ptr noundef, i32 noundef) #3

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

declare i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitCallBuiltinLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(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_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr 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
declare dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AverifyCall0x28hermes0x3A0x3ACallInst0x2A0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AgenerateCallBuiltinInst0x28hermes0x3A0x3ACallBuiltinInst0x2A0x2C0x20hermes0x3A0x3ABasicBlock0x2A0x29(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 %38, 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
  %.not115 = icmp eq i32 %19, 124
  br i1 %.not115, label %20, label %39

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

22:                                               ; preds = %20, %13
  %.pre-phi = phi i64 [ %.pre, %20 ], [ %14, %13 ]
  %.0 = phi i32 [ %21, %20 ], [ %17, %13 ]
  tail call void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3AHBCISel0x3A0x3AverifyCall0x28hermes0x3A0x3ACallInst0x2A0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2)
  %23 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef %0, i32 noundef %2) #4
  %24 = add nuw nsw i64 %.pre-phi, 4
  %25 = tail call i32 @i32_load(ptr noundef nonnull %7, i64 noundef %24)
  %26 = tail call i32 @w2c_hermes_hermes0x3A0x3ACallBuiltinInst0x3A0x3AgetBuiltinIndex0x280x290x20const(ptr noundef %0, i32 noundef %2) #4
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3AInstruction0x3A0x3AgetNumOperands0x280x290x20const(ptr noundef %0, i32 noundef %2) #4
  %28 = add i32 %27, -2
  %29 = zext i32 %28 to i64
  %30 = zext i32 %.0 to i64
  %31 = zext i32 %26 to i64
  %32 = add i32 %23, -2
  %33 = icmp ult i32 %32, 256
  br i1 %33, label %34, label %36

34:                                               ; preds = %22
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitCallBuiltin0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %25, i64 noundef %30, i64 noundef %31, i64 noundef %29) #4
  br label %40

36:                                               ; preds = %22
  %37 = tail call i32 @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ABytecodeInstructionGenerator0x3A0x3AemitCallBuiltinLong0x28long0x20long0x2C0x20long0x20long0x2C0x20long0x20long0x29(ptr noundef %0, i32 noundef %25, i64 noundef %30, i64 noundef %31, i64 noundef %29) #4
  br label %40

38:                                               ; 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

39:                                               ; 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

40:                                               ; preds = %36, %34
  ret void
}

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

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

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