// File: /workspace/github_c_makefile_star2_O0/salextpuru[P]speccy-toochain/src/mhmt/mhmt-main.c
// Function: dump_config
void dump_config(void)
{
    printf("Configuration review:\n");
    printf("\n");
    printf("Pack format: ");

    if( wrk.packtype==PK_MLZ )
        printf("MegaLZ.\n");

    else if( wrk.packtype==PK_HRM )
        printf("Hrum3.5\n");

    else if( wrk.packtype==PK_HST )
        printf("Hrust1.x\n");

    else
        printf("unknown.\n"); // this should be actually never displayed

    printf("Mode:        ");

    if( wrk.mode )
        printf("depacking.\n");

    else
        printf("packing.\n");

    if( !wrk.mode ) {
        printf("Pack coding: ");

        if( wrk.greedy )
            printf("greedy (sub-optimal but faster).\n");

        else
            printf("optimal (slower).\n");
    }

    if( wrk.zxheader ) {
        printf("Header for old ZX ");

        if( wrk.packtype==PK_HRM )
            printf("hrum3.5 ");

        else if( wrk.packtype==PK_HST )
            printf("hrust1.x ");

        printf("depackers is on.\n");
    }

    if( wrk.wordbit ) {
        printf("Bitstream is grouped in words -\n");

        if( wrk.bigend ) {
            printf(" words are big-endian, %s","INCOMPATIBLE with old ZX depackers!\n");

        } else {
            printf(" words are little-endian, ");

            if( (wrk.packtype==PK_HRM) || (wrk.packtype==PK_HST) )
                printf("compatible with old ZX depackers.\n");

            else
                printf("INCOMPATIBLE with old ZX depackers!\n");
        }

    } else {
        printf("Bitstream is grouped in bytes -\n");

        if( wrk.packtype==PK_MLZ )
            printf(" compatible with old ZX depackers.\n");

        else
            printf(" INCOMPATIBLE with old ZX depackers!\n");
    }

    printf("Maximum lookback window size is %d bytes.\n\n",wrk.maxwin);
    // files
    printf("Input file \"%s\" (%d bytes) successfully loaded.\n", wrk.fname_in, wrk.inlen);
    printf("Output file \"%s\" created.\n", wrk.fname_out );
//	...more info...?
}

