; LLVM IR from kala13x/libxutils :: tools (xhttp)

; 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.xhttp_ = type { ptr, i16, ptr, i32, %struct.XByteBuffer, i32, %struct.XMap, i16, i16, i64, i64, i64, i64, i64, i8, i8, i8, [256 x i8], [128 x i8], [2048 x i8] }
%struct.XByteBuffer = type { ptr, i64, i64, i16, i16, i32 }
%struct.XMap = type { ptr, ptr, ptr, i64, i64, i32 }
%struct.xhttp_args_ = type { i32, %struct.xcli_bar_, ptr, %struct.XTime, i8, i8, i8, i8, i8, i64, i64, i64, %struct.XByteBuffer, [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8], [2048 x i8] }
%struct.xcli_bar_ = type { %struct.xcli_size_, i64, i64, i32, i32, i8, i8, i8, i8, double, i32, i8, i8, i8, i8, i8, i8, [256 x i8], [256 x i8], [256 x i8] }
%struct.xcli_size_ = type { i64, i64 }
%struct.XTime = type { i16, i8, i8, i8, i8, i8, i8 }

@.str.26 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [27 x i8], align 1

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

declare i32 @printf(ptr noundef, ...) #1

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

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

declare zeroext i8 @xstrused(ptr noundef) #1

declare void @XLog_Display(i32 noundef, i8 noundef zeroext, ptr noundef, ...) #1

declare i64 @xstrncpyf(ptr noundef, i64 noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @XHTTPApp_DisplayResponseHdr(ptr noundef %0) #2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca [256 x i8], align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.xhttp_, ptr %11, i32 0, i32 2
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  store ptr %13, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.xhttp_args_, ptr %14, i32 0, i32 7
  %16 = load i8, ptr %15, align 1, !tbaa !16
  %17 = icmp ne i8 %16, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %1
  store i32 1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %117

19:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.xhttp_, ptr %20, i32 0, i32 8
  %22 = load i16, ptr %21, align 2, !tbaa !22
  %23 = zext i16 %22 to i32
  %24 = call ptr @XHTTP_GetCodeStr(i32 noundef %23)
  store ptr %24, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = call ptr @XHTTP_GetHeader(ptr noundef %25, ptr noundef @.str.43)
  store ptr %26, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #3
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.xhttp_, ptr %27, i32 0, i32 4
  %29 = getelementptr inbounds %struct.XByteBuffer, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !23
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.xhttp_, ptr %31, i32 0, i32 10
  %33 = load i64, ptr %32, align 8, !tbaa !24
  %34 = sub i64 %33, 1
  %35 = getelementptr inbounds i8, ptr %30, i64 %34
  %36 = load i8, ptr %35, align 1, !tbaa !25
  store i8 %36, ptr %8, align 1, !tbaa !25
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.xhttp_, ptr %37, i32 0, i32 4
  %39 = getelementptr inbounds %struct.XByteBuffer, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !23
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.xhttp_, ptr %41, i32 0, i32 10
  %43 = load i64, ptr %42, align 8, !tbaa !24
  %44 = sub i64 %43, 1
  %45 = getelementptr inbounds i8, ptr %40, i64 %44
  store i8 0, ptr %45, align 1, !tbaa !25
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 16, i8 noundef zeroext 1, ptr noundef @.str.44, ptr noundef %46)
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.xhttp_, ptr %47, i32 0, i32 4
  %49 = getelementptr inbounds %struct.XByteBuffer, ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !23
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, ptr noundef %50)
  %52 = load i8, ptr %8, align 1, !tbaa !25
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.xhttp_, ptr %53, i32 0, i32 4
  %55 = getelementptr inbounds %struct.XByteBuffer, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !23
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.xhttp_, ptr %57, i32 0, i32 10
  %59 = load i64, ptr %58, align 8, !tbaa !24
  %60 = sub i64 %59, 1
  %61 = getelementptr inbounds i8, ptr %56, i64 %60
  store i8 %52, ptr %61, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #3
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.xhttp_, ptr %62, i32 0, i32 8
  %64 = load i16, ptr %63, align 2, !tbaa !22
  %65 = zext i16 %64 to i32
  %66 = icmp sge i32 %65, 300
  br i1 %66, label %67, label %83

