	.file	"143094.c"
	.intel_syntax noprefix
	.text
	.type	destr_function, @function
destr_function:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	destr_function, .-destr_function
	.section	.rodata
.LC0:
	.string	"the_stack_data/143094.c"
.LC1:
	.string	"pthread_key_delete(key) != 0"
	.align 8
.LC2:
	.string	"pthread_getspecific(key) == NULL"
.LC3:
	.string	"pthread_key_create = %d\n"
.LC4:
	.string	"rv == 0"
.LC5:
	.string	"pthread_setspecific = %d\n"
.LC6:
	.string	"data2 != NULL"
.LC7:
	.string	"pthread_getspecific = %d\n"
.LC8:
	.string	"*data2 == 123"
	.align 8
.LC9:
	.string	"valid pthread_setspecific for value NULL = %d\n"
.LC10:
	.string	"data2 == NULL"
.LC11:
	.string	"pthread_getspecific = %p\n"
	.align 8
.LC12:
	.string	"pthread_getspecific after key recreate = %p\n"
.LC13:
	.string	"pthread_key_delete = %d\n"
	.align 8
.LC14:
	.string	"pthread_key_delete repeated = %d\n"
.LC15:
	.string	"rv == EINVAL"
	.align 8
.LC16:
	.string	"pthread_setspecific for value NULL = %d\n"
	.align 8
.LC17:
	.string	"pthread_key_delete just after created = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 123
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_key_delete@PLT
	test	eax, eax
	jne	.L3
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 25
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L3:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_getspecific@PLT
	test	rax, rax
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 26
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L4:
	lea	rax, -28[rbp]
	lea	rsi, destr_function[rip]
	mov	rdi, rax
	call	pthread_key_create@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 0
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 30
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L5:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_getspecific@PLT
	test	rax, rax
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 32
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L6:
	mov	eax, DWORD PTR -28[rbp]
	lea	rdx, -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	pthread_setspecific@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 0
	je	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 36
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L7:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_getspecific@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L8
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 39
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L8:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 123
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 41
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L9:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 0
	mov	edi, eax
	call	pthread_setspecific@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 0
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 45
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_getspecific@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 48
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	lea	rsi, destr_function[rip]
	mov	rdi, rax
	call	pthread_key_create@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_getspecific@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 54
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L12:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_key_delete@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 0
	je	.L13
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 58
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L13:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_key_delete@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 22
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 62
	lea	rsi, .LC0[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L14:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 0
	mov	edi, eax
	call	pthread_setspecific@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 22
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 66
	lea	rsi, .LC0[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L15:
	lea	rax, -28[rbp]
	lea	rsi, destr_function[rip]
	mov	rdi, rax
	call	pthread_key_create@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L16
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 69
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L16:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	pthread_key_delete@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -20[rbp], 0
	je	.L17
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 72
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L17:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"143094.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	destr_function, %function
destr_function:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	destr_function, .-destr_function
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/143094.c\000"
	.align	2
.LC1:
	.ascii	"pthread_key_delete(key) != 0\000"
	.align	2
.LC2:
	.ascii	"pthread_getspecific(key) == NULL\000"
	.align	2
.LC3:
	.ascii	"pthread_key_create = %d\012\000"
	.align	2
.LC4:
	.ascii	"rv == 0\000"
	.align	2
.LC5:
	.ascii	"pthread_setspecific = %d\012\000"
	.align	2
.LC6:
	.ascii	"data2 != NULL\000"
	.align	2
.LC7:
	.ascii	"pthread_getspecific = %d\012\000"
	.align	2
.LC8:
	.ascii	"*data2 == 123\000"
	.align	2
.LC9:
	.ascii	"valid pthread_setspecific for value NULL = %d\012\000"
	.align	2
.LC10:
	.ascii	"data2 == NULL\000"
	.align	2
.LC11:
	.ascii	"pthread_getspecific = %p\012\000"
	.align	2
.LC12:
	.ascii	"pthread_getspecific after key recreate = %p\012\000"
	.align	2
.LC13:
	.ascii	"pthread_key_delete = %d\012\000"
	.align	2
.LC14:
	.ascii	"pthread_key_delete repeated = %d\012\000"
	.align	2
.LC15:
	.ascii	"rv == EINVAL\000"
	.align	2
.LC16:
	.ascii	"pthread_setspecific for value NULL = %d\012\000"
	.align	2
.LC17:
	.ascii	"pthread_key_delete just after created = %d\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #123
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_key_delete
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L20+4
	mov	r2, #25
	ldr	r1, .L20+8
	ldr	r0, .L20+12
	bl	__assert_fail
.L3:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_getspecific
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L20+4
	mov	r2, #26
	ldr	r1, .L20+8
	ldr	r0, .L20+16
	bl	__assert_fail
.L4:
	sub	r3, fp, #24
	ldr	r1, .L20+20
	mov	r0, r3
	bl	pthread_key_create
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+24
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L20+4
	mov	r2, #30
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L5:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_getspecific
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L20+4
	mov	r2, #32
	ldr	r1, .L20+8
	ldr	r0, .L20+16
	bl	__assert_fail
.L6:
	ldr	r3, [fp, #-24]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_setspecific
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+32
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L20+4
	mov	r2, #36
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L7:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_getspecific
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L20+4
	mov	r2, #39
	ldr	r1, .L20+8
	ldr	r0, .L20+36
	bl	__assert_fail
.L8:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L20+40
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #123
	beq	.L9
	ldr	r3, .L20+4
	mov	r2, #41
	ldr	r1, .L20+8
	ldr	r0, .L20+44
	bl	__assert_fail
.L9:
	ldr	r3, [fp, #-24]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_setspecific
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+48
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L20+4
	mov	r2, #45
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L10:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_getspecific
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L20+4
	mov	r2, #48
	ldr	r1, .L20+8
	ldr	r0, .L20+52
	bl	__assert_fail
.L11:
	ldr	r1, [fp, #-12]
	ldr	r0, .L20+56
	bl	printf
	sub	r3, fp, #24
	ldr	r1, .L20+20
	mov	r0, r3
	bl	pthread_key_create
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_getspecific
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L20+60
	bl	printf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L20+4
	mov	r2, #54
	ldr	r1, .L20+8
	ldr	r0, .L20+52
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_key_delete
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+64
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L20+4
	mov	r2, #58
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L13:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_key_delete
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+68
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #22
	beq	.L14
	ldr	r3, .L20+4
	mov	r2, #62
	ldr	r1, .L20+8
	ldr	r0, .L20+72
	bl	__assert_fail
.L14:
	ldr	r3, [fp, #-24]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_setspecific
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+76
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #22
	beq	.L15
	ldr	r3, .L20+4
	mov	r2, #66
	ldr	r1, .L20+8
	ldr	r0, .L20+72
	bl	__assert_fail
.L15:
	sub	r3, fp, #24
	ldr	r1, .L20+20
	mov	r0, r3
	bl	pthread_key_create
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L20+4
	mov	r2, #69
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L16:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pthread_key_delete
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L20+80
	bl	printf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L20+4
	mov	r2, #72
	ldr	r1, .L20+8
	ldr	r0, .L20+28
	bl	__assert_fail
.L17:
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC18
	.word	__PRETTY_FUNCTION__.5226
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	destr_function
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5226, %object
	.size	__PRETTY_FUNCTION__.5226, 5
__PRETTY_FUNCTION__.5226:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
