#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
struct dsc_iterate_images_info {
  int dummy;
};
struct array {
  int dummy;
};

/* Variables and functions */
scalar_t__ found_entire_filter_list(struct array const *const);
int /*<<< orphan*/ print_messages_header(struct dsc_iterate_images_info *const);
int /*<<< orphan*/ print_missing_filter_list(struct array const *const);
void print_dsc_warnings(struct dsc_iterate_images_info *__attribute__((nonnull))
                        const iterate_info,
                        const struct array *__attribute__((nonnull))
                        const filters) {
  if (found_entire_filter_list(filters)) {
    return;
  }
  print_messages_header(iterate_info);
  print_missing_filter_list(filters);
}


x86 assembly (clang, -O0):
<print_dsc_warnings>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <found_entire_filter_list@plt>
cmp    $0x0,%rax
je     1158 <print_dsc_warnings+0x28>
jmp    116a <print_dsc_warnings+0x3a>
mov    -0x8(%rbp),%rdi
call   1030 <print_messages_header@plt>
mov    -0x10(%rbp),%rdi
call   1050 <print_missing_filter_list@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_dsc_warnings>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %rdi,%r14
mov    %rsi,%rdi
call   1040 <found_entire_filter_list@plt>
test   %rax,%rax
je     114f <print_dsc_warnings+0x1f>
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
mov    %r14,%rdi
call   1030 <print_messages_header@plt>
mov    %rbx,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1050 <print_missing_filter_list@plt>

LLVM IR (-O0):
%struct.dsc_iterate_images_info = type { i32 }
%struct.array = type { i32 }
define void @print_dsc_warnings(%struct.dsc_iterate_images_info* %0, %struct.array* %1) {
%3 = alloca %struct.dsc_iterate_images_info*
%4 = alloca %struct.array*
store %struct.dsc_iterate_images_info* %0, %struct.dsc_iterate_images_info** %3
store %struct.array* %1, %struct.array** %4
%5 = load %struct.array*, %struct.array** %4
%6 = call i64 @found_entire_filter_list(%struct.array* %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
br label %14
9: ; preds = %2
%10 = load %struct.dsc_iterate_images_info*, %struct.dsc_iterate_images_info** %3
%11 = call i32 @print_messages_header(%struct.dsc_iterate_images_info* %10)
%12 = load %struct.array*, %struct.array** %4
%13 = call i32 @print_missing_filter_list(%struct.array* %12)
br label %14
14: ; preds = %9, %8
ret void
}

LLVM IR (-O2):
%struct.dsc_iterate_images_info = type { i32 }
%struct.array = type { i32 }
define void @print_dsc_warnings(%struct.dsc_iterate_images_info* %0, %struct.array* %1) {
%3 = tail call i64 @found_entire_filter_list(%struct.array* %1)
%4 = icmp eq i64 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = tail call i32 @print_messages_header(%struct.dsc_iterate_images_info* %0)
%7 = tail call i32 @print_missing_filter_list(%struct.array* %1)
br label %8
8: ; preds = %2, %5
ret void
}