#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*/ TOSH_CLR_GREEN_LED_PIN();
int /*<<< orphan*/ TOSH_CLR_ICSP_CLK_PIN();
int /*<<< orphan*/ TOSH_CLR_ICSP_DATA_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTA1_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTA2_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTA5_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTD3_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTD4_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTE0_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTE1_PIN();
int /*<<< orphan*/ TOSH_CLR_PORTE2_PIN();
int /*<<< orphan*/ TOSH_CLR_RED_LED_PIN();
int /*<<< orphan*/ TOSH_CLR_RX_ANT_ON_PIN();
int /*<<< orphan*/ TOSH_CLR_RX_RF_GAIN_PIN();
int /*<<< orphan*/ TOSH_CLR_SDO_PIN();
int /*<<< orphan*/ TOSH_CLR_SER_TX_PIN();
int /*<<< orphan*/ TOSH_CLR_TX_ANT_ON_PIN();
int /*<<< orphan*/ TOSH_CLR_TX_BASE_PIN();
int /*<<< orphan*/ TOSH_CLR_TX_DATA_PIN();
int /*<<< orphan*/ TOSH_CLR_TX_ON_PIN();
int /*<<< orphan*/ TOSH_CLR_YELLOW_LED_PIN();
int /*<<< orphan*/ TOSH_MAKE_GREEN_LED_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_ICSP_CLK_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_ICSP_DATA_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_NOT_RX_ON_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTA1_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTA2_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTA5_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTD3_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTD4_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTE0_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTE1_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_PORTE2_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_RED_LED_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_RTC_INT_INPUT();
int /*<<< orphan*/ TOSH_MAKE_RX_ANT_ON_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_RX_DATA_INPUT();
int /*<<< orphan*/ TOSH_MAKE_RX_RF_GAIN_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_RX_RSSI_INPUT();
int /*<<< orphan*/ TOSH_MAKE_SCK_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_SDI_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_SDO_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_SER_RX_INPUT();
int /*<<< orphan*/ TOSH_MAKE_SER_RX_NN_INPUT();
int /*<<< orphan*/ TOSH_MAKE_SER_TX_INPUT();
int /*<<< orphan*/ TOSH_MAKE_TX_ANT_ON_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_TX_BASE_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_TX_DATA_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_TX_ON_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_Vref_HIGH_INPUT();
int /*<<< orphan*/ TOSH_MAKE_Vref_SUPPLY_OUTPUT();
int /*<<< orphan*/ TOSH_MAKE_YELLOW_LED_OUTPUT();
int /*<<< orphan*/ TOSH_SET_NOT_RX_ON_PIN();
int /*<<< orphan*/ TOSH_SET_SCK_PIN();
int /*<<< orphan*/ TOSH_SET_SDI_PIN();
int /*<<< orphan*/ TOSH_SET_Vref_SUPPLY_PIN();
int /*<<< orphan*/ TOSH_mswait(int);
int /*<<< orphan*/ TOSH_uwait(int);
void TOSH_SET_PIN_DIRECTIONS(void) {
  TOSH_MAKE_RED_LED_OUTPUT();
  TOSH_MAKE_YELLOW_LED_OUTPUT();
  TOSH_MAKE_GREEN_LED_OUTPUT();
  TOSH_MAKE_TX_BASE_OUTPUT();
  TOSH_MAKE_TX_ON_OUTPUT();
  TOSH_MAKE_TX_DATA_OUTPUT();
  TOSH_MAKE_TX_ANT_ON_OUTPUT();
  TOSH_MAKE_RX_RSSI_INPUT();
  TOSH_MAKE_RX_RF_GAIN_OUTPUT();
  TOSH_MAKE_NOT_RX_ON_OUTPUT();
  TOSH_MAKE_RX_DATA_INPUT();
  TOSH_MAKE_RX_ANT_ON_OUTPUT();
  TOSH_MAKE_SER_TX_INPUT();
  TOSH_MAKE_SER_RX_INPUT();
  TOSH_MAKE_SER_RX_NN_INPUT();
  TOSH_MAKE_SCK_OUTPUT();
  TOSH_MAKE_SDI_OUTPUT();
  TOSH_MAKE_SDO_OUTPUT();
  TOSH_MAKE_RTC_INT_INPUT();
  TOSH_MAKE_Vref_HIGH_INPUT();
  TOSH_MAKE_Vref_SUPPLY_OUTPUT();
  TOSH_MAKE_PORTA1_OUTPUT();
  TOSH_MAKE_PORTA2_OUTPUT();
  TOSH_MAKE_PORTA5_OUTPUT();
  TOSH_MAKE_PORTD3_OUTPUT();
  TOSH_MAKE_PORTD4_OUTPUT();
  TOSH_MAKE_PORTE0_OUTPUT();
  TOSH_MAKE_PORTE1_OUTPUT();
  TOSH_MAKE_PORTE2_OUTPUT();
  TOSH_MAKE_ICSP_CLK_OUTPUT();
  TOSH_MAKE_ICSP_DATA_OUTPUT();
  TOSH_CLR_RED_LED_PIN();
  TOSH_CLR_YELLOW_LED_PIN();
  TOSH_CLR_GREEN_LED_PIN();
  TOSH_CLR_TX_BASE_PIN();
  TOSH_CLR_TX_ON_PIN();
  TOSH_CLR_TX_DATA_PIN();
  TOSH_CLR_TX_ANT_ON_PIN();
  TOSH_CLR_RX_RF_GAIN_PIN();
  TOSH_SET_NOT_RX_ON_PIN();
  TOSH_CLR_RX_ANT_ON_PIN();
  TOSH_CLR_SER_TX_PIN();
  TOSH_SET_SCK_PIN();
  TOSH_SET_SDI_PIN();
  TOSH_CLR_SDO_PIN();
  TOSH_SET_Vref_SUPPLY_PIN();
  TOSH_mswait(5);
  TOSH_uwait(250);
  TOSH_CLR_PORTA1_PIN();
  TOSH_CLR_PORTA2_PIN();
  TOSH_CLR_PORTA5_PIN();
  TOSH_CLR_PORTD3_PIN();
  TOSH_CLR_PORTD4_PIN();
  TOSH_CLR_PORTE0_PIN();
  TOSH_CLR_PORTE1_PIN();
  TOSH_CLR_PORTE2_PIN();
  TOSH_CLR_ICSP_CLK_PIN();
  TOSH_CLR_ICSP_DATA_PIN();
}


