[] Let us define
\begin{aligned}
f(t) := \frac{\Xi_{\mathbb{F}}(t)}{\left(\frac{1}{4} + t^2\right)^{2-r_1-r_2}}
\left[\Gamma\!\left(\frac{it}{2}-\frac{1}{4} \right)\Gamma\!\left(-\frac{it}{2}-\frac{1}{4}\right)\right]^{r_1}\!\left[\Gamma\!\left(it-\frac{1}{2}\right)\Gamma\!\left(-it -\frac{1}{2}\right)\right]^{r_2}.
\end{aligned}
Considering the function \phi(s) as
\begin{aligned}
\phi(s) = \left(\frac{1}{2}+s\right)^{r_1+r_2-2}\sqrt{\xi_{\mathbb{F}}\!\left(\frac{1}{2}-s\right)}\Gamma^{r_1}\!\left(\frac{s}{2}-\frac{1}{4}\right)\Gamma^{r_2}\!\left(s-\frac{1}{2} \right),
\end{aligned}
we have f(t) = \phi(it)\phi(-it). Substituting this into (?) with y=e^{2z} and applying the functional equation s\Gamma(s) = \Gamma(s+1), we obtain
\begin{aligned}
&\int\limits_{0}^{\infty}\frac{16\, \Xi_\mathbb{F}^2\left(\frac{t}{2}\right)}{(1+t^2)^{2-r_1-r_2}} \left[\frac{\Gamma\!\left(\frac{it}{4} - \frac{1}{4}\right)\Gamma\!\left(- \frac{it}{4}-\frac{1}{4} \right)}{4}\right]^{r_1}\left[\frac{\Gamma\!\left(\frac{it}{2} - \frac{1}{2}\right)\Gamma\!\left(-\frac{it}{2} - \frac{1}{2} \right)}{4}\right]^{r_2} \cos(zt)\text{d}t \\
&= \frac{1}{i\sqrt{y}}
\int\limits_{\left(\frac{1}{2}\right)}\frac{(\xi_\mathbb{F}(s))^2}{(-s(s-1))^{2-r_1-r_2}}\left[\Gamma\left(\frac{s-1}{2}\right)\Gamma\left(-\frac{s}{2}\right)\right]^{r_1}\left[\Gamma(-s)\Gamma(s-1)\right]^{r_2} y^s \text{d}s \\
&= \frac{4^{r_1}}{i\sqrt{y}}
\int\limits_{\left(\frac{1}{2}\right)}
\frac{(\xi_\mathbb{F}(s))^2}{(s(s-1))^{2}}
\left[\Gamma\left(\frac{s+1}{2}\right)\Gamma\left(1-\frac{s}{2}\right)\right]^{r_1}\left[\Gamma(1-s)\Gamma(s)\right]^{r_2}
y^s \text{d}s \\
&= \frac{4^{r_1-1}}{i\sqrt{y}}
\int\limits_{\left(\frac{1}{2}\right)}\Bigl[\Gamma\!\left(\frac{s+1}{2}\right)\Gamma\!\left(1-\frac{s}{2}\right)\Gamma^2\!\left(\frac{s}{2}\right)\Bigr]^{r_1}\Bigl[\Gamma(1-s)\Gamma^3(s)\Bigr]^{r_2}
\zeta_\mathbb{F}^2(s)\left(\frac{yD}{4^{r_2}\pi^d}\right)^s \text{d}s \\
&= \frac{\sqrt{D}\pi^{\frac{3r_1}{2}+r_2}2^{3r_1-r_2}}{4i\sqrt{y}}
\int\limits_{\left(\frac{1}{2}\right)}
\frac{\zeta_\mathbb{F}(s)\zeta_\mathbb{F}(1-s)}{\sin^{d}(\pi s)}y^s \text{d}s,
\end{aligned}
where in the penultimate step, we invoked (?), followed by Legendre’s duplication formula (?), Euler’s reflection formula (?) for \Gamma(s), and the asymmetric functional equation (3.1) for \zeta_\mathbb{F}(s). We now denote the integrand in (?) by
\begin{aligned}
I_{\mathbb{F}, y}(s)
&= \frac{\zeta_\mathbb{F}(s)\zeta_\mathbb{F}(1-s)}{\sin^{d}(\pi s)}y^s.
\end{aligned}
To evaluate the integral in (?), we shift the line of integration from \operatorname{Re}(s)=\frac{1}{2} to \operatorname{Re}(s)=1+\delta, with \delta\in(0,1). This shift introduces a pole of order r_2+2 at s=1, which must be treated carefully. Given T>0, the residue theorem implies
\begin{aligned}
\int\limits_{\frac{1}{2}-iT}^{\frac{1}{2}+iT} I_{\mathbb{F}, y}(s) \text{d}s &= \Bigg(
\int\limits_{\frac{1}{2}-iT}^{1+\delta-iT}
+ \int\limits_{1+\delta-iT}^{1+\delta+iT}
+ \int\limits_{1+\delta+iT}^{\frac{1}{2}+iT}
\Bigg)\! I_{\mathbb{F}, y}(s) \text{d}s - 2\pi i\, \mathcal{R}^{(r_2+2)}_1(y),
\end{aligned}
where
\begin{aligned}
\mathcal{R}^{r_2+2}_1(y) &= \frac{1}{(r_2+1)!}\lim_{s\to 1}\frac{\text{d}^{r_2+1}}{\text{d}s^{r_2+1}}\left((s-1)^{r_2+2}I_{\mathbb{F}, y}(s)\right).
\end{aligned}
From the Stirling formula of gamma function, we deduce that the integrals along the horizontal lines from \frac{1}{2}\pm iT to 1\pm \delta+iT vanish as T \rightarrow \infty. Now we further simplify the vertical integral from 1+\delta-i\infty to 1+\delta+i\infty using the series definition (?) of \zeta_\mathbb{F}(s) and interchange the integral with the summation due the absolute convergence to have
\begin{aligned}
\int\limits_{(1+\delta)} I_{\mathbb{F},y}(s)\text{d}s &= \sum_{m=1}^{\infty}\mathtt{a}_{\mathbb{F}}(m)\lambda_\mathbb{F}\left(\frac{m}{y}\right),
\end{aligned}
where
\begin{aligned}
\lambda_\mathbb{F}\left(\frac{m}{y}\right) &= \int\limits_{(1+\delta)}\frac{\zeta_\mathbb{F}(1-s)}{\sin^{d}(\pi s)}\left(\frac{m}{y}\right)^{-s} \text{d}s.
\end{aligned}
Hence substituting the value of (?) in (?) with T \to \infty and using the final value of (?) in (?), we get
\begin{aligned}
&-\frac{2^{6-5r_1-r_2}}{\sqrt{D}\pi^{\frac{3r_1}{2}+r_2}i}\int\limits_{0}^{\infty}\left|\Xi_\mathbb{F}\left(\frac{t}{2}\right)\Gamma^{r_1}\left(\frac{-1+it}{4}\right)\Gamma^{r_2}\left(\frac{-1+it}{2}\right)\right|^2\frac{\cos(zt)}{(1+t^2)^{2-r_1-r_2}}\,\text{d}t \\
&= \frac{2\pi i}{\sqrt{y}}\sum_{m=1}^{\infty}\mathtt{a}_{\mathbb{F}}(m)\lambda_\mathbb{F}\left(\frac{m}{y}\right) - \frac{2\pi i}{\sqrt{y}}\, \mathcal{R}^{(r_2+2)}_1(y),
\end{aligned}
where
\begin{aligned}
\mathcal{R}^{(r_2+2)}_1(y) &= \frac{1}{(r_2+1)!}\lim_{s\to 1}\frac{\text{d}^{r_2+1}}{\text{d}s^{r_2+1}}\left((s-1)^{r_2+2}I_{\mathbb{F}, y}(s)\right).
\end{aligned}
In (?), we have used the fact that \overline{\Gamma(s)} = \Gamma(\overline{s}) and \Xi_{\mathbb F}(t) is real for real values of t. Substituting z=\frac{1}{2}\log\alpha into (?) and observing that y=e^{2z}=\alpha with \alpha\beta=1, we get
\begin{aligned}
& \frac{2^{5-5r_1-r_2}}{\sqrt{D}\pi^{\frac{3r_1}{2}+r_2+1}}\int\limits_{0}^{\infty}\left|\Xi_\mathbb{F}\left(\frac{t}{2}\right)\Gamma^{r_1}\left(\frac{-1+it}{4}\right)\Gamma^{r_2}\left(\frac{-1+it}{2}\right)\right|^2\frac{\cos\left(\frac{t}{2}\log\alpha\right)}{(1+t^2)^{2-r_1-r_2}}\,\text{d}t \\
&= \sqrt{\beta}\left\{\sum_{m=1}^{\infty}\mathtt{a}_{\mathbb{F}}(m)\lambda_\mathbb{F}(m\beta) - \mathcal{R}^{(r_2+2)}_1\left(\frac{1}{\beta}\right)\right\}.
\end{aligned}
Since the left hand side of the above equation is unchanged under the substitution \alpha \mapsto \beta, we interchange \beta by \alpha in (?) and combine it with (?) to get the desired transformation formula (2.1).