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

; 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_load(ptr noundef, i64 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 i64 @i64_load(ptr noundef, i64 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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aopt0x3C0x28anonymous0x20namespace0x290x3A0x3AHelpPrinterWrapper0x2C0x20true0x2C0x20llvh0x3A0x3Acl0x3A0x3Aparser0x3Cbool0x3E0x3E0x3A0x3AprintOptionValue0x28unsigned0x20long0x2C0x20bool0x290x20const(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 i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = 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
  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 8, ptr %15) #5
  %16 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %16, ptr %10, align 4, !tbaa !9
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.w2c_hermes, ptr %17, i32 0, i32 6
  %19 = load i32, ptr %10, align 4, !tbaa !9
  %20 = zext i32 %19 to i64
  %21 = add i64 %20, 88
  %22 = call i32 @i32_load(ptr noundef %18, i64 noundef %21)
  store i32 %22, ptr %10, align 4, !tbaa !9
  %23 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %23, ptr %9, align 4, !tbaa !9
  %24 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %24, ptr %10, align 4, !tbaa !9
  %25 = load i32, ptr %10, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  %27 = xor i1 %26, true
  %28 = zext i1 %27 to i32
  store i32 %28, ptr %10, align 4, !tbaa !9
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %54

31:                                               ; preds = %4
  %32 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %32, ptr %10, align 4, !tbaa !9
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  br label %176

36:                                               ; preds = %31
  store i32 0, ptr %10, align 4, !tbaa !9
  %37 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %37, ptr %6, align 4, !tbaa !9
  store i32 207072, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %11, align 4, !tbaa !9
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = add i32 %39, %38
  store i32 %40, ptr %10, align 4, !tbaa !9
  %41 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %41, ptr %11, align 4, !tbaa !9
  store i32 84288, ptr %12, align 4, !tbaa !9
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = add i32 %43, %42
  store i32 %44, ptr %11, align 4, !tbaa !9
  store i32 1197, ptr %12, align 4, !tbaa !9
  %45 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %45, ptr %13, align 4, !tbaa !9
  store i32 69070, ptr %14, align 4, !tbaa !9
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = load i32, ptr %13, align 4, !tbaa !9
  %48 = add i32 %47, %46
  store i32 %48, ptr %13, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = load i32, ptr %11, align 4, !tbaa !9
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %49, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %53)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

54:                                               ; preds = %4
  %55 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %55, ptr %10, align 4, !tbaa !9
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  %58 = xor i1 %57, true
  %59 = zext i1 %58 to i32
  store i32 %59, ptr %10, align 4, !tbaa !9
  %60 = load i32, ptr %10, align 4, !tbaa !9
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %63

62:                                               ; preds = %54
  br label %177

63:                                               ; preds = %54
  %64 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %64, ptr %10, align 4, !tbaa !9
  %65 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %65, ptr %11, align 4, !tbaa !9
  %66 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %66, ptr %12, align 4, !tbaa !9
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Abasic_parser_impl0x3A0x3AprintOptionName0x28llvh0x3A0x3Acl0x3A0x3AOption0x20const0x260x2C0x20unsigned0x20long0x290x20const(ptr noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef %70)
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = call i32 @w2c_hermes_llvh0x3A0x3Aouts0x280x29(ptr noundef %71)
  store i32 %72, ptr %10, align 4, !tbaa !9
  %73 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %73, ptr %6, align 4, !tbaa !9
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 8
  %79 = call i32 @i32_load(ptr noundef %75, i64 noundef %78)
  store i32 %79, ptr %10, align 4, !tbaa !9
  %80 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %80, ptr %11, align 4, !tbaa !9
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 12
  %86 = call i32 @i32_load(ptr noundef %82, i64 noundef %85)
  store i32 %86, ptr %11, align 4, !tbaa !9
  %87 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %87, ptr %8, align 4, !tbaa !9
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = load i32, ptr %10, align 4, !tbaa !9
  %90 = sub i32 %89, %88
  store i32 %90, ptr %10, align 4, !tbaa !9
  store i32 29, ptr %11, align 4, !tbaa !9
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = icmp ule i32 %91, %92
  %94 = zext i1 %93 to i32
  store i32 %94, ptr %10, align 4, !tbaa !9
  %95 = load i32, ptr %10, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %104

97:                                               ; preds = %63
  %98 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %98, ptr %10, align 4, !tbaa !9
  store i32 212786, ptr %11, align 4, !tbaa !9
  store i32 30, ptr %12, align 4, !tbaa !9
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102)
  store i32 %103, ptr %10, align 4, !tbaa !9
  br label %195

