flowchart LR
H["header
MTLC, version,
region and MSL counts"] --> D["SHA-256 key
(checked against
the file name)"]
D --> R["regions
size + bytes:
args struct, input
layout locations,
null attributes"]
R --> M["MSL outputs
source size, entry point,
threads, source"]
M --> C{"every size matches
and the length is exact?"}
C -- "yes" --> HIT["hit: outputs written"]
C -- "no" --> MISS["miss: translate again"]