x86 assembly (clang, -O0):
<TOSH_SET_PIN_DIRECTIONS>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   2080 <TOSH_MAKE_RED_LED_OUTPUT@plt>
mov    $0x0,%al
call   2370 <TOSH_MAKE_YELLOW_LED_OUTPUT@plt>
mov    $0x0,%al
call   22e0 <TOSH_MAKE_GREEN_LED_OUTPUT@plt>
mov    $0x0,%al
call   20b0 <TOSH_MAKE_TX_BASE_OUTPUT@plt>
mov    $0x0,%al
call   2070 <TOSH_MAKE_TX_ON_OUTPUT@plt>
mov    $0x0,%al
call   20f0 <TOSH_MAKE_TX_DATA_OUTPUT@plt>
mov    $0x0,%al
call   2110 <TOSH_MAKE_TX_ANT_ON_OUTPUT@plt>
mov    $0x0,%al
call   2390 <TOSH_MAKE_RX_RSSI_INPUT@plt>
mov    $0x0,%al
call   2360 <TOSH_MAKE_RX_RF_GAIN_OUTPUT@plt>
mov    $0x0,%al
call   2340 <TOSH_MAKE_NOT_RX_ON_OUTPUT@plt>
mov    $0x0,%al
call   2210 <TOSH_MAKE_RX_DATA_INPUT@plt>
mov    $0x0,%al
call   21c0 <TOSH_MAKE_RX_ANT_ON_OUTPUT@plt>
mov    $0x0,%al
call   2030 <TOSH_MAKE_SER_TX_INPUT@plt>
mov    $0x0,%al
call   22d0 <TOSH_MAKE_SER_RX_INPUT@plt>
mov    $0x0,%al
call   22a0 <TOSH_MAKE_SER_RX_NN_INPUT@plt>
mov    $0x0,%al
call   2250 <TOSH_MAKE_SCK_OUTPUT@plt>
mov    $0x0,%al
call   2200 <TOSH_MAKE_SDI_OUTPUT@plt>
mov    $0x0,%al
call   2130 <TOSH_MAKE_SDO_OUTPUT@plt>
mov    $0x0,%al
call   23b0 <TOSH_MAKE_RTC_INT_INPUT@plt>
mov    $0x0,%al
call   22f0 <TOSH_MAKE_Vref_HIGH_INPUT@plt>
mov    $0x0,%al
call   2300 <TOSH_MAKE_Vref_SUPPLY_OUTPUT@plt>
mov    $0x0,%al
call   2090 <TOSH_MAKE_PORTA1_OUTPUT@plt>
mov    $0x0,%al
call   2230 <TOSH_MAKE_PORTA2_OUTPUT@plt>
mov    $0x0,%al
call   20a0 <TOSH_MAKE_PORTA5_OUTPUT@plt>
mov    $0x0,%al
call   2050 <TOSH_MAKE_PORTD3_OUTPUT@plt>
mov    $0x0,%al
call   21d0 <TOSH_MAKE_PORTD4_OUTPUT@plt>
mov    $0x0,%al
call   2100 <TOSH_MAKE_PORTE0_OUTPUT@plt>
mov    $0x0,%al
call   20d0 <TOSH_MAKE_PORTE1_OUTPUT@plt>
mov    $0x0,%al
call   20c0 <TOSH_MAKE_PORTE2_OUTPUT@plt>
mov    $0x0,%al
call   2190 <TOSH_MAKE_ICSP_CLK_OUTPUT@plt>
mov    $0x0,%al
call   23c0 <TOSH_MAKE_ICSP_DATA_OUTPUT@plt>
mov    $0x0,%al
call   2180 <TOSH_CLR_RED_LED_PIN@plt>
mov    $0x0,%al
call   2060 <TOSH_CLR_YELLOW_LED_PIN@plt>
mov    $0x0,%al
call   2270 <TOSH_CLR_GREEN_LED_PIN@plt>
mov    $0x0,%al
call   2350 <TOSH_CLR_TX_BASE_PIN@plt>
mov    $0x0,%al
call   22c0 <TOSH_CLR_TX_ON_PIN@plt>
mov    $0x0,%al
call   2120 <TOSH_CLR_TX_DATA_PIN@plt>
mov    $0x0,%al
call   2040 <TOSH_CLR_TX_ANT_ON_PIN@plt>
mov    $0x0,%al
call   21a0 <TOSH_CLR_RX_RF_GAIN_PIN@plt>
mov    $0x0,%al
call   2290 <TOSH_SET_NOT_RX_ON_PIN@plt>
mov    $0x0,%al
call   2310 <TOSH_CLR_RX_ANT_ON_PIN@plt>
mov    $0x0,%al
call   2150 <TOSH_CLR_SER_TX_PIN@plt>
mov    $0x0,%al
call   2240 <TOSH_SET_SCK_PIN@plt>
mov    $0x0,%al
call   2140 <TOSH_SET_SDI_PIN@plt>
mov    $0x0,%al
call   20e0 <TOSH_CLR_SDO_PIN@plt>
mov    $0x0,%al
call   2160 <TOSH_SET_Vref_SUPPLY_PIN@plt>
mov    $0x5,%edi
call   22b0 <TOSH_mswait@plt>
mov    $0xfa,%edi
call   2380 <TOSH_uwait@plt>
mov    $0x0,%al
call   2220 <TOSH_CLR_PORTA1_PIN@plt>
mov    $0x0,%al
call   2170 <TOSH_CLR_PORTA2_PIN@plt>
mov    $0x0,%al
call   2280 <TOSH_CLR_PORTA5_PIN@plt>
mov    $0x0,%al
call   2320 <TOSH_CLR_PORTD3_PIN@plt>
mov    $0x0,%al
call   2330 <TOSH_CLR_PORTD4_PIN@plt>
mov    $0x0,%al
call   21b0 <TOSH_CLR_PORTE0_PIN@plt>
mov    $0x0,%al
call   2260 <TOSH_CLR_PORTE1_PIN@plt>
mov    $0x0,%al
call   23a0 <TOSH_CLR_PORTE2_PIN@plt>
mov    $0x0,%al
call   21e0 <TOSH_CLR_ICSP_CLK_PIN@plt>
mov    $0x0,%al
call   21f0 <TOSH_CLR_ICSP_DATA_PIN@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<TOSH_SET_PIN_DIRECTIONS>:
push   %rax
xor    %eax,%eax
call   2080 <TOSH_MAKE_RED_LED_OUTPUT@plt>
xor    %eax,%eax
call   2370 <TOSH_MAKE_YELLOW_LED_OUTPUT@plt>
xor    %eax,%eax
call   22e0 <TOSH_MAKE_GREEN_LED_OUTPUT@plt>
xor    %eax,%eax
call   20b0 <TOSH_MAKE_TX_BASE_OUTPUT@plt>
xor    %eax,%eax
call   2070 <TOSH_MAKE_TX_ON_OUTPUT@plt>
xor    %eax,%eax
call   20f0 <TOSH_MAKE_TX_DATA_OUTPUT@plt>
xor    %eax,%eax
call   2110 <TOSH_MAKE_TX_ANT_ON_OUTPUT@plt>
xor    %eax,%eax
call   2390 <TOSH_MAKE_RX_RSSI_INPUT@plt>
xor    %eax,%eax
call   2360 <TOSH_MAKE_RX_RF_GAIN_OUTPUT@plt>
xor    %eax,%eax
call   2340 <TOSH_MAKE_NOT_RX_ON_OUTPUT@plt>
xor    %eax,%eax
call   2210 <TOSH_MAKE_RX_DATA_INPUT@plt>
xor    %eax,%eax
call   21c0 <TOSH_MAKE_RX_ANT_ON_OUTPUT@plt>
xor    %eax,%eax
call   2030 <TOSH_MAKE_SER_TX_INPUT@plt>
xor    %eax,%eax
call   22d0 <TOSH_MAKE_SER_RX_INPUT@plt>
xor    %eax,%eax
call   22a0 <TOSH_MAKE_SER_RX_NN_INPUT@plt>
xor    %eax,%eax
call   2250 <TOSH_MAKE_SCK_OUTPUT@plt>
xor    %eax,%eax
call   2200 <TOSH_MAKE_SDI_OUTPUT@plt>
xor    %eax,%eax
call   2130 <TOSH_MAKE_SDO_OUTPUT@plt>
xor    %eax,%eax
call   23b0 <TOSH_MAKE_RTC_INT_INPUT@plt>
xor    %eax,%eax
call   22f0 <TOSH_MAKE_Vref_HIGH_INPUT@plt>
xor    %eax,%eax
call   2300 <TOSH_MAKE_Vref_SUPPLY_OUTPUT@plt>
xor    %eax,%eax
call   2090 <TOSH_MAKE_PORTA1_OUTPUT@plt>
xor    %eax,%eax
call   2230 <TOSH_MAKE_PORTA2_OUTPUT@plt>
xor    %eax,%eax
call   20a0 <TOSH_MAKE_PORTA5_OUTPUT@plt>
xor    %eax,%eax
call   2050 <TOSH_MAKE_PORTD3_OUTPUT@plt>
xor    %eax,%eax
call   21d0 <TOSH_MAKE_PORTD4_OUTPUT@plt>
xor    %eax,%eax
call   2100 <TOSH_MAKE_PORTE0_OUTPUT@plt>
xor    %eax,%eax
call   20d0 <TOSH_MAKE_PORTE1_OUTPUT@plt>
xor    %eax,%eax
call   20c0 <TOSH_MAKE_PORTE2_OUTPUT@plt>
xor    %eax,%eax
call   2190 <TOSH_MAKE_ICSP_CLK_OUTPUT@plt>
xor    %eax,%eax
call   23c0 <TOSH_MAKE_ICSP_DATA_OUTPUT@plt>
xor    %eax,%eax
call   2180 <TOSH_CLR_RED_LED_PIN@plt>
xor    %eax,%eax
call   2060 <TOSH_CLR_YELLOW_LED_PIN@plt>
xor    %eax,%eax
call   2270 <TOSH_CLR_GREEN_LED_PIN@plt>
xor    %eax,%eax
call   2350 <TOSH_CLR_TX_BASE_PIN@plt>
xor    %eax,%eax
call   22c0 <TOSH_CLR_TX_ON_PIN@plt>
xor    %eax,%eax
call   2120 <TOSH_CLR_TX_DATA_PIN@plt>
xor    %eax,%eax
call   2040 <TOSH_CLR_TX_ANT_ON_PIN@plt>
xor    %eax,%eax
call   21a0 <TOSH_CLR_RX_RF_GAIN_PIN@plt>
xor    %eax,%eax
call   2290 <TOSH_SET_NOT_RX_ON_PIN@plt>
xor    %eax,%eax
call   2310 <TOSH_CLR_RX_ANT_ON_PIN@plt>
xor    %eax,%eax
call   2150 <TOSH_CLR_SER_TX_PIN@plt>
xor    %eax,%eax
call   2240 <TOSH_SET_SCK_PIN@plt>
xor    %eax,%eax
call   2140 <TOSH_SET_SDI_PIN@plt>
xor    %eax,%eax
call   20e0 <TOSH_CLR_SDO_PIN@plt>
xor    %eax,%eax
call   2160 <TOSH_SET_Vref_SUPPLY_PIN@plt>
mov    $0x5,%edi
call   22b0 <TOSH_mswait@plt>
mov    $0xfa,%edi
call   2380 <TOSH_uwait@plt>
xor    %eax,%eax
call   2220 <TOSH_CLR_PORTA1_PIN@plt>
xor    %eax,%eax
call   2170 <TOSH_CLR_PORTA2_PIN@plt>
xor    %eax,%eax
call   2280 <TOSH_CLR_PORTA5_PIN@plt>
xor    %eax,%eax
call   2320 <TOSH_CLR_PORTD3_PIN@plt>
xor    %eax,%eax
call   2330 <TOSH_CLR_PORTD4_PIN@plt>
xor    %eax,%eax
call   21b0 <TOSH_CLR_PORTE0_PIN@plt>
xor    %eax,%eax
call   2260 <TOSH_CLR_PORTE1_PIN@plt>
xor    %eax,%eax
call   23a0 <TOSH_CLR_PORTE2_PIN@plt>
xor    %eax,%eax
call   21e0 <TOSH_CLR_ICSP_CLK_PIN@plt>
xor    %eax,%eax
pop    %rcx
jmp    21f0 <TOSH_CLR_ICSP_DATA_PIN@plt>

