IF (ND.EQ.29 .AND. NM.EQ.2 .AND. LEAP(NY)) GO TO 20
IF (NM.LE.1) GO TO 60
GO TO 40
IF(IBIT.GE.1)GO TO 310
GO TO 550
IF (.NOT. FIRST) GO TO 100
GO TO 125
IF( IBIT1 .LE. 0 ) GO TO 200
IF( IBIT2 .LE. 0 ) GO TO 60
IF( IFLAG .GT. 2 ) GO TO 100
IF( IFLAG .EQ. 2 ) GO TO 200
IF( IBIT1 .GE. N ) GO TO 500
IF( IFLAG .GT. 2 ) GO TO 300
IF( IFLAG .EQ. 2 ) GO TO 500
IF(IBIT.LE.0) GO TO 100
IF(IFLAG.GE.3) GO TO 75
IF(IFLAG.EQ.2) GO TO 100
IF(IBIT.LE.0) GO TO 300
IF( IFLAG.GE.3 ) GO TO 225
IF(IFLAG.EQ.2)GO TO 300
IF ( INIT.EQ.2 ) GO TO 1200
IF(IBIT.GE.1) GO TO 50
IF (IDO .LT. L1) GO TO 103
GO TO 106
IF (IDO .EQ. 1) GO TO 116
IF (NBD .LT. L1) GO TO 112
GO TO 116
IF (IDO .EQ. 1) GO TO 132
IF (NBD .LT. L1) GO TO 128
GO TO 132
IF (NBD .GT. L1) GO TO 139
GO TO 143
IF (IP .NE. 4) GO TO 103
IF (NA .NE. 0) GO TO 101
GO TO 102
GO TO 115
103 IF (IP .NE. 2) GO TO 106
IF (NA .NE. 0) GO TO 104
GO TO 105
106 IF (IP .NE. 3) GO TO 109
IF (NA .NE. 0) GO TO 107
GO TO 108
109 IF (IP .NE. 5) GO TO 112
IF (NA .NE. 0) GO TO 110
GO TO 111
112 IF (NA .NE. 0) GO TO 113
GO TO 114
IF (IDO .EQ. 1) GO TO 119
IF (NBD .GT. L1) GO TO 107
111 IF (NBD .LT. L1) GO TO 115
GO TO 121
IF (IDO .LT. L1) GO TO 132
GO TO 135
IF (NBD .LT. L1) GO TO 141
IF (IP .NE. 4) GO TO 102
GO TO 110
102 IF (IP .NE. 2) GO TO 104
IF (NA .NE. 0) GO TO 103
104 IF (IP .NE. 3) GO TO 106
IF (NA .NE. 0) GO TO 105
106 IF (IP .NE. 5) GO TO 108
IF (NA .NE. 0) GO TO 109
GO TO 104
IF (NTRY .NE. 2) GO TO 107
IF (NF .EQ. 1) GO TO 107
107 IF (NL .NE. 1) GO TO 104
IF (ITOP(J).EQ.Ktmp) GO TO 300
IF (IMODE.EQ.1) GO TO 410