	.file	"extr_thread.c_vlc_threadvar_delete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vlc_threadvar_delete
	.type	vlc_threadvar_delete, @function
vlc_threadvar_delete:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, QWORD PTR [rdi]
	lea	rdi, super_mutex[rip]
	call	EnterCriticalSection@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	test	rax, rax
	je	.L3
	mov	QWORD PTR [rax], rdx
.L3:
	test	rdx, rdx
	je	.L4
	mov	QWORD PTR [rdx], rax
.L5:
	lea	rdi, super_mutex[rip]
	call	LeaveCriticalSection@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	TlsFree@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	QWORD PTR vlc_threadvar_last[rip], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	vlc_threadvar_delete, .-vlc_threadvar_delete
	.comm	vlc_threadvar_last,8,8
	.comm	super_mutex,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_thread.c_vlc_threadvar_delete.c"
	.text
	.align	2
	.global	vlc_threadvar_delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlc_threadvar_delete, %function
vlc_threadvar_delete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [r0]
	ldr	r0, .L9
	bl	EnterCriticalSection
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	cmp	r3, #0
	strne	r2, [r3]
	cmp	r2, #0
	ldreq	r2, .L9+4
	ldr	r0, .L9
	str	r3, [r2]
	bl	LeaveCriticalSection
	ldr	r0, [r4]
	bl	TlsFree
	mov	r0, r4
	pop	{r4, lr}
	b	free
.L10:
	.align	2
.L9:
	.word	super_mutex
	.word	vlc_threadvar_last
	.size	vlc_threadvar_delete, .-vlc_threadvar_delete
	.comm	vlc_threadvar_last,4,4
	.comm	super_mutex,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
