	.file	"extr_loadfile.c_start_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	start_open, @function
start_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	cancel_open@PLT
	mov	eax, DWORD PTR 0[rbp]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 40[rbp], 0
	sete	dil
	call	assert@PLT
	mov	edx, DWORD PTR 52[rbp]
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	assert@PLT
	lea	rdi, 48[rbp]
	call	atomic_load@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	assert@PLT
	xor	edi, edi
	call	mp_cancel_new@PLT
	mov	rsi, r13
	xor	edi, edi
	mov	QWORD PTR 40[rbp], rax
	call	talloc_strdup@PLT
	xor	edi, edi
	mov	QWORD PTR 32[rbp], rax
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR [rax]
	call	talloc_strdup@PLT
	mov	DWORD PTR 4[rbp], r12d
	mov	QWORD PTR 24[rbp], rax
	mov	rax, QWORD PTR 16[rbp]
	test	ebx, ebx
	je	.L3
	cmp	QWORD PTR 16[rax], 0
	mov	edx, 1
	je	.L3
.L4:
	cmp	QWORD PTR 8[rax], 0
	mov	DWORD PTR 8[rbp], edx
	je	.L5
	mov	DWORD PTR 4[rbp], 0
.L5:
	mov	edx, DWORD PTR open_demux_thread[rip]
	xor	esi, esi
	lea	rdi, 12[rbp]
	mov	rcx, rbp
	call	pthread_create@PLT
	test	rax, rax
	jne	.L10
	mov	DWORD PTR 0[rbp], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	edx, edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	cancel_open@PLT
	.cfi_endproc
.LFE0:
	.size	start_open, .-start_open
	.comm	open_demux_thread,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_loadfile.c_start_open.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_open, %function
start_open:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r2
	mov	r6, r3
	mov	r7, r1
	bl	cancel_open
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r0, [r4, #28]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	ldr	r0, [r4, #36]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	add	r0, r4, #32
	bl	atomic_load
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, #0
	bl	mp_cancel_new
	mov	r1, r7
	str	r0, [r4, #28]
	mov	r0, #0
	bl	talloc_strdup
	ldr	r3, [r4, #16]
	str	r0, [r4, #24]
	ldr	r1, [r3]
	mov	r0, #0
	bl	talloc_strdup
	cmp	r6, #0
	ldr	r3, [r4, #16]
	str	r5, [r4, #4]
	str	r0, [r4, #20]
	beq	.L3
	ldr	r2, [r3, #8]
	cmp	r2, #0
	movne	r2, #1
	beq	.L3
.L4:
	ldr	r3, [r3, #4]
	str	r2, [r4, #8]
	cmp	r3, #0
	movne	r3, #0
	ldr	r2, .L14
	strne	r3, [r4, #4]
	mov	r1, #0
	mov	r3, r4
	ldr	r2, [r2]
	add	r0, r4, #12
	bl	pthread_create
	cmp	r0, #0
	bne	.L13
	mov	r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r2, #0
	b	.L4
.L13:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	cancel_open
.L15:
	.align	2
.L14:
	.word	open_demux_thread
	.size	start_open, .-start_open
	.comm	open_demux_thread,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
