if
(
exists entries whose
(
key of it = "Rotation Rate"
)
of dictionaries of values of entries whose
(
key of it = "Device Characteristics"
)
of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of
(
if
(
name of it = "SATA"
)
then
(
nodes of nodes of it
)
else
(
nodes of nodes of nodes of nodes of it
)
)
of nodes whose
(
(
name of it = "SATA"
)
OR
(
name of it ="RP01"
)
)
of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry
)
then
(
concatenation "; " of it
)
of
(
(
integers of it as string
)
of values of entries whose
(
key of it = "Rotation Rate"
)
of dictionaries of values of entries whose
(
key of it = "Device Characteristics"
)
of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of
(
if
(
name of it = "SATA"
)
then
(
nodes of nodes of it
)
else
(
nodes of nodes of nodes of nodes of it
)
)
of nodes whose
(
(
name of it = "SATA"
)
OR
(
name of it ="RP01"
)
)
of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry
)
else "No Rotation Rate"
if (exists entries whose (key of it = "Rotation Rate") of dictionaries of values of entries whose (key of it = "Device Characteristics") of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of (if (name of it = "SATA") then (nodes of nodes of it) else (nodes of nodes of nodes of nodes of it)) of nodes whose ((name of it = "SATA") OR (name of it ="RP01")) of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (concatenation "; " of it ) of ( (integers of it as string) of values of entries whose (key of it = "Rotation Rate") of dictionaries of values of entries whose (key of it = "Device Characteristics") of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of (if (name of it = "SATA") then (nodes of nodes of it) else (nodes of nodes of nodes of nodes of it)) of nodes whose ((name of it = "SATA") OR (name of it ="RP01")) of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else "No Rotation Rate"