	.file	"extr_stream_output.c_sout_InputNew.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"adding a new sout input for `%4.4s` (sout_input: %p)"
	.align 8
.LC1:
	.string	"new sout input failed (sout_input: %p)"
	.text
	.p2align 4
	.globl	sout_InputNew
	.type	sout_InputNew, @function
sout_InputNew:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	je	.L9
	mov	rbp, rdi
	mov	edi, 24
	mov	r13, rsi
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L9
	mov	QWORD PTR 16[rax], rbp
	mov	rcx, rax
	mov	rdx, r13
	mov	rdi, rbp
	mov	DWORD PTR [rax], 0
	lea	rsi, .LC0[rip]
	call	msg_Dbg@PLT
	mov	rdi, rbp
	call	vlc_mutex_lock@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, r13
	call	sout_StreamIdAdd@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[r12], rax
	call	vlc_mutex_unlock@PLT
	cmp	QWORD PTR 8[r12], 0
	je	.L11
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	call	msg_Warn@PLT
	mov	rdi, r12
	call	free@PLT
.L9:
	xor	r12d, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sout_InputNew, .-sout_InputNew
	.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_stream_output.c_sout_InputNew.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"adding a new sout input for `%4.4s` (sout_input: %p"
	.ascii	")\000"
	.align	2
.LC1:
	.ascii	"new sout input failed (sout_input: %p)\000"
	.text
	.align	2
	.global	sout_InputNew
	.syntax unified
	.arm
	.fpu softvfp
	.type	sout_InputNew, %function
sout_InputNew:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	beq	.L4
	mov	r5, r0
	mov	r0, #12
	mov	r6, r1
	bl	malloc
	subs	r4, r0, #0
	beq	.L4
	mov	r3, #0
	mov	r2, r6
	ldr	r1, .L11
	str	r3, [r4]
	mov	r0, r5
	mov	r3, r4
	str	r5, [r4, #8]
	bl	msg_Dbg
	mov	r0, r5
	bl	vlc_mutex_lock
	mov	r1, r6
	ldr	r0, [r5, #4]
	bl	sout_StreamIdAdd
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #4]
	bl	vlc_mutex_unlock
	ldr	r6, [r4, #4]
	cmp	r6, #0
	beq	.L10
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r2, r4
	ldr	r1, .L11+4
	mov	r0, r5
	bl	msg_Warn
	mov	r0, r4
	bl	free
	mov	r4, r6
	b	.L1
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.size	sout_InputNew, .-sout_InputNew
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
