; generated by Norcroft  ARM C vsn 4.62 (Advanced RISC Machines) [May 04 1994]

        AREA |C$$code|, CODE, READONLY
|x$codeseg|

        EXPORT  Func_3
        EXPORT  Proc_6
Proc_6
        MOV      ip,sp
        STMDB    sp!,{v1,v2,fp,ip,lr,pc}
        SUB      fp,ip,#4
        MOV      v2,a1
        MOV      v1,a2
        STR      v2,[a2,#0]
        BL       Func_3
        MOV      a2,#3
        TEQ      a1,#0
        STREQ    a2,[v1,#0]
        MOV      a1,#0
        CMP      v2,#4
        ADDLS    pc,pc,v2,LSL #2
        LDMDB    fp,{v1,v2,fp,sp,pc}
        B        |L000070.J17.Proc_6|
        B        |L000050.J10.Proc_6|
        B        |L00006c.J9.Proc_6|
        LDMDB    fp,{v1,v2,fp,sp,pc}
        MOV      a1,#2
        B        |L000070.J17.Proc_6|
|L000050.J10.Proc_6|
        LDR      a3,[pc, #L000068-.-8]
        LDR      a3,[a3,#0]
        CMP      a3,#&64
        STRLE    a2,[v1,#0]
        LDMLEDB  fp,{v1,v2,fp,sp,pc}
        B        |L000070.J17.Proc_6|
L000068
        IMPORT  Int_Glob
        DCD     Int_Glob
|L00006c.J9.Proc_6|
        MOV      a1,#1
|L000070.J17.Proc_6|
        STR      a1,[v1,#0]
        LDMDB    fp,{v1,v2,fp,sp,pc}

        EXPORT  Proc_7
Proc_7
        ADD      a1,a1,#2
        ADD      a1,a2,a1
        STR      a1,[a3,#0]
        MOV      pc,lr

        EXPORT  Proc_8
Proc_8
        STMDB    sp!,{lr}
        ADD      a3,a3,#5
        STR      a4,[a1,a3,LSL #2]
        MOV      ip,a4
        ADD      a4,a1,a3,LSL #2
        STR      ip,[a4,#4]!
        STR      a3,[a4,#&74]
        MOV      a4,a3
        ADD      lr,a3,#1
        ADD      ip,a3,a3,LSL #3
        ADD      ip,ip,a3,LSL #4
        ADD      a2,a2,ip,LSL #3
|L0000b8.J4.Proc_8|
        STR      a3,[a2,a4,LSL #2]
        ADD      a4,a4,#1
        CMP      lr,a4
        BGE      |L0000b8.J4.Proc_8|
        ADD      a2,a2,a3,LSL #2
        SUB      a4,a2,#4
        LDR      ip,[a4,#0]
        ADD      ip,ip,#1
        STR      ip,[a4,#0]
        LDR      a1,[a1,a3,LSL #2]
        STR      a1,[a2,#&fa0]!
        MOV      a2,#5
        LDR      a1,[pc, #L000068-.-8]
        STR      a2,[a1,#0]
        LDMIA    sp!,{pc}

        EXPORT  Func_1
Func_1
        MOV      a1,a1,LSL #24
        MOV      a1,a1,ASR #24
        MOV      a2,a2,LSL #24
        TEQ      a1,a2,ASR #24
        LDREQ    a2,[pc, #L000118-.-8]
        STREQB   a1,[a2,#0]
        MOVEQ    a1,#1
        MOVNE    a1,#0
        MOV      pc,lr
L000118
        IMPORT  Ch_1_Glob
        DCD     Ch_1_Glob

        IMPORT  strcmp
        EXPORT  Func_2
Func_2
        MOV      ip,sp
        STMDB    sp!,{v1,v2,fp,ip,lr,pc}
        SUB      fp,ip,#4
        MOV      a4,a1
        MOV      a3,a2
        MOV      v1,#2
|L000134.J4.Func_2|
        ADD      a1,a3,v1
        LDRB     a2,[a1,#1]
        MOV      a2,a2,LSL #24
        MOV      a2,a2,ASR #24
        LDRB     a1,[a4,v1]
        MOV      a1,a1,LSL #24
        MOV      a1,a1,ASR #24
        BL       Func_1
        TEQ      a1,#0
        MOVEQ    v2,#&41
        ADDEQ    v1,v1,#1
        CMP      v1,#2
        BLE      |L000134.J4.Func_2|
        CMP      v2,#&57
        BLT      |L000178.J10.Func_2|
        CMP      v2,#&5a
        MOVLT    v1,#7
|L000178.J10.Func_2|
        TEQ      v2,#&52
        BNE      |L000188.J13.Func_2|
|L000180.J14.Func_2|
        MOV      a1,#1
        LDMDB    fp,{v1,v2,fp,sp,pc}
|L000188.J13.Func_2|
        MOV      a2,a3
        MOV      a1,a4
        BL       strcmp
        CMP      a1,#0
        ADDGT    a2,v1,#7
        LDRGT    a1,[pc, #L000068-.-8]
        STRGT    a2,[a1,#0]
        BGT      |L000180.J14.Func_2|
        MOV      a1,#0
        LDMDB    fp,{v1,v2,fp,sp,pc}

Func_3
        TEQ      a1,#2
        MOVNE    a1,#0
        MOVEQ    a1,#1
        MOV      pc,lr

        AREA |C$$data|,DATA

|x$dataseg|

        END
