OK, went home last night and did some work in "Paint" so I have some errata for my post on the XYAB-wing capacity of the twin-deck variant:
first off of course the deck height on both decks would be more like 3.5m rather then 3m; with a .6m-.76m deckplate & between-decks thickness.
It is still cramped, but hopefully sufficient; I must assumed so for my twin-deck design anyway.
If anyone would host my Paint pic (1,31 MB) / tell me how I get Wong to do so on this page give me a hint; here is a rundown of my sketches in words:
A-Wings: each triplet of Tie racks can be replaced by an A-W pair on each deck for 16-17 A-W per deck: 2 squadrons of them is no problem, and there will be ample room for repair space on the deck (although headroom may well prove a problem

).
X-Wings: a row of 4 at the port, nose toward starboard, well interspaced;
a row of 3 nose to port inserted between, with cannon-tips a few meters from the leading edge of the port row's X-foils (and vise versa).
Repeat with a row of 3 facing starboard staggered with 2 facing port.
This arrangement leaves space for a pair of A-W close to the hangar bay lift OR (better) for one of the X-W to be disassembled in the same area, allowing whatever maintainance that doesn't require headroom for 1 fighter at a time.
B-Wings: at a stated 16,9m length, they are actually fairly packageable.
By putting 1 at the stern bulkhead facing bowward I can fit 3 rows facing starboard: two of 4 and one of 3; for a full squadron. this requires a bit more cramping of the hulls then I would like (i.e. more then the TIE racks) without enough leftover space anywhere to squeece a TIE (let alone an A-W) in edgewise. The height constraint worries me too.
Y-Wings: (a used a very conservative width of 12m, which may be erring too far to the side of caution...) Anyway:
Putting one at the port stern bulkhead facing starboard and staggering starboard and port facing (noses just squeecing 2-3m in between the engines in the other row) I can fit in 6 and still have room for 2 A-W in the rounded front port corner; another 3 A-W can be fitted along the starboard bulkhead facing forward; a 6th and last A-W can be put in the starboard stern opposite the first Y-W. Again this is rather cramped, but hopefully because I used a too wide Y-W sketch.
In conclusion to the above: 12 Y-Wings can only be carried if the other 12 are A-Wings (unless a narrower Y-W fit shows otherwise). Otherwise any combination of squadrons (A-, B- & X-W) can be carried. All options allow for some additional low-headroom repair space other then the hangar bay itself, where most major repairs will likely have to take place.
beyond hope: Yes indeed the Neb-B could carry the damaged craft to a port and replace them. WWII aircraft carriers usually just pitched too-damaged craft overboard to clear the deckspace and reduce the danger of fire, though.
The issue with the "let som garrison base handle the repair logistics" approach is that if that was the intent, then the Neb-B might as well carry the TIEs on external cradles/hard-/docking-points, rather then allocate space internally, other then a 1-2 fighter small-repairs bay.
If packed too tightly it would still carry the fighter craft, but would not serve as a carrier for them in the normal sense of the word (including major refit/repair like engine change facilities, not just wiping the cockpit & changing the oil/Tibanna

).
This is a weaker form of the difference between a true aircraft carrier and designs like the WWI/II era idea of putting a fighter catapult on a battleship/freighter that was unable to recover the spotter/fighter plane, thus making launching it a one-shot deal (often for the pilot as well, more's the pity).