	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_write_chained               ## -- Begin function ff_write_chained
	.p2align	4, 0x90
_ff_write_chained:                      ## @ff_write_chained
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movups	(%rdx), %xmm0
	movaps	%xmm0, -48(%rbp)
	movl	%esi, -48(%rbp)
	movq	(%rcx), %rax
	movslq	(%rdx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	movslq	%esi, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx), %edx
	leaq	-48(%rbp), %rdi
	movl	%eax, %esi
	callq	_av_packet_rescale_ts
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	callq	_av_interleaved_write_frame
	jmp	LBB0_3
LBB0_2:
	callq	_av_write_frame
LBB0_3:
	movl	-36(%rbp), %ecx
	movl	%ecx, 12(%rbx)
	movl	-40(%rbp), %ecx
	movl	%ecx, 8(%rbx)
	movl	-44(%rbp), %ecx
	movl	%ecx, 4(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_write_chained               ; -- Begin function ff_write_chained
	.p2align	2
_ff_write_chained:                      ; @ff_write_chained
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x4
	mov	x19, x2
	mov	x20, x0
	ldr	q0, [x2]
	str	q0, [sp]
	str	w1, [sp]
	ldr	x8, [x3]
	ldrsw	x9, [x2]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	x9, [x9, w1, sxtw #3]
	ldr	w2, [x9]
	mov	x0, sp
	mov	x1, x8
	bl	_av_packet_rescale_ts
	mov	x1, sp
	mov	x0, x20
	cbz	w21, LBB0_2
; %bb.1:
	bl	_av_interleaved_write_frame
	b	LBB0_3
LBB0_2:
	bl	_av_write_frame
LBB0_3:
	ldr	w8, [sp, #12]
	str	w8, [x19, #12]
	ldur	d0, [sp, #4]
	stur	d0, [x19, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
