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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 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_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

41:                                               ; preds = %5
  %42 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %42, ptr %14, align 4, !tbaa !11
  %43 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %43, ptr %15, align 4, !tbaa !11
  store i32 12, ptr %16, align 4, !tbaa !11
  %44 = load i32, ptr %16, align 4, !tbaa !11
  %45 = load i32, ptr %15, align 4, !tbaa !11
  %46 = add i32 %45, %44
  store i32 %46, ptr %15, align 4, !tbaa !11
  store i32 27, ptr %16, align 4, !tbaa !11
  store i32 2, ptr %17, align 4, !tbaa !11
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load i32, ptr %14, align 4, !tbaa !11
  %49 = load i32, ptr %15, align 4, !tbaa !11
  %50 = load i32, ptr %16, align 4, !tbaa !11
  %51 = load i32, ptr %17, align 4, !tbaa !11
  call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51)
  %52 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %52, ptr %14, align 4, !tbaa !11
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %14, align 4, !tbaa !11
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 8
  %58 = call i32 @i32_load(ptr noundef %54, i64 noundef %57)
  store i32 %58, ptr %14, align 4, !tbaa !11
  %59 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %59, ptr %13, align 4, !tbaa !11
  %60 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %60, ptr %14, align 4, !tbaa !11
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %14, align 4, !tbaa !11
  %64 = zext i32 %63 to i64
  %65 = add i64 %64, 4
  %66 = call i32 @i32_load(ptr noundef %62, i64 noundef %65)
  store i32 %66, ptr %14, align 4, !tbaa !11
  %67 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %67, ptr %12, align 4, !tbaa !11
  br label %68

