#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 termios {
  int c_cflag;
  int c_iflag;
  int c_lflag;
  int *c_cc;
  int /*<<< orphan*/ c_oflag;
};

/* Variables and functions */
int /*<<< orphan*/ B9600;
int CLOCAL;
int CREAD;
int CS7;
int CSIZE;
int CSTOPB;
int ECHO;
int ICANON;
int ICRNL;
int IGNCR;
int INLCR;
int IXON;
int /*<<< orphan*/ OPOST;
int /*<<< orphan*/ TCSANOW;
size_t VMIN;
size_t VTIME;
int /*<<< orphan*/ cfsetispeed(struct termios *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ tcgetattr(int, struct termios *);
int /*<<< orphan*/ tcsetattr(int, int /*<<< orphan*/, struct termios *);
struct termios full(struct termios tattr, int com) {
  printf("\t Acquisisco informazioni sulla Seriale ....");
  tcgetattr(com, &tattr);
  tattr.c_cflag &= ~CSIZE;
  printf("\t\033[1;32m Acquisite! \033[0m\n");
  printf("\t Disabilito i Flag di Lettura non necessari ....");
  tattr.c_iflag &= ~(INLCR | IGNCR | ICRNL | IXON);
  tattr.c_oflag &= ~OPOST;
  printf("\t\033[1;32m Disabilitati! \033[0m\n");
  printf("\t Abilito la lettura a 7bit ....");
  tattr.c_cflag = CS7 | CREAD | CLOCAL;
  printf("\t\t\t\033[1;32m Abilitata! \033[0m\n");
  printf("\t Prevengo output errati ....");
  tattr.c_lflag &= ~(ICANON | ECHO);
  printf("\t\t\t\033[1;32m Prevenuti! \033[0m\n");
  printf("\t Imposto un solo stop bit ....");
  tattr.c_cflag &= ~CSTOPB;
  printf("\t\t\t\033[1;32m Impostato! \033[0m\n");
  printf("\t Setup timeout seriale e caratteri ....");
  tattr.c_cc[VMIN] = 1;
  tattr.c_cc[VTIME] = 0;
  printf("\t\t\033[1;32m Setup avvenuto! \033[0m\n");
  printf("\t Setto la velocità di lettura! ....");
  cfsetispeed(&tattr, B9600);
  printf("\t\t\033[1;32m Setup avvenuto! \033[0m\n");
  printf("\n\t Applico i Cambiamenti ....");
  tcsetattr(com, TCSANOW, &tattr);
  printf("\t\t\t\033[1;32m Applicati! \033[0m\n\n\n");
  return tattr;
}


x86 assembly (clang, -O0):
<full>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x18(%rbp)
mov    %rdi,-0x10(%rbp)
lea    0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    %esi,-0x4(%rbp)
lea    0xe9e(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rsi
mov    -0x4(%rbp),%edi
call   1040 <tcgetattr@plt>
mov    -0x20(%rbp),%rax
mov    0x2e1a(%rip),%rcx
mov    (%rcx),%ecx
xor    $0xffffffff,%ecx
and    (%rax),%ecx
mov    %ecx,(%rax)
lea    0xe9f(%rip),%rdi
call   1030 <printf@plt>
lea    0xead(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    0x2e36(%rip),%rcx
mov    (%rcx),%ecx
mov    0x2e25(%rip),%rdx
or     (%rdx),%ecx
mov    0x2e2c(%rip),%rdx
or     (%rdx),%ecx
mov    0x2e03(%rip),%rdx
or     (%rdx),%ecx
xor    $0xffffffff,%ecx
and    0x4(%rax),%ecx
mov    %ecx,0x4(%rax)
mov    0x2df9(%rip),%rcx
mov    (%rcx),%ecx
xor    $0xffffffff,%ecx
and    0x18(%rax),%ecx
mov    %ecx,0x18(%rax)
lea    0xe90(%rip),%rdi
call   1030 <printf@plt>
lea    0xea1(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    0x2d63(%rip),%rcx
mov    (%rcx),%ecx
mov    0x2d9a(%rip),%rdx
or     (%rdx),%ecx
mov    0x2d49(%rip),%rdx
or     (%rdx),%ecx
mov    %ecx,(%rax)
lea    0xe95(%rip),%rdi
call   1030 <printf@plt>
lea    0xea5(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    0x2d42(%rip),%rcx
mov    (%rcx),%ecx
mov    0x2d71(%rip),%rdx
or     (%rdx),%ecx
xor    $0xffffffff,%ecx
and    0x8(%rax),%ecx
mov    %ecx,0x8(%rax)
lea    0xe98(%rip),%rdi
call   1030 <printf@plt>
lea    0xea8(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    0x2cfb(%rip),%rcx
mov    (%rcx),%ecx
xor    $0xffffffff,%ecx
and    (%rax),%ecx
mov    %ecx,(%rax)
lea    0xea8(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb8(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    0x10(%rax),%rcx
mov    0x2cfb(%rip),%rdx
mov    (%rdx),%rdx
movl   $0x1,(%rcx,%rdx,4)
mov    0x10(%rax),%rax
mov    0x2cce(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x0,(%rax,%rcx,4)
lea    0xea7(%rip),%rdi
call   1030 <printf@plt>
lea    0xebb(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rdi
mov    0x2cc9(%rip),%rax
mov    (%rax),%esi
call   1060 <cfsetispeed@plt>
lea    0xe7d(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb7(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rdx
mov    -0x4(%rbp),%edi
mov    0x2cac(%rip),%rax
mov    (%rax),%esi
call   1050 <tcsetattr@plt>
lea    0xeb4(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rcx
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    (%rcx),%rdx
mov    %rdx,(%rdi)
mov    0x8(%rcx),%rdx
mov    %rdx,0x8(%rdi)
mov    0x10(%rcx),%rdx
mov    %rdx,0x10(%rdi)
mov    0x18(%rcx),%rcx
mov    %rcx,0x18(%rdi)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<full>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %esi,%r15d
mov    %rdi,%rbx
lea    0xe9c(%rip),%rdi
call   1040 <printf@plt>
lea    0x30(%rsp),%r14
mov    %r15d,%edi
mov    %r14,%rsi
call   1050 <tcgetattr@plt>
mov    0x2e18(%rip),%rax
mov    (%rax),%eax
not    %eax
and    %eax,0x30(%rsp)
lea    0xf9c(%rip),%rdi
call   1030 <puts@plt>
lea    0xe92(%rip),%rdi
call   1040 <printf@plt>
mov    0x2e39(%rip),%rax
mov    0x2e2a(%rip),%rcx
mov    (%rcx),%ecx
or     (%rax),%ecx
mov    0x2e2f(%rip),%rax
or     (%rax),%ecx
mov    0x2e06(%rip),%rax
or     (%rax),%ecx
not    %ecx
and    %ecx,0x34(%rsp)
mov    0x2dff(%rip),%rax
mov    (%rax),%eax
not    %eax
and    %eax,0x48(%rsp)
lea    0xf64(%rip),%rdi
call   1030 <puts@plt>
lea    0xe73(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d70(%rip),%rax
mov    0x2da9(%rip),%rcx
mov    (%rcx),%ecx
or     (%rax),%ecx
mov    0x2d56(%rip),%rax
or     (%rax),%ecx
mov    %ecx,0x30(%rsp)
lea    0xf49(%rip),%rdi
call   1030 <puts@plt>
lea    0xe5d(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d51(%rip),%rax
mov    0x2d82(%rip),%rcx
mov    (%rcx),%ecx
or     (%rax),%ecx
not    %ecx
and    %ecx,0x38(%rsp)
lea    0xf34(%rip),%rdi
call   1030 <puts@plt>
lea    0xe4b(%rip),%rdi
call   1040 <printf@plt>
mov    0x2d11(%rip),%rax
mov    (%rax),%eax
not    %eax
and    %eax,0x30(%rsp)
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
lea    0xe44(%rip),%rdi
call   1040 <printf@plt>
mov    0x40(%rsp),%rax
mov    0x2d15(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x1,(%rax,%rcx,4)
mov    0x2cec(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x0,(%rax,%rcx,4)
lea    0xf04(%rip),%rbp
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xe2b(%rip),%rdi
call   1040 <printf@plt>
mov    0x2ce8(%rip),%rax
mov    (%rax),%esi
mov    %r14,%rdi
call   1070 <cfsetispeed@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0xe2c(%rip),%rdi
call   1040 <printf@plt>
mov    0x2cd3(%rip),%rax
mov    (%rax),%esi
mov    %r15d,%edi
mov    %r14,%rdx
call   1060 <tcsetattr@plt>
lea    0xecf(%rip),%rdi
call   1030 <puts@plt>
movaps 0x30(%rsp),%xmm0
movaps 0x40(%rsp),%xmm1
movups %xmm0,(%rbx)
movups %xmm1,0x10(%rbx)
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.termios = type { i32, i32, i32, i32*, i32 }
@.str = [45 x i8] c"\09 Acquisisco informazioni sulla Seriale ....\00"
@CSIZE = global i32 0
@.str.1 = [26 x i8] c"\09\1B[1;32m Acquisite! \1B[0m\0A\00"
@.str.2 = [50 x i8] c"\09 Disabilito i Flag di Lettura non necessari ....\00"
@INLCR = global i32 0
@IGNCR = global i32 0
@ICRNL = global i32 0
@IXON = global i32 0
@OPOST = global i32 0
@.str.3 = [29 x i8] c"\09\1B[1;32m Disabilitati! \1B[0m\0A\00"
@.str.4 = [33 x i8] c"\09 Abilito la lettura a 7bit ....\00"
@CS7 = global i32 0
@CREAD = global i32 0
@CLOCAL = global i32 0
@.str.5 = [28 x i8] c"\09\09\09\1B[1;32m Abilitata! \1B[0m\0A\00"
@.str.6 = [30 x i8] c"\09 Prevengo output errati ....\00"
@ICANON = global i32 0
@ECHO = global i32 0
@.str.7 = [28 x i8] c"\09\09\09\1B[1;32m Prevenuti! \1B[0m\0A\00"
@.str.8 = [32 x i8] c"\09 Imposto un solo stop bit ....\00"
@CSTOPB = global i32 0
@.str.9 = [28 x i8] c"\09\09\09\1B[1;32m Impostato! \1B[0m\0A\00"
@.str.10 = [41 x i8] c"\09 Setup timeout seriale e caratteri ....\00"
@VMIN = global i64 0
@VTIME = global i64 0
@.str.11 = [32 x i8] c"\09\09\1B[1;32m Setup avvenuto! \1B[0m\0A\00"
@.str.12 = [38 x i8] c"\09 Setto la velocit\C3\A0 di lettura! ....\00"
@B9600 = global i32 0
@.str.13 = [30 x i8] c"\0A\09 Applico i Cambiamenti ....\00"
@TCSANOW = global i32 0
@.str.14 = [30 x i8] c"\09\09\09\1B[1;32m Applicati! \1B[0m\0A\0A\0A\00"
define void @full(%struct.termios* noalias sret(%struct.termios) align 8 %0, %struct.termios* byval(%struct.termios) align 8 %1, i32 %2) {
%4 = alloca i32
store i32 %2, i32* %4
%5 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%6 = load i32, i32* %4
%7 = call i32 @tcgetattr(i32 %6, %struct.termios* %1)
%8 = load i32, i32* @CSIZE
%9 = xor i32 %8, -1
%10 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 0
%11 = load i32, i32* %10
%12 = and i32 %11, %9
store i32 %12, i32* %10
%13 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%15 = load i32, i32* @INLCR
%16 = load i32, i32* @IGNCR
%17 = or i32 %15, %16
%18 = load i32, i32* @ICRNL
%19 = or i32 %17, %18
%20 = load i32, i32* @IXON
%21 = or i32 %19, %20
%22 = xor i32 %21, -1
%23 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 1
%24 = load i32, i32* %23
%25 = and i32 %24, %22
store i32 %25, i32* %23
%26 = load i32, i32* @OPOST
%27 = xor i32 %26, -1
%28 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 4
%29 = load i32, i32* %28
%30 = and i32 %29, %27
store i32 %30, i32* %28
%31 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
%32 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%33 = load i32, i32* @CS7
%34 = load i32, i32* @CREAD
%35 = or i32 %33, %34
%36 = load i32, i32* @CLOCAL
%37 = or i32 %35, %36
%38 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 0
store i32 %37, i32* %38
%39 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%41 = load i32, i32* @ICANON
%42 = load i32, i32* @ECHO
%43 = or i32 %41, %42
%44 = xor i32 %43, -1
%45 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 2
%46 = load i32, i32* %45
%47 = and i32 %46, %44
store i32 %47, i32* %45
%48 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%49 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%50 = load i32, i32* @CSTOPB
%51 = xor i32 %50, -1
%52 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 0
%53 = load i32, i32* %52
%54 = and i32 %53, %51
store i32 %54, i32* %52
%55 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%56 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0))
%57 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 3
%58 = load i32*, i32** %57
%59 = load i64, i64* @VMIN
%60 = getelementptr inbounds i32, i32* %58, i64 %59
store i32 1, i32* %60
%61 = getelementptr inbounds %struct.termios, %struct.termios* %1, i32 0, i32 3
%62 = load i32*, i32** %61
%63 = load i64, i64* @VTIME
%64 = getelementptr inbounds i32, i32* %62, i64 %63
store i32 0, i32* %64
%65 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0))
%66 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
%67 = load i32, i32* @B9600
%68 = call i32 @cfsetispeed(%struct.termios* %1, i32 %67)
%69 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0))
%70 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
%71 = load i32, i32* %4
%72 = load i32, i32* @TCSANOW
%73 = call i32 @tcsetattr(i32 %71, i32 %72, %struct.termios* %1)
%74 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%75 = bitcast %struct.termios* %0 to i8*
%76 = bitcast %struct.termios* %1 to i8*
ret void
}

LLVM IR (-O2):
%struct.termios = type { i32, i32, i32, i32*, i32 }
@.str = [45 x i8] c"\09 Acquisisco informazioni sulla Seriale ....\00"
@CSIZE = global i32 0
@.str.2 = [50 x i8] c"\09 Disabilito i Flag di Lettura non necessari ....\00"
@INLCR = global i32 0
@IGNCR = global i32 0
@ICRNL = global i32 0
@IXON = global i32 0
@OPOST = global i32 0
@.str.4 = [33 x i8] c"\09 Abilito la lettura a 7bit ....\00"
@CS7 = global i32 0
@CREAD = global i32 0
@CLOCAL = global i32 0
@.str.6 = [30 x i8] c"\09 Prevengo output errati ....\00"
@ICANON = global i32 0
@ECHO = global i32 0
@.str.8 = [32 x i8] c"\09 Imposto un solo stop bit ....\00"
@CSTOPB = global i32 0
@.str.10 = [41 x i8] c"\09 Setup timeout seriale e caratteri ....\00"
@VMIN = global i64 0
@VTIME = global i64 0
@.str.12 = [38 x i8] c"\09 Setto la velocit\C3\A0 di lettura! ....\00"
@B9600 = global i32 0
@.str.13 = [30 x i8] c"\0A\09 Applico i Cambiamenti ....\00"
@TCSANOW = global i32 0
@str = [25 x i8] c"\09\1B[1;32m Acquisite! \1B[0m\00"
@str.15 = [28 x i8] c"\09\1B[1;32m Disabilitati! \1B[0m\00"
@str.16 = [27 x i8] c"\09\09\09\1B[1;32m Abilitata! \1B[0m\00"
@str.17 = [27 x i8] c"\09\09\09\1B[1;32m Prevenuti! \1B[0m\00"
@str.18 = [27 x i8] c"\09\09\09\1B[1;32m Impostato! \1B[0m\00"
@str.20 = [31 x i8] c"\09\09\1B[1;32m Setup avvenuto! \1B[0m\00"
@str.21 = [29 x i8] c"\09\09\09\1B[1;32m Applicati! \1B[0m\0A\0A\00"
define void @full(%struct.termios* noalias nocapture writeonly sret(%struct.termios) align 8 %0, %struct.termios* byval(%struct.termios) align 8 %1, i32 %2) {
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%5 = call i32 @tcgetattr(i32 %2, %struct.termios* %1)
%6 = load i32, i32* @CSIZE
%7 = xor i32 %6, -1
%8 = getelementptr inbounds %struct.termios, %struct.termios* %1, i64 0, i32 0
%9 = load i32, i32* %8
%10 = and i32 %9, %7
store i32 %10, i32* %8
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%12 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%13 = load i32, i32* @INLCR
%14 = load i32, i32* @IGNCR
%15 = or i32 %14, %13
%16 = load i32, i32* @ICRNL
%17 = or i32 %15, %16
%18 = load i32, i32* @IXON
%19 = or i32 %17, %18
%20 = xor i32 %19, -1
%21 = getelementptr inbounds %struct.termios, %struct.termios* %1, i64 0, i32 1
%22 = load i32, i32* %21
%23 = and i32 %22, %20
store i32 %23, i32* %21
%24 = load i32, i32* @OPOST
%25 = xor i32 %24, -1
%26 = getelementptr inbounds %struct.termios, %struct.termios* %1, i64 0, i32 4
%27 = load i32, i32* %26
%28 = and i32 %27, %25
store i32 %28, i32* %26
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.15, i64 0, i64 0))
%30 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%31 = load i32, i32* @CS7
%32 = load i32, i32* @CREAD
%33 = or i32 %32, %31
%34 = load i32, i32* @CLOCAL
%35 = or i32 %33, %34
store i32 %35, i32* %8
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.16, i64 0, i64 0))
%37 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0))
%38 = load i32, i32* @ICANON
%39 = load i32, i32* @ECHO
%40 = or i32 %39, %38
%41 = xor i32 %40, -1
%42 = getelementptr inbounds %struct.termios, %struct.termios* %1, i64 0, i32 2
%43 = load i32, i32* %42
%44 = and i32 %43, %41
store i32 %44, i32* %42
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.17, i64 0, i64 0))
%46 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%47 = load i32, i32* @CSTOPB
%48 = xor i32 %47, -1
%49 = load i32, i32* %8
%50 = and i32 %49, %48
store i32 %50, i32* %8
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.18, i64 0, i64 0))
%52 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.10, i64 0, i64 0))
%53 = getelementptr inbounds %struct.termios, %struct.termios* %1, i64 0, i32 3
%54 = load i32*, i32** %53
%55 = load i64, i64* @VMIN
%56 = getelementptr inbounds i32, i32* %54, i64 %55
store i32 1, i32* %56
%57 = load i64, i64* @VTIME
%58 = getelementptr inbounds i32, i32* %54, i64 %57
store i32 0, i32* %58
%59 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.20, i64 0, i64 0))
%60 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
%61 = load i32, i32* @B9600
%62 = call i32 @cfsetispeed(%struct.termios* %1, i32 %61)
%63 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.20, i64 0, i64 0))
%64 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
%65 = load i32, i32* @TCSANOW
%66 = call i32 @tcsetattr(i32 %2, i32 %65, %struct.termios* %1)
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.21, i64 0, i64 0))
%68 = bitcast %struct.termios* %0 to i8*
%69 = bitcast %struct.termios* %1 to i8*
ret void
}