	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_stream_props
_copy_stream_props:                     ## @copy_stream_props
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	24(%rdi), %rdi
	cmpq	$0, 16(%rdi)
	movq	24(%rsi), %rsi
	je	LBB0_8
LBB0_1:
	movq	(%rsi), %rdx
	cmpq	%rdx, (%rdi)
	jge	LBB0_6
## %bb.2:
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:
	addq	$8, %rdi
	callq	_av_freep
	movq	24(%r14), %rdi
	movq	$0, (%rdi)
	movq	24(%r15), %rax
	movq	(%rax), %rdx
LBB0_4:
	movq	%rdx, %rsi
	callq	_ff_alloc_extradata
	testl	%eax, %eax
	js	LBB0_12
## %bb.5:
	movq	24(%r14), %rdi
	movq	24(%r15), %rsi
	movq	(%rsi), %rdx
LBB0_6:
	movq	8(%rdi), %rdi
	movq	8(%rsi), %rsi
	callq	_memcpy
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_8:
	cmpq	$0, 16(%rsi)
	je	LBB0_1
## %bb.9:
	callq	_avcodec_parameters_copy
	testl	%eax, %eax
	js	LBB0_12
## %bb.10:
	movl	20(%r15), %eax
	movl	%eax, 20(%r14)
	movl	16(%r15), %eax
	movl	%eax, 16(%r14)
	movl	12(%r15), %eax
	movl	%eax, 12(%r14)
	movl	4(%r15), %ecx
	movl	8(%r15), %edx
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_avpriv_set_pts_info
	movl	(%r15), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_av_dict_copy
	jmp	LBB0_7
LBB0_12:
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_stream_props
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_stream_props
_copy_stream_props:                     ; @copy_stream_props
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #24]
	ldr	x8, [x0, #16]
	ldr	x1, [x1, #24]
	cbz	x8, LBB0_7
LBB0_1:
	ldr	x8, [x0]
	ldr	x2, [x1]
	cmp	x8, x2
	b.ge	LBB0_6
; %bb.2:
	mov	x8, x0
	ldr	x9, [x8, #8]!
	cbz	x9, LBB0_4
; %bb.3:
	mov	x0, x8
	bl	_av_freep
	ldr	x0, [x19, #24]
	str	xzr, [x0]
	ldr	x8, [x20, #24]
	ldr	x2, [x8]
LBB0_4:
	mov	x1, x2
	bl	_ff_alloc_extradata
	tbnz	w0, #31, LBB0_11
; %bb.5:
	ldr	x0, [x19, #24]
	ldr	x1, [x20, #24]
	ldr	x2, [x1]
LBB0_6:
	ldr	x0, [x0, #8]
	ldr	x1, [x1, #8]
	bl	_memcpy
	b	LBB0_10
LBB0_7:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_1
; %bb.8:
	bl	_avcodec_parameters_copy
	tbnz	w0, #31, LBB0_11
; %bb.9:
	ldr	w8, [x20, #20]
	str	w8, [x19, #20]
	ldur	d0, [x20, #12]
	stur	d0, [x19, #12]
	ldp	w3, w2, [x20, #4]
	mov	x0, x19
	mov	w1, #64
	bl	_avpriv_set_pts_info
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_av_dict_copy
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_stream_props
.subsections_via_symbols
