; LLVM IR from openxrlab/xrsfm :: 3rdparty/apriltag (tag25h9)

; 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.apriltag_family = type { i32, ptr, i32, i32, i8, i32, ptr, ptr, i32, ptr, ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@codedata = external hidden global [35 x i64], align 16

; Function Attrs: nounwind uwtable
define dso_local ptr @tag25h9_create() #0 {
  %1 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %2 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 72) #5
  store ptr %2, ptr %1, align 8, !tbaa !5
  %3 = call noalias ptr @strdup(ptr noundef @.str) #4
  %4 = load ptr, ptr %1, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct.apriltag_family, ptr %4, i32 0, i32 9
  store ptr %3, ptr %5, align 8, !tbaa !9
  %6 = load ptr, ptr %1, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.apriltag_family, ptr %6, i32 0, i32 8
  store i32 9, ptr %7, align 8, !tbaa !13
  %8 = load ptr, ptr %1, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.apriltag_family, ptr %8, i32 0, i32 0
  store i32 35, ptr %9, align 8, !tbaa !14
  %10 = load ptr, ptr %1, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.apriltag_family, ptr %10, i32 0, i32 1
  store ptr @codedata, ptr %11, align 8, !tbaa !15
  %12 = load ptr, ptr %1, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.apriltag_family, ptr %12, i32 0, i32 5
  store i32 25, ptr %13, align 4, !tbaa !16
  %14 = call noalias ptr @calloc(i64 noundef 25, i64 noundef 4) #5
  %15 = load ptr, ptr %1, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.apriltag_family, ptr %15, i32 0, i32 6
  store ptr %14, ptr %16, align 8, !tbaa !17
  %17 = call noalias ptr @calloc(i64 noundef 25, i64 noundef 4) #5
  %18 = load ptr, ptr %1, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.apriltag_family, ptr %18, i32 0, i32 7
  store ptr %17, ptr %19, align 8, !tbaa !18
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.apriltag_family, ptr %20, i32 0, i32 6
  %22 = load ptr, ptr %21, align 8, !tbaa !17
  %23 = getelementptr inbounds i32, ptr %22, i64 0
  store i32 1, ptr %23, align 4, !tbaa !19
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.apriltag_family, ptr %24, i32 0, i32 7
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds i32, ptr %26, i64 0
  store i32 1, ptr %27, align 4, !tbaa !19
  %28 = load ptr, ptr %1, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.apriltag_family, ptr %28, i32 0, i32 6
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = getelementptr inbounds i32, ptr %30, i64 1
  store i32 2, ptr %31, align 4, !tbaa !19
  %32 = load ptr, ptr %1, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.apriltag_family, ptr %32, i32 0, i32 7
  %34 = load ptr, ptr %33, align 8, !tbaa !18
  %35 = getelementptr inbounds i32, ptr %34, i64 1
  store i32 1, ptr %35, align 4, !tbaa !19
  %36 = load ptr, ptr %1, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.apriltag_family, ptr %36, i32 0, i32 6
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = getelementptr inbounds i32, ptr %38, i64 2
  store i32 3, ptr %39, align 4, !tbaa !19
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.apriltag_family, ptr %40, i32 0, i32 7
  %42 = load ptr, ptr %41, align 8, !tbaa !18
  %43 = getelementptr inbounds i32, ptr %42, i64 2
  store i32 1, ptr %43, align 4, !tbaa !19
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.apriltag_family, ptr %44, i32 0, i32 6
  %46 = load ptr, ptr %45, align 8, !tbaa !17
  %47 = getelementptr inbounds i32, ptr %46, i64 3
  store i32 4, ptr %47, align 4, !tbaa !19
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.apriltag_family, ptr %48, i32 0, i32 7
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = getelementptr inbounds i32, ptr %50, i64 3
  store i32 1, ptr %51, align 4, !tbaa !19
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.apriltag_family, ptr %52, i32 0, i32 6
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = getelementptr inbounds i32, ptr %54, i64 4
  store i32 2, ptr %55, align 4, !tbaa !19
  %56 = load ptr, ptr %1, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.apriltag_family, ptr %56, i32 0, i32 7
  %58 = load ptr, ptr %57, align 8, !tbaa !18
  %59 = getelementptr inbounds i32, ptr %58, i64 4
  store i32 2, ptr %59, align 4, !tbaa !19
  %60 = load ptr, ptr %1, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.apriltag_family, ptr %60, i32 0, i32 6
  %62 = load ptr, ptr %61, align 8, !tbaa !17
  %63 = getelementptr inbounds i32, ptr %62, i64 5
  store i32 3, ptr %63, align 4, !tbaa !19
  %64 = load ptr, ptr %1, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.apriltag_family, ptr %64, i32 0, i32 7
  %66 = load ptr, ptr %65, align 8, !tbaa !18
  %67 = getelementptr inbounds i32, ptr %66, i64 5
  store i32 2, ptr %67, align 4, !tbaa !19
  %68 = load ptr, ptr %1, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.apriltag_family, ptr %68, i32 0, i32 6
  %70 = load ptr, ptr %69, align 8, !tbaa !17
  %71 = getelementptr inbounds i32, ptr %70, i64 6
  store i32 5, ptr %71, align 4, !tbaa !19
  %72 = load ptr, ptr %1, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.apriltag_family, ptr %72, i32 0, i32 7
  %74 = load ptr, ptr %73, align 8, !tbaa !18
  %75 = getelementptr inbounds i32, ptr %74, i64 6
  store i32 1, ptr %75, align 4, !tbaa !19
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.apriltag_family, ptr %76, i32 0, i32 6
  %78 = load ptr, ptr %77, align 8, !tbaa !17
  %79 = getelementptr inbounds i32, ptr %78, i64 7
  store i32 5, ptr %79, align 4, !tbaa !19
  %80 = load ptr, ptr %1, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.apriltag_family, ptr %80, i32 0, i32 7
  %82 = load ptr, ptr %81, align 8, !tbaa !18
  %83 = getelementptr inbounds i32, ptr %82, i64 7
  store i32 2, ptr %83, align 4, !tbaa !19
  %84 = load ptr, ptr %1, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.apriltag_family, ptr %84, i32 0, i32 6
  %86 = load ptr, ptr %85, align 8, !tbaa !17
  %87 = getelementptr inbounds i32, ptr %86, i64 8
  store i32 5, ptr %87, align 4, !tbaa !19
  %88 = load ptr, ptr %1, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.apriltag_family, ptr %88, i32 0, i32 7
  %90 = load ptr, ptr %89, align 8, !tbaa !18
  %91 = getelementptr inbounds i32, ptr %90, i64 8
  store i32 3, ptr %91, align 4, !tbaa !19
  %92 = load ptr, ptr %1, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.apriltag_family, ptr %92, i32 0, i32 6
  %94 = load ptr, ptr %93, align 8, !tbaa !17
  %95 = getelementptr inbounds i32, ptr %94, i64 9
  store i32 5, ptr %95, align 4, !tbaa !19
  %96 = load ptr, ptr %1, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.apriltag_family, ptr %96, i32 0, i32 7
  %98 = load ptr, ptr %97, align 8, !tbaa !18
  %99 = getelementptr inbounds i32, ptr %98, i64 9
  store i32 4, ptr %99, align 4, !tbaa !19
  %100 = load ptr, ptr %1, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.apriltag_family, ptr %100, i32 0, i32 6
  %102 = load ptr, ptr %101, align 8, !tbaa !17
  %103 = getelementptr inbounds i32, ptr %102, i64 10
  store i32 4, ptr %103, align 4, !tbaa !19
  %104 = load ptr, ptr %1, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.apriltag_family, ptr %104, i32 0, i32 7
  %106 = load ptr, ptr %105, align 8, !tbaa !18
  %107 = getelementptr inbounds i32, ptr %106, i64 10
  store i32 2, ptr %107, align 4, !tbaa !19
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.apriltag_family, ptr %108, i32 0, i32 6
  %110 = load ptr, ptr %109, align 8, !tbaa !17
  %111 = getelementptr inbounds i32, ptr %110, i64 11
  store i32 4, ptr %111, align 4, !tbaa !19
  %112 = load ptr, ptr %1, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.apriltag_family, ptr %112, i32 0, i32 7
  %114 = load ptr, ptr %113, align 8, !tbaa !18
  %115 = getelementptr inbounds i32, ptr %114, i64 11
  store i32 3, ptr %115, align 4, !tbaa !19
  %116 = load ptr, ptr %1, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.apriltag_family, ptr %116, i32 0, i32 6
  %118 = load ptr, ptr %117, align 8, !tbaa !17
  %119 = getelementptr inbounds i32, ptr %118, i64 12
  store i32 5, ptr %119, align 4, !tbaa !19
  %120 = load ptr, ptr %1, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.apriltag_family, ptr %120, i32 0, i32 7
  %122 = load ptr, ptr %121, align 8, !tbaa !18
  %123 = getelementptr inbounds i32, ptr %122, i64 12
  store i32 5, ptr %123, align 4, !tbaa !19
  %124 = load ptr, ptr %1, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.apriltag_family, ptr %124, i32 0, i32 6
  %126 = load ptr, ptr %125, align 8, !tbaa !17
  %127 = getelementptr inbounds i32, ptr %126, i64 13
  store i32 4, ptr %127, align 4, !tbaa !19
  %128 = load ptr, ptr %1, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.apriltag_family, ptr %128, i32 0, i32 7
  %130 = load ptr, ptr %129, align 8, !tbaa !18
  %131 = getelementptr inbounds i32, ptr %130, i64 13
  store i32 5, ptr %131, align 4, !tbaa !19
  %132 = load ptr, ptr %1, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.apriltag_family, ptr %132, i32 0, i32 6
  %134 = load ptr, ptr %133, align 8, !tbaa !17
  %135 = getelementptr inbounds i32, ptr %134, i64 14
  store i32 3, ptr %135, align 4, !tbaa !19
  %136 = load ptr, ptr %1, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.apriltag_family, ptr %136, i32 0, i32 7
  %138 = load ptr, ptr %137, align 8, !tbaa !18
  %139 = getelementptr inbounds i32, ptr %138, i64 14
  store i32 5, ptr %139, align 4, !tbaa !19
  %140 = load ptr, ptr %1, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.apriltag_family, ptr %140, i32 0, i32 6
  %142 = load ptr, ptr %141, align 8, !tbaa !17
  %143 = getelementptr inbounds i32, ptr %142, i64 15
  store i32 2, ptr %143, align 4, !tbaa !19
  %144 = load ptr, ptr %1, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.apriltag_family, ptr %144, i32 0, i32 7
  %146 = load ptr, ptr %145, align 8, !tbaa !18
  %147 = getelementptr inbounds i32, ptr %146, i64 15
  store i32 5, ptr %147, align 4, !tbaa !19
  %148 = load ptr, ptr %1, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.apriltag_family, ptr %148, i32 0, i32 6
  %150 = load ptr, ptr %149, align 8, !tbaa !17
  %151 = getelementptr inbounds i32, ptr %150, i64 16
  store i32 4, ptr %151, align 4, !tbaa !19
  %152 = load ptr, ptr %1, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.apriltag_family, ptr %152, i32 0, i32 7
  %154 = load ptr, ptr %153, align 8, !tbaa !18
  %155 = getelementptr inbounds i32, ptr %154, i64 16
  store i32 4, ptr %155, align 4, !tbaa !19
  %156 = load ptr, ptr %1, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.apriltag_family, ptr %156, i32 0, i32 6
  %158 = load ptr, ptr %157, align 8, !tbaa !17
  %159 = getelementptr inbounds i32, ptr %158, i64 17
  store i32 3, ptr %159, align 4, !tbaa !19
  %160 = load ptr, ptr %1, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.apriltag_family, ptr %160, i32 0, i32 7
  %162 = load ptr, ptr %161, align 8, !tbaa !18
  %163 = getelementptr inbounds i32, ptr %162, i64 17
  store i32 4, ptr %163, align 4, !tbaa !19
  %164 = load ptr, ptr %1, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.apriltag_family, ptr %164, i32 0, i32 6
  %166 = load ptr, ptr %165, align 8, !tbaa !17
  %167 = getelementptr inbounds i32, ptr %166, i64 18
  store i32 1, ptr %167, align 4, !tbaa !19
  %168 = load ptr, ptr %1, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.apriltag_family, ptr %168, i32 0, i32 7
  %170 = load ptr, ptr %169, align 8, !tbaa !18
  %171 = getelementptr inbounds i32, ptr %170, i64 18
  store i32 5, ptr %171, align 4, !tbaa !19
  %172 = load ptr, ptr %1, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.apriltag_family, ptr %172, i32 0, i32 6
  %174 = load ptr, ptr %173, align 8, !tbaa !17
  %175 = getelementptr inbounds i32, ptr %174, i64 19
  store i32 1, ptr %175, align 4, !tbaa !19
  %176 = load ptr, ptr %1, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.apriltag_family, ptr %176, i32 0, i32 7
  %178 = load ptr, ptr %177, align 8, !tbaa !18
  %179 = getelementptr inbounds i32, ptr %178, i64 19
  store i32 4, ptr %179, align 4, !tbaa !19
  %180 = load ptr, ptr %1, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.apriltag_family, ptr %180, i32 0, i32 6
  %182 = load ptr, ptr %181, align 8, !tbaa !17
  %183 = getelementptr inbounds i32, ptr %182, i64 20
  store i32 1, ptr %183, align 4, !tbaa !19
  %184 = load ptr, ptr %1, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.apriltag_family, ptr %184, i32 0, i32 7
  %186 = load ptr, ptr %185, align 8, !tbaa !18
  %187 = getelementptr inbounds i32, ptr %186, i64 20
  store i32 3, ptr %187, align 4, !tbaa !19
  %188 = load ptr, ptr %1, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.apriltag_family, ptr %188, i32 0, i32 6
  %190 = load ptr, ptr %189, align 8, !tbaa !17
  %191 = getelementptr inbounds i32, ptr %190, i64 21
  store i32 1, ptr %191, align 4, !tbaa !19
  %192 = load ptr, ptr %1, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.apriltag_family, ptr %192, i32 0, i32 7
  %194 = load ptr, ptr %193, align 8, !tbaa !18
  %195 = getelementptr inbounds i32, ptr %194, i64 21
  store i32 2, ptr %195, align 4, !tbaa !19
  %196 = load ptr, ptr %1, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.apriltag_family, ptr %196, i32 0, i32 6
  %198 = load ptr, ptr %197, align 8, !tbaa !17
  %199 = getelementptr inbounds i32, ptr %198, i64 22
  store i32 2, ptr %199, align 4, !tbaa !19
  %200 = load ptr, ptr %1, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.apriltag_family, ptr %200, i32 0, i32 7
  %202 = load ptr, ptr %201, align 8, !tbaa !18
  %203 = getelementptr inbounds i32, ptr %202, i64 22
  store i32 4, ptr %203, align 4, !tbaa !19
  %204 = load ptr, ptr %1, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.apriltag_family, ptr %204, i32 0, i32 6
  %206 = load ptr, ptr %205, align 8, !tbaa !17
  %207 = getelementptr inbounds i32, ptr %206, i64 23
  store i32 2, ptr %207, align 4, !tbaa !19
  %208 = load ptr, ptr %1, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.apriltag_family, ptr %208, i32 0, i32 7
  %210 = load ptr, ptr %209, align 8, !tbaa !18
  %211 = getelementptr inbounds i32, ptr %210, i64 23
  store i32 3, ptr %211, align 4, !tbaa !19
  %212 = load ptr, ptr %1, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.apriltag_family, ptr %212, i32 0, i32 6
  %214 = load ptr, ptr %213, align 8, !tbaa !17
  %215 = getelementptr inbounds i32, ptr %214, i64 24
  store i32 3, ptr %215, align 4, !tbaa !19
  %216 = load ptr, ptr %1, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.apriltag_family, ptr %216, i32 0, i32 7
  %218 = load ptr, ptr %217, align 8, !tbaa !18
  %219 = getelementptr inbounds i32, ptr %218, i64 24
  store i32 3, ptr %219, align 4, !tbaa !19
  %220 = load ptr, ptr %1, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.apriltag_family, ptr %220, i32 0, i32 2
  store i32 7, ptr %221, align 8, !tbaa !20
  %222 = load ptr, ptr %1, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.apriltag_family, ptr %222, i32 0, i32 3
  store i32 9, ptr %223, align 4, !tbaa !21
  %224 = load ptr, ptr %1, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.apriltag_family, ptr %224, i32 0, i32 4
  store i8 0, ptr %225, align 8, !tbaa !22
  %226 = load ptr, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret ptr %226
}

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #3

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(0,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 #3 = { 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 #4 = { nounwind }
attributes #5 = { nounwind allocsize(0,1) }

!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 56}
!10 = !{!"apriltag_family", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!10, !11, i64 48}
!14 = !{!10, !11, i64 0}
!15 = !{!10, !6, i64 8}
!16 = !{!10, !11, i64 28}
!17 = !{!10, !6, i64 32}
!18 = !{!10, !6, i64 40}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !11, i64 16}
!21 = !{!10, !11, i64 20}
!22 = !{!10, !12, i64 24}


