	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function can_merge_formats
_can_merge_formats:                     ## @can_merge_formats
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	callq	_clone_filter_formats
	movq	%rax, %r13
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_clone_filter_formats
	movq	%rax, %r14
	movq	%rax, -48(%rbp)
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	testq	%r14, %r14
	je	LBB0_4
## %bb.7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:
	callq	_ff_merge_samplerates
	jmp	LBB0_10
LBB0_1:
	movl	$1, %ebx
	jmp	LBB0_16
LBB0_4:
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_av_freep
LBB0_6:
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_14
LBB0_9:
	movl	%r15d, %edx
	callq	_ff_merge_formats
LBB0_10:
	movq	%rax, %rbx
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_av_freep
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_av_freep
	movl	$1, %ebx
	leaq	-64(%rbp), %rdi
	jmp	LBB0_15
LBB0_12:
	movq	%r13, %rdi
	callq	_av_freep
LBB0_13:
	movq	%r14, %rdi
	callq	_av_freep
LBB0_14:
	leaq	-56(%rbp), %rdi
	callq	_av_freep
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rdi
LBB0_15:
	callq	_av_freep
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_can_merge_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function can_merge_formats
_can_merge_formats:                     ; @can_merge_formats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	x0, x1
	b.eq	LBB0_5
; %bb.1:
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	bl	_clone_filter_formats
	mov	x20, x0
	str	x0, [sp, #24]
	mov	x0, x19
	bl	_clone_filter_formats
	mov	x19, x0
	str	x0, [sp, #16]
	cbz	x20, LBB0_6
; %bb.2:
	cbz	x19, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	cbz	w22, LBB0_9
; %bb.4:
	bl	_ff_merge_samplerates
	b	LBB0_10
LBB0_5:
	mov	w19, #1
	b	LBB0_16
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_av_freep
LBB0_8:
	cbnz	x19, LBB0_13
	b	LBB0_14
LBB0_9:
	mov	x2, x21
	bl	_ff_merge_formats
LBB0_10:
	mov	x21, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x21
	bl	_av_freep
	add	x0, x21, #8
	bl	_av_freep
	mov	w19, #1
	add	x0, sp, #8
	b	LBB0_15
LBB0_12:
	mov	x0, x20
	bl	_av_freep
LBB0_13:
	mov	x0, x19
	bl	_av_freep
LBB0_14:
	add	x0, sp, #24
	bl	_av_freep
	mov	w19, #0
	add	x0, sp, #16
LBB0_15:
	bl	_av_freep
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_can_merge_formats
.subsections_via_symbols