67:                                               ; preds = %19
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.xhttp_, ptr %68, i32 0, i32 8
  %70 = load i16, ptr %69, align 2, !tbaa !22
  %71 = zext i16 %70 to i32
  %72 = icmp slt i32 %71, 400
  br i1 %72, label %73, label %83

73:                                               ; preds = %67
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.xhttp_args_, ptr %74, i32 0, i32 4
  %76 = load i8, ptr %75, align 8, !tbaa !26
  %77 = zext i8 %76 to i32
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %83

79:                                               ; preds = %73
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = call ptr @XHTTP_GetHeader(ptr noundef %80, ptr noundef @.str.46)
  %82 = icmp ne ptr %81, null
  br label %83

83:                                               ; preds = %79, %73, %67, %19
  %84 = phi i1 [ false, %73 ], [ false, %67 ], [ false, %19 ], [ %82, %79 ]
  %85 = zext i1 %84 to i64
  %86 = select i1 %84, i32 1, i32 0
  %87 = trunc i32 %86 to i8
  store i8 %87, ptr %9, align 1, !tbaa !25
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.xhttp_, ptr %88, i32 0, i32 9
  %90 = load i64, ptr %89, align 8, !tbaa !27
  %91 = icmp ugt i64 %90, 0
  br i1 %91, label %97, label %92

92:                                               ; preds = %83
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = call zeroext i8 @xstrused(ptr noundef %93)
  %95 = zext i8 %94 to i32
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %116

97:                                               ; preds = %92, %83
  %98 = load i8, ptr %9, align 1, !tbaa !25
  %99 = icmp ne i8 %98, 0
  br i1 %99, label %116, label %100

100:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 256, ptr %10) #3
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.xhttp_, ptr %101, i32 0, i32 9
  %103 = load i64, ptr %102, align 8, !tbaa !27
  %104 = icmp ne i64 %103, 0
  br i1 %104, label %108, label %105

105:                                              ; preds = %100
  %106 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
  %107 = call i64 @xstrncpy(ptr noundef %106, i64 noundef 256, ptr noundef @.str.26)
  br label %114

108:                                              ; preds = %100
  %109 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.xhttp_, ptr %110, i32 0, i32 9
  %112 = load i64, ptr %111, align 8, !tbaa !27
  %113 = call i64 (ptr, i64, ptr, ...) @xstrncpyf(ptr noundef %109, i64 noundef 256, ptr noundef @.str.47, i64 noundef %112)
  br label %114

114:                                              ; preds = %108, %105
  %115 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 16, i8 noundef zeroext 1, ptr noundef @.str.48, ptr noundef %115)
  call void @llvm.lifetime.end.p0(i64 256, ptr %10) #3
  br label %116

116:                                              ; preds = %114, %97, %92
  store i32 1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %117

117:                                              ; preds = %116, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  %118 = load i32, ptr %2, align 4
  ret i32 %118
}

declare ptr @XHTTP_GetCodeStr(i32 noundef) #1

