; 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) #1

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

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

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

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

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

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

38:                                               ; preds = %2
  %39 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %39, ptr %11, align 4, !tbaa !9
  %40 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %40, ptr %12, align 4, !tbaa !9
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.w2c_hermes, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %12, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = call i32 @i32_load(ptr noundef %42, i64 noundef %44)
  store i32 %45, ptr %12, align 4, !tbaa !9
  %46 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %46, ptr %8, align 4, !tbaa !9
  %47 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %47, ptr %13, align 4, !tbaa !9
  %48 = load i32, ptr %13, align 4, !tbaa !9
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = add i32 %49, %48
  store i32 %50, ptr %12, align 4, !tbaa !9
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.w2c_hermes, ptr %51, i32 0, i32 6
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = zext i32 %53 to i64
  %55 = call i32 @i32_load8_u(ptr noundef %52, i64 noundef %54)
  store i32 %55, ptr %12, align 4, !tbaa !9
  %56 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %56, ptr %7, align 4, !tbaa !9
  %57 = load i32, ptr %12, align 4, !tbaa !9
  %58 = trunc i32 %57 to i8
  %59 = sext i8 %58 to i32
  store i32 %59, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %60, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %12, align 4, !tbaa !9
  %62 = load i32, ptr %13, align 4, !tbaa !9
  %63 = icmp slt i32 %61, %62
  %64 = zext i1 %63 to i32
  store i32 %64, ptr %12, align 4, !tbaa !9
  %65 = load i32, ptr %12, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %104

67:                                               ; preds = %38
  %68 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %68, ptr %12, align 4, !tbaa !9
  %69 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %69, ptr %13, align 4, !tbaa !9
  store i32 1, ptr %14, align 4, !tbaa !9
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = load i32, ptr %13, align 4, !tbaa !9
  %72 = add i32 %71, %70
  store i32 %72, ptr %13, align 4, !tbaa !9
  %73 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %73, ptr %10, align 4, !tbaa !9
  %74 = load i32, ptr %12, align 4, !tbaa !9
  %75 = load i32, ptr %13, align 4, !tbaa !9
  %76 = icmp ule i32 %74, %75
  %77 = zext i1 %76 to i32
  store i32 %77, ptr %12, align 4, !tbaa !9
  %78 = load i32, ptr %12, align 4, !tbaa !9
  %79 = icmp ne i32 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %67
  br label %159

81:                                               ; preds = %67
  store i32 2, ptr %12, align 4, !tbaa !9
  %82 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %82, ptr %5, align 4, !tbaa !9
  %83 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %83, ptr %12, align 4, !tbaa !9
  %84 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = add i32 %86, %85
  store i32 %87, ptr %12, align 4, !tbaa !9
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %12, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = call i32 @i32_load8_u(ptr noundef %89, i64 noundef %91)
  store i32 %92, ptr %12, align 4, !tbaa !9
  %93 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %93, ptr %13, align 4, !tbaa !9
  store i32 8, ptr %14, align 4, !tbaa !9
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = and i32 %94, 31
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = shl i32 %96, %95
  store i32 %97, ptr %13, align 4, !tbaa !9
  store i32 3840, ptr %14, align 4, !tbaa !9
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = and i32 %99, %98
  store i32 %100, ptr %13, align 4, !tbaa !9
  %101 = load i32, ptr %13, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = or i32 %102, %101
  store i32 %103, ptr %12, align 4, !tbaa !9
  br label %110

104:                                              ; preds = %38
  store i32 1, ptr %12, align 4, !tbaa !9
  %105 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %105, ptr %5, align 4, !tbaa !9
  %106 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %106, ptr %12, align 4, !tbaa !9
  store i32 15, ptr %13, align 4, !tbaa !9
  %107 = load i32, ptr %13, align 4, !tbaa !9
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = and i32 %108, %107
  store i32 %109, ptr %12, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %104, %81
  %111 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %111, ptr %7, align 4, !tbaa !9
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 16
  %117 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %113, i64 noundef %116, i32 noundef %117)
  %118 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %118, ptr %11, align 4, !tbaa !9
  %119 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %119, ptr %12, align 4, !tbaa !9
  %120 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %120, ptr %13, align 4, !tbaa !9
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  %123 = add i32 %122, %121
  store i32 %123, ptr %12, align 4, !tbaa !9
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %11, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = add i64 %127, 20
  %129 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %125, i64 noundef %128, i32 noundef %129)
  %130 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %130, ptr %11, align 4, !tbaa !9
  %131 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %131, ptr %12, align 4, !tbaa !9
  store i32 112, ptr %13, align 4, !tbaa !9
  %132 = load i32, ptr %13, align 4, !tbaa !9
  %133 = load i32, ptr %12, align 4, !tbaa !9
  %134 = and i32 %133, %132
  store i32 %134, ptr %12, align 4, !tbaa !9
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 12
  %140 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store8(ptr noundef %136, i64 noundef %139, i32 noundef %140)
  br label %177