68:                                               ; preds = %41, %5
  %69 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %69, ptr %14, align 4, !tbaa !11
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.w2c_hermes, ptr %70, i32 0, i32 6
  %72 = load i32, ptr %14, align 4, !tbaa !11
  %73 = zext i32 %72 to i64
  %74 = call i32 @i32_load(ptr noundef %71, i64 noundef %73)
  store i32 %74, ptr %14, align 4, !tbaa !11
  %75 = load i32, ptr %12, align 4, !tbaa !11
  store i32 %75, ptr %15, align 4, !tbaa !11
  store i32 1, ptr %16, align 4, !tbaa !11
  %76 = load i32, ptr %16, align 4, !tbaa !11
  %77 = and i32 %76, 31
  %78 = load i32, ptr %15, align 4, !tbaa !11
  %79 = shl i32 %78, %77
  store i32 %79, ptr %15, align 4, !tbaa !11
  %80 = load i32, ptr %15, align 4, !tbaa !11
  %81 = load i32, ptr %14, align 4, !tbaa !11
  %82 = add i32 %81, %80
  store i32 %82, ptr %14, align 4, !tbaa !11
  %83 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %83, ptr %11, align 4, !tbaa !11
  store i32 0, ptr %15, align 4, !tbaa !11
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.w2c_hermes, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %14, align 4, !tbaa !11
  %87 = zext i32 %86 to i64
  %88 = add i64 %87, 52
  %89 = load i32, ptr %15, align 4, !tbaa !11
  call void @i32_store16(ptr noundef %85, i64 noundef %88, i32 noundef %89)
  %90 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %90, ptr %14, align 4, !tbaa !11
  store i32 6553701, ptr %15, align 4, !tbaa !11
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.w2c_hermes, ptr %91, i32 0, i32 6
  %93 = load i32, ptr %14, align 4, !tbaa !11
  %94 = zext i32 %93 to i64
  %95 = add i64 %94, 48
  %96 = load i32, ptr %15, align 4, !tbaa !11
  call void @i32_store(ptr noundef %92, i64 noundef %95, i32 noundef %96)
  %97 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %97, ptr %14, align 4, !tbaa !11
  store i64 32651569751457901, ptr %19, align 8, !tbaa !13
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.w2c_hermes, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %14, align 4, !tbaa !11
  %101 = zext i32 %100 to i64
  %102 = add i64 %101, 40
  %103 = load i64, ptr %19, align 8, !tbaa !13
  call void @i64_store(ptr noundef %99, i64 noundef %102, i64 noundef %103)
  %104 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %104, ptr %14, align 4, !tbaa !11
  store i64 28429436511584365, ptr %19, align 8, !tbaa !13
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.w2c_hermes, ptr %105, i32 0, i32 6
  %107 = load i32, ptr %14, align 4, !tbaa !11
  %108 = zext i32 %107 to i64
  %109 = add i64 %108, 32
  %110 = load i64, ptr %19, align 8, !tbaa !13
  call void @i64_store(ptr noundef %106, i64 noundef %109, i64 noundef %110)
  %111 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %111, ptr %14, align 4, !tbaa !11
  store i64 29555010001174639, ptr %19, align 8, !tbaa !13
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %14, align 4, !tbaa !11
  %115 = zext i32 %114 to i64
  %116 = add i64 %115, 24
  %117 = load i64, ptr %19, align 8, !tbaa !13
  call void @i64_store(ptr noundef %113, i64 noundef %116, i64 noundef %117)
  %118 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %118, ptr %14, align 4, !tbaa !11
  store i64 30962384884727905, ptr %19, align 8, !tbaa !13
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %14, align 4, !tbaa !11
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 16
  %124 = load i64, ptr %19, align 8, !tbaa !13
  call void @i64_store(ptr noundef %120, i64 noundef %123, i64 noundef %124)
  %125 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %125, ptr %14, align 4, !tbaa !11
  store i64 30681262095007814, ptr %19, align 8, !tbaa !13
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.w2c_hermes, ptr %126, i32 0, i32 6
  %128 = load i32, ptr %14, align 4, !tbaa !11
  %129 = zext i32 %128 to i64
  %130 = add i64 %129, 8
  %131 = load i64, ptr %19, align 8, !tbaa !13
  call void @i64_store(ptr noundef %127, i64 noundef %130, i64 noundef %131)
  %132 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %132, ptr %14, align 4, !tbaa !11
  store i64 28429470870339684, ptr %19, align 8, !tbaa !13
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %14, align 4, !tbaa !11
  %136 = zext i32 %135 to i64
  %137 = load i64, ptr %19, align 8, !tbaa !13
  call void @i64_store(ptr noundef %134, i64 noundef %136, i64 noundef %137)
  %138 = load i32, ptr %12, align 4, !tbaa !11
  store i32 %138, ptr %14, align 4, !tbaa !11
  store i32 27, ptr %15, align 4, !tbaa !11
  %139 = load i32, ptr %15, align 4, !tbaa !11
  %140 = load i32, ptr %14, align 4, !tbaa !11
  %141 = add i32 %140, %139
  store i32 %141, ptr %14, align 4, !tbaa !11
  %142 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %142, ptr %11, align 4, !tbaa !11
  %143 = load i32, ptr %13, align 4, !tbaa !11
  store i32 %143, ptr %15, align 4, !tbaa !11
  %144 = load i32, ptr %14, align 4, !tbaa !11
  %145 = load i32, ptr %15, align 4, !tbaa !11
  %146 = icmp ugt i32 %144, %145
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %14, align 4, !tbaa !11
  %148 = load i32, ptr %14, align 4, !tbaa !11
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %168