declare ptr @XHTTP_GetHeader(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 = !{!10, !6, i64 16}
!10 = !{!"xhttp_", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !13, i64 32, !12, i64 64, !15, i64 72, !11, i64 120, !11, i64 122, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !7, i64 168, !7, i64 169, !7, i64 170, !7, i64 171, !7, i64 427, !7, i64 555}
!11 = !{!"short", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"XByteBuffer", !6, i64 0, !14, i64 8, !14, i64 16, !11, i64 24, !11, i64 26, !12, i64 28}
!14 = !{!"long", !7, i64 0}
!15 = !{!"XMap", !6, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !14, i64 32, !12, i64 40}
!16 = !{!17, !7, i64 867}
!17 = !{!"xhttp_args_", !12, i64 0, !18, i64 8, !6, i64 848, !21, i64 856, !7, i64 864, !7, i64 865, !7, i64 866, !7, i64 867, !7, i64 868, !14, i64 872, !14, i64 880, !14, i64 888, !13, i64 896, !7, i64 928, !7, i64 2976, !7, i64 5024, !7, i64 7072, !7, i64 9120, !7, i64 11168}
!18 = !{!"xcli_bar_", !19, i64 0, !14, i64 16, !14, i64 24, !12, i64 32, !12, i64 36, !7, i64 40, !7, i64 41, !7, i64 42, !7, i64 43, !20, i64 48, !12, i64 56, !7, i64 60, !7, i64 61, !7, i64 62, !7, i64 63, !7, i64 64, !7, i64 65, !7, i64 66, !7, i64 322, !7, i64 578}
!19 = !{!"xcli_size_", !14, i64 0, !14, i64 8}
!20 = !{!"double", !7, i64 0}
!21 = !{!"XTime", !11, i64 0, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7}
!22 = !{!10, !11, i64 122}
!23 = !{!10, !6, i64 32}
!24 = !{!10, !14, i64 136}
!25 = !{!7, !7, i64 0}
!26 = !{!17, !7, i64 864}
!27 = !{!10, !14, i64 128}


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

@.str.26 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [27 x i8], align 1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) 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 i64 @xstrncpy(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare zeroext i8 @xstrused(ptr noundef) local_unnamed_addr #2

declare void @XLog_Display(i32 noundef, i8 noundef zeroext, ptr noundef, ...) local_unnamed_addr #2

declare i64 @xstrncpyf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @XHTTPApp_DisplayResponseHdr(ptr noundef %0) local_unnamed_addr #3 {
  %2 = alloca [256 x i8], align 16
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 867
  %6 = load i8, ptr %5, align 1, !tbaa !15
  %.not = icmp eq i8 %6, 0
  br i1 %.not, label %48, label %7

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %0, i64 122
  %9 = load i16, ptr %8, align 2, !tbaa !21
  %10 = zext i16 %9 to i32
  %11 = tail call ptr @XHTTP_GetCodeStr(i32 noundef %10) #4
  %12 = tail call ptr @XHTTP_GetHeader(ptr noundef nonnull %0, ptr noundef nonnull @.str.43) #4
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  %14 = load ptr, ptr %13, align 8, !tbaa !22
  %15 = getelementptr inbounds i8, ptr %0, i64 136
  %16 = load i64, ptr %15, align 8, !tbaa !23
  %17 = getelementptr i8, ptr %14, i64 %16
  %18 = getelementptr i8, ptr %17, i64 -1
  %19 = load i8, ptr %18, align 1, !tbaa !24
  store i8 0, ptr %18, align 1, !tbaa !24
  tail call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 16, i8 noundef zeroext 1, ptr noundef nonnull @.str.44, ptr noundef %11) #4
  %20 = load ptr, ptr %13, align 8, !tbaa !22
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.45, ptr noundef %20)
  %22 = load ptr, ptr %13, align 8, !tbaa !22
  %23 = load i64, ptr %15, align 8, !tbaa !23
  %24 = getelementptr i8, ptr %22, i64 %23
  %25 = getelementptr i8, ptr %24, i64 -1
  store i8 %19, ptr %25, align 1, !tbaa !24
  %26 = load i16, ptr %8, align 2, !tbaa !21
  %27 = add i16 %26, -300
  %or.cond28 = icmp ult i16 %27, 100
  br i1 %or.cond28, label %28, label %34

28:                                               ; preds = %7
  %29 = getelementptr inbounds i8, ptr %4, i64 864
  %30 = load i8, ptr %29, align 8, !tbaa !25
  %.not25 = icmp eq i8 %30, 0
  br i1 %.not25, label %34, label %31

31:                                               ; preds = %28
  %32 = tail call ptr @XHTTP_GetHeader(ptr noundef nonnull %0, ptr noundef nonnull @.str.46) #4
  %33 = icmp ne ptr %32, null
  br label %34

