	.file	"extr_record_ffmpeg.c_ffmpeg_init_muxer_post.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"RetroArch Video Dump"
.LC1:
	.string	"title"
	.text
	.p2align 4
	.type	ffmpeg_init_muxer_post, @function
ffmpeg_init_muxer_post:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	esi, DWORD PTR 56[rdi]
	mov	rdi, QWORD PTR [rdi]
	call	avformat_new_stream@PLT
	mov	rdx, QWORD PTR 48[rbx]
	cmp	QWORD PTR 40[rbx], 0
	mov	ecx, DWORD PTR [rdx]
	mov	QWORD PTR [rax], rdx
	mov	edx, DWORD PTR 4[rdx]
	mov	DWORD PTR 8[rax], ecx
	mov	QWORD PTR 16[rbx], rax
	mov	DWORD PTR 12[rax], edx
	jne	.L5
.L2:
	mov	rdi, QWORD PTR [rbx]
	xor	ecx, ecx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	call	av_dict_set@PLT
	mov	rdi, QWORD PTR [rbx]
	xor	esi, esi
	call	avformat_write_header@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	not	rax
	shr	rax, 63
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR 32[rbx]
	mov	rdi, QWORD PTR [rbx]
	call	avformat_new_stream@PLT
	mov	rdx, QWORD PTR 24[rbx]
	mov	QWORD PTR [rax], rdx
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR 8[rax], edx
	mov	QWORD PTR 8[rbx], rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ffmpeg_init_muxer_post, .-ffmpeg_init_muxer_post
	.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_record_ffmpeg.c_ffmpeg_init_muxer_post.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RetroArch Video Dump\000"
	.align	2
.LC1:
	.ascii	"title\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ffmpeg_init_muxer_post, %function
ffmpeg_init_muxer_post:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r1, [r0, #28]
	ldr	r0, [r0]
	bl	avformat_new_stream
	ldr	ip, [r4, #20]
	ldr	r3, [r4, #24]
	cmp	ip, #0
	ldm	r3, {r1, r2}
	str	r3, [r0]
	str	r1, [r0, #4]
	str	r0, [r4, #8]
	str	r2, [r0, #8]
	bne	.L8
.L2:
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, .L9+4
	ldr	r0, [r4]
	bl	av_dict_set
	mov	r1, #0
	ldr	r0, [r4]
	bl	avformat_write_header
	mvn	r0, r0
	lsr	r0, r0, #31
	pop	{r4, pc}
.L8:
	ldr	r1, [r4, #16]
	ldr	r0, [r4]
	bl	avformat_new_stream
	ldr	r3, [r4, #12]
	ldr	r2, [r3]
	str	r3, [r0]
	str	r2, [r0, #4]
	str	r0, [r4, #4]
	b	.L2
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.size	ffmpeg_init_muxer_post, .-ffmpeg_init_muxer_post
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
