A study of the lineshape of the chi(c1) (3872) state is made using a data sample corresponding to an integrated luminosity of 3 fb(-1) collected in pp collisions at center-of-mass energies of 7 and 8 TeV with the LHCb detector. Candidate chi(c1)(3872) and psi(2S) mesons from b-hadron decays are selected in the J/psi pi(+)pi(-) decay mode. Describing the lineshape with a Breit-Wigner function, the mass splitting between the chi(c1 )(3872) and psi(2S) states, Delta m, and the width of the chi(c1 )(3872) state, Gamma(Bw), are determined to be (Delta m=185.598 +/- 0.067 +/- 0.068 Mev,)(Gamma BW=1.39 +/- 0.24 +/- 0.10 Mev,) where the first uncertainty is statistical and the second systematic. Using a Flatte-inspired model, the mode and full width at half maximum of the lineshape are determined to be (mode=3871.69+0.00+0.05 MeV.)(FWHM=0.22-0.04+0.13+0.07+0.11-0.06-0.13 MeV, ) An investigation of the analytic structure of the Flatte amplitude reveals a pole structure, which is compatible with a quasibound D-0(D) over bar*(0) state but a quasivirtual state is still allowed at the level of 2 standard deviations.