#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 */

/* Variables and functions */
int /*<<< orphan*/ _pwmss_clk_status_set(int, int /*<<< orphan*/);
int /*<<< orphan*/ _pwmss_ehrpwm_tbclk_status_set(int, int /*<<< orphan*/);
int /*<<< orphan*/ _pwmss_eqep_clk_status_set(int, int /*<<< orphan*/);
void pwmss_driver_init(void) {
  _pwmss_clk_status_set(0, 0);
  _pwmss_clk_status_set(1, 0);
  _pwmss_clk_status_set(2, 0);
  _pwmss_ehrpwm_tbclk_status_set(0, 0);
  _pwmss_ehrpwm_tbclk_status_set(1, 0);
  _pwmss_ehrpwm_tbclk_status_set(2, 0);
  _pwmss_eqep_clk_status_set(0, 0);
  _pwmss_eqep_clk_status_set(1, 0);
  _pwmss_eqep_clk_status_set(2, 0);
}


x86 assembly (clang, -O0):
<pwmss_driver_init>:
push   %rbp
mov    %rsp,%rbp
xor    %esi,%esi
mov    %esi,%edi
call   1030 <_pwmss_clk_status_set@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1030 <_pwmss_clk_status_set@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <_pwmss_clk_status_set@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1040 <_pwmss_ehrpwm_tbclk_status_set@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1040 <_pwmss_ehrpwm_tbclk_status_set@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1040 <_pwmss_ehrpwm_tbclk_status_set@plt>
xor    %esi,%esi
mov    %esi,%edi
call   1050 <_pwmss_eqep_clk_status_set@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1050 <_pwmss_eqep_clk_status_set@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1050 <_pwmss_eqep_clk_status_set@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<pwmss_driver_init>:
push   %rax
xor    %edi,%edi
xor    %esi,%esi
call   1030 <_pwmss_clk_status_set@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1030 <_pwmss_clk_status_set@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <_pwmss_clk_status_set@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1040 <_pwmss_ehrpwm_tbclk_status_set@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1040 <_pwmss_ehrpwm_tbclk_status_set@plt>
mov    $0x2,%edi
xor    %esi,%esi
call   1040 <_pwmss_ehrpwm_tbclk_status_set@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1050 <_pwmss_eqep_clk_status_set@plt>
mov    $0x1,%edi
xor    %esi,%esi
call   1050 <_pwmss_eqep_clk_status_set@plt>
mov    $0x2,%edi
xor    %esi,%esi
pop    %rax
jmp    1050 <_pwmss_eqep_clk_status_set@plt>

LLVM IR (-O0):
define void @pwmss_driver_init() {
%1 = call i32 @_pwmss_clk_status_set(i32 0, i32 0)
%2 = call i32 @_pwmss_clk_status_set(i32 1, i32 0)
%3 = call i32 @_pwmss_clk_status_set(i32 2, i32 0)
%4 = call i32 @_pwmss_ehrpwm_tbclk_status_set(i32 0, i32 0)
%5 = call i32 @_pwmss_ehrpwm_tbclk_status_set(i32 1, i32 0)
%6 = call i32 @_pwmss_ehrpwm_tbclk_status_set(i32 2, i32 0)
%7 = call i32 @_pwmss_eqep_clk_status_set(i32 0, i32 0)
%8 = call i32 @_pwmss_eqep_clk_status_set(i32 1, i32 0)
%9 = call i32 @_pwmss_eqep_clk_status_set(i32 2, i32 0)
ret void
}

LLVM IR (-O2):
define void @pwmss_driver_init() {
%1 = tail call i32 @_pwmss_clk_status_set(i32 0, i32 0)
%2 = tail call i32 @_pwmss_clk_status_set(i32 1, i32 0)
%3 = tail call i32 @_pwmss_clk_status_set(i32 2, i32 0)
%4 = tail call i32 @_pwmss_ehrpwm_tbclk_status_set(i32 0, i32 0)
%5 = tail call i32 @_pwmss_ehrpwm_tbclk_status_set(i32 1, i32 0)
%6 = tail call i32 @_pwmss_ehrpwm_tbclk_status_set(i32 2, i32 0)
%7 = tail call i32 @_pwmss_eqep_clk_status_set(i32 0, i32 0)
%8 = tail call i32 @_pwmss_eqep_clk_status_set(i32 1, i32 0)
%9 = tail call i32 @_pwmss_eqep_clk_status_set(i32 2, i32 0)
ret void
}