From 0x100000518 to file offset 1304
Three rows. The __TEXT segment has vmaddr 0x100000000 and fileoff 0, so address minus vmaddr plus fileoff is 0x518, which is 1304. The __text section has address 0x100000500 and file_offset 1280, so 1280 plus 24 is 1304. The rea tool address_to_file_offset asks Ghidra for its one source mapping and answers file_offset 1304, where the bytes e8 cc 8c 52 encode mov w8, #0x6667.
WHAT THE FILE SAYS
THE OFFSET
__TEXT segment
vmaddr 0x100000000 · fileoff 0
address - vmaddr + fileoff
0x100000518 - 0x100000000 + 0 = 0x518
__text section
address 0x100000500 · file_offset 1280
file_offset + (address - addr)
1280 + (0x518 - 0x500) = 1280 + 24
address_to_file_offset
Ghidra source mapping, exactly one
file_offset 1304
bytes e8 cc 8c 52 · mov w8, #0x6667