; and (B) the submission to the appropriate congressional committees of a joint certification by the Secretary of State and Secretary of Defense that such agreement or arrangement will further the objective of setting conditions for the long-term defeat of al Qaeda and Islamic State and will not make the United States more vulnerable to terrorist attacks originating from Afghanistan or supported by terrorist elements in Afghanistan. (b) Bangladesh Of the funds appropriated under titles III and IV of this Act, not less than $205,500,000 shall be made available for assistance for Bangladesh, of which— (1) not less than $23,500,000 shall be made available to address the needs of communities impacted by refugees from Burma; (2) not less than $2,000,000 shall be made available for democracy programs for the Rohingya community in Bangladesh; (3) not less than $10,000,000 shall be made available for programs to protect freedom of expression and due process of law; (4) not less than $21,300,000 shall be made available for democracy programs; (5) not less than $3,000,000 shall be made available for programs to improve labor conditions, including by strengthening the capacity of independent worker organizations in the readymade garment, shrimp, and fish export sectors