1570af302Sopenharmony_ci.text
2570af302Sopenharmony_ci.global __set_thread_area
3570af302Sopenharmony_ci.hidden __set_thread_area
4570af302Sopenharmony_ci.type   __set_thread_area,@function
5570af302Sopenharmony_ci__set_thread_area:
6570af302Sopenharmony_ci	push %ebx
7570af302Sopenharmony_ci	push $0x51
8570af302Sopenharmony_ci	push $0xfffff
9570af302Sopenharmony_ci	push 16(%esp)
10570af302Sopenharmony_ci	call 1f
11570af302Sopenharmony_ci1:	addl $4f-1b,(%esp)
12570af302Sopenharmony_ci	pop %ecx
13570af302Sopenharmony_ci	mov (%ecx),%edx
14570af302Sopenharmony_ci	push %edx
15570af302Sopenharmony_ci	mov %esp,%ebx
16570af302Sopenharmony_ci	xor %eax,%eax
17570af302Sopenharmony_ci	mov $243,%al
18570af302Sopenharmony_ci	int $128
19570af302Sopenharmony_ci	testl %eax,%eax
20570af302Sopenharmony_ci	jnz 2f
21570af302Sopenharmony_ci	movl (%esp),%edx
22570af302Sopenharmony_ci	movl %edx,(%ecx)
23570af302Sopenharmony_ci	leal 3(,%edx,8),%edx
24570af302Sopenharmony_ci3:	movw %dx,%gs
25570af302Sopenharmony_ci1:
26570af302Sopenharmony_ci	addl $16,%esp
27570af302Sopenharmony_ci	popl %ebx
28570af302Sopenharmony_ci	ret
29570af302Sopenharmony_ci2:
30570af302Sopenharmony_ci	mov %ebx,%ecx
31570af302Sopenharmony_ci	xor %eax,%eax
32570af302Sopenharmony_ci	xor %ebx,%ebx
33570af302Sopenharmony_ci	xor %edx,%edx
34570af302Sopenharmony_ci	mov %ebx,(%esp)
35570af302Sopenharmony_ci	mov $1,%bl
36570af302Sopenharmony_ci	mov $16,%dl
37570af302Sopenharmony_ci	mov $123,%al
38570af302Sopenharmony_ci	int $128
39570af302Sopenharmony_ci	testl %eax,%eax
40570af302Sopenharmony_ci	jnz 1b
41570af302Sopenharmony_ci	mov $7,%dl
42570af302Sopenharmony_ci	inc %al
43570af302Sopenharmony_ci	jmp 3b
44570af302Sopenharmony_ci
45570af302Sopenharmony_ci.data
46570af302Sopenharmony_ci	.align 4
47570af302Sopenharmony_ci4:	.long -1
48