// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/atsc/si/desc_81.h
// Function: desc81_print
static inline void desc81_print(const uint8_t *p_desc, f_print pf_print,
                                void *opaque, print_type_t i_print_type)
{
    uint8_t sample_rate_code = desc81_get_sample_rate_code(p_desc);
    uint8_t bsid = desc81_get_bsid(p_desc);
    uint8_t bit_rate_code = desc81_get_bit_rate_code(p_desc);
    uint8_t surround_mode = desc81_get_surround_mode(p_desc);
    uint8_t bsmod = desc81_get_bsmod(p_desc);
    uint8_t num_channels = desc81_get_num_channels(p_desc);
    uint8_t full_svc = desc81_get_full_svc(p_desc);

    switch (i_print_type) {
    case PRINT_XML:
        pf_print(opaque,
                 "<AC3_DESC"
                 " sample_rate=\"0x%02x\""
                 " bsid=\"0x%02x\""
                 " bit_rate=\"0x%02x\""
                 " surround_mode=\"0x%02x\""
                 " bsmod=\"0x%02x\""
                 " num_channels=\"0x%02x\""
                 " full_svc=\"%u\"/>",
                 sample_rate_code,
                 bsid,
                 bit_rate_code,
                 surround_mode,
                 bsmod,
                 num_channels,
                 full_svc);
        break;
    default:
        pf_print(opaque,
                 "    - desc 81 ac3"
                 " sample_rate=\"0x%02x\""
                 " bsid=\"0x%02x\""
                 " bit_rate=\"0x%02x\""
                 " surround_mode=\"0x%02x\""
                 " bsmod=\"0x%02x\""
                 " num_channels=\"0x%02x\""
                 " full_svc=\"%u\"",
                 sample_rate_code,
                 bsid,
                 bit_rate_code,
                 surround_mode,
                 bsmod,
                 num_channels,
                 full_svc);
        break;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b8c0
movb %al, -0x25(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b8e0
movb %al, -0x26(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b900
movb %al, -0x27(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b920
movb %al, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b940
movb %al, -0x29(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b960
movb %al, -0x2a(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b980
movb %al, -0x2b(%rbp)
movl -0x24(%rbp), %eax
subl $0x1, %eax
jne 0x11fc7
jmp 0x11f86
movq -0x18(%rbp), %r10
movq -0x20(%rbp), %rdi
movzbl -0x25(%rbp), %edx
movzbl -0x26(%rbp), %ecx
movzbl -0x27(%rbp), %r8d
movzbl -0x28(%rbp), %r9d
movzbl -0x29(%rbp), %ebx
movzbl -0x2a(%rbp), %r11d
movzbl -0x2b(%rbp), %eax
leaq 0x1804d(%rip), %rsi     # 0x2a001
movl %ebx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq *%r10
jmp 0x12006
movq -0x18(%rbp), %r10
movq -0x20(%rbp), %rdi
movzbl -0x25(%rbp), %edx
movzbl -0x26(%rbp), %ecx
movzbl -0x27(%rbp), %r8d
movzbl -0x28(%rbp), %r9d
movzbl -0x29(%rbp), %ebx
movzbl -0x2a(%rbp), %r11d
movzbl -0x2b(%rbp), %eax
leaq 0x18097(%rip), %rsi     # 0x2a08c
movl %ebx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq *%r10
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
nopl (%rax)