// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/mpeg/psi/desc_22.h
// Function: desc22_print
static inline void desc22_print(uint8_t *p_desc, f_print pf_print,
                                void *opaque, print_type_t i_print_type)
{
    switch (i_print_type) {
    case PRINT_XML:
        pf_print(opaque, "<FMX_BUFFER_SIZE_DESC default_buffer_size=\"%u\">",
                 desc22_get_default_buffer_size(p_desc));
        break;
    default:
        pf_print(opaque, "    - desc 22 fmx_buffer_size default_buffer_size=%u",
                 desc22_get_default_buffer_size(p_desc));
    }

    desc22_each_entry(p_desc, p_desc_n) {
        switch (i_print_type) {
        case PRINT_XML:
            pf_print(opaque, "<FLEXMUX_BUFFER_DESC flexmux_channel=\"0x%02x\" buffer_size=\"%u\"/>",
                     desc22n_get_flexmux_channel(p_desc_n),
                     desc22n_get_flexmux_buffer_size(p_desc_n));
            break;
        default:
            pf_print(opaque, "        - flexmux_channel=0x%02x buffer_size=%u",
                     desc22n_get_flexmux_channel(p_desc_n),
                     desc22n_get_flexmux_buffer_size(p_desc_n));
        }
    }

    if (i_print_type == PRINT_XML)
        pf_print(opaque, "</FMX_BUFFER_SIZE_DESC>");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
subl $0x1, %eax
jne 0x9aa4
jmp 0x9a74
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rdi
callq 0x142e0
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rcx
movl %eax, %edx
leaq 0x1ba01(%rip), %rsi     # 0x2549f
movb $0x0, %al
callq *%rcx
jmp 0x9ad2
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
callq 0x142e0
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rcx
movl %eax, %edx
leaq 0x1ba01(%rip), %rsi     # 0x254cf
movb $0x0, %al
callq *%rcx
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x14310
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x9b94
movl -0x1c(%rbp), %eax
subl $0x1, %eax
jne 0x9b3b
jmp 0x9af8
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x28(%rbp), %rdi
callq 0x14360
movzbl %al, %eax
movl %eax, -0x54(%rbp)
movq -0x28(%rbp), %rdi
callq 0x14370
movq -0x60(%rbp), %rdi
movl -0x54(%rbp), %edx
movq -0x50(%rbp), %r8
movl %eax, %ecx
leaq 0x1b9d0(%rip), %rsi     # 0x25504
movb $0x0, %al
callq *%r8
jmp 0x9b7c
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x28(%rbp), %rdi
callq 0x14360
movzbl %al, %eax
movl %eax, -0x6c(%rbp)
movq -0x28(%rbp), %rdi
callq 0x14370
movq -0x78(%rbp), %rdi
movl -0x6c(%rbp), %edx
movq -0x68(%rbp), %r8
movl %eax, %ecx
leaq 0x1b9ce(%rip), %rsi     # 0x25545
movb $0x0, %al
callq *%r8
jmp 0x9b7e
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x14310
movq %rax, -0x28(%rbp)
jmp 0x9ae3
cmpl $0x1, -0x1c(%rbp)
jne 0x9bad
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rdi
leaq 0x1b9cc(%rip), %rsi     # 0x25575
movb $0x0, %al
callq *%rcx
addq $0x80, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)