// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/dvb/si/desc_5d.h
// Function: desc5d_print
static inline void desc5d_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)
{
    desc5d_each_data(p_desc, p_desc_n) {
        uint8_t i_provider_name_length, i_service_name_length;
        const uint8_t *p_provider_name = desc5dn_get_provider_name(p_desc_n, &i_provider_name_length);
        const uint8_t *p_service_name  = desc5dn_get_service_name(p_desc_n, &i_service_name_length);
        char *psz_provider_name = dvb_string_get(p_provider_name, i_provider_name_length, pf_iconv, iconv_opaque);
        char *psz_service_name = dvb_string_get(p_service_name, i_service_name_length, pf_iconv, iconv_opaque);
        switch (i_print_type) {
        case PRINT_XML:
            psz_provider_name = dvb_string_xml_escape(psz_provider_name);
            pf_print(print_opaque,
                     "<MULTILINGUAL_SERVICE_NAME_DESC code=\"%3.3s\" provider=\"%s\" service=\"%s\"/>",
                     desc5dn_get_code(p_desc_n),
                     psz_provider_name,
                     psz_service_name
                    );
            break;
        default:
            pf_print(print_opaque,
                     "    - desc 5d multilingual_service_name code=\"%3.3s\" provider=\"%s\" service=\"%s\"",
                     desc5dn_get_code(p_desc_n),
                     psz_provider_name,
                     psz_service_name
                    );
        }
        free(psz_provider_name);
        free(psz_service_name);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %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
xorl %eax, %eax
movl %eax, %esi
callq 0x19bc0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0xf7b8
movq -0x38(%rbp), %rdi
leaq -0x39(%rbp), %rsi
callq 0x19c30
movq %rax, -0x48(%rbp)
movq -0x38(%rbp), %rdi
leaq -0x3a(%rbp), %rsi
callq 0x19c60
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rdi
movzbl -0x39(%rbp), %eax
movl %eax, %esi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
callq 0x16a70
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rdi
movzbl -0x3a(%rbp), %eax
movl %eax, %esi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
callq 0x16a70
movq %rax, -0x60(%rbp)
movl -0x2c(%rbp), %eax
subl $0x1, %eax
jne 0xf758
jmp 0xf711
movq -0x58(%rbp), %rdi
callq 0x16ab0
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x38(%rbp), %rdi
callq 0x13a90
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %r9
movq %rax, %rdx
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %r8
leaq 0x191c3(%rip), %rsi     # 0x28914
movb $0x0, %al
callq *%r9
jmp 0xf790
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x38(%rbp), %rdi
callq 0x13a90
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %r9
movq %rax, %rdx
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %r8
leaq 0x191d3(%rip), %rsi     # 0x2895e
movb $0x0, %al
callq *%r9
movq -0x58(%rbp), %rdi
callq 0x2030
movq -0x60(%rbp), %rdi
callq 0x2030
movq -0x8(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x19bc0
movq %rax, -0x38(%rbp)
jmp 0xf6a4
addq $0x80, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)