; LLVM IR from thalium/icebox :: third_party/virtualbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe (IpSecLookupSadEntry)

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

%union.EFI_IP_ADDRESS = type { [4 x i32] }
%struct.IP4_HEAD = type { i8, i8, i16, i16, i16, i8, i8, i16, i32, i32 }
%struct._EFI_IP6_HEADER = type { i16, i16, i16, i8, i8, %struct.EFI_IPv6_ADDRESS, %struct.EFI_IPv6_ADDRESS }
%struct.EFI_IPv6_ADDRESS = type { [16 x i8] }
%struct._IPSEC_SPD_ENTRY = type { ptr, ptr, %struct._LIST_ENTRY }
%struct._LIST_ENTRY = type { ptr, ptr }
%struct._IPSEC_SPD_DATA = type { [100 x i16], i32, i32, ptr, %struct._LIST_ENTRY }
%struct._EFI_IPSEC_PROCESS_POLICY = type { i8, i8, i8, %struct._EFI_IPSEC_SA_LIFETIME, i32, ptr, i32, i8, i8 }
%struct._EFI_IPSEC_SA_LIFETIME = type { i64, i64, i64 }
%struct._EFI_IPSEC_TUNNEL_OPTION = type { %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS, i32 }
%struct._IPSEC_SAD_ENTRY = type { ptr, ptr, %struct._LIST_ENTRY, %struct._LIST_ENTRY }
%struct._IPSEC_SAD_DATA = type { i32, i64, i8, [4 x i64], %union.EFI_IPSEC_ALGO_INFO, %struct._EFI_IPSEC_SA_LIFETIME, i32, ptr, ptr, i8, i8, %union.EFI_IP_ADDRESS, %union.EFI_IP_ADDRESS }
%union.EFI_IPSEC_ALGO_INFO = type { %struct._EFI_IPSEC_ESP_ALGO_INFO }
%struct._EFI_IPSEC_ESP_ALGO_INFO = type { i8, i64, ptr, i8, i64, ptr }

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

