#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 pmd_part {
  int dummy;
};
struct fmdriver_work {
  int dummy;
};
struct driver_pmd {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ pmd_cmdf1_lfo_switch(struct fmdriver_work *,
                                        struct driver_pmd *, struct pmd_part *);
int /*<<< orphan*/ pmd_fm3ex_mode_update_check(struct fmdriver_work *,
                                               struct driver_pmd *,
                                               struct pmd_part *);
void pmd_cmdf1_lfo_switch_fm(struct fmdriver_work *work, struct driver_pmd *pmd,
                             struct pmd_part *part) {
  pmd_cmdf1_lfo_switch(work, pmd, part);
  pmd_fm3ex_mode_update_check(work, pmd, part);
}


x86 assembly (clang, -O0):
<pmd_cmdf1_lfo_switch_fm>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   1040 <pmd_cmdf1_lfo_switch@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
call   1030 <pmd_fm3ex_mode_update_check@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<pmd_cmdf1_lfo_switch_fm>:
push   %r15
push   %r14
push   %rbx
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
call   1040 <pmd_cmdf1_lfo_switch@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <pmd_fm3ex_mode_update_check@plt>

LLVM IR (-O0):
%struct.fmdriver_work = type { i32 }
%struct.driver_pmd = type { i32 }
%struct.pmd_part = type { i32 }
define void @pmd_cmdf1_lfo_switch_fm(%struct.fmdriver_work* %0, %struct.driver_pmd* %1, %struct.pmd_part* %2) {
%4 = alloca %struct.fmdriver_work*
%5 = alloca %struct.driver_pmd*
%6 = alloca %struct.pmd_part*
store %struct.fmdriver_work* %0, %struct.fmdriver_work** %4
store %struct.driver_pmd* %1, %struct.driver_pmd** %5
store %struct.pmd_part* %2, %struct.pmd_part** %6
%7 = load %struct.fmdriver_work*, %struct.fmdriver_work** %4
%8 = load %struct.driver_pmd*, %struct.driver_pmd** %5
%9 = load %struct.pmd_part*, %struct.pmd_part** %6
%10 = call i32 @pmd_cmdf1_lfo_switch(%struct.fmdriver_work* %7, %struct.driver_pmd* %8, %struct.pmd_part* %9)
%11 = load %struct.fmdriver_work*, %struct.fmdriver_work** %4
%12 = load %struct.driver_pmd*, %struct.driver_pmd** %5
%13 = load %struct.pmd_part*, %struct.pmd_part** %6
%14 = call i32 @pmd_fm3ex_mode_update_check(%struct.fmdriver_work* %11, %struct.driver_pmd* %12, %struct.pmd_part* %13)
ret void
}

LLVM IR (-O2):
%struct.fmdriver_work = type { i32 }
%struct.driver_pmd = type { i32 }
%struct.pmd_part = type { i32 }
define void @pmd_cmdf1_lfo_switch_fm(%struct.fmdriver_work* %0, %struct.driver_pmd* %1, %struct.pmd_part* %2) {
%4 = tail call i32 @pmd_cmdf1_lfo_switch(%struct.fmdriver_work* %0, %struct.driver_pmd* %1, %struct.pmd_part* %2)
%5 = tail call i32 @pmd_fm3ex_mode_update_check(%struct.fmdriver_work* %0, %struct.driver_pmd* %1, %struct.pmd_part* %2)
ret void
}