Using free space in installation?

I’m trying to install AL, it says I have 7.6GB of available space and 45GB of free space but I can’t resize. What do I do?

Collecting system information...
  Product name: MacBook Pro (16-inch, 2021)
  SoC: Apple M1 Pro
  Device class: j316sap
  Product type: MacBookPro18,1
  Board ID: 0xa
  Chip ID: 0x6000
  System firmware: iBoot-11881.61.3
  Boot UUID: 3AFFAABB-A2CE-4CA0-8B9D-310327062951
  Boot VGID: 3AFFAABB-A2CE-4CA0-8B9D-310327062951
  Default boot VGID: 3AFFAABB-A2CE-4CA0-8B9D-310327062951
  Boot mode: macOS
  OS version: 15.2 (24C101)
  OS restore version: 24.3.101.0.0,0
  Main firmware version: 15.2 (24C101)
  No Fallback System Firmware / rOS
  SFR version: 24.3.101.0.0,0
  SystemRecovery version: 23.7.93.0.0,0 (14.6.1 23G93)
  Login user: [redacted]

Collecting partition information...
  System disk: disk0

Collecting OS information...

Partitions in system disk (disk0):
  1: APFS [Macintosh HD] (494.38 GB, 7 volumes)
    OS: [B*] [Macintosh HD] macOS v15.2 [disk3s1s1, 3AFFAABB-A2CE-4CA0-8B9D-310327062951]
  2: APFS (System Recovery) (5.37 GB, 2 volumes)
    OS: [  ] recoveryOS v15.2 [Primary recoveryOS]

  [B ] = Booted OS, [R ] = Booted recovery, [? ] = Unknown
  [ *] = Default boot volume

Using OS 'Macintosh HD' (disk3s1s1) for machine authentication.

Choose what to do:
  r: Resize an existing partition to make space for a new OS
  q: Quit without doing anything
» Action (r): r


We're going to resize this partition:
  APFS [Macintosh HD] (494.38 GB, 7 volumes)
  Total size: 494.38 GB
  Free space: 45.64 GB
  Available space: 7.64 GB
  Overhead: 0 B
  Minimum new size: 486.75 GB (98.46%)

Enter the new size for your existing partition:
  You can enter a size such as '1GB', a fraction such as '50%',
  or the word 'min' for the smallest allowable size.

  Examples:
  30%  - 30% to macOS, 70% to the new OS
  80GB - 80GB to macOS, the rest to your new OS
  min  - Shrink macOS as much as (safely) possible

» New size (min): 40GB
Size is too small, please enter a value > 486.75 GB (98.46%)
» New size (min): min

Resizing will free up 7.64 GB of space.
That's not enough free space for an OS install.

I solved it for myself by deleting files (apps I haven’t use in a long time) to have a lot more available space, then running Disk Utility’s First Aid in Mac recovery mode, on every single sidebar item after doing View > Show All Devices in the menu bar. I now have Asahi Linux installed!