104:                                              ; preds = %63
  %105 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %105, ptr %10, align 4, !tbaa !9
  store i32 212786, ptr %11, align 4, !tbaa !9
  %106 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %106, ptr %9, 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 %11, align 4, !tbaa !9
  %110 = zext i32 %109 to i64
  %111 = call i64 @i64_load(ptr noundef %108, i64 noundef %110)
  store i64 %111, ptr %15, align 8, !tbaa !11
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %113, i64 noundef %115, i64 noundef %116)
  %117 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %117, ptr %10, align 4, !tbaa !9
  %118 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %118, ptr %11, align 4, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %11, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 22
  %124 = call i64 @i64_load(ptr noundef %120, i64 noundef %123)
  store i64 %124, ptr %15, align 8, !tbaa !11
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %10, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 22
  %130 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %126, i64 noundef %129, i64 noundef %130)
  %131 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %131, ptr %10, align 4, !tbaa !9
  %132 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %132, ptr %11, align 4, !tbaa !9
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %11, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = add i64 %136, 16
  %138 = call i64 @i64_load(ptr noundef %134, i64 noundef %137)
  store i64 %138, ptr %15, align 8, !tbaa !11
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %10, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = add i64 %142, 16
  %144 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %140, i64 noundef %143, i64 noundef %144)
  %145 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %145, ptr %10, align 4, !tbaa !9
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %11, align 4, !tbaa !9
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %11, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 8
  %152 = call i64 @i64_load(ptr noundef %148, i64 noundef %151)
  store i64 %152, ptr %15, align 8, !tbaa !11
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.w2c_hermes, ptr %153, i32 0, i32 6
  %155 = load i32, ptr %10, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = add i64 %156, 8
  %158 = load i64, ptr %15, align 8, !tbaa !11
  call void @i64_store(ptr noundef %154, i64 noundef %157, i64 noundef %158)
  %159 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %159, ptr %10, align 4, !tbaa !9
  %160 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %160, ptr %11, align 4, !tbaa !9
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.w2c_hermes, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %11, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = add i64 %164, 12
  %166 = call i32 @i32_load(ptr noundef %162, i64 noundef %165)
  store i32 %166, ptr %11, align 4, !tbaa !9
  store i32 30, ptr %12, align 4, !tbaa !9
  %167 = load i32, ptr %12, align 4, !tbaa !9
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = add i32 %168, %167
  store i32 %169, ptr %11, align 4, !tbaa !9
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %10, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 12
  %175 = load i32, ptr %11, align 4, !tbaa !9
  call void @i32_store(ptr noundef %171, i64 noundef %174, i32 noundef %175)
  br label %176

176:                                              ; preds = %104, %35
  br label %195

177:                                              ; preds = %62
  store i32 0, ptr %10, align 4, !tbaa !9
  %178 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %178, ptr %6, align 4, !tbaa !9
  store i32 207072, ptr %11, align 4, !tbaa !9
  %179 = load i32, ptr %11, align 4, !tbaa !9
  %180 = load i32, ptr %10, align 4, !tbaa !9
  %181 = add i32 %180, %179
  store i32 %181, ptr %10, align 4, !tbaa !9
  %182 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %182, ptr %11, align 4, !tbaa !9
  store i32 84288, ptr %12, align 4, !tbaa !9
  %183 = load i32, ptr %12, align 4, !tbaa !9
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = add i32 %184, %183
  store i32 %185, ptr %11, align 4, !tbaa !9
  store i32 1197, ptr %12, align 4, !tbaa !9
  %186 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %186, ptr %13, align 4, !tbaa !9
  store i32 69070, ptr %14, align 4, !tbaa !9
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = load i32, ptr %13, align 4, !tbaa !9
  %189 = add i32 %188, %187
  store i32 %189, ptr %13, align 4, !tbaa !9
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = load i32, ptr %11, align 4, !tbaa !9
  %193 = load i32, ptr %12, align 4, !tbaa !9
  %194 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %190, i32 noundef %191, i32 noundef %192, i32 noundef %193, i32 noundef %194)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

