// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/print.c
// Function: display_end_of_ifd
void
display_end_of_ifd(unsigned long max_ifd_offset,int ifdtype,int ifdnum,int subifdnum,
                                                int indent,char *ifdname,char *prefix)
{
    int chpr = 0;
    print_tag_address(SECTION,max_ifd_offset - 1,indent,prefix);
    switch(ifdtype)
    {
        case TIFF_IFD:
            if(PRINT_SECTION)
                chpr += printf("</IFD %d>",ifdnum);
            break;
        case TIFF_SUBIFD:
            if(PRINT_SECTION)
                chpr += printf("</SubIFD %d of IFD %d>",subifdnum,ifdnum);
            break;
        case INTEROP_IFD:
            if(PRINT_SECTION)
                chpr += printf("</Interoperability SubIFD>");
            break;
        case GPS_IFD:
            if(PRINT_SECTION)
                chpr += printf("</GPS SubIFD>");
            break;
        case EXIF_IFD:
            if(PRINT_SECTION)
                chpr += printf("</EXIF IFD>");
            break;
        case MAKER_SUBIFD:
            if(PRINT_SECTION)
                chpr += printf("</%s>",ifdname);
            break;
        default:
            if(PRINT_SECTION)
                chpr += printf("</UNKNOWN IFD TYPE %d>",ifdtype);
            break;
    }
    chpr = newline(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movl %r8d, -0x18(%rbp)
movq %r9, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rsi
decq %rsi
movl -0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movl -0xc(%rbp), %eax
movq %rax, -0x30(%rbp)
subq $0x6, %rax
ja 0xbc16
movq -0x30(%rbp), %rax
leaq 0x58960(%rip), %rcx     # 0x6444c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x6b684(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbb22
movl -0x10(%rbp), %esi
leaq 0x58f8f(%rip), %rdi     # 0x64aa4
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
leaq 0x6b652(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbb57
movl -0x14(%rbp), %esi
movl -0x10(%rbp), %edx
leaq 0x58f64(%rip), %rdi     # 0x64aae
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
leaq 0x6b61d(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbb86
leaq 0x58f4c(%rip), %rdi     # 0x64ac5
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
leaq 0x6b5ee(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbbb5
leaq 0x58f38(%rip), %rdi     # 0x64ae0
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
leaq 0x6b5bf(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbbe4
leaq 0x58f17(%rip), %rdi     # 0x64aee
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
leaq 0x6b593(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbc14
movq -0x20(%rbp), %rsi
leaq 0x58ef3(%rip), %rdi     # 0x64afa
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
leaq 0x6b563(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xbc43
movl -0xc(%rbp), %esi
leaq 0x58eca(%rip), %rdi     # 0x64b00
movb $0x0, %al
callq 0x3110
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xbc45
movl -0x24(%rbp), %edi
callq 0x1ef50
movl %eax, -0x24(%rbp)
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)