22.(2023春•香坊区校级月考)已知函数f(x)=sinx+acosxf(x)=\sin x+a\cos xf(x)=sinx+acosx满足:f(x)⩽f(π6)f(x)\leqslant f({\frac{\pi }{6}})f(x)⩽f(6π).若函数f(x)f(x)f(x)在区间[x1[x_{1}[x1,x2]x_{2}]x2]上单调,且f(x1)+f(x2)=0f(x_{1})+f(x_{2})=0f(x1)+f(x2)=0,则当∣x1+x2∣\vert x_{1}+x_{2}\vert∣x1+x2∣取得最小值时,cos(x1+x2)=\cos (x_{1}+x_{2})=cos(x1+x2)=___−12-\frac{1}{2}−21___.