// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/dvb/si/desc_50.h
// Function: desc50_print
static inline void desc50_print(const uint8_t *p_desc,
                                f_print pf_print, void *print_opaque,
                                f_iconv pf_iconv, void *iconv_opaque,
                                print_type_t i_print_type)
{
    uint8_t i_text_len;
    const uint8_t *p_text = desc50_get_text(p_desc, &i_text_len);
    char *psz_text = dvb_string_get(p_text, i_text_len, pf_iconv, iconv_opaque);

    switch (i_print_type) {
    case PRINT_XML:
        psz_text = dvb_string_xml_escape(psz_text);
        pf_print(print_opaque,
                 "<COMPONENT_DESC stream_content=\"0x%02x\" component_type=\"0x%02x\""
                 " component_tag=\"%u\" language=\"%3.3s\" text=\"%s\"/>",
                 desc50_get_stream_content(p_desc),
                 desc50_get_component_type(p_desc),
                 desc50_get_component_tag(p_desc),
                 (char *)desc50_get_language(p_desc),
                 psz_text
                );
        break;
    default:
        pf_print(print_opaque,
                 "    - desc 50 component stream_content=0x%02x component_type=0x%02x"
                 " component_tag=%u language=%3.3s text=\"%s\"/>",
                 desc50_get_stream_content(p_desc),
                 desc50_get_component_type(p_desc),
                 desc50_get_component_tag(p_desc),
                 (char *)desc50_get_language(p_desc),
                 psz_text
                );
    }

    free(psz_text);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x2d(%rbp), %rsi
callq 0x187a0
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movzbl -0x2d(%rbp), %eax
movl %eax, %esi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
callq 0x16a70
movq %rax, -0x40(%rbp)
movl -0x2c(%rbp), %eax
subl $0x1, %eax
jne 0xdcdb
jmp 0xdc5d
movq -0x40(%rbp), %rdi
callq 0x16ab0
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rdi
callq 0x187e0
movzbl %al, %eax
movl %eax, -0x54(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18800
movzbl %al, %eax
movl %eax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18820
movzbl %al, %eax
movl %eax, -0x4c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18840
movq -0x60(%rbp), %rdi
movl -0x54(%rbp), %edx
movl -0x50(%rbp), %ecx
movl -0x4c(%rbp), %r8d
movq -0x48(%rbp), %r10
movq %rax, %r9
movq -0x40(%rbp), %rax
leaq 0x19fff(%rip), %rsi     # 0x27ccf
movq %rax, (%rsp)
movb $0x0, %al
callq *%r10
jmp 0xdd4a
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rdi
callq 0x187e0
movzbl %al, %eax
movl %eax, -0x74(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18800
movzbl %al, %eax
movl %eax, -0x70(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18820
movzbl %al, %eax
movl %eax, -0x6c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18840
movq -0x80(%rbp), %rdi
movl -0x74(%rbp), %edx
movl -0x70(%rbp), %ecx
movl -0x6c(%rbp), %r8d
movq -0x68(%rbp), %r10
movq %rax, %r9
movq -0x40(%rbp), %rax
leaq 0x19ffe(%rip), %rsi     # 0x27d3f
movq %rax, (%rsp)
movb $0x0, %al
callq *%r10
movq -0x40(%rbp), %rdi
callq 0x2030
addq $0x90, %rsp
popq %rbp
retq
nopl (%rax)