34:                                               ; preds = %31, %28, %7
  %.old1 = phi i1 [ false, %28 ], [ false, %7 ], [ %33, %31 ]
  %35 = getelementptr inbounds i8, ptr %0, i64 128
  %36 = load i64, ptr %35, align 8, !tbaa !26
  %.not26 = icmp eq i64 %36, 0
  br i1 %.not26, label %37, label %40

37:                                               ; preds = %34
  %38 = tail call zeroext i8 @xstrused(ptr noundef %12) #4
  %39 = icmp eq i8 %38, 0
  %or.cond = select i1 %39, i1 true, i1 %.old1
  br i1 %or.cond, label %48, label %41

40:                                               ; preds = %34
  br i1 %.old1, label %48, label %.thread

.thread:                                          ; preds = %40
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %2) #4
  br label %44

41:                                               ; preds = %37
  %.pr = load i64, ptr %35, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %2) #4
  %.not27 = icmp eq i64 %.pr, 0
  br i1 %.not27, label %42, label %44

42:                                               ; preds = %41
  %43 = call i64 @xstrncpy(ptr noundef nonnull %2, i64 noundef 256, ptr noundef nonnull @.str.26) #4
  br label %47

44:                                               ; preds = %.thread, %41
  %45 = phi i64 [ %36, %.thread ], [ %.pr, %41 ]
  %46 = call i64 (ptr, i64, ptr, ...) @xstrncpyf(ptr noundef nonnull %2, i64 noundef 256, ptr noundef nonnull @.str.47, i64 noundef %45) #4
  br label %47

47:                                               ; preds = %44, %42
  call void (i32, i8, ptr, ...) @XLog_Display(i32 noundef 16, i8 noundef zeroext 1, ptr noundef nonnull @.str.48, ptr noundef nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %2) #4
  br label %48

48:                                               ; preds = %37, %40, %47, %1
  ret i32 1
}

declare ptr @XHTTP_GetCodeStr(i32 noundef) local_unnamed_addr #2

declare ptr @XHTTP_GetHeader(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nofree nounwind "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 }

!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, !7, i64 16}
!6 = !{!"xhttp_", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !12, i64 32, !11, i64 64, !14, i64 72, !10, i64 120, !10, i64 122, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !8, i64 168, !8, i64 169, !8, i64 170, !8, i64 171, !8, i64 427, !8, i64 555}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"XByteBuffer", !7, i64 0, !13, i64 8, !13, i64 16, !10, i64 24, !10, i64 26, !11, i64 28}
!13 = !{!"long", !8, i64 0}
!14 = !{!"XMap", !7, i64 0, !7, i64 8, !7, i64 16, !13, i64 24, !13, i64 32, !11, i64 40}
!15 = !{!16, !8, i64 867}
!16 = !{!"xhttp_args_", !11, i64 0, !17, i64 8, !7, i64 848, !20, i64 856, !8, i64 864, !8, i64 865, !8, i64 866, !8, i64 867, !8, i64 868, !13, i64 872, !13, i64 880, !13, i64 888, !12, i64 896, !8, i64 928, !8, i64 2976, !8, i64 5024, !8, i64 7072, !8, i64 9120, !8, i64 11168}
!17 = !{!"xcli_bar_", !18, i64 0, !13, i64 16, !13, i64 24, !11, i64 32, !11, i64 36, !8, i64 40, !8, i64 41, !8, i64 42, !8, i64 43, !19, i64 48, !11, i64 56, !8, i64 60, !8, i64 61, !8, i64 62, !8, i64 63, !8, i64 64, !8, i64 65, !8, i64 66, !8, i64 322, !8, i64 578}
!18 = !{!"xcli_size_", !13, i64 0, !13, i64 8}
!19 = !{!"double", !8, i64 0}
!20 = !{!"XTime", !10, i64 0, !8, i64 2, !8, i64 3, !8, i64 4, !8, i64 5, !8, i64 6, !8, i64 7}
!21 = !{!6, !10, i64 122}
!22 = !{!6, !7, i64 32}
!23 = !{!6, !13, i64 136}
!24 = !{!8, !8, i64 0}
!25 = !{!16, !8, i64 864}
!26 = !{!6, !13, i64 128}


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