/
f2017.go
139 lines (137 loc) · 2.71 KB
/
f2017.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
package internal
import (
"unsafe"
)
func f2017(ctx *Context, l0 int32, l1 int32, l2 int32, l3 int32) {
var l4 int32
_ = l4
var l5 int32
_ = l5
var l6 int32
_ = l6
var s0i32 int32
_ = s0i32
var s1i32 int32
_ = s1i32
var s2i32 int32
_ = s2i32
var s3i32 int32
_ = s3i32
var s4i32 int32
_ = s4i32
s0i32 = l3
s1i32 = 1
if s0i32 >= s1i32 {
s0i32 = 1
} else {
s0i32 = 0
}
if s0i32 != 0 {
s0i32 = l1
s1i32 = l2
s0i32 = s0i32 + s1i32
l2 = s0i32
s0i32 = int32(*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s0i32+0)])))
l4 = s0i32
s1i32 = 8
s0i32 = s0i32 << (uint32(s1i32) & 31)
s1i32 = l4
s0i32 = s0i32 | s1i32
s1i32 = 16711935
s0i32 = s0i32 & s1i32
s1i32 = l1
s1i32 = int32(*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s1i32+0)])))
l4 = s1i32
s2i32 = 8
s1i32 = s1i32 << (uint32(s2i32) & 31)
s2i32 = l4
s1i32 = s1i32 | s2i32
s2i32 = 16711935
s1i32 = s1i32 & s2i32
s0i32 = s0i32 + s1i32
l4 = s0i32
lbl1:
s0i32 = l0
s1i32 = l6
s2i32 = 1
s1i32 = s1i32 << (uint32(s2i32) & 31)
s0i32 = s0i32 + s1i32
s1i32 = l4
s2i32 = l2
s2i32 = int32(*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s2i32+4)])))
l4 = s2i32
s3i32 = 8
s2i32 = s2i32 << (uint32(s3i32) & 31)
s3i32 = l4
s2i32 = s2i32 | s3i32
s3i32 = 16711935
s2i32 = s2i32 & s3i32
s3i32 = l1
s3i32 = int32(*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s3i32+4)])))
l4 = s3i32
s4i32 = 8
s3i32 = s3i32 << (uint32(s4i32) & 31)
s4i32 = l4
s3i32 = s3i32 | s4i32
s4i32 = 16711935
s3i32 = s3i32 & s4i32
s2i32 = s2i32 + s3i32
l4 = s2i32
s1i32 = s1i32 + s2i32
s2i32 = l2
s2i32 = int32(*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s2i32+2)])))
l5 = s2i32
s3i32 = 8
s2i32 = s2i32 << (uint32(s3i32) & 31)
s3i32 = l5
s2i32 = s2i32 | s3i32
s3i32 = 16711935
s2i32 = s2i32 & s3i32
s3i32 = l1
s3i32 = int32(*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s3i32+2)])))
l5 = s3i32
s4i32 = 8
s3i32 = s3i32 << (uint32(s4i32) & 31)
s4i32 = l5
s3i32 = s3i32 | s4i32
s4i32 = 16711935
s3i32 = s3i32 & s4i32
s2i32 = s2i32 + s3i32
s3i32 = 1
s2i32 = s2i32 << (uint32(s3i32) & 31)
s1i32 = s1i32 + s2i32
l5 = s1i32
s2i32 = 11
s1i32 = int32(uint32(s1i32) >> (uint32(s2i32) & 31))
s2i32 = 65280
s1i32 = s1i32 & s2i32
s2i32 = l5
s3i32 = 3
s2i32 = int32(uint32(s2i32) >> (uint32(s3i32) & 31))
s3i32 = 255
s2i32 = s2i32 & s3i32
s1i32 = s1i32 | s2i32
*(*uint16)(unsafe.Pointer(&ctx.Mem[int(s0i32+0)])) = uint16(s1i32)
s0i32 = l2
s1i32 = 4
s0i32 = s0i32 + s1i32
l2 = s0i32
s0i32 = l1
s1i32 = 4
s0i32 = s0i32 + s1i32
l1 = s0i32
s0i32 = l6
s1i32 = 1
s0i32 = s0i32 + s1i32
l6 = s0i32
s1i32 = l3
if s0i32 != s1i32 {
s0i32 = 1
} else {
s0i32 = 0
}
if s0i32 != 0 {
goto lbl1
}
}
}