141:                                              ; preds = %2
  store i32 0, ptr %11, align 4, !tbaa !9
  %142 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %142, ptr %4, align 4, !tbaa !9
  store i32 202939, ptr %12, align 4, !tbaa !9
  %143 = load i32, ptr %12, align 4, !tbaa !9
  %144 = load i32, ptr %11, align 4, !tbaa !9
  %145 = add i32 %144, %143
  store i32 %145, ptr %11, align 4, !tbaa !9
  %146 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %146, ptr %12, align 4, !tbaa !9
  store i32 82833, ptr %13, align 4, !tbaa !9
  %147 = load i32, ptr %13, align 4, !tbaa !9
  %148 = load i32, ptr %12, align 4, !tbaa !9
  %149 = add i32 %148, %147
  store i32 %149, ptr %12, align 4, !tbaa !9
  store i32 241, ptr %13, align 4, !tbaa !9
  %150 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %150, ptr %14, align 4, !tbaa !9
  store i32 108367, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %15, align 4, !tbaa !9
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = add i32 %152, %151
  store i32 %153, ptr %14, align 4, !tbaa !9
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = load i32, ptr %11, align 4, !tbaa !9
  %156 = load i32, ptr %12, align 4, !tbaa !9
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

159:                                              ; preds = %80
  store i32 0, ptr %11, align 4, !tbaa !9
  %160 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %160, ptr %4, align 4, !tbaa !9
  store i32 202939, ptr %12, align 4, !tbaa !9
  %161 = load i32, ptr %12, align 4, !tbaa !9
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = add i32 %162, %161
  store i32 %163, ptr %11, align 4, !tbaa !9
  %164 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %164, ptr %12, align 4, !tbaa !9
  store i32 82833, ptr %13, align 4, !tbaa !9
  %165 = load i32, ptr %13, align 4, !tbaa !9
  %166 = load i32, ptr %12, align 4, !tbaa !9
  %167 = add i32 %166, %165
  store i32 %167, ptr %12, align 4, !tbaa !9
  store i32 241, ptr %13, align 4, !tbaa !9
  %168 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %168, ptr %14, align 4, !tbaa !9
  store i32 108367, ptr %15, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = add i32 %170, %169
  store i32 %171, ptr %14, align 4, !tbaa !9
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = load i32, ptr %11, align 4, !tbaa !9
  %174 = load i32, ptr %12, align 4, !tbaa !9
  %175 = load i32, ptr %13, align 4, !tbaa !9
  %176 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %176)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

177:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

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


; 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: inlinehint nounwind uwtable
declare hidden void @i32_store8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Ahbc0x3A0x3ASerializedLiteralParserBase0x3A0x3AparseTagAndSeqLength0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = zext i32 %1 to i64
  %5 = add nuw nsw i64 %4, 4
  %6 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %5)
  %7 = add nuw nsw i64 %4, 20
  %8 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %7)
  %9 = icmp ugt i32 %6, %8
  br i1 %9, label %10, label %31

10:                                               ; preds = %2
  %11 = tail call i32 @i32_load(ptr noundef nonnull %3, i64 noundef %4)
  %12 = add i32 %11, %8
  %13 = zext i32 %12 to i64
  %14 = tail call i32 @i32_load8_u(ptr noundef nonnull %3, i64 noundef %13)
  %sext.mask = and i32 %14, 128
  %.not103 = icmp eq i32 %sext.mask, 0
  br i1 %.not103, label %24, label %15

15:                                               ; preds = %10
  %16 = add nuw i32 %8, 1
  %.not = icmp ugt i32 %6, %16
  br i1 %.not, label %17, label %32

17:                                               ; preds = %15
  %18 = add i32 %11, %16
  %19 = zext i32 %18 to i64
  %20 = tail call i32 @i32_load8_u(ptr noundef nonnull %3, i64 noundef %19)
  %21 = shl i32 %14, 8
  %22 = and i32 %21, 3840
  %23 = or i32 %20, %22
  br label %26

24:                                               ; preds = %10
  %25 = and i32 %14, 15
  br label %26

26:                                               ; preds = %24, %17
  %.099 = phi i32 [ 2, %17 ], [ 1, %24 ]
  %.0 = phi i32 [ %23, %17 ], [ %25, %24 ]
  %27 = add nuw nsw i64 %4, 16
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %27, i32 noundef %.0)
  %28 = add i32 %.099, %8
  tail call void @i32_store(ptr noundef nonnull %3, i64 noundef %7, i32 noundef %28)
  %29 = and i32 %14, 112
  %30 = add nuw nsw i64 %4, 12
  tail call void @i32_store8(ptr noundef nonnull %3, i64 noundef %30, i32 noundef %29)
  ret void

31:                                               ; preds = %2
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 202939, i32 noundef 82833, i32 noundef 241, i32 noundef 108367) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

32:                                               ; preds = %15
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 202939, i32 noundef 82833, i32 noundef 241, i32 noundef 108367) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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

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


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