#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 */
typedef struct TYPE_2__ TYPE_1__;

/* Type definitions */
typedef int /*<<< orphan*/ uidev;
struct TYPE_2__ {
  int vendor;
  int product;
  int version;
  int /*<<< orphan*/ bustype;
};
struct uinput_user_dev {
  int *absmax;
  scalar_t__ *absmin;
  scalar_t__ *absflat;
  scalar_t__ *absfuzz;
  TYPE_1__ id;
  int /*<<< orphan*/ name;
};

/* Variables and functions */
size_t ABS_PRESSURE;
size_t ABS_X;
size_t ABS_Y;
int /*<<< orphan*/ BTN_TOUCH;
int /*<<< orphan*/ BUS_VIRTUAL;
int /*<<< orphan*/ EV_ABS;
int /*<<< orphan*/ EV_KEY;
int /*<<< orphan*/ UI_DEV_CREATE;
int /*<<< orphan*/ UI_SET_ABSBIT;
int /*<<< orphan*/ UI_SET_EVBIT;
int /*<<< orphan*/ UI_SET_KEYBIT;
scalar_t__ ioctl(int, int /*<<< orphan*/, ...);
int /*<<< orphan*/ memset(struct uinput_user_dev *, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ strcpy(int /*<<< orphan*/, char *);
scalar_t__ write(int, struct uinput_user_dev *, int);
void createTouchInterface(int fd) {
  struct uinput_user_dev uidev;
  ioctl(fd, UI_SET_EVBIT, EV_KEY);
  ioctl(fd, UI_SET_KEYBIT, BTN_TOUCH);
  ioctl(fd, UI_SET_EVBIT, EV_ABS);
  ioctl(fd, UI_SET_ABSBIT, ABS_X);
  ioctl(fd, UI_SET_ABSBIT, ABS_Y);
  ioctl(fd, UI_SET_ABSBIT, ABS_PRESSURE);
  memset(&uidev, 0, sizeof(uidev));
  strcpy(uidev.name, "RasPiTablet_TouchScreen");
  uidev.id.bustype = BUS_VIRTUAL;
  uidev.id.vendor = 0x1c;
  uidev.id.product = 0x01;
  uidev.id.version = 0x01;
  uidev.absmin[ABS_X] = 0;
  uidev.absmax[ABS_X] = 1023;
  uidev.absmin[ABS_Y] = 0;
  uidev.absmax[ABS_Y] = 1023;
  uidev.absfuzz[ABS_X] = 0;
  uidev.absfuzz[ABS_Y] = 0;
  uidev.absflat[ABS_X] = 0;
  uidev.absflat[ABS_Y] = 0;
  uidev.absmin[ABS_PRESSURE] = 0;
  uidev.absmax[ABS_PRESSURE] = 1024;
  if (write(fd, &uidev, sizeof(uidev)) < 0) {
    printf("Write err\n");
  }
  if (ioctl(fd, UI_DEV_CREATE) < 0) {
    printf("UI_DEV_CREATE err\n");
  }
}


x86 assembly (clang, -O0):
<createTouchInterface>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%edi
mov    0x2e5b(%rip),%rax
mov    (%rax),%esi
mov    0x2e5a(%rip),%rax
mov    (%rax),%edx
mov    $0x0,%al
call   1070 <ioctl@plt>
mov    -0x4(%rbp),%edi
mov    0x2e27(%rip),%rax
mov    (%rax),%esi
mov    0x2e46(%rip),%rax
mov    (%rax),%edx
mov    $0x0,%al
call   1070 <ioctl@plt>
mov    -0x4(%rbp),%edi
mov    0x2e23(%rip),%rax
mov    (%rax),%esi
mov    0x2de2(%rip),%rax
mov    (%rax),%edx
mov    $0x0,%al
call   1070 <ioctl@plt>
mov    -0x4(%rbp),%edi
mov    0x2dd7(%rip),%rax
mov    (%rax),%esi
mov    0x2dee(%rip),%rax
mov    (%rax),%rdx
mov    $0x0,%al
call   1070 <ioctl@plt>
mov    -0x4(%rbp),%edi
mov    0x2dba(%rip),%rax
mov    (%rax),%esi
mov    0x2e19(%rip),%rax
mov    (%rax),%rdx
mov    $0x0,%al
call   1070 <ioctl@plt>
mov    -0x4(%rbp),%edi
mov    0x2d9d(%rip),%rax
mov    (%rax),%esi
mov    0x2da4(%rip),%rax
mov    (%rax),%rdx
mov    $0x0,%al
call   1070 <ioctl@plt>
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1060 <memset@plt>
mov    -0x10(%rbp),%edi
lea    0xde0(%rip),%rsi
call   1030 <strcpy@plt>
mov    0x2dac(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
movl   $0x1c,-0x20(%rbp)
movl   $0x1,-0x1c(%rbp)
movl   $0x1,-0x18(%rbp)
mov    -0x38(%rbp),%rax
mov    0x2d5f(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x40(%rbp),%rax
mov    0x2d49(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x3ff,(%rax,%rcx,4)
mov    -0x38(%rbp),%rax
mov    0x2d7c(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x40(%rbp),%rax
mov    0x2d66(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x3ff,(%rax,%rcx,4)
mov    -0x28(%rbp),%rax
mov    0x2d09(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
mov    0x2d3b(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    0x2cdd(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    0x2d0f(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x38(%rbp),%rax
mov    0x2ca1(%rip),%rcx
mov    (%rcx),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    -0x40(%rbp),%rax
mov    0x2c8b(%rip),%rcx
mov    (%rcx),%rcx
movl   $0x400,(%rax,%rcx,4)
mov    -0x4(%rbp),%edi
lea    -0x40(%rbp),%rsi
mov    $0x38,%edx
call   1040 <write@plt>
cmp    $0x0,%rax
jge    1346 <createTouchInterface+0x1f6>
lea    0xcd7(%rip),%rdi
call   1050 <printf@plt>
mov    -0x4(%rbp),%edi
mov    0x2ca0(%rip),%rax
mov    (%rax),%esi
mov    $0x0,%al
call   1070 <ioctl@plt>
cmp    $0x0,%rax
jge    136f <createTouchInterface+0x21f>
lea    0xcb9(%rip),%rdi
call   1050 <printf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<createTouchInterface>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x40,%rsp
mov    %edi,%ebx
mov    0x2e5a(%rip),%r14
mov    (%r14),%esi
mov    0x2e58(%rip),%rax
mov    (%rax),%edx
xor    %eax,%eax
call   1070 <ioctl@plt>
mov    0x2e28(%rip),%rax
mov    (%rax),%esi
mov    0x2e47(%rip),%rax
mov    (%rax),%edx
mov    %ebx,%edi
xor    %eax,%eax
call   1070 <ioctl@plt>
mov    (%r14),%esi
mov    0x2dea(%rip),%rax
mov    (%rax),%edx
mov    %ebx,%edi
xor    %eax,%eax
call   1070 <ioctl@plt>
mov    0x2de0(%rip),%r14
mov    (%r14),%esi
mov    0x2df6(%rip),%r15
mov    (%r15),%rdx
mov    %ebx,%edi
xor    %eax,%eax
call   1070 <ioctl@plt>
mov    (%r14),%esi
mov    0x2e28(%rip),%r12
mov    (%r12),%rdx
mov    %ebx,%edi
xor    %eax,%eax
call   1070 <ioctl@plt>
mov    (%r14),%esi
mov    0x2db9(%rip),%r13
mov    0x0(%r13),%rdx
mov    %ebx,%edi
xor    %eax,%eax
call   1070 <ioctl@plt>
lea    0x8(%rsp),%r14
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x38,%edx
call   1060 <memset@plt>
mov    0x38(%rsp),%edi
lea    0xded(%rip),%rsi
call   1030 <strcpy@plt>
mov    0x2db9(%rip),%rax
mov    (%rax),%eax
mov    %eax,0x34(%rsp)
movabs $0x10000001c,%rax
mov    %rax,0x28(%rsp)
movl   $0x1,0x30(%rsp)
mov    0x10(%rsp),%rax
mov    (%r15),%rcx
movq   $0x0,(%rax,%rcx,8)
mov    0x8(%rsp),%rcx
mov    (%r15),%rdx
movl   $0x3ff,(%rcx,%rdx,4)
mov    (%r12),%rdx
movq   $0x0,(%rax,%rdx,8)
mov    (%r12),%rdx
movl   $0x3ff,(%rcx,%rdx,4)
mov    0x20(%rsp),%rdx
mov    (%r15),%rsi
movq   $0x0,(%rdx,%rsi,8)
mov    (%r12),%rsi
movq   $0x0,(%rdx,%rsi,8)
mov    0x18(%rsp),%rdx
mov    (%r15),%rsi
movq   $0x0,(%rdx,%rsi,8)
mov    (%r12),%rsi
movq   $0x0,(%rdx,%rsi,8)
mov    0x0(%r13),%rdx
movq   $0x0,(%rax,%rdx,8)
mov    0x0(%r13),%rax
movl   $0x400,(%rcx,%rax,4)
mov    %ebx,%edi
mov    %r14,%rsi
mov    $0x38,%edx
call   1050 <write@plt>
test   %rax,%rax
jns    12e1 <createTouchInterface+0x191>
lea    0xd4e(%rip),%rdi
call   1040 <puts@plt>
mov    0x2d08(%rip),%rax
mov    (%rax),%esi
mov    %ebx,%edi
xor    %eax,%eax
call   1070 <ioctl@plt>
test   %rax,%rax
jns    1304 <createTouchInterface+0x1b4>
lea    0xd19(%rip),%rdi
call   1040 <puts@plt>
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.uinput_user_dev = type { i32*, i64*, i64*, i64*, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
@UI_SET_EVBIT = global i32 0
@EV_KEY = global i32 0
@UI_SET_KEYBIT = global i32 0
@BTN_TOUCH = global i32 0
@EV_ABS = global i32 0
@UI_SET_ABSBIT = global i32 0
@ABS_X = global i64 0
@ABS_Y = global i64 0
@ABS_PRESSURE = global i64 0
@.str = [24 x i8] c"RasPiTablet_TouchScreen\00"
@BUS_VIRTUAL = global i32 0
@.str.1 = [11 x i8] c"Write err\0A\00"
@UI_DEV_CREATE = global i32 0
@.str.2 = [19 x i8] c"UI_DEV_CREATE err\0A\00"
define void @createTouchInterface(i32 %0) {
%2 = alloca i32
%3 = alloca %struct.uinput_user_dev
store i32 %0, i32* %2
%4 = load i32, i32* %2
%5 = load i32, i32* @UI_SET_EVBIT
%6 = load i32, i32* @EV_KEY
%7 = call i64 (i32, i32, ...) @ioctl(i32 %4, i32 %5, i32 %6)
%8 = load i32, i32* %2
%9 = load i32, i32* @UI_SET_KEYBIT
%10 = load i32, i32* @BTN_TOUCH
%11 = call i64 (i32, i32, ...) @ioctl(i32 %8, i32 %9, i32 %10)
%12 = load i32, i32* %2
%13 = load i32, i32* @UI_SET_EVBIT
%14 = load i32, i32* @EV_ABS
%15 = call i64 (i32, i32, ...) @ioctl(i32 %12, i32 %13, i32 %14)
%16 = load i32, i32* %2
%17 = load i32, i32* @UI_SET_ABSBIT
%18 = load i64, i64* @ABS_X
%19 = call i64 (i32, i32, ...) @ioctl(i32 %16, i32 %17, i64 %18)
%20 = load i32, i32* %2
%21 = load i32, i32* @UI_SET_ABSBIT
%22 = load i64, i64* @ABS_Y
%23 = call i64 (i32, i32, ...) @ioctl(i32 %20, i32 %21, i64 %22)
%24 = load i32, i32* %2
%25 = load i32, i32* @UI_SET_ABSBIT
%26 = load i64, i64* @ABS_PRESSURE
%27 = call i64 (i32, i32, ...) @ioctl(i32 %24, i32 %25, i64 %26)
%28 = call i32 @memset(%struct.uinput_user_dev* %3, i32 0, i32 56)
%29 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 5
%30 = load i32, i32* %29
%31 = call i32 @strcpy(i32 %30, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%32 = load i32, i32* @BUS_VIRTUAL
%33 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 4
%34 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %33, i32 0, i32 3
store i32 %32, i32* %34
%35 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 4
%36 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %35, i32 0, i32 0
store i32 28, i32* %36
%37 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 4
%38 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %37, i32 0, i32 1
store i32 1, i32* %38
%39 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 4
%40 = getelementptr inbounds %struct.TYPE_2__, %struct.TYPE_2__* %39, i32 0, i32 2
store i32 1, i32* %40
%41 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 1
%42 = load i64*, i64** %41
%43 = load i64, i64* @ABS_X
%44 = getelementptr inbounds i64, i64* %42, i64 %43
store i64 0, i64* %44
%45 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 0
%46 = load i32*, i32** %45
%47 = load i64, i64* @ABS_X
%48 = getelementptr inbounds i32, i32* %46, i64 %47
store i32 1023, i32* %48
%49 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 1
%50 = load i64*, i64** %49
%51 = load i64, i64* @ABS_Y
%52 = getelementptr inbounds i64, i64* %50, i64 %51
store i64 0, i64* %52
%53 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 0
%54 = load i32*, i32** %53
%55 = load i64, i64* @ABS_Y
%56 = getelementptr inbounds i32, i32* %54, i64 %55
store i32 1023, i32* %56
%57 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 3
%58 = load i64*, i64** %57
%59 = load i64, i64* @ABS_X
%60 = getelementptr inbounds i64, i64* %58, i64 %59
store i64 0, i64* %60
%61 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 3
%62 = load i64*, i64** %61
%63 = load i64, i64* @ABS_Y
%64 = getelementptr inbounds i64, i64* %62, i64 %63
store i64 0, i64* %64
%65 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 2
%66 = load i64*, i64** %65
%67 = load i64, i64* @ABS_X
%68 = getelementptr inbounds i64, i64* %66, i64 %67
store i64 0, i64* %68
%69 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 2
%70 = load i64*, i64** %69
%71 = load i64, i64* @ABS_Y
%72 = getelementptr inbounds i64, i64* %70, i64 %71
store i64 0, i64* %72
%73 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 1
%74 = load i64*, i64** %73
%75 = load i64, i64* @ABS_PRESSURE
%76 = getelementptr inbounds i64, i64* %74, i64 %75
store i64 0, i64* %76
%77 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %3, i32 0, i32 0
%78 = load i32*, i32** %77
%79 = load i64, i64* @ABS_PRESSURE
%80 = getelementptr inbounds i32, i32* %78, i64 %79
store i32 1024, i32* %80
%81 = load i32, i32* %2
%82 = call i64 @write(i32 %81, %struct.uinput_user_dev* %3, i32 56)
%83 = icmp slt i64 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %1
%85 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
br label %86
86: ; preds = %84, %1
%87 = load i32, i32* %2
%88 = load i32, i32* @UI_DEV_CREATE
%89 = call i64 (i32, i32, ...) @ioctl(i32 %87, i32 %88)
%90 = icmp slt i64 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %86
%92 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
br label %93
93: ; preds = %91, %86
ret void
}

LLVM IR (-O2):
%struct.uinput_user_dev = type { i32*, i64*, i64*, i64*, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32, i32, i32, i32 }
@UI_SET_EVBIT = global i32 0
@EV_KEY = global i32 0
@UI_SET_KEYBIT = global i32 0
@BTN_TOUCH = global i32 0
@EV_ABS = global i32 0
@UI_SET_ABSBIT = global i32 0
@ABS_X = global i64 0
@ABS_Y = global i64 0
@ABS_PRESSURE = global i64 0
@.str = [24 x i8] c"RasPiTablet_TouchScreen\00"
@BUS_VIRTUAL = global i32 0
@UI_DEV_CREATE = global i32 0
@str = [18 x i8] c"UI_DEV_CREATE err\00"
@str.3 = [10 x i8] c"Write err\00"
define void @createTouchInterface(i32 %0) {
%2 = alloca %struct.uinput_user_dev
%3 = bitcast %struct.uinput_user_dev* %2 to i8*
%4 = load i32, i32* @UI_SET_EVBIT
%5 = load i32, i32* @EV_KEY
%6 = tail call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %4, i32 %5)
%7 = load i32, i32* @UI_SET_KEYBIT
%8 = load i32, i32* @BTN_TOUCH
%9 = tail call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %7, i32 %8)
%10 = load i32, i32* @UI_SET_EVBIT
%11 = load i32, i32* @EV_ABS
%12 = tail call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %10, i32 %11)
%13 = load i32, i32* @UI_SET_ABSBIT
%14 = load i64, i64* @ABS_X
%15 = tail call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %13, i64 %14)
%16 = load i32, i32* @UI_SET_ABSBIT
%17 = load i64, i64* @ABS_Y
%18 = tail call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %16, i64 %17)
%19 = load i32, i32* @UI_SET_ABSBIT
%20 = load i64, i64* @ABS_PRESSURE
%21 = tail call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %19, i64 %20)
%22 = call i32 @memset(%struct.uinput_user_dev* %2, i32 0, i32 56)
%23 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 5
%24 = load i32, i32* %23
%25 = call i32 @strcpy(i32 %24, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%26 = load i32, i32* @BUS_VIRTUAL
%27 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 4, i32 3
store i32 %26, i32* %27
%28 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 4, i32 0
store i32 28, i32* %28
%29 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 4, i32 1
store i32 1, i32* %29
%30 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 4, i32 2
store i32 1, i32* %30
%31 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 1
%32 = load i64*, i64** %31
%33 = load i64, i64* @ABS_X
%34 = getelementptr inbounds i64, i64* %32, i64 %33
store i64 0, i64* %34
%35 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 0
%36 = load i32*, i32** %35
%37 = load i64, i64* @ABS_X
%38 = getelementptr inbounds i32, i32* %36, i64 %37
store i32 1023, i32* %38
%39 = load i64, i64* @ABS_Y
%40 = getelementptr inbounds i64, i64* %32, i64 %39
store i64 0, i64* %40
%41 = load i64, i64* @ABS_Y
%42 = getelementptr inbounds i32, i32* %36, i64 %41
store i32 1023, i32* %42
%43 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 3
%44 = load i64*, i64** %43
%45 = load i64, i64* @ABS_X
%46 = getelementptr inbounds i64, i64* %44, i64 %45
store i64 0, i64* %46
%47 = load i64, i64* @ABS_Y
%48 = getelementptr inbounds i64, i64* %44, i64 %47
store i64 0, i64* %48
%49 = getelementptr inbounds %struct.uinput_user_dev, %struct.uinput_user_dev* %2, i64 0, i32 2
%50 = load i64*, i64** %49
%51 = load i64, i64* @ABS_X
%52 = getelementptr inbounds i64, i64* %50, i64 %51
store i64 0, i64* %52
%53 = load i64, i64* @ABS_Y
%54 = getelementptr inbounds i64, i64* %50, i64 %53
store i64 0, i64* %54
%55 = load i64, i64* @ABS_PRESSURE
%56 = getelementptr inbounds i64, i64* %32, i64 %55
store i64 0, i64* %56
%57 = load i64, i64* @ABS_PRESSURE
%58 = getelementptr inbounds i32, i32* %36, i64 %57
store i32 1024, i32* %58
%59 = call i64 @write(i32 %0, %struct.uinput_user_dev* %2, i32 56)
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %1
%62 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.3, i64 0, i64 0))
br label %63
63: ; preds = %61, %1
%64 = load i32, i32* @UI_DEV_CREATE
%65 = call i64 (i32, i32, ...) @ioctl(i32 %0, i32 %64)
%66 = icmp slt i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
br label %69
69: ; preds = %67, %63
ret void
}