	.file	"extr_movenc.c_mov_write_chan_tag.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"not writing 'chan' tag due to lack of channel information\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"chan"
	.text
	.p2align 4
	.type	mov_write_chan_tag, @function
mov_write_chan_tag:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	mov	rdi, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	avio_tell@PLT
	lea	rdx, 4[rsp]
	mov	r13d, eax
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR 4[rax]
	mov	esi, DWORD PTR [rax]
	call	ff_mov_get_channel_layout_tag@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
	cmp	QWORD PTR [rbx], 0
	je	.L9
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, rbp
	call	avio_wb32@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	ffio_wfourcc@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	avio_w8@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	avio_wb24@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	avio_wb32@PLT
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	avio_wb32@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	avio_wb32@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	update_size@PLT
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR AV_LOG_WARNING[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r14
	call	av_log@PLT
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mov_write_chan_tag, .-mov_write_chan_tag
	.comm	AV_LOG_WARNING,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_movenc.c_mov_write_chan_tag.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"not writing 'chan' tag due to lack of channel infor"
	.ascii	"mation\012\000"
	.align	2
.LC1:
	.ascii	"chan\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mov_write_chan_tag, %function
mov_write_chan_tag:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L11
	mov	r6, r2
	sub	sp, sp, #8
	mov	r8, r0
	mov	r0, r1
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	avio_tell
	ldr	ip, [r6, #4]
	mov	r7, r0
	mov	r2, sp
	ldr	r1, [ip]
	ldr	r0, [ip, #4]
	bl	ff_mov_get_channel_layout_tag
	subs	r5, r0, #0
	beq	.L8
	ldr	r6, [r6]
	cmp	r6, #0
	movne	r5, #0
	beq	.L9
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r1, r6
	mov	r0, r4
	bl	avio_wb32
	ldr	r1, .L11+4
	mov	r0, r4
	bl	ffio_wfourcc
	mov	r1, r6
	mov	r0, r4
	bl	avio_w8
	mov	r1, r6
	mov	r0, r4
	bl	avio_wb24
	mov	r1, r5
	mov	r0, r4
	bl	avio_wb32
	ldr	r1, [sp]
	mov	r0, r4
	bl	avio_wb32
	mov	r1, r6
	mov	r0, r4
	bl	avio_wb32
	mov	r1, r7
	mov	r0, r4
	bl	update_size
	mov	r5, r0
	b	.L1
.L8:
	ldr	r3, .L11+8
	mov	r0, r8
	ldr	r1, [r3]
	ldr	r2, .L11+12
	bl	av_log
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	.LC1
	.word	AV_LOG_WARNING
	.word	.LC0
	.size	mov_write_chan_tag, .-mov_write_chan_tag
	.comm	AV_LOG_WARNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
