function bquinary2d( arrays, shapes, fcn ) {
	var dx0;
	var dx1;
	var dy0;
	var dy1;
	var dz0;
	var dz1;
	var dw0;
	var dw1;
	var du0;
	var du1;
	var S0;
	var S1;
	var i0;
	var i1;
	var j0;
	var j1;
	var k0;
	var k1;
	var m0;
	var m1;
	var n0;
	var n1;
	var p0;
	var p1;
	var x0;
	var y0;
	var z0;
	var w0;
	var u0;
	var v0;
	var sh;
	var st;
	var o;
	var x;
	var y;
	var z;
	var w;
	var u;
	var v;

	sh = shapes[ 5 ];
	S0 = sh[ 1 ];
	S1 = sh[ 0 ];
	if ( S0 <= 0 || S1 <= 0 ) {
		return;
	}
	o = broadcastArray( arrays[ 0 ], shapes[ 0 ], sh );
	x = o.data;
	st = o.strides;
	dx0 = st[ 1 ];
	dx1 = st[ 0 ];

	o = broadcastArray( arrays[ 1 ], shapes[ 1 ], sh );
	y = o.data;
	st = o.strides;
	dy0 = st[ 1 ];
	dy1 = st[ 0 ];

	o = broadcastArray( arrays[ 2 ], shapes[ 2 ], sh );
	z = o.data;
	st = o.strides;
	dz0 = st[ 1 ];
	dz1 = st[ 0 ];

	o = broadcastArray( arrays[ 3 ], shapes[ 3 ], sh );
	w = o.data;
	st = o.strides;
	dw0 = st[ 1 ];
	dw1 = st[ 0 ];

	o = broadcastArray( arrays[ 4 ], shapes[ 4 ], sh );
	u = o.data;
	st = o.strides;
	du0 = st[ 1 ];
	du1 = st[ 0 ];

	v = arrays[ 5 ];

	j1 = 0;
	k1 = 0;
	m1 = 0;
	n1 = 0;
	p1 = 0;
	for ( i1 = 0; i1 < S1; i1++ ) {
		j0 = 0;
		k0 = 0;
		m0 = 0;
		n0 = 0;
		p0 = 0;
		x0 = x[ j1 ];
		y0 = y[ k1 ];
		z0 = z[ m1 ];
		w0 = w[ n1 ];
		u0 = u[ p1 ];
		v0 = v[ i1 ];
		for ( i0 = 0; i0 < S0; i0++ ) {
			v0[ i0 ] = fcn( x0[ j0 ], y0[ k0 ], z0[ m0 ], w0[ n0 ], u0[ p0 ] );
			j0 += dx0;
			k0 += dy0;
			m0 += dz0;
			n0 += dw0;
			p0 += du0;
		}
		j1 += dx1;
		k1 += dy1;
		m1 += dz1;
		n1 += dw1;
		p1 += du1;
	}
}
Applies a quinary callback to elements in five broadcasted input arrays and assigns results to elements in a two-dimensional nested output array.

@param {ArrayLikeObject<Array<Collection>>} arrays - array-like object containing five input nested arrays and one output nested array
@param {ArrayLikeObject<NonNegativeIntegerArray>} shapes - array shapes
@param {Callback} fcn - quinary callback
@returns {void}

@example
var ones2d = require( '@stdlib/array/base/ones2d' );
var zeros2d = require( '@stdlib/array/base/zeros2d' );

function add( x, y, z, w, v ) {
    return x + y + z + w + v;
}

var shapes = [
    [ 1, 2 ],
    [ 2, 1 ],
    [ 1, 1 ],
    [ 2, 2 ],
    [ 1, 1 ],
    [ 2, 2 ]
];

var x = ones2d( shapes[ 0 ] );
var y = ones2d( shapes[ 1 ] );
var z = ones2d( shapes[ 2 ] );
var w = ones2d( shapes[ 3 ] );
var v = ones2d( shapes[ 4 ] );
var out = zeros2d( shapes[ 5 ] );

bquinary2d( [ x, y, z, w, v, out ], shapes, add );

console.log( out );
// => [ [ 5.0, 5.0 ], [ 5.0, 5.0 ] ]