// File: /workspace/github_c_makefile_star2_O0/videolan[P]bitstream/examples/./bitstream/dvb/si/ait_print.h
// Function: ait_desc_app_print
static inline void ait_desc_app_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)
{
    switch (i_print_type) {
        case PRINT_XML:
            pf_print(print_opaque, "<APP service_bound=\"%s\" "
                     "visibilty=\"%u\" priority=\"%u\">",
                     ait_desc_app_get_service_bound(p_desc) ? "true" : "false",
                     ait_desc_app_get_visibily(p_desc),
                     ait_desc_app_get_priority(p_desc));
            break;
        default:
            pf_print(print_opaque, "    - app service_bound=%s visibilty=%u "
                     "priority=%u",
                     ait_desc_app_get_service_bound(p_desc) ? "true" : "false",
                     ait_desc_app_get_visibily(p_desc),
                     ait_desc_app_get_priority(p_desc));
    }

    ait_desc_app_each_profile(p_desc, p_profile) {
        switch (i_print_type) {
            case PRINT_XML:
                pf_print(print_opaque, "<PROFILE type=\"%u\" "
                         "major=\"%u\" minor=\"%u\" micro=\"%u\" />",
                         ait_desc_app_profile_get_type(p_profile),
                         ait_desc_app_profile_get_major(p_profile),
                         ait_desc_app_profile_get_minor(p_profile),
                         ait_desc_app_profile_get_micro(p_profile));
                break;

            default:
                pf_print(print_opaque, "      - profile type=%u "
                         "version=%u.%u.%u",
                         ait_desc_app_profile_get_type(p_profile),
                         ait_desc_app_profile_get_major(p_profile),
                         ait_desc_app_profile_get_minor(p_profile),
                         ait_desc_app_profile_get_micro(p_profile));

        }
    }

    ait_desc_app_each_transport_proto(p_desc, p_proto) {
        switch (i_print_type) {
            case PRINT_XML:
                pf_print(print_opaque, "<TRANSPORT_PROTOCOL value=\"%u\"/>",
                         *p_proto);
                break;

            default:
                pf_print(print_opaque, "      - transport_protocol %u",
                         *p_proto);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %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)
movl -0x2c(%rbp), %eax
subl $0x1, %eax
jne 0x2230b
jmp 0x2229d
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rdi
callq 0x228c0
movzbl %al, %edx
leaq 0x9b35(%rip), %rax      # 0x2bdf5
leaq 0x9aeb(%rip), %rcx      # 0x2bdb2
cmpl $0x0, %edx
cmovneq %rcx, %rax
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rdi
callq 0x22900
movzbl %al, %eax
movl %eax, -0x4c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x22940
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rdx
movl -0x4c(%rbp), %ecx
movq -0x48(%rbp), %r9
movzbl %al, %r8d
leaq 0xa017(%rip), %rsi      # 0x2c31b
movb $0x0, %al
callq *%r9
jmp 0x22377
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rdi
callq 0x228c0
movzbl %al, %edx
leaq 0x9ac7(%rip), %rax      # 0x2bdf5
leaq 0x9a7d(%rip), %rcx      # 0x2bdb2
cmpl $0x0, %edx
cmovneq %rcx, %rax
movq %rax, -0x78(%rbp)
movq -0x8(%rbp), %rdi
callq 0x22900
movzbl %al, %eax
movl %eax, -0x6c(%rbp)
movq -0x8(%rbp), %rdi
callq 0x22940
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rdx
movl -0x6c(%rbp), %ecx
movq -0x68(%rbp), %r9
movzbl %al, %r8d
leaq 0x9fdf(%rip), %rsi      # 0x2c351
movb $0x0, %al
callq *%r9
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x22980
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0x224ca
movl -0x2c(%rbp), %eax
subl $0x1, %eax
jne 0x2242c
jmp 0x223a1
movq -0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a00
movzwl %ax, %eax
movl %eax, -0x94(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a20
movzbl %al, %eax
movl %eax, -0x90(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a40
movzbl %al, %eax
movl %eax, -0x8c(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a60
movq -0xa0(%rbp), %rdi
movl -0x94(%rbp), %edx
movl -0x90(%rbp), %ecx
movl -0x8c(%rbp), %r8d
movq -0x88(%rbp), %r10
movzbl %al, %r9d
leaq 0x9f63(%rip), %rsi      # 0x2c385
movb $0x0, %al
callq *%r10
jmp 0x224b2
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a00
movzwl %ax, %eax
movl %eax, -0xb4(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a20
movzbl %al, %eax
movl %eax, -0xb0(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a40
movzbl %al, %eax
movl %eax, -0xac(%rbp)
movq -0x38(%rbp), %rdi
callq 0x22a60
movq -0xc0(%rbp), %rdi
movl -0xb4(%rbp), %edx
movl -0xb0(%rbp), %ecx
movl -0xac(%rbp), %r8d
movq -0xa8(%rbp), %r10
movzbl %al, %r9d
leaq 0x9f0f(%rip), %rsi      # 0x2c3bc
movb $0x0, %al
callq *%r10
jmp 0x224b4
movq -0x8(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x22980
movq %rax, -0x38(%rbp)
jmp 0x22388
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x22a80
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x22537
movl -0x2c(%rbp), %eax
subl $0x1, %eax
jne 0x22508
jmp 0x224ec
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rdi
movq -0x40(%rbp), %rax
movzbl (%rax), %edx
leaq 0x9ee3(%rip), %rsi      # 0x2c3e5
movb $0x0, %al
callq *%rcx
jmp 0x22522
movq -0x10(%rbp), %rcx
movq -0x18(%rbp), %rdi
movq -0x40(%rbp), %rax
movzbl (%rax), %edx
leaq 0x9ee8(%rip), %rsi      # 0x2c406
movb $0x0, %al
callq *%rcx
jmp 0x22524
movq -0x8(%rbp), %rdi
movq -0x40(%rbp), %rsi
callq 0x22a80
movq %rax, -0x40(%rbp)
jmp 0x224db
addq $0xc0, %rsp
popq %rbp
retq