	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_codec
_find_codec:                            ## @find_codec
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	$0, -48(%rbp)
	callq	_remap_deprecated_codec_id
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_av_codec_iterate
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	*%r12
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r14d, (%rbx)
	jne	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_CODEC_CAP_EXPERIMENTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testq	%r13, %r13
	movq	%rbx, %r13
	je	LBB0_1
	jmp	LBB0_7
LBB0_2:
	movq	%r13, %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_CAP_EXPERIMENTAL,4,2  ## @AV_CODEC_CAP_EXPERIMENTAL
	.no_dead_strip	_find_codec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_codec
_find_codec:                            ; @find_codec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	str	xzr, [sp, #8]
	bl	_remap_deprecated_codec_id
	mov	x20, x0
	mov	x22, #0
Lloh0:
	adrp	x23, _AV_CODEC_CAP_EXPERIMENTAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AV_CODEC_CAP_EXPERIMENTAL@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_av_codec_iterate
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	blr	x19
	cbz	w0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21]
	cmp	w8, w20
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #4]
	ldr	w9, [x23]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	x22, #0, #0, ne
	mov	x22, x21
	b.eq	LBB0_1
	b	LBB0_6
LBB0_5:
	mov	x21, x22
LBB0_6:
	mov	x0, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_CAP_EXPERIMENTAL,4,2  ; @AV_CODEC_CAP_EXPERIMENTAL
	.no_dead_strip	_find_codec
.subsections_via_symbols