// Assembly:
pushq %rax
leaq 0x4b38(%rip), %rdi      # 0x99f0
movb $0x0, %al
callq 0x1040
leaq 0x4cf5(%rip), %rdi      # 0x9bbb
movb $0x0, %al
callq 0x1040
leaq 0x4b33(%rip), %rdi      # 0x9a07
movb $0x0, %al
callq 0x1040
leaq 0x94be(%rip), %rax      # 0xe3a0
cmpl $0x1, (%rax)
jne 0x4ef7
leaq 0x4b27(%rip), %rdi      # 0x9a15
movb $0x0, %al
callq 0x1040
jmp 0x4f41
leaq 0x94a2(%rip), %rax      # 0xe3a0
cmpl $0x2, (%rax)
jne 0x4f13
leaq 0x4b14(%rip), %rdi      # 0x9a1e
movb $0x0, %al
callq 0x1040
jmp 0x4f3f
leaq 0x9486(%rip), %rax      # 0xe3a0
cmpl $0x3, (%rax)
jne 0x4f2f
leaq 0x4b01(%rip), %rdi      # 0x9a27
movb $0x0, %al
callq 0x1040
jmp 0x4f3d
leaq 0x4afb(%rip), %rdi      # 0x9a31
movb $0x0, %al
callq 0x1040
jmp 0x4f3f
jmp 0x4f41
leaq 0x4af3(%rip), %rdi      # 0x9a3b
movb $0x0, %al
callq 0x1040
leaq 0x944a(%rip), %rax      # 0xe3a0
cmpl $0x0, 0x8(%rax)
je 0x4f6c
leaq 0x4ae6(%rip), %rdi      # 0x9a49
movb $0x0, %al
callq 0x1040
jmp 0x4f7a
leaq 0x4ad8(%rip), %rdi      # 0x9a4b
movb $0x0, %al
callq 0x1040
leaq 0x941f(%rip), %rax      # 0xe3a0
cmpl $0x0, 0x8(%rax)
jne 0x4fc2
leaq 0x4ac7(%rip), %rdi      # 0x9a55
movb $0x0, %al
callq 0x1040
leaq 0x9404(%rip), %rax      # 0xe3a0
cmpl $0x0, 0x4(%rax)
je 0x4fb2
leaq 0x4aba(%rip), %rdi      # 0x9a63
movb $0x0, %al
callq 0x1040
jmp 0x4fc0
leaq 0x4acc(%rip), %rdi      # 0x9a85
movb $0x0, %al
callq 0x1040
jmp 0x4fc2
leaq 0x93d7(%rip), %rax      # 0xe3a0
cmpl $0x0, 0xc(%rax)
je 0x5023
leaq 0x4ac2(%rip), %rdi      # 0x9a98
movb $0x0, %al
callq 0x1040
leaq 0x93bc(%rip), %rax      # 0xe3a0
cmpl $0x2, (%rax)
jne 0x4ff9
leaq 0x4abb(%rip), %rdi      # 0x9aab
movb $0x0, %al
callq 0x1040
jmp 0x5015
leaq 0x93a0(%rip), %rax      # 0xe3a0
cmpl $0x3, (%rax)
jne 0x5013
leaq 0x4aa8(%rip), %rdi      # 0x9ab4
movb $0x0, %al
callq 0x1040
jmp 0x5015
leaq 0x4aa2(%rip), %rdi      # 0x9abe
movb $0x0, %al
callq 0x1040
leaq 0x9376(%rip), %rax      # 0xe3a0
cmpl $0x0, 0x10(%rax)
je 0x50aa
leaq 0x4a99(%rip), %rdi      # 0x9ad0
movb $0x0, %al
callq 0x1040
leaq 0x935b(%rip), %rax      # 0xe3a0
cmpl $0x0, 0x14(%rax)
je 0x5062
leaq 0x4a9f(%rip), %rdi      # 0x9af1
leaq 0x4b13(%rip), %rsi      # 0x9b6c
movb $0x0, %al
callq 0x1040
jmp 0x50a8
leaq 0x4aa2(%rip), %rdi      # 0x9b0b
movb $0x0, %al
callq 0x1040
leaq 0x9329(%rip), %rax      # 0xe3a0
cmpl $0x2, (%rax)
je 0x5088
leaq 0x931d(%rip), %rax      # 0xe3a0
cmpl $0x3, (%rax)
jne 0x5098
leaq 0x4ab9(%rip), %rdi      # 0x9b48
movb $0x0, %al
callq 0x1040
jmp 0x50a6
leaq 0x4acd(%rip), %rdi      # 0x9b6c
movb $0x0, %al
callq 0x1040
jmp 0x50a8
jmp 0x50e4
leaq 0x4a75(%rip), %rdi      # 0x9b26
movb $0x0, %al
callq 0x1040
leaq 0x92e1(%rip), %rax      # 0xe3a0
cmpl $0x1, (%rax)
jne 0x50d4
leaq 0x4a7c(%rip), %rdi      # 0x9b47
movb $0x0, %al
callq 0x1040
jmp 0x50e2
leaq 0x4a90(%rip), %rdi      # 0x9b6b
movb $0x0, %al
callq 0x1040
jmp 0x50e4
leaq 0x92b5(%rip), %rax      # 0xe3a0
movl 0x1c(%rax), %esi
leaq 0x4a9c(%rip), %rdi      # 0x9b91
movb $0x0, %al
callq 0x1040
leaq 0x929d(%rip), %rax      # 0xe3a0
movq 0x20(%rax), %rsi
leaq 0x9292(%rip), %rax      # 0xe3a0
movl 0x48(%rax), %edx
leaq 0x4aa5(%rip), %rdi      # 0x9bbd
movb $0x0, %al
callq 0x1040
leaq 0x927a(%rip), %rax      # 0xe3a0
movq 0x28(%rax), %rsi
leaq 0x4abd(%rip), %rdi      # 0x9bee
movb $0x0, %al
callq 0x1040
popq %rax
retq
nopw (%rax,%rax)