Which book does the verse quoted in "The Legend of the Condor Heroes" come from?

The poem is: Four Machines

One machine in Song Dynasty’s work “Nine Zhang Machines”. The scene of weaving shuttle flies away. Lanfang is always sad and sleepless at night. Vomiting and vomiting are woven into spring hatred, and they are kept until Lang returns. Two machines. Pedestrians hesitate immediately. I couldn't bear to pay lightly, so I turned around and smiled, returning among the flowers, just for fear of being known by the flowers. Three machines. The silkworms in Wu have become old and young. After the Dongfeng banquet in Cheung Chau Garden, Qing Xiu took advantage of the banquet, and the palace ladies wanted to change into their dance clothes. Four machines. There was a frown in the hoarse voice. Weave lotus seeds back and forth. Flowers are easy to twist, worries are difficult to control, and pulses are as messy as silk. Five card machines. The period of sweetness and cleverness. The branches of the Albizia Julibrissin tree are connected. Under the double-headed flower, at two concentric places, there is a pair of transformed children. Six machines. The carved brocade is half-draped. Orchid House has a special plan to stay in spring. The small seal script is added to the furnace, and the day is long, so the embroidery work is relatively late. Seven machines. The spring silkworm spins all its silk. Don't teach Luo Qi easily. The jian was broken for no reason, and the fairy luan and colorful phoenix were divided into two kinds of clothes. Eight machines. I know it is that poem. Woven into a sense of desolation. After reading it line by line, I feel tired and speechless, and I can't bear to think more. Nine machines. One heart grows on a hundred flower branches. Hundreds of flowers make a red quilt. All the spring scenery will be hidden inside the head, and I am not afraid of sleeping for a long time. A machine. Picking mulberry trees and trying on spring clothes. The wind is clear and the sun is warm and weak. On the peach blossom branches, the oriole cries and refuses to let people go home. Two machines. The moon is bright and people are quiet, making few noises. Inextricably linked. Weave it into a section with the word "brocade" on it. I will send it to Chengyi. Three machines. There is a playing flower in the center. Delicate red, tender green and bright spring. You must break it off early, and don’t wait too long for a beautiful branch. Four machines. The mandarin ducks want to fly together. It's a pity that the old man is graying before he is old, the green grass is green in the spring waves, and deep in the cold dawn, he is bathed in red clothes. Five card machines. The horizontal lines are woven with Shen Lang's poems. No one understands the central sentence. No words of sorrow, no words of haggard. Just send my love. Six machines. Everything is just a trick. There are two more butterflies among the flowers, stopping for a while in the shadow of the window. Watch alone for a long time. Seven machines. Yuanyang Zhi hesitated again. I'm just afraid of being lightly cut and separated into two places. After a separation and hatred, there is no way to stay together again. Eight machines. The slender and jade hands hold no time. The Shu River is full of spring waves. The fragrant remains of the musk deer and the embroidered quilt in the flower room. It's been a long time coming back. Nine machines. The elephant bed and the jade hand bring out the novelty. Thousands of flowers and grass are shining and green. Tailored clothes, spring songs and dances, flying butterflies and orioles.

Spring clothes. Plain silk dyeing is already miserable. The world is dull and colorless. It should be the same as the autumn fan, and I will give it up forever. There is no time to serve the king again.