declare ptr @ZeroMem(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

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @IpSecLookupSadBySpd(ptr noundef, ptr noundef, i8 noundef zeroext) #2

; Function Attrs: nounwind uwtable
define dso_local i64 @IpSecLookupSadEntry(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, ptr noundef %3, ptr noundef %4, i8 noundef zeroext %5, ptr noundef %6, ptr noundef %7) #2 {
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %union.EFI_IP_ADDRESS, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i8 %2, ptr %12, align 1, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store i8 %5, ptr %15, align 1, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %24 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr null, ptr %24, align 8, !tbaa !5
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  %27 = load i8, ptr %12, align 1, !tbaa !9
  %28 = call ptr @IkeLookupUdp(ptr noundef %25, ptr noundef %26, i8 noundef zeroext %27)
  store ptr %28, ptr %18, align 8, !tbaa !5
  %29 = load ptr, ptr %18, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %8
  store i64 -9223372036854775801, ptr %9, align 8
  store i32 1, ptr %23, align 4
  br label %129

32:                                               ; preds = %8
  %33 = call ptr @ZeroMem(ptr noundef %21, i64 noundef 16)
  %34 = load i8, ptr %12, align 1, !tbaa !9
  %35 = zext i8 %34 to i32
  %36 = icmp eq i32 %35, 4
  br i1 %36, label %37, label %41

37:                                               ; preds = %32
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.IP4_HEAD, ptr %38, i32 0, i32 9
  %40 = call ptr @CopyMem(ptr noundef %21, ptr noundef %39, i64 noundef 4)
  br label %45

41:                                               ; preds = %32
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._EFI_IP6_HEADER, ptr %42, i32 0, i32 6
  %44 = call ptr @CopyMem(ptr noundef %21, ptr noundef %43, i64 noundef 16)
  br label %45

45:                                               ; preds = %41, %37
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._IPSEC_SPD_ENTRY, ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !10
  %49 = getelementptr inbounds %struct._IPSEC_SPD_DATA, ptr %48, i32 0, i32 4
  %50 = load i8, ptr %12, align 1, !tbaa !9
  %51 = call ptr @IpSecLookupSadBySpd(ptr noundef %49, ptr noundef %21, i8 noundef zeroext %50)
  store ptr %51, ptr %19, align 8, !tbaa !5
  %52 = load ptr, ptr %19, align 8, !tbaa !5
  %53 = icmp eq ptr %52, null
  br i1 %53, label %54, label %94

54:                                               ; preds = %45
  %55 = load i8, ptr %15, align 1, !tbaa !9
  %56 = zext i8 %55 to i32
  %57 = icmp ne i32 %56, 58
  br i1 %57, label %67, label %58

58:                                               ; preds = %54
  %59 = load i8, ptr %15, align 1, !tbaa !9
  %60 = zext i8 %59 to i32
  %61 = icmp eq i32 %60, 58
  br i1 %61, label %62, label %93

62:                                               ; preds = %58
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = load i8, ptr %63, align 1, !tbaa !9
  %65 = zext i8 %64 to i32
  %66 = icmp eq i32 %65, 128
  br i1 %66, label %67, label %93

67:                                               ; preds = %62, %54
  %68 = load ptr, ptr %16, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct._IPSEC_SPD_ENTRY, ptr %68, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !10
  %71 = getelementptr inbounds %struct._IPSEC_SPD_DATA, ptr %70, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !13
  %73 = getelementptr inbounds %struct._EFI_IPSEC_PROCESS_POLICY, ptr %72, i32 0, i32 4
  %74 = load i32, ptr %73, align 8, !tbaa !16
  %75 = icmp eq i32 %74, 1
  br i1 %75, label %76, label %88

76:                                               ; preds = %67
  %77 = load ptr, ptr %18, align 8, !tbaa !5
  %78 = load ptr, ptr %16, align 8, !tbaa !5
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct._IPSEC_SPD_ENTRY, ptr %79, i32 0, i32 1
  %81 = load ptr, ptr %80, align 8, !tbaa !10
  %82 = getelementptr inbounds %struct._IPSEC_SPD_DATA, ptr %81, i32 0, i32 3
  %83 = load ptr, ptr %82, align 8, !tbaa !13
  %84 = getelementptr inbounds %struct._EFI_IPSEC_PROCESS_POLICY, ptr %83, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  %86 = getelementptr inbounds %struct._EFI_IPSEC_TUNNEL_OPTION, ptr %85, i32 0, i32 1
  %87 = call i64 @IkeNegotiate(ptr noundef %77, ptr noundef %78, ptr noundef %86)
  br label %92

88:                                               ; preds = %67
  %89 = load ptr, ptr %18, align 8, !tbaa !5
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  %91 = call i64 @IkeNegotiate(ptr noundef %89, ptr noundef %90, ptr noundef %21)
  br label %92

92:                                               ; preds = %88, %76
  br label %93

93:                                               ; preds = %92, %62, %58
  store i64 -9223372036854775802, ptr %9, align 8
  store i32 1, ptr %23, align 4
  br label %129

94:                                               ; preds = %45
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._IPSEC_SAD_ENTRY, ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !21
  store ptr %97, ptr %20, align 8, !tbaa !5
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._IPSEC_SAD_DATA, ptr %98, i32 0, i32 10
  %100 = load i8, ptr %99, align 1, !tbaa !23
  %101 = icmp ne i8 %100, 0
  br i1 %101, label %126, label %102

102:                                              ; preds = %94
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct._IPSEC_SAD_DATA, ptr %103, i32 0, i32 9
  %105 = load i8, ptr %104, align 8, !tbaa !25
  %106 = icmp ne i8 %105, 0
  br i1 %106, label %107, label %115

107:                                              ; preds = %102
  %108 = load ptr, ptr %20, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct._IPSEC_SAD_DATA, ptr %108, i32 0, i32 1
  %110 = load i64, ptr %109, align 8, !tbaa !26
  %111 = add i64 %110, 1
  %112 = icmp eq i64 %111, 0
  br i1 %112, label %113, label %114

113:                                              ; preds = %107
  store i64 -9223372036854775801, ptr %9, align 8
  store i32 1, ptr %23, align 4
  br label %129

114:                                              ; preds = %107
  br label %125

115:                                              ; preds = %102
  %116 = load ptr, ptr %20, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._IPSEC_SAD_DATA, ptr %116, i32 0, i32 1
  %118 = load i64, ptr %117, align 8, !tbaa !26
  %119 = trunc i64 %118 to i32
  store i32 %119, ptr %22, align 4, !tbaa !27
  %120 = load i32, ptr %22, align 4, !tbaa !27
  %121 = add i32 %120, 1
  %122 = icmp eq i32 %121, 0
  br i1 %122, label %123, label %124

123:                                              ; preds = %115
  store i64 -9223372036854775801, ptr %9, align 8
  store i32 1, ptr %23, align 4
  br label %129

124:                                              ; preds = %115
  br label %125

125:                                              ; preds = %124, %114
  br label %126

126:                                              ; preds = %125, %94
  %127 = load ptr, ptr %19, align 8, !tbaa !5
  %128 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %127, ptr %128, align 8, !tbaa !5
  store i64 0, ptr %9, align 8
  store i32 1, ptr %23, align 4
  br label %129

129:                                              ; preds = %126, %123, %113, %93, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  %130 = load i64, ptr %9, align 8
  ret i64 %130
}