LLVM IR (-O0):
define void @TOSH_SET_PIN_DIRECTIONS() {
%1 = call i32 (...) @TOSH_MAKE_RED_LED_OUTPUT()
%2 = call i32 (...) @TOSH_MAKE_YELLOW_LED_OUTPUT()
%3 = call i32 (...) @TOSH_MAKE_GREEN_LED_OUTPUT()
%4 = call i32 (...) @TOSH_MAKE_TX_BASE_OUTPUT()
%5 = call i32 (...) @TOSH_MAKE_TX_ON_OUTPUT()
%6 = call i32 (...) @TOSH_MAKE_TX_DATA_OUTPUT()
%7 = call i32 (...) @TOSH_MAKE_TX_ANT_ON_OUTPUT()
%8 = call i32 (...) @TOSH_MAKE_RX_RSSI_INPUT()
%9 = call i32 (...) @TOSH_MAKE_RX_RF_GAIN_OUTPUT()
%10 = call i32 (...) @TOSH_MAKE_NOT_RX_ON_OUTPUT()
%11 = call i32 (...) @TOSH_MAKE_RX_DATA_INPUT()
%12 = call i32 (...) @TOSH_MAKE_RX_ANT_ON_OUTPUT()
%13 = call i32 (...) @TOSH_MAKE_SER_TX_INPUT()
%14 = call i32 (...) @TOSH_MAKE_SER_RX_INPUT()
%15 = call i32 (...) @TOSH_MAKE_SER_RX_NN_INPUT()
%16 = call i32 (...) @TOSH_MAKE_SCK_OUTPUT()
%17 = call i32 (...) @TOSH_MAKE_SDI_OUTPUT()
%18 = call i32 (...) @TOSH_MAKE_SDO_OUTPUT()
%19 = call i32 (...) @TOSH_MAKE_RTC_INT_INPUT()
%20 = call i32 (...) @TOSH_MAKE_Vref_HIGH_INPUT()
%21 = call i32 (...) @TOSH_MAKE_Vref_SUPPLY_OUTPUT()
%22 = call i32 (...) @TOSH_MAKE_PORTA1_OUTPUT()
%23 = call i32 (...) @TOSH_MAKE_PORTA2_OUTPUT()
%24 = call i32 (...) @TOSH_MAKE_PORTA5_OUTPUT()
%25 = call i32 (...) @TOSH_MAKE_PORTD3_OUTPUT()
%26 = call i32 (...) @TOSH_MAKE_PORTD4_OUTPUT()
%27 = call i32 (...) @TOSH_MAKE_PORTE0_OUTPUT()
%28 = call i32 (...) @TOSH_MAKE_PORTE1_OUTPUT()
%29 = call i32 (...) @TOSH_MAKE_PORTE2_OUTPUT()
%30 = call i32 (...) @TOSH_MAKE_ICSP_CLK_OUTPUT()
%31 = call i32 (...) @TOSH_MAKE_ICSP_DATA_OUTPUT()
%32 = call i32 (...) @TOSH_CLR_RED_LED_PIN()
%33 = call i32 (...) @TOSH_CLR_YELLOW_LED_PIN()
%34 = call i32 (...) @TOSH_CLR_GREEN_LED_PIN()
%35 = call i32 (...) @TOSH_CLR_TX_BASE_PIN()
%36 = call i32 (...) @TOSH_CLR_TX_ON_PIN()
%37 = call i32 (...) @TOSH_CLR_TX_DATA_PIN()
%38 = call i32 (...) @TOSH_CLR_TX_ANT_ON_PIN()
%39 = call i32 (...) @TOSH_CLR_RX_RF_GAIN_PIN()
%40 = call i32 (...) @TOSH_SET_NOT_RX_ON_PIN()
%41 = call i32 (...) @TOSH_CLR_RX_ANT_ON_PIN()
%42 = call i32 (...) @TOSH_CLR_SER_TX_PIN()
%43 = call i32 (...) @TOSH_SET_SCK_PIN()
%44 = call i32 (...) @TOSH_SET_SDI_PIN()
%45 = call i32 (...) @TOSH_CLR_SDO_PIN()
%46 = call i32 (...) @TOSH_SET_Vref_SUPPLY_PIN()
%47 = call i32 @TOSH_mswait(i32 5)
%48 = call i32 @TOSH_uwait(i32 250)
%49 = call i32 (...) @TOSH_CLR_PORTA1_PIN()
%50 = call i32 (...) @TOSH_CLR_PORTA2_PIN()
%51 = call i32 (...) @TOSH_CLR_PORTA5_PIN()
%52 = call i32 (...) @TOSH_CLR_PORTD3_PIN()
%53 = call i32 (...) @TOSH_CLR_PORTD4_PIN()
%54 = call i32 (...) @TOSH_CLR_PORTE0_PIN()
%55 = call i32 (...) @TOSH_CLR_PORTE1_PIN()
%56 = call i32 (...) @TOSH_CLR_PORTE2_PIN()
%57 = call i32 (...) @TOSH_CLR_ICSP_CLK_PIN()
%58 = call i32 (...) @TOSH_CLR_ICSP_DATA_PIN()
ret void
}

