	.file	"extr_thread.c_vlc_clone_detach.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vlc_clone_detach
	.type	vlc_clone_detach, @function
vlc_clone_detach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r12, 4[rsp]
	test	rdi, rdi
	mov	rax, rsp
	mov	rdi, r12
	cmove	rbp, rax
	call	pthread_attr_init@PLT
	mov	esi, DWORD PTR PTHREAD_CREATE_DETACHED[rip]
	mov	rdi, r12
	call	pthread_attr_setdetachstate@PLT
	mov	r8d, ebx
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	vlc_clone_attr@PLT
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vlc_clone_detach, .-vlc_clone_detach
	.comm	PTHREAD_CREATE_DETACHED,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_clone_detach.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vlc_clone_detach
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlc_clone_detach, %function
vlc_clone_detach:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r2
	mov	r5, r1
	mov	r7, r3
	sub	sp, sp, #28
	ldr	r3, .L7
	subs	r4, r0, #0
	add	r0, sp, #16
	addeq	r4, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	pthread_attr_init
	ldr	r3, .L7+4
	add	r0, sp, #16
	ldr	r1, [r3]
	bl	pthread_attr_setdetachstate
	mov	r3, r6
	mov	r2, r5
	mov	r0, r4
	add	r1, sp, #16
	str	r7, [sp]
	bl	vlc_clone_attr
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	PTHREAD_CREATE_DETACHED
	.size	vlc_clone_detach, .-vlc_clone_detach
	.comm	PTHREAD_CREATE_DETACHED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