declare ptr @IkeLookupUdp(ptr noundef, ptr noundef, i8 noundef zeroext) #1

declare i64 @IkeNegotiate(ptr noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 8}
!11 = !{!"_IPSEC_SPD_ENTRY", !6, i64 0, !6, i64 8, !12, i64 16}
!12 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!13 = !{!14, !6, i64 208}
!14 = !{!"_IPSEC_SPD_DATA", !7, i64 0, !15, i64 200, !15, i64 204, !6, i64 208, !12, i64 216}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !15, i64 32}
!17 = !{!"_EFI_IPSEC_PROCESS_POLICY", !7, i64 0, !7, i64 1, !7, i64 2, !18, i64 8, !15, i64 32, !6, i64 40, !15, i64 48, !7, i64 52, !7, i64 53}
!18 = !{!"_EFI_IPSEC_SA_LIFETIME", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"long long", !7, i64 0}
!20 = !{!17, !6, i64 40}
!21 = !{!22, !6, i64 8}
!22 = !{!"_IPSEC_SAD_ENTRY", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 32}
!23 = !{!24, !7, i64 153}
!24 = !{!"_IPSEC_SAD_DATA", !15, i64 0, !19, i64 8, !7, i64 16, !7, i64 24, !7, i64 56, !18, i64 104, !15, i64 128, !6, i64 136, !6, i64 144, !7, i64 152, !7, i64 153, !7, i64 156, !7, i64 172}
!25 = !{!24, !7, i64 152}
!26 = !{!24, !19, i64 8}
!27 = !{!15, !15, 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"

%union.EFI_IP_ADDRESS = type { [4 x i32] }

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

declare ptr @ZeroMem(ptr noundef, i64 noundef) local_unnamed_addr #1

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

declare ptr @CopyMem(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @IpSecLookupSadBySpd(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i64 -9223372036854775802, 1) i64 @IpSecLookupSadEntry(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2, ptr noundef %3, ptr nocapture noundef readonly %4, i8 noundef zeroext %5, ptr noundef %6, ptr nocapture noundef writeonly %7) local_unnamed_addr #2 {
  %9 = alloca %union.EFI_IP_ADDRESS, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #3
  store ptr null, ptr %7, align 8, !tbaa !5
  %10 = tail call ptr @IkeLookupUdp(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #3
  %11 = icmp eq ptr %10, null
  br i1 %11, label %56, label %12

12:                                               ; preds = %8
  %13 = call ptr @ZeroMem(ptr noundef nonnull %9, i64 noundef 16) #3
  %14 = icmp eq i8 %2, 4
  %. = select i1 %14, i64 16, i64 24
  %.34 = select i1 %14, i64 4, i64 16
  %15 = getelementptr inbounds i8, ptr %3, i64 %.
  %16 = call ptr @CopyMem(ptr noundef nonnull %9, ptr noundef nonnull %15, i64 noundef %.34) #3
  %17 = getelementptr inbounds i8, ptr %6, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %18, i64 216
  %20 = call ptr @IpSecLookupSadBySpd(ptr noundef nonnull %19, ptr noundef nonnull %9, i8 noundef zeroext %2)
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %40

22:                                               ; preds = %12
  %.not31 = icmp eq i8 %5, 58
  br i1 %.not31, label %23, label %26

23:                                               ; preds = %22
  %24 = load i8, ptr %4, align 1, !tbaa !12
  %25 = icmp eq i8 %24, -128
  br i1 %25, label %26, label %56

26:                                               ; preds = %23, %22
  %27 = load ptr, ptr %17, align 8, !tbaa !9
  %28 = getelementptr inbounds i8, ptr %27, i64 208
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = getelementptr inbounds i8, ptr %29, i64 32
  %31 = load i32, ptr %30, align 8, !tbaa !16
  %32 = icmp eq i32 %31, 1
  br i1 %32, label %33, label %38

33:                                               ; preds = %26
  %34 = getelementptr inbounds i8, ptr %29, i64 40
  %35 = load ptr, ptr %34, align 8, !tbaa !20
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = call i64 @IkeNegotiate(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %36) #3
  br label %56

38:                                               ; preds = %26
  %39 = call i64 @IkeNegotiate(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %9) #3
  br label %56

40:                                               ; preds = %12
  %41 = getelementptr inbounds i8, ptr %20, i64 8
  %42 = load ptr, ptr %41, align 8, !tbaa !21
  %43 = getelementptr inbounds i8, ptr %42, i64 153
  %44 = load i8, ptr %43, align 1, !tbaa !23
  %.not = icmp eq i8 %44, 0
  br i1 %.not, label %45, label %55

45:                                               ; preds = %40
  %46 = getelementptr inbounds i8, ptr %42, i64 152
  %47 = load i8, ptr %46, align 8, !tbaa !25
  %.not30 = icmp eq i8 %47, 0
  %48 = getelementptr inbounds i8, ptr %42, i64 8
  %49 = load i64, ptr %48, align 8, !tbaa !26
  br i1 %.not30, label %52, label %50

50:                                               ; preds = %45
  %51 = icmp eq i64 %49, -1
  br i1 %51, label %56, label %55

52:                                               ; preds = %45
  %53 = and i64 %49, 4294967295
  %54 = icmp eq i64 %53, 4294967295
  br i1 %54, label %56, label %55

55:                                               ; preds = %50, %52, %40
  store ptr %20, ptr %7, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %52, %50, %23, %38, %33, %8, %55
  %.0 = phi i64 [ 0, %55 ], [ -9223372036854775801, %8 ], [ -9223372036854775802, %33 ], [ -9223372036854775802, %38 ], [ -9223372036854775802, %23 ], [ -9223372036854775801, %50 ], [ -9223372036854775801, %52 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #3
  ret i64 %.0
}

declare ptr @IkeLookupUdp(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

declare i64 @IkeNegotiate(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_IPSEC_SPD_ENTRY", !6, i64 0, !6, i64 8, !11, i64 16}
!11 = !{!"_LIST_ENTRY", !6, i64 0, !6, i64 8}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !6, i64 208}
!14 = !{!"_IPSEC_SPD_DATA", !7, i64 0, !15, i64 200, !15, i64 204, !6, i64 208, !11, i64 216}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !15, i64 32}
!17 = !{!"_EFI_IPSEC_PROCESS_POLICY", !7, i64 0, !7, i64 1, !7, i64 2, !18, i64 8, !15, i64 32, !6, i64 40, !15, i64 48, !7, i64 52, !7, i64 53}
!18 = !{!"_EFI_IPSEC_SA_LIFETIME", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"long long", !7, i64 0}
!20 = !{!17, !6, i64 40}
!21 = !{!22, !6, i64 8}
!22 = !{!"_IPSEC_SAD_ENTRY", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 32}
!23 = !{!24, !7, i64 153}
!24 = !{!"_IPSEC_SAD_DATA", !15, i64 0, !19, i64 8, !7, i64 16, !7, i64 24, !7, i64 56, !18, i64 104, !15, i64 128, !6, i64 136, !6, i64 144, !7, i64 152, !7, i64 153, !7, i64 156, !7, i64 172}
!25 = !{!24, !7, i64 152}
!26 = !{!24, !19, i64 8}


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