	.file	"extr_decoder.c_input_DecoderHasFormatChanged.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	input_DecoderHasFormatChanged
	.type	input_DecoderHasFormatChanged, @function
input_DecoderHasFormatChanged:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	dec_get_owner@PLT
	mov	edx, DWORD PTR memory_order_acquire[rip]
	xor	esi, esi
	lea	rdi, 20[rax]
	mov	rbp, rax
	call	atomic_exchange_explicit@PLT
	test	eax, eax
	jne	.L18
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, rbp
	call	vlc_mutex_lock@PLT
	test	r12, r12
	je	.L3
	lea	rsi, 16[rbp]
	mov	rdi, r12
	call	es_format_Copy@PLT
.L3:
	test	rbx, rbx
	je	.L5
	cmp	QWORD PTR 8[rbp], 0
	mov	QWORD PTR [rbx], 0
	jne	.L19
.L5:
	mov	rdi, rbp
	call	vlc_mutex_unlock@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	xor	eax, eax
	call	vlc_meta_New@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L5
	mov	rsi, QWORD PTR 8[rbp]
	call	vlc_meta_Merge@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	input_DecoderHasFormatChanged, .-input_DecoderHasFormatChanged
	.comm	memory_order_acquire,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_decoder.c_input_DecoderHasFormatChanged.c"
	.text
	.align	2
	.global	input_DecoderHasFormatChanged
	.syntax unified
	.arm
	.fpu softvfp
	.type	input_DecoderHasFormatChanged, %function
input_DecoderHasFormatChanged:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r2
	bl	dec_get_owner
	ldr	r3, .L22
	mov	r4, r0
	mov	r1, #0
	ldr	r2, [r3]
	add	r0, r0, #12
	bl	atomic_exchange_explicit
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	bl	vlc_mutex_lock
	cmp	r5, #0
	beq	.L3
	mov	r0, r5
	add	r1, r4, #8
	bl	es_format_Copy
.L3:
	cmp	r6, #0
	beq	.L5
	mov	r2, #0
	ldr	r3, [r4, #4]
	str	r2, [r6]
	cmp	r3, r2
	bne	.L21
.L5:
	mov	r0, r4
	bl	vlc_mutex_unlock
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L21:
	bl	vlc_meta_New
	cmp	r0, #0
	str	r0, [r6]
	beq	.L5
	ldr	r1, [r4, #4]
	bl	vlc_meta_Merge
	b	.L5
.L23:
	.align	2
.L22:
	.word	memory_order_acquire
	.size	input_DecoderHasFormatChanged, .-input_DecoderHasFormatChanged
	.comm	memory_order_acquire,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
