// File: /workspace/github_c_makefile_star2_O3/videolan[P]bitstream/examples/./bitstream/dvb/si/desc_5b.h
// Function: desc5b_print
static inline void desc5b_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)
{
    bool b_bouquet = desc_get_tag(p_desc) == 0x5c;

    desc5b_each_data(p_desc, p_desc_n) {
        uint8_t i_network_name_length;
        const uint8_t *p_network_name = desc5bn_get_networkname(p_desc_n, &i_network_name_length);
        char *psz_network_name = dvb_string_get(p_network_name, i_network_name_length, pf_iconv, iconv_opaque);
        switch (i_print_type) {
        case PRINT_XML:
            psz_network_name = dvb_string_xml_escape(psz_network_name);
            pf_print(print_opaque,
                     !b_bouquet
                      ? "<MULTILINGUAL_NETWORK_NAME_DESC code=\"%3.3s\" networkname=\"%s\"/>"
                      : "<MULTILINGUAL_BOUQUET_NAME_DESC code=\"%3.3s\" bouquetname=\"%s\"/>",
                     desc5bn_get_code(p_desc_n),
                     psz_network_name
                    );
            break;
        default:
            pf_print(print_opaque,
                     !b_bouquet
                      ? "    - desc 5b multilingual_network_name code=\"%3.3s\" networkname=\"%s\""
                      : "    - desc 5c multilingual_bouquet_name code=\"%3.3s\" bouquetname=\"%s\"",
                     desc5bn_get_code(p_desc_n),
                     psz_network_name
                    );
        }
        free(psz_network_name);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, 0xc(%rsp)
movq %rsi, 0x10(%rsp)
cmpb $0x4, 0x1(%rdi)
jb 0xfe4d
movq %rdi, %r15
leaq 0x2(%rdi), %rax
movq %rax, 0x30(%rsp)
cmpb $0x5c, (%rdi)
leaq 0x690b(%rip), %rax      # 0x1658c
leaq 0x68be(%rip), %rcx      # 0x16546
cmoveq %rax, %rcx
movq %rcx, 0x20(%rsp)
leaq 0x686e(%rip), %rax      # 0x16506
leaq 0x6827(%rip), %rcx      # 0x164c6
cmoveq %rax, %rcx
movq %rcx, 0x18(%rsp)
leaq 0x8(%rdi), %rax
movq %rax, 0x28(%rsp)
movl $0x2, %ebx
leaq (%r15,%rbx), %rbp
movzbl 0x3(%r15,%rbx), %r14d
testq %r14, %r14
je 0xfce8
leaq (%r15,%rbx), %r12
addq $0x4, %r12
movzbl (%r12), %eax
testq %rax, %rax
je 0xfd89
cmpb $0x1f, %al
jbe 0xfcf9
leaq 0x4b94(%rip), %rsi      # 0x1487a
jmp 0xfd66
leaq 0x9033(%rip), %rdi      # 0x18d22
callq 0x2200
jmp 0xfd7c
leaq -0x1(%r14), %rcx
cmpl $0x10, %eax
setne %dl
cmpq $0x2, %rcx
setb %sil
orb %dl, %sil
jne 0xfd3f
movb 0x6(%rbp), %al
leaq 0x7(%rbp), %r12
addq $-0x3, %r14
cmpb $0x0, 0x5(%rbp)
setne %cl
leal -0x10(%rax), %edx
cmpb $-0xf, %dl
setb %dl
orb %cl, %dl
jne 0xfd89
movzbl %al, %eax
leaq 0xcae7(%rip), %rcx      # 0x1c820
leaq (%rcx,%rax,8), %rax
jmp 0xfd63
cmpl $0x1f, %eax
setne %dl
testq %rcx, %rcx
sete %sil
orb %dl, %sil
je 0xfd81
leaq 0x5(%rbp), %r12
leaq 0xcb54(%rip), %rdx      # 0x1c8b0
leaq (%rdx,%rax,8), %rax
movq %rcx, %r14
movq (%rax), %rsi
testq %r14, %r14
je 0xfd89
testq %rsi, %rsi
je 0xfd89
xorl %edi, %edi
movq %r12, %rdx
movq %r14, %rcx
callq *0x10(%rsp)
movq %rax, %r13
jmp 0xfda9
leaq 0x6(%rbp), %r12
addq $-0x2, %r14
leaq 0x1(%r14), %rdi
callq 0x2160
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x2150
movb $0x0, (%r13,%r14)
cmpl $0x1, 0xc(%rsp)
jne 0xfde5
testq %r13, %r13
je 0xfdf9
movq %r13, %rdi
xorl %esi, %esi
callq 0x105ea
movq %rax, %rdi
callq 0x2160
movl $0x0, %r14d
testq %rax, %rax
je 0xfdfc
movq %rax, %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x105ea
movq %r12, %r14
jmp 0xfdfc
movq 0x20(%rsp), %rsi
movq %rbp, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x7e94
jmp 0xfe19
xorl %r14d, %r14d
movq %r13, %rdi
callq 0x2030
movq 0x18(%rsp), %rsi
movq %rbp, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x7e94
movq %r14, %r13
movq %r13, %rdi
callq 0x2030
movzbl 0x3(%rbp), %eax
addq %rax, %rbx
cmpq $-0x2, %rbx
jl 0xfe4d
movq 0x28(%rsp), %rax
addq %rbx, %rax
addq $0x4, %rbx
movzbl 0x1(%r15), %ecx
addq 0x30(%rsp), %rcx
cmpq %rcx, %rax
jbe 0xfcb6
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq