	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function force_one_stream
_force_one_stream:                      ## @force_one_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$1, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	_AV_CODEC_ID_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_5
## %bb.3:
	movq	16(%rdi), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_4
LBB0_5:
	cmpq	%rcx, 8(%rax)
	je	LBB0_9
## %bb.6:
	movq	16(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rdi), %rax
	movl	16(%rax), %ecx
	leaq	L_.str(%rip), %rdx
LBB0_8:
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	16(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_8
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	16(%rax), %ecx
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s files have exactly one stream\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_CODEC_ID_NONE,8,3           ## @AV_CODEC_ID_NONE
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
L_.str.1:                               ## @.str.1
	.asciz	"%s files have exactly one audio stream\n"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
L_.str.2:                               ## @.str.2
	.asciz	"%s files have exactly one video stream\n"

	.no_dead_strip	_force_one_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function force_one_stream
_force_one_stream:                      ; @force_one_stream
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x10, [x8]
Lloh0:
	adrp	x9, _AV_CODEC_ID_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x10, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x10, [x0, #16]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_8
LBB0_3:
	ldr	x10, [x8, #8]
	cmp	x10, x9
	b.eq	LBB0_5
; %bb.4:
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh9:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	x8, [x0, #8]
	ldr	w3, [x8, #16]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
LBB0_7:
	bl	_av_log
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_8:
Lloh17:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	ldr	w3, [x8, #16]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_9:
Lloh22:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
	ldr	w3, [x8, #16]
Lloh25:
	adrp	x2, l_.str.2@PAGE
Lloh26:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s files have exactly one stream\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_CODEC_ID_NONE,8,3           ; @AV_CODEC_ID_NONE
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
l_.str.1:                               ; @.str.1
	.asciz	"%s files have exactly one audio stream\n"

	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
l_.str.2:                               ; @.str.2
	.asciz	"%s files have exactly one video stream\n"

	.no_dead_strip	_force_one_stream
.subsections_via_symbols