LLVM IR (-O2):
define void @TOSH_SET_PIN_DIRECTIONS() {
%1 = tail call i32 (...) @TOSH_MAKE_RED_LED_OUTPUT()
%2 = tail call i32 (...) @TOSH_MAKE_YELLOW_LED_OUTPUT()
%3 = tail call i32 (...) @TOSH_MAKE_GREEN_LED_OUTPUT()
%4 = tail call i32 (...) @TOSH_MAKE_TX_BASE_OUTPUT()
%5 = tail call i32 (...) @TOSH_MAKE_TX_ON_OUTPUT()
%6 = tail call i32 (...) @TOSH_MAKE_TX_DATA_OUTPUT()
%7 = tail call i32 (...) @TOSH_MAKE_TX_ANT_ON_OUTPUT()
%8 = tail call i32 (...) @TOSH_MAKE_RX_RSSI_INPUT()
%9 = tail call i32 (...) @TOSH_MAKE_RX_RF_GAIN_OUTPUT()
%10 = tail call i32 (...) @TOSH_MAKE_NOT_RX_ON_OUTPUT()
%11 = tail call i32 (...) @TOSH_MAKE_RX_DATA_INPUT()
%12 = tail call i32 (...) @TOSH_MAKE_RX_ANT_ON_OUTPUT()
%13 = tail call i32 (...) @TOSH_MAKE_SER_TX_INPUT()
%14 = tail call i32 (...) @TOSH_MAKE_SER_RX_INPUT()
%15 = tail call i32 (...) @TOSH_MAKE_SER_RX_NN_INPUT()
%16 = tail call i32 (...) @TOSH_MAKE_SCK_OUTPUT()
%17 = tail call i32 (...) @TOSH_MAKE_SDI_OUTPUT()
%18 = tail call i32 (...) @TOSH_MAKE_SDO_OUTPUT()
%19 = tail call i32 (...) @TOSH_MAKE_RTC_INT_INPUT()
%20 = tail call i32 (...) @TOSH_MAKE_Vref_HIGH_INPUT()
%21 = tail call i32 (...) @TOSH_MAKE_Vref_SUPPLY_OUTPUT()
%22 = tail call i32 (...) @TOSH_MAKE_PORTA1_OUTPUT()
%23 = tail call i32 (...) @TOSH_MAKE_PORTA2_OUTPUT()
%24 = tail call i32 (...) @TOSH_MAKE_PORTA5_OUTPUT()
%25 = tail call i32 (...) @TOSH_MAKE_PORTD3_OUTPUT()
%26 = tail call i32 (...) @TOSH_MAKE_PORTD4_OUTPUT()
%27 = tail call i32 (...) @TOSH_MAKE_PORTE0_OUTPUT()
%28 = tail call i32 (...) @TOSH_MAKE_PORTE1_OUTPUT()
%29 = tail call i32 (...) @TOSH_MAKE_PORTE2_OUTPUT()
%30 = tail call i32 (...) @TOSH_MAKE_ICSP_CLK_OUTPUT()
%31 = tail call i32 (...) @TOSH_MAKE_ICSP_DATA_OUTPUT()
%32 = tail call i32 (...) @TOSH_CLR_RED_LED_PIN()
%33 = tail call i32 (...) @TOSH_CLR_YELLOW_LED_PIN()
%34 = tail call i32 (...) @TOSH_CLR_GREEN_LED_PIN()
%35 = tail call i32 (...) @TOSH_CLR_TX_BASE_PIN()
%36 = tail call i32 (...) @TOSH_CLR_TX_ON_PIN()
%37 = tail call i32 (...) @TOSH_CLR_TX_DATA_PIN()
%38 = tail call i32 (...) @TOSH_CLR_TX_ANT_ON_PIN()
%39 = tail call i32 (...) @TOSH_CLR_RX_RF_GAIN_PIN()
%40 = tail call i32 (...) @TOSH_SET_NOT_RX_ON_PIN()
%41 = tail call i32 (...) @TOSH_CLR_RX_ANT_ON_PIN()
%42 = tail call i32 (...) @TOSH_CLR_SER_TX_PIN()
%43 = tail call i32 (...) @TOSH_SET_SCK_PIN()
%44 = tail call i32 (...) @TOSH_SET_SDI_PIN()
%45 = tail call i32 (...) @TOSH_CLR_SDO_PIN()
%46 = tail call i32 (...) @TOSH_SET_Vref_SUPPLY_PIN()
%47 = tail call i32 @TOSH_mswait(i32 5)
%48 = tail call i32 @TOSH_uwait(i32 250)
%49 = tail call i32 (...) @TOSH_CLR_PORTA1_PIN()
%50 = tail call i32 (...) @TOSH_CLR_PORTA2_PIN()
%51 = tail call i32 (...) @TOSH_CLR_PORTA5_PIN()
%52 = tail call i32 (...) @TOSH_CLR_PORTD3_PIN()
%53 = tail call i32 (...) @TOSH_CLR_PORTD4_PIN()
%54 = tail call i32 (...) @TOSH_CLR_PORTE0_PIN()
%55 = tail call i32 (...) @TOSH_CLR_PORTE1_PIN()
%56 = tail call i32 (...) @TOSH_CLR_PORTE2_PIN()
%57 = tail call i32 (...) @TOSH_CLR_ICSP_CLK_PIN()
%58 = tail call i32 (...) @TOSH_CLR_ICSP_DATA_PIN()
ret void
}