#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 aquastreamxt_settings {
  int dummy;
};
struct ac_device_list_element {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ aquastreamxt_parse_report3(struct ac_device_list_element *,
                                              struct aquastreamxt_settings *);
int /*<<< orphan*/ aquastreamxt_parse_report5(struct ac_device_list_element *,
                                              struct aquastreamxt_settings *);
int /*<<< orphan*/ aquastreamxt_parse_report6(struct ac_device_list_element *,
                                              struct aquastreamxt_settings *);
struct aquastreamxt_settings *
acinfo_read_settings_aquastreamXT(struct ac_device_list_element *device,
                                  struct aquastreamxt_settings *settings) {
  aquastreamxt_parse_report3(device, settings);
  aquastreamxt_parse_report5(device, settings);
  aquastreamxt_parse_report6(device, settings);
  return settings;
}


x86 assembly (clang, -O0):
<acinfo_read_settings_aquastreamXT>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <aquastreamxt_parse_report3@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1040 <aquastreamxt_parse_report5@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1050 <aquastreamxt_parse_report6@plt>
mov    -0x10(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<acinfo_read_settings_aquastreamXT>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %rdi,%r14
call   1030 <aquastreamxt_parse_report3@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1040 <aquastreamxt_parse_report5@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1050 <aquastreamxt_parse_report6@plt>
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
%struct.ac_device_list_element = type { i32 }
%struct.aquastreamxt_settings = type { i32 }
define %struct.aquastreamxt_settings* @acinfo_read_settings_aquastreamXT(%struct.ac_device_list_element* %0, %struct.aquastreamxt_settings* %1) {
%3 = alloca %struct.ac_device_list_element*
%4 = alloca %struct.aquastreamxt_settings*
store %struct.ac_device_list_element* %0, %struct.ac_device_list_element** %3
store %struct.aquastreamxt_settings* %1, %struct.aquastreamxt_settings** %4
%5 = load %struct.ac_device_list_element*, %struct.ac_device_list_element** %3
%6 = load %struct.aquastreamxt_settings*, %struct.aquastreamxt_settings** %4
%7 = call i32 @aquastreamxt_parse_report3(%struct.ac_device_list_element* %5, %struct.aquastreamxt_settings* %6)
%8 = load %struct.ac_device_list_element*, %struct.ac_device_list_element** %3
%9 = load %struct.aquastreamxt_settings*, %struct.aquastreamxt_settings** %4
%10 = call i32 @aquastreamxt_parse_report5(%struct.ac_device_list_element* %8, %struct.aquastreamxt_settings* %9)
%11 = load %struct.ac_device_list_element*, %struct.ac_device_list_element** %3
%12 = load %struct.aquastreamxt_settings*, %struct.aquastreamxt_settings** %4
%13 = call i32 @aquastreamxt_parse_report6(%struct.ac_device_list_element* %11, %struct.aquastreamxt_settings* %12)
%14 = load %struct.aquastreamxt_settings*, %struct.aquastreamxt_settings** %4
ret %struct.aquastreamxt_settings* %14
}

LLVM IR (-O2):
%struct.ac_device_list_element = type { i32 }
%struct.aquastreamxt_settings = type { i32 }
define %struct.aquastreamxt_settings* @acinfo_read_settings_aquastreamXT(%struct.ac_device_list_element* %0, %struct.aquastreamxt_settings* returned %1) {
%3 = tail call i32 @aquastreamxt_parse_report3(%struct.ac_device_list_element* %0, %struct.aquastreamxt_settings* %1)
%4 = tail call i32 @aquastreamxt_parse_report5(%struct.ac_device_list_element* %0, %struct.aquastreamxt_settings* %1)
%5 = tail call i32 @aquastreamxt_parse_report6(%struct.ac_device_list_element* %0, %struct.aquastreamxt_settings* %1)
ret %struct.aquastreamxt_settings* %1
}