	.file	"extr_media.c_test_input_metadata_timeout.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"test_input_metadata_timeout: timeout: %d, wait_and_cancel: %d ms\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"fd://"
.LC2:
	.string	"fd://%u"
.LC3:
	.string	"test timeout"
	.text
	.p2align 4
	.type	test_input_metadata_timeout, @function
test_input_metadata_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13d, esi
	push	r12
	.cfi_offset 12, -48
	mov	r12d, edx
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 40
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	test_log@PLT
	lea	rdi, -64[rbp]
	call	vlc_pipe@PLT
	xor	edi, edi
	test	eax, eax
	jne	.L2
	mov	edi, DWORD PTR -60[rbp]
	not	edi
	shr	edi, 31
.L2:
	call	assert@PLT
	lea	rdi, .LC1[rip]
	call	strlen@PLT
	mov	rcx, rsp
	add	eax, 11
	cdqe
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L4
.L15:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L15
.L4:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L16
.L5:
	mov	edx, DWORD PTR -60[rbp]
	mov	rdi, rsp
	lea	rsi, .LC2[rip]
	lea	r14, -72[rbp]
	call	sprintf@PLT
	mov	ecx, DWORD PTR ITEM_LOCAL[rip]
	xor	edx, edx
	mov	rdi, rsp
	lea	rsi, .LC3[rip]
	call	input_item_NewFile@PLT
	xor	edi, edi
	test	rax, rax
	mov	r15, rax
	setne	dil
	call	assert@PLT
	xor	esi, esi
	mov	rdi, r14
	call	vlc_sem_init@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [rbx]
	lea	rcx, -68[rbp]
	push	rbx
	mov	eax, DWORD PTR input_item_preparse_timeout[rip]
	mov	r9d, r13d
	mov	r8, r14
	mov	edx, DWORD PTR META_REQUEST_OPTION_SCOPE_LOCAL[rip]
	mov	rsi, r15
	or	edx, DWORD PTR META_REQUEST_OPTION_FETCH_LOCAL[rip]
	mov	DWORD PTR -68[rbp], eax
	call	libvlc_MetadataRequest@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	assert@PLT
	pop	rax
	pop	rdx
	test	r12d, r12d
	jg	.L17
.L6:
	mov	rdi, r14
	call	vlc_sem_wait@PLT
	mov	rdi, r15
	call	input_item_Release@PLT
	mov	rdi, r14
	call	vlc_sem_destroy@PLT
	mov	edi, DWORD PTR -64[rbp]
	call	vlc_close@PLT
	mov	edi, DWORD PTR -60[rbp]
	call	vlc_close@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, r12d
	call	VLC_TICK_FROM_MS@PLT
	mov	edi, eax
	call	vlc_tick_sleep@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbx
	call	libvlc_MetadataCancel@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L5
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_input_metadata_timeout, .-test_input_metadata_timeout
	.comm	input_item_preparse_timeout,4,4
	.comm	META_REQUEST_OPTION_SCOPE_LOCAL,4,4
	.comm	META_REQUEST_OPTION_FETCH_LOCAL,4,4
	.comm	ITEM_LOCAL,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_media.c_test_input_metadata_timeout.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"test_input_metadata_timeout: timeout: %d, wait_and_"
	.ascii	"cancel: %d ms\012\000"
	.align	2
.LC1:
	.ascii	"fd://%u\000"
	.align	2
.LC2:
	.ascii	"test timeout\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_input_metadata_timeout, %function
test_input_metadata_timeout:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L9
	sub	sp, sp, #56
	mov	r5, r0
	ldr	r0, .L9+4
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	mov	r8, r1
	mov	r7, r2
	bl	test_log
	add	r0, sp, #28
	bl	vlc_pipe
	cmp	r0, #0
	ldreq	r0, [sp, #32]
	movne	r0, #0
	mvneq	r0, r0
	lsreq	r0, r0, #31
	bl	assert
	ldr	r2, [sp, #32]
	ldr	r1, .L9+8
	add	r0, sp, #36
	bl	sprintf
	ldr	r3, .L9+12
	mov	r2, #0
	ldr	r3, [r3]
	ldr	r1, .L9+16
	add	r0, sp, #36
	bl	input_item_NewFile
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	add	r6, sp, #20
	bl	assert
	mov	r1, #0
	mov	r0, r6
	bl	vlc_sem_init
	ldr	r2, .L9+20
	ldr	r3, .L9+24
	ldr	r1, .L9+28
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	ip, [r1]
	str	r6, [sp]
	str	r5, [sp, #8]
	str	r8, [sp, #4]
	orr	r2, r2, r3
	mov	r1, r4
	add	r3, sp, #24
	ldr	r0, [r5]
	str	ip, [sp, #24]
	bl	libvlc_MetadataRequest
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	cmp	r7, #0
	ble	.L3
	mov	r0, r7
	bl	VLC_TICK_FROM_MS
	bl	vlc_tick_sleep
	mov	r1, r5
	ldr	r0, [r5]
	bl	libvlc_MetadataCancel
.L3:
	mov	r0, r6
	bl	vlc_sem_wait
	mov	r0, r4
	bl	input_item_Release
	mov	r0, r6
	bl	vlc_sem_destroy
	ldr	r0, [sp, #28]
	bl	vlc_close
	ldr	r0, [sp, #32]
	bl	vlc_close
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #56
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	ITEM_LOCAL
	.word	.LC2
	.word	META_REQUEST_OPTION_SCOPE_LOCAL
	.word	META_REQUEST_OPTION_FETCH_LOCAL
	.word	input_item_preparse_timeout
	.size	test_input_metadata_timeout, .-test_input_metadata_timeout
	.comm	input_item_preparse_timeout,4,4
	.comm	META_REQUEST_OPTION_SCOPE_LOCAL,4,4
	.comm	META_REQUEST_OPTION_FETCH_LOCAL,4,4
	.comm	ITEM_LOCAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
