	.file	"107954191.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Invalid thread area accepted:"
	.align 8
.LC1:
	.string	"Valid thread area not accepted: "
.LC2:
	.string	"tls2"
.LC3:
	.string	"pass"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
#APP
# 17 "the_stack_data/107954191.c" 1
	move $pid,rax
# 0 "" 2
#NO_APP
	mov	QWORD PTR -16[rbp], rax
	and	QWORD PTR -16[rbp], -256
	mov	esi, 240
	mov	edi, 205
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	je	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 205
	mov	eax, 0
	call	syscall@PLT
	lea	rdi, .LC0[rip]
	call	perror@PLT
	call	abort@PLT
.L3:
	mov	esi, -304157440
	mov	edi, 205
	mov	eax, 0
	call	syscall@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L4
	lea	rdi, .LC1[rip]
	call	perror@PLT
	call	abort@PLT
.L4:
#APP
# 33 "the_stack_data/107954191.c" 1
	move $pid,rax
# 0 "" 2
#NO_APP
	mov	QWORD PTR -8[rbp], rax
	and	QWORD PTR -8[rbp], -256
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 205
	mov	eax, 0
	call	syscall@PLT
	mov	eax, 3990809856
	cmp	QWORD PTR -8[rbp], rax
	je	.L5
	mov	eax, 0
	mov	DWORD PTR [rax], 0
	lea	rdi, .LC2[rip]
	call	perror@PLT
	call	abort@PLT
.L5:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"107954191.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Invalid thread area accepted:\000"
	.align	2
.LC1:
	.ascii	"Valid thread area not accepted: \000"
	.align	2
.LC2:
	.ascii	"tls2\000"
	.align	2
.LC3:
	.ascii	"pass\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	.syntax divided
@ 17 "the_stack_data/107954191.c" 1
	move $pid,r3
@ 0 "" 2
	.arm
	.syntax unified
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	bic	r3, r3, #255
	str	r3, [fp, #-16]
	mov	r1, #240
	mov	r0, #243
	bl	syscall
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	beq	.L3
.L2:
	ldr	r1, [fp, #-16]
	mov	r0, #243
	bl	syscall
	ldr	r0, .L7
	bl	perror
	bl	abort
.L3:
	ldr	r1, .L7+4
	mov	r0, #243
	bl	syscall
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L7+8
	bl	perror
	bl	abort
.L4:
	.syntax divided
@ 33 "the_stack_data/107954191.c" 1
	move $pid,r3
@ 0 "" 2
	.arm
	.syntax unified
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	bic	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	mov	r0, #243
	bl	syscall
	ldr	r3, [fp, #-8]
	ldr	r2, .L7+4
	cmp	r3, r2
	beq	.L5
	mov	r3, #0
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L7+12
	bl	perror
	bl	abort
.L5:
	ldr	r0, .L7+16
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	-304157440
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
