def cond_1():
    sq = (torch.sqrt(((((1.0 + m00) - m11) - m22) + eps)) * 2.0)
    qw = safe_zero_division((m21 - m12), sq)
    qx = (0.25 * sq)
    qy = safe_zero_division((m01 + m10), sq)
    qz = safe_zero_division((m02 + m20), sq)
    return torch.cat([qx, qy, qz, qw], dim=(- 1))
def cond_1():
    sq = (torch.sqrt(((((1.0 + m00) - m11) - m22) + eps)) * 2.0)
    qw = safe_zero_division((m21 - m12), sq)
    qx = (0.25 * sq)
    qy = safe_zero_division((m01 + m10), sq)
    qz = safe_zero_division((m02 + m20), sq)
    return torch.cat([qx, qy, qz, qw], dim=(- 1))