195:                                              ; preds = %176, %97
  call void @llvm.lifetime.end.p0(i64 8, 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
  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}
!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_load(ptr noundef, i64 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 i64 @i64_load(ptr noundef, i64 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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Aopt0x3C0x28anonymous0x20namespace0x290x3A0x3AHelpPrinterWrapper0x2C0x20true0x2C0x20llvh0x3A0x3Acl0x3A0x3Aparser0x3Cbool0x3E0x3E0x3A0x3AprintOptionValue0x28unsigned0x20long0x2C0x20bool0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = zext i32 %1 to i64
  %7 = add nuw nsw i64 %6, 88
  %8 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %7)
  %.not = icmp eq i32 %3, 0
  %.not102 = icmp eq i32 %8, 0
  br i1 %.not, label %9, label %11

9:                                                ; preds = %4
  br i1 %.not102, label %10, label %35

10:                                               ; preds = %9
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 207072, i32 noundef 84288, i32 noundef 1197, i32 noundef 69070) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

11:                                               ; preds = %4
  br i1 %.not102, label %34, label %12

12:                                               ; preds = %11
  tail call void @w2c_hermes_llvh0x3A0x3Acl0x3A0x3Abasic_parser_impl0x3A0x3AprintOptionName0x28llvh0x3A0x3Acl0x3A0x3AOption0x20const0x260x2C0x20unsigned0x20long0x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %1, i32 noundef %2)
  %13 = tail call i32 @w2c_hermes_llvh0x3A0x3Aouts0x280x29(ptr noundef %0)
  %14 = zext i32 %13 to i64
  %15 = add nuw nsw i64 %14, 8
  %16 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %15)
  %17 = add nuw nsw i64 %14, 12
  %18 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %17)
  %19 = sub i32 %16, %18
  %20 = icmp ult i32 %19, 30
  br i1 %20, label %21, label %23

21:                                               ; preds = %12
  %22 = tail call i32 @w2c_hermes_llvh0x3A0x3Araw_ostream0x3A0x3Awrite0x28char0x20const0x2A0x2C0x20unsigned0x20long0x29(ptr noundef %0, i32 noundef %13, i32 noundef 212786, i32 noundef 30)
  br label %35

23:                                               ; preds = %12
  %24 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef 212786)
  %25 = zext i32 %18 to i64
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %25, i64 noundef %24)
  %26 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef 212808)
  %27 = add nuw nsw i64 %25, 22
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %27, i64 noundef %26)
  %28 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef 212802)
  %29 = add nuw nsw i64 %25, 16
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %29, i64 noundef %28)
  %30 = tail call i64 @i64_load(ptr noundef nonnull %5, i64 noundef 212794)
  %31 = add nuw nsw i64 %25, 8
  tail call void @i64_store(ptr noundef nonnull %5, i64 noundef %31, i64 noundef %30)
  %32 = tail call i32 @i32_load(ptr noundef nonnull %5, i64 noundef %17)
  %33 = add i32 %32, 30
  tail call void @i32_store(ptr noundef nonnull %5, i64 noundef %17, i32 noundef %33)
  br label %35

34:                                               ; preds = %11
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 207072, i32 noundef 84288, i32 noundef 1197, i32 noundef 69070) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

35:                                               ; preds = %23, %9, %21
  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,SROAPass,SimplifyCFGPass,TailCallElimPass