; 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 = external hidden unnamed_addr constant [8 x i8], align 1
@codedata = external hidden global [35 x i64], align 16

; Function Attrs: mustprogress nofree nounwind willreturn memory(write, argmem: none, inaccessiblemem: readwrite) uwtable
define dso_local noalias noundef ptr @tag25h9_create() local_unnamed_addr #0 {
  %1 = tail call noalias dereferenceable_or_null(72) ptr @calloc(i64 noundef 1, i64 noundef 72) #3
  %2 = tail call noalias ptr @strdup(ptr noundef nonnull @.str) #4
  %3 = getelementptr inbounds i8, ptr %1, i64 56
  store ptr %2, ptr %3, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %1, i64 48
  store i32 9, ptr %4, align 8, !tbaa !12
  store i32 35, ptr %1, align 8, !tbaa !13
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr @codedata, ptr %5, align 8, !tbaa !14
  %6 = getelementptr inbounds i8, ptr %1, i64 28
  store i32 25, ptr %6, align 4, !tbaa !15
  %7 = tail call noalias dereferenceable_or_null(100) ptr @calloc(i64 noundef 25, i64 noundef 4) #3
  %8 = getelementptr inbounds i8, ptr %1, i64 32
  store ptr %7, ptr %8, align 8, !tbaa !16
  %9 = tail call noalias dereferenceable_or_null(100) ptr @calloc(i64 noundef 25, i64 noundef 4) #3
  %10 = getelementptr inbounds i8, ptr %1, i64 40
  store ptr %9, ptr %10, align 8, !tbaa !17
  store <4 x i32> <i32 1, i32 2, i32 3, i32 4>, ptr %7, align 4, !tbaa !18
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %9, align 4, !tbaa !18
  %11 = getelementptr inbounds i8, ptr %7, i64 16
  %12 = getelementptr inbounds i8, ptr %9, i64 16
  store <4 x i32> <i32 2, i32 3, i32 5, i32 5>, ptr %11, align 4, !tbaa !18
  store <4 x i32> <i32 2, i32 2, i32 1, i32 2>, ptr %12, align 4, !tbaa !18
  %13 = getelementptr inbounds i8, ptr %7, i64 32
  %14 = getelementptr inbounds i8, ptr %9, i64 32
  store <4 x i32> <i32 5, i32 5, i32 4, i32 4>, ptr %13, align 4, !tbaa !18
  store <4 x i32> <i32 3, i32 4, i32 2, i32 3>, ptr %14, align 4, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %7, i64 48
  %16 = getelementptr inbounds i8, ptr %9, i64 48
  store <4 x i32> <i32 5, i32 4, i32 3, i32 2>, ptr %15, align 4, !tbaa !18
  store <4 x i32> <i32 5, i32 5, i32 5, i32 5>, ptr %16, align 4, !tbaa !18
  %17 = getelementptr inbounds i8, ptr %7, i64 64
  %18 = getelementptr inbounds i8, ptr %9, i64 64
  store <4 x i32> <i32 4, i32 3, i32 1, i32 1>, ptr %17, align 4, !tbaa !18
  store <4 x i32> <i32 4, i32 4, i32 5, i32 4>, ptr %18, align 4, !tbaa !18
  %19 = getelementptr inbounds i8, ptr %7, i64 80
  %20 = getelementptr inbounds i8, ptr %9, i64 80
  store <4 x i32> <i32 1, i32 1, i32 2, i32 2>, ptr %19, align 4, !tbaa !18
  store <4 x i32> <i32 3, i32 2, i32 4, i32 3>, ptr %20, align 4, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %7, i64 96
  store i32 3, ptr %21, align 4, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %9, i64 96
  store i32 3, ptr %22, align 4, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %1, i64 16
  store i32 7, ptr %23, align 8, !tbaa !19
  %24 = getelementptr inbounds i8, ptr %1, i64 20
  store i32 9, ptr %24, align 4, !tbaa !20
  ret ptr %1
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #2

attributes #0 = { mustprogress nofree nounwind willreturn memory(write, argmem: none, inaccessiblemem: readwrite) 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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allocsize(0,1) }
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, !10, i64 56}
!6 = !{!"apriltag_family", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !7, i64 28, !10, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !10, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{!6, !7, i64 48}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!6, !7, i64 28}
!16 = !{!6, !10, i64 32}
!17 = !{!6, !10, i64 40}
!18 = !{!7, !7, i64 0}
!19 = !{!6, !7, i64 16}
!20 = !{!6, !7, i64 20}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass