// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/print_maker.c
// Function: print_camera_makes
void
print_camera_makes()
{
    struct camera_name *maker_id;
    char *pattern,*model_pattern;
    int chpr = 0;

    chpr = newline(0);
    chpr += printf("Camera Makes:");
    chpr = newline(chpr);

    if(Camera_name_pattern)
    {
        pattern = Camera_name_pattern;
        if((model_pattern = strchr(pattern,'+')))
            *model_pattern++ = '\0';
        else
            model_pattern = NULL;

        /* 'Camera_make' is a global parameter                        */
        for(maker_id = Camera_make; maker_id && maker_id->name; ++maker_id)
        {
            if(pattern)
            {
                if(*pattern == '-')
                {
                    chpr += printf("\t%-32.32s [%d]",maker_id->name,maker_id->id);
                    chpr = newline(chpr);
                }
                else
                {
                    if((*pattern) && !STRCASESTR(maker_id->name,pattern))
                        continue;
                    chpr += printf("\t%-32.32s [%d]",maker_id->name,maker_id->id);
                    chpr = newline(chpr);
                    if(model_pattern)
                    {
                        if(*model_pattern)
                            print_camera_models(maker_id->model,model_pattern);
                        else
                            print_camera_models(maker_id->model,NULL);
                    }
                }
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0x1c(%rbp)
xorl %edi, %edi
callq 0x1ef50
movl %eax, -0x1c(%rbp)
leaq 0x4467e(%rip), %rdi     # 0x690ce
movb $0x0, %al
callq 0x3110
addl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %edi
callq 0x1ef50
movl %eax, -0x1c(%rbp)
leaq 0x539f1(%rip), %rax     # 0x78460
cmpq $0x0, (%rax)
je 0x24bd5
leaq 0x539e0(%rip), %rax     # 0x78460
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movl $0x2b, %esi
callq 0x3100
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
je 0x24ab3
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x18(%rbp)
movb $0x0, (%rax)
jmp 0x24abb
movq $0x0, -0x18(%rbp)
leaq 0x536de(%rip), %rax     # 0x781a0
movq %rax, -0x8(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x8(%rbp)
movb %al, -0x1d(%rbp)
je 0x24ae0
movq -0x8(%rbp), %rax
cmpq $0x0, (%rax)
setne %al
movb %al, -0x1d(%rbp)
movb -0x1d(%rbp), %al
testb $0x1, %al
jne 0x24aec
jmp 0x24bd3
cmpq $0x0, -0x10(%rbp)
je 0x24bc0
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x24b35
movq -0x8(%rbp), %rax
movq (%rax), %rsi
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edx
leaq 0x445c4(%rip), %rdi     # 0x690dc
movb $0x0, %al
callq 0x3110
addl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %edi
callq 0x1ef50
movl %eax, -0x1c(%rbp)
jmp 0x24bbe
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0x24b59
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x24be0
cmpq $0x0, %rax
jne 0x24b59
jmp 0x24bc2
movq -0x8(%rbp), %rax
movq (%rax), %rsi
movq -0x8(%rbp), %rax
movl 0xc(%rax), %edx
leaq 0x4456e(%rip), %rdi     # 0x690dc
movb $0x0, %al
callq 0x3110
addl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %edi
callq 0x1ef50
movl %eax, -0x1c(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x24bbc
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0x24ba9
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x24c80
jmp 0x24bba
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x24c80
jmp 0x24bbc
jmp 0x24bbe
jmp 0x24bc0
jmp 0x24bc2
movq -0x8(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x8(%rbp)
jmp 0x24ac6
jmp 0x24bd5
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)