// File: /workspace/github_c_makefile_star2_O0/madler[P]pigz/pigz.c
// Function: show_info
local void show_info(int method, unsigned long check, length_t len, int cont) {
    size_t max;             // maximum name length for current verbosity
    size_t n;               // name length without suffix
    time_t now;             // for getting current year
    char mod[26];           // modification time in text
    char tag[NAMEMAX1+1];   // header or file name, possibly truncated

    // create abbreviated name from header file name or actual file name
    max = g.verbosity > 1 ? NAMEMAX2 : NAMEMAX1;
    memset(tag, 0, max + 1);
    if (cont)
        strncpy(tag, "<...>", max + 1);
    else if (g.hname == NULL) {
        n = strlen(g.inf) - compressed_suffix(g.inf);
        memcpy(tag, g.inf, n > max + 1 ? max + 1 : n);
        if (strcmp(g.inf + n, ".tgz") == 0 && n < max + 1)
            strncpy(tag + n, ".tar", max + 1 - n);
    }
    else
        strncpy(tag, g.hname, max + 1);
    if (tag[max])
        strcpy(tag + max - 3, "...");

    // convert time stamp to text
    if (g.stamp && !cont) {
        strcpy(mod, ctime(&g.stamp));
        now = time(NULL);
        if (strcmp(mod + 20, ctime(&now) + 20) != 0)
            strcpy(mod + 11, mod + 19);
    }
    else
        strcpy(mod + 4, "------ -----");
    mod[16] = 0;

    // if first time, print header
    if (g.first) {
        if (g.verbosity > 1)
            fputs("method    check    timestamp    ", stdout);
        if (g.verbosity > 0)
            puts("compressed   original reduced  name");
        g.first = 0;
    }

    // print information
    if (g.verbosity > 1) {
        if (g.form == 3 && !g.decode)
            printf("zip%3d  --------  %s  ", method, mod + 4);
        else if (g.form > 1)
            printf("zip%3d  %08lx  %s  ", method, check, mod + 4);
        else if (g.form == 1)
            printf("zlib%2d  %08lx  %s  ", method, check, mod + 4);
        else if (method == 257)
            printf("lzw     --------  %s  ", mod + 4);
        else
            printf("gzip%2d  %08lx  %s  ", method, check, mod + 4);
    }
    if (g.verbosity > 0) {
        // compute reduction percent -- allow divide-by-zero, displays as -inf%
        double red = 100. * (len - (double)g.in_tot) / len;
        if ((g.form == 3 && !g.decode) ||
            (method == 8 && g.in_tot > (len + (len >> 10) + 12)) ||
            (method == 257 && g.in_tot > len + (len >> 1) + 3))
#if __STDC_VERSION__-0 >= 199901L || __GNUC__-0 >= 3
            printf("%10ju %10ju?  unk    %s\n", g.in_tot, len, tag);
        else
            printf("%10ju %10ju %6.1f%%  %s\n", g.in_tot, len, red, tag);
#else
            printf("%10lu %10lu?  unk    %s\n", g.in_tot, len, tag);
        else
            printf("%10lu %10lu %6.1f%%  %s\n", g.in_tot, len, red, tag);
#endif
    }
    if (g.verbosity > 1 && g.hcomm != NULL)
        puts(g.hcomm);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl 0x19291(%rip), %edx     # 0x237b0
movl $0x30, %eax
movl $0x10, %ecx
cmpl $0x1, %edx
cmovgl %ecx, %eax
cltq
movq %rax, -0x28(%rbp)
leaq -0xa0(%rbp), %rdi
movq -0x28(%rbp), %rdx
addq $0x1, %rdx
xorl %esi, %esi
callq 0x3260
cmpl $0x0, -0x1c(%rbp)
je 0xa571
leaq -0xa0(%rbp), %rdi
movq -0x28(%rbp), %rdx
addq $0x1, %rdx
leaq 0x13161(%rip), %rsi     # 0x1d6c8
callq 0x3090
jmp 0xa681
cmpq $0x0, 0x192d7(%rip)     # 0x23850
jne 0xa664
movq 0x19212(%rip), %rdi     # 0x23798
callq 0x31a0
movq %rax, -0xc0(%rbp)
movq 0x191ff(%rip), %rdi     # 0x23798
callq 0x61a0
movq %rax, %rcx
movq -0xc0(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x30(%rbp)
leaq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq 0x191d4(%rip), %rax     # 0x23798
movq %rax, -0xb0(%rbp)
movq -0x30(%rbp), %rax
movq -0x28(%rbp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jbe 0xa5ed
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xc8(%rbp)
jmp 0xa5f8
movq -0x30(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0xb0(%rbp), %rsi
movq -0xb8(%rbp), %rdi
movq -0xc8(%rbp), %rdx
callq 0x3360
movq 0x1917f(%rip), %rdi     # 0x23798
addq -0x30(%rbp), %rdi
leaq 0x12b35(%rip), %rsi     # 0x1d159
callq 0x3320
cmpl $0x0, %eax
jne 0xa662
movq -0x30(%rbp), %rax
movq -0x28(%rbp), %rcx
addq $0x1, %rcx
cmpq %rcx, %rax
jae 0xa662
leaq -0xa0(%rbp), %rdi
addq -0x30(%rbp), %rdi
movq -0x28(%rbp), %rdx
addq $0x1, %rdx
subq -0x30(%rbp), %rdx
leaq 0x12d44(%rip), %rsi     # 0x1d3a1
callq 0x3090
jmp 0xa67f
leaq -0xa0(%rbp), %rdi
movq 0x191de(%rip), %rsi     # 0x23850
movq -0x28(%rbp), %rdx
addq $0x1, %rdx
callq 0x3090
jmp 0xa681
movq -0x28(%rbp), %rax
cmpb $0x0, -0xa0(%rbp,%rax)
je 0xa6aa
leaq -0xa0(%rbp), %rdi
addq -0x28(%rbp), %rdi
addq $-0x3, %rdi
leaq 0x13029(%rip), %rsi     # 0x1d6ce
callq 0x30b0
cmpq $0x0, 0x19196(%rip)     # 0x23848
je 0xa743
cmpl $0x0, -0x1c(%rbp)
jne 0xa743
leaq -0x60(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq 0x190ac(%rip), %rdi     # 0x23780
addq $0xc8, %rdi
callq 0x3190
movq -0xd8(%rbp), %rdi
movq %rax, %rsi
callq 0x30b0
xorl %eax, %eax
movl %eax, %edi
callq 0x3380
movq %rax, -0x38(%rbp)
leaq -0x60(%rbp), %rax
addq $0x14, %rax
movq %rax, -0xd0(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x3190
movq -0xd0(%rbp), %rdi
movq %rax, %rsi
addq $0x14, %rsi
callq 0x3320
cmpl $0x0, %eax
je 0xa741
leaq -0x60(%rbp), %rdi
addq $0xb, %rdi
leaq -0x60(%rbp), %rsi
addq $0x13, %rsi
callq 0x30b0
jmp 0xa757
leaq -0x60(%rbp), %rdi
addq $0x4, %rdi
leaq 0x12f80(%rip), %rsi     # 0x1d6d2
callq 0x30b0
movb $0x0, -0x50(%rbp)
cmpl $0x0, 0x190a2(%rip)     # 0x23804
je 0xa7a2
cmpl $0x1, 0x19045(%rip)     # 0x237b0
jle 0xa783
movq 0x18864(%rip), %rax     # 0x22fd8
movq (%rax), %rsi
leaq 0x12f61(%rip), %rdi     # 0x1d6df
callq 0x3230
cmpl $0x0, 0x19026(%rip)     # 0x237b0
jle 0xa798
leaq 0x12f6d(%rip), %rdi     # 0x1d700
callq 0x30d0
movl $0x0, 0x19062(%rip)     # 0x23804
cmpl $0x1, 0x19007(%rip)     # 0x237b0
jle 0xa875
cmpl $0x3, 0x19012(%rip)     # 0x237c8
jne 0xa7df
cmpl $0x0, 0x19049(%rip)     # 0x23808
jne 0xa7df
movl -0x4(%rbp), %esi
leaq -0x60(%rbp), %rdx
addq $0x4, %rdx
leaq 0x12f51(%rip), %rdi     # 0x1d724
movb $0x0, %al
callq 0x31d0
jmp 0xa873
cmpl $0x1, 0x18fe2(%rip)     # 0x237c8
jle 0xa807
movl -0x4(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq -0x60(%rbp), %rcx
addq $0x4, %rcx
leaq 0x12f3d(%rip), %rdi     # 0x1d73b
movb $0x0, %al
callq 0x31d0
jmp 0xa871
cmpl $0x1, 0x18fba(%rip)     # 0x237c8
jne 0xa82f
movl -0x4(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq -0x60(%rbp), %rcx
addq $0x4, %rcx
leaq 0x12f29(%rip), %rdi     # 0x1d74f
movb $0x0, %al
callq 0x31d0
jmp 0xa86f
cmpl $0x101, -0x4(%rbp)      # imm = 0x101
jne 0xa850
leaq -0x60(%rbp), %rsi
addq $0x4, %rsi
leaq 0x12f1d(%rip), %rdi     # 0x1d764
movb $0x0, %al
callq 0x31d0
jmp 0xa86d
movl -0x4(%rbp), %esi
movq -0x10(%rbp), %rdx
leaq -0x60(%rbp), %rcx
addq $0x4, %rcx
leaq 0x12f15(%rip), %rdi     # 0x1d77b
movb $0x0, %al
callq 0x31d0
jmp 0xa86f
jmp 0xa871
jmp 0xa873
jmp 0xa875
cmpl $0x0, 0x18f34(%rip)     # 0x237b0
jle 0xa98d
movq -0x18(%rbp), %xmm1
movaps 0x11942(%rip), %xmm3    # 0x1c1d0
punpckldq %xmm3, %xmm1    # xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
movapd 0x11946(%rip), %xmm0    # 0x1c1e0
subpd %xmm0, %xmm1
movaps %xmm1, %xmm2
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm2, %xmm1
movq 0x2100f(%rip), %xmm2    # 0x2b8c0
punpckldq %xmm3, %xmm2    # xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
subpd %xmm0, %xmm2
movaps %xmm2, %xmm0
unpckhpd %xmm2, %xmm2            # xmm2 = xmm2[1,1]
addsd %xmm0, %xmm2
movaps %xmm1, %xmm0
subsd %xmm2, %xmm0
movsd 0x1191d(%rip), %xmm2    # 0x1c1f0
mulsd %xmm2, %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0xa8(%rbp)
cmpl $0x3, 0x18ede(%rip)     # 0x237c8
jne 0xa8f5
cmpl $0x0, 0x18f15(%rip)     # 0x23808
je 0xa941
cmpl $0x8, -0x4(%rbp)
jne 0xa91a
movq 0x20fbe(%rip), %rax     # 0x2b8c0
movq -0x18(%rbp), %rcx
movq -0x18(%rbp), %rdx
shrq $0xa, %rdx
addq %rdx, %rcx
addq $0xc, %rcx
cmpq %rcx, %rax
ja 0xa941
cmpl $0x101, -0x4(%rbp)      # imm = 0x101
jne 0xa963
movq 0x20f96(%rip), %rax     # 0x2b8c0
movq -0x18(%rbp), %rcx
movq -0x18(%rbp), %rdx
shrq %rdx
addq %rdx, %rcx
addq $0x3, %rcx
cmpq %rcx, %rax
jbe 0xa963
movq 0x20f78(%rip), %rsi     # 0x2b8c0
movq -0x18(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
leaq 0x12e36(%rip), %rdi     # 0x1d790
movb $0x0, %al
callq 0x31d0
jmp 0xa98b
movq 0x20f56(%rip), %rsi     # 0x2b8c0
movq -0x18(%rbp), %rdx
movsd -0xa8(%rbp), %xmm0
leaq -0xa0(%rbp), %rcx
leaq 0x12e25(%rip), %rdi     # 0x1d7a9
movb $0x1, %al
callq 0x31d0
jmp 0xa98d
cmpl $0x1, 0x18e1c(%rip)     # 0x237b0
jle 0xa9ac
cmpq $0x0, 0x18eba(%rip)     # 0x23858
je 0xa9ac
movq 0x18eb1(%rip), %rdi     # 0x23858
callq 0x30d0
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)