; LLVM IR from ippeb/ACM-ICPC :: algebra/bignum (bignum)

; 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.bignum = type { [12 x i64], i32 }

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@S = external dso_local global [108 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z13precomp_pow10v() #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104), i1 noundef zeroext) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4baseR6bignumPc(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3addR6bignumS0_S0_x(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3subR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4multR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4sqrtR6bignumS0_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104)) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.bignum, align 8
  %3 = alloca %struct.bignum, align 8
  %4 = alloca %struct.bignum, align 8
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @_Z13precomp_pow10v()
  call void @llvm.lifetime.start.p0(i64 104, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 104, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 104, ptr %4) #5
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @S)
  call void @_Z4baseR6bignumPc(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef @S)
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @S)
  call void @_Z4baseR6bignumPc(ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef @S)
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %22, %0
  %10 = load i32, ptr %5, align 4, !tbaa !5
  %11 = getelementptr inbounds %struct.bignum, ptr %2, i32 0, i32 1
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = icmp slt i32 %10, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %25

15:                                               ; preds = %9
  %16 = getelementptr inbounds %struct.bignum, ptr %2, i32 0, i32 0
  %17 = load i32, ptr %5, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [12 x i64], ptr %16, i64 0, i64 %18
  %20 = load i64, ptr %19, align 8, !tbaa !11
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %20)
  br label %22

22:                                               ; preds = %15
  %23 = load i32, ptr %5, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %5, align 4, !tbaa !5
  br label %9, !llvm.loop !13

25:                                               ; preds = %14
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %2, i1 noundef zeroext true)
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @_Z3addR6bignumS0_S0_x(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef nonnull align 8 dereferenceable(104) %4, i64 noundef 1)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %2, i1 noundef zeroext false)
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext false)
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %4, i1 noundef zeroext true)
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  call void @_Z3subR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef nonnull align 8 dereferenceable(104) %4)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %4, i1 noundef zeroext true)
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  call void @_Z4multR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef nonnull align 8 dereferenceable(104) %4)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %2, i1 noundef zeroext false)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext true)
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %4, i1 noundef zeroext true)
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext true)
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  call void @_Z4sqrtR6bignumS0_(ptr noundef nonnull align 8 dereferenceable(104) %3, ptr noundef nonnull align 8 dereferenceable(104) %4)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %4, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 104, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 104, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 104, ptr %2) #5
  %38 = load i32, ptr %1, align 4
  ret i32 %38
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

attributes #0 = { mustprogress 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 = { mustprogress 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 = { "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 = { mustprogress norecurse 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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 96}
!10 = !{!"_ZTS6bignum", !7, i64 0, !6, i64 96}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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

%struct.bignum = type { [12 x i64], i32 }

@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@S = external dso_local global [108 x i8], align 16
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z13precomp_pow10v() local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104), i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z4baseR6bignumPc(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3addR6bignumS0_S0_x(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3subR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4multR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4sqrtR6bignumS0_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 {
  %1 = alloca %struct.bignum, align 8
  %2 = alloca %struct.bignum, align 8
  %3 = alloca %struct.bignum, align 8
  tail call void @_Z13precomp_pow10v()
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %3) #5
  %4 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @S)
  call void @_Z4baseR6bignumPc(ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull @S)
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @S)
  call void @_Z4baseR6bignumPc(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull @S)
  %6 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %7 = getelementptr inbounds i8, ptr %1, i64 96
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %11 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %1, i1 noundef zeroext true)
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @_Z3addR6bignumS0_S0_x(ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3, i64 noundef 1)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %1, i1 noundef zeroext false)
  %13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %2, i1 noundef zeroext false)
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext true)
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  call void @_Z3subR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext true)
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  call void @_Z4multR6bignumS0_S0_(ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %1, i1 noundef zeroext false)
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %2, i1 noundef zeroext true)
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext true)
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %2, i1 noundef zeroext true)
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  call void @_Z4sqrtR6bignumS0_(ptr noundef nonnull align 8 dereferenceable(104) %2, ptr noundef nonnull align 8 dereferenceable(104) %3)
  call void @_Z5printR6bignumb(ptr noundef nonnull align 8 dereferenceable(104) %3, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %1) #5
  ret i32 0

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %22 = getelementptr inbounds [12 x i64], ptr %1, i64 0, i64 %indvars.iv
  %23 = load i64, ptr %22, align 8, !tbaa !10
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %23)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %25 = load i32, ptr %7, align 8, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = icmp slt i64 %indvars.iv.next, %26
  br i1 %27, label %.lr.ph, label %._crit_edge, !llvm.loop !12
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

!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, !9, i64 96}
!6 = !{!"_ZTS6bignum", !7, i64 0, !9, i64 96}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass