Before any questions pertaining to such evidence are asked of any witness, the proponent of such evidence shall first apply to the court for a determination of the relevance of the sexual behavior to which it relates. The proponent of such evidence may make application either prior to trial pursuant to G.S. 15A-952, or during the trial at the time when the proponent desires to introduce such evidence. When application is made, the court shall conduct an in camera hearing, which shall be transcribed, to consider the proponent's offer of proof and the argument of counsel, including any counsel for the complainant, to determine the extent to which such behavior is relevant. In the hearing, the proponent of the evidence shall establish the basis of admissibility of such evidence. Notwithstanding subdivision (b) of Rule 104, if the relevancy of the evidence which the proponent seeks to offer in the trial depends upon the fulfillment of a condition of fact, the court, at the in camera hearing or at a subsequent in camera hearing scheduled for that purpose, shall accept evidence on the issue of whether that condition of fact is fulfilled and shall determine that issue. If the court finds that the evidence is relevant, it shall enter an order stating that the evidence may be admitted and the nature of the questions which will be permitted.
N.C. Gen. Stat. § 412