150:                                              ; preds = %68
  store i32 0, ptr %14, align 4, !tbaa !11
  %151 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %151, ptr %11, align 4, !tbaa !11
  store i32 117789, ptr %15, align 4, !tbaa !11
  %152 = load i32, ptr %15, align 4, !tbaa !11
  %153 = load i32, ptr %14, align 4, !tbaa !11
  %154 = add i32 %153, %152
  store i32 %154, ptr %14, align 4, !tbaa !11
  %155 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %155, ptr %15, align 4, !tbaa !11
  store i32 79572, ptr %16, align 4, !tbaa !11
  %156 = load i32, ptr %16, align 4, !tbaa !11
  %157 = load i32, ptr %15, align 4, !tbaa !11
  %158 = add i32 %157, %156
  store i32 %158, ptr %15, align 4, !tbaa !11
  store i32 74, ptr %16, align 4, !tbaa !11
  %159 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %159, ptr %17, align 4, !tbaa !11
  store i32 88407, ptr %18, align 4, !tbaa !11
  %160 = load i32, ptr %18, align 4, !tbaa !11
  %161 = load i32, ptr %17, align 4, !tbaa !11
  %162 = add i32 %161, %160
  store i32 %162, ptr %17, align 4, !tbaa !11
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = load i32, ptr %14, align 4, !tbaa !11
  %165 = load i32, ptr %15, align 4, !tbaa !11
  %166 = load i32, ptr %16, align 4, !tbaa !11
  %167 = load i32, ptr %17, align 4, !tbaa !11
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %163, i32 noundef %164, i32 noundef %165, i32 noundef %166, i32 noundef %167)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

168:                                              ; preds = %68
  %169 = load i32, ptr %10, align 4, !tbaa !11
  store i32 %169, ptr %14, align 4, !tbaa !11
  %170 = load i32, ptr %11, align 4, !tbaa !11
  store i32 %170, ptr %15, align 4, !tbaa !11
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.w2c_hermes, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %14, align 4, !tbaa !11
  %174 = zext i32 %173 to i64
  %175 = add i64 %174, 4
  %176 = load i32, ptr %15, align 4, !tbaa !11
  call void @i32_store(ptr noundef %172, i64 noundef %175, i32 noundef %176)
  call void @llvm.lifetime.end.p0(i64 8, 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 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
  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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 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_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Aplatform_unicode0x3A0x3AdateFormat0x28double0x2C0x20bool0x2C0x20bool0x2C0x20llvh0x3A0x3ASmallVectorImpl0x3Cchar16_t0x3E0x260x29(ptr noundef %0, double noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %4 to i64
  %8 = add nuw nsw i64 %7, 4
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %8, i32 noundef 0)
  %9 = add nuw nsw i64 %7, 8
  %10 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %9)
  %11 = icmp ult i32 %10, 27
  br i1 %11, label %12, label %16

12:                                               ; preds = %5
  %13 = add i32 %4, 12
  tail call void @w2c_hermes_llvh0x3A0x3ASmallVectorBase0x3A0x3Agrow_pod0x28void0x2A0x2C0x20unsigned0x20long0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %4, i32 noundef %13, i32 noundef 27, i32 noundef 2) #4
  %14 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %9)
  %15 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %8)
  br label %16

16:                                               ; preds = %12, %5
  %.094 = phi i32 [ %14, %12 ], [ %10, %5 ]
  %.0 = phi i32 [ %15, %12 ], [ 0, %5 ]
  %17 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %7)
  %18 = shl i32 %.0, 1
  %19 = add i32 %17, %18
  %20 = zext i32 %19 to i64
  %21 = add nuw nsw i64 %20, 52
  tail call void @i32_store16(ptr noundef nonnull %6, i64 noundef %21, i32 noundef 0)
  %22 = add nuw nsw i64 %20, 48
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %22, i32 noundef 6553701)
  %23 = add nuw nsw i64 %20, 40
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %23, i64 noundef 32651569751457901)
  %24 = add nuw nsw i64 %20, 32
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %24, i64 noundef 28429436511584365)
  %25 = add nuw nsw i64 %20, 24
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %25, i64 noundef 29555010001174639)
  %26 = add nuw nsw i64 %20, 16
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %26, i64 noundef 30962384884727905)
  %27 = add nuw nsw i64 %20, 8
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %27, i64 noundef 30681262095007814)
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %20, i64 noundef 28429470870339684)
  %28 = add i32 %.0, 27
  %29 = icmp ugt i32 %28, %.094
  br i1 %29, label %30, label %31

30:                                               ; preds = %16
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 117789, i32 noundef 79572, i32 noundef 74, i32 noundef 88407) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

31:                                               ; preds = %16
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %8, i32 noundef %28)
  ret void
}

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,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,TailCallElimPass