The world’s biggest technology companies drove a rebound in stocks ahead of Apple Inc.’s earnings, with Wall Street also gearing up for Friday’s jobs report.

Equities were poised to halt a two-day slide, with all members of the “Magnificent Seven” cohort of megacaps pushing higher. Wall Street analysts expect the iPhone maker to announce a stock buyback, following the steps of fellow big techs Alphabet Inc. and Meta Platforms Inc. Any news related to artificial-intelligence features could provide additional excitement.

In the run-up to the monthly employment data, data showed US labor costs jumped the most in a year as productivity gains slowed, potentially adding to risks inflation will remain elevated. Economists surveyed by Bloomberg forecast a 240,000 gain in nonfarm payrolls, which would be the slowest pace since November. The figures have topped forecasts in recent months.

The Federal Reserve decided Wednesday to leave the target range for the …