	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_find2                   ## -- Begin function av_opt_find2
	.p2align	4, 0x90
_av_opt_find2:                          ## @av_opt_find2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.1:
	movq	%rdi, %r12
	movq	(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_25
## %bb.2:
	movq	%rsi, %r14
	movq	_AV_OPT_SEARCH_CHILDREN@GOTPCREL(%rip), %rax
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	testl	%r8d, (%rax)
	je	LBB0_12
## %bb.3:
	movq	_AV_OPT_SEARCH_FAKE_OBJ@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.4:
	movq	$0, -72(%rbp)
	movq	%r13, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	callq	_av_opt_child_class_next
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	-72(%rbp), %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_av_opt_find2
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %rsi
	movq	%r13, %rdi
	jmp	LBB0_5
LBB0_8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_av_opt_child_next
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_av_opt_find2
	testq	%rax, %rax
	je	LBB0_9
LBB0_11:
	movq	%rax, %r15
	jmp	LBB0_26
LBB0_12:
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_av_opt_next
	testq	%rax, %rax
	je	LBB0_26
## %bb.13:
	movq	_AV_OPT_TYPE_CONST@GOTPCREL(%rip), %rbx
	movq	%rax, %r15
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_22
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_av_opt_next
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_25
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r15), %eax
	notl	%eax
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%r15), %rax
	movq	(%rbx), %rcx
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_15
LBB0_22:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_26
## %bb.23:
	movq	_AV_OPT_SEARCH_FAKE_OBJ@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_28
## %bb.24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_26
LBB0_25:
	xorl	%r15d, %r15d
LBB0_26:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_OPT_SEARCH_CHILDREN,4,2     ## @AV_OPT_SEARCH_CHILDREN
	.comm	_AV_OPT_SEARCH_FAKE_OBJ,4,2     ## @AV_OPT_SEARCH_FAKE_OBJ
	.comm	_AV_OPT_TYPE_CONST,8,3          ## @AV_OPT_TYPE_CONST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_find2                   ; -- Begin function av_opt_find2
	.p2align	2
_av_opt_find2:                          ; @av_opt_find2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x26, [x0]
	cbz	x26, LBB0_8
; %bb.2:
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
Lloh0:
	adrp	x8, _AV_OPT_SEARCH_CHILDREN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_OPT_SEARCH_CHILDREN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w4
	b.eq	LBB0_14
; %bb.3:
Lloh3:
	adrp	x8, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.4:
	str	xzr, [sp, #8]
	mov	x0, x26
	mov	x1, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_av_opt_child_class_next
	str	x0, [sp, #8]
	cbz	x0, LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, #0
	bl	_av_opt_find2
	cbnz	x0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x26
	b	LBB0_5
LBB0_8:
	mov	x25, #0
LBB0_9:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	mov	x26, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_av_opt_child_next
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x26, x0
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	bl	_av_opt_find2
	cbz	x0, LBB0_11
LBB0_13:
	mov	x25, x0
	b	LBB0_9
LBB0_14:
	mov	x0, x20
	mov	x1, #0
	bl	_av_opt_next
	mov	x25, x0
	cbz	x0, LBB0_9
; %bb.15:
Lloh6:
	adrp	x26, _AV_OPT_TYPE_CONST@GOTPAGE
Lloh7:
	ldr	x26, [x26, _AV_OPT_TYPE_CONST@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	b.ne	LBB0_24
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_av_opt_next
	mov	x25, x0
	cbz	x0, LBB0_9
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25, #24]
	mov	x1, x24
	bl	_strcmp
	cbnz	w0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x25]
	bics	wzr, w22, w8
	b.ne	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x25, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	cbz	x23, LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	b.ne	LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x0, [x25, #16]
	cbz	x0, LBB0_17
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x1, x23
	bl	_strcmp
	cbnz	w0, LBB0_17
LBB0_24:
	cbz	x19, LBB0_9
; %bb.25:
Lloh8:
	adrp	x8, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_OPT_SEARCH_FAKE_OBJ@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_27
; %bb.26:
	str	xzr, [x19]
	b	LBB0_9
LBB0_27:
	str	x20, [x19]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_OPT_SEARCH_CHILDREN,4,2     ; @AV_OPT_SEARCH_CHILDREN
	.comm	_AV_OPT_SEARCH_FAKE_OBJ,4,2     ; @AV_OPT_SEARCH_FAKE_OBJ
	.comm	_AV_OPT_TYPE_CONST,8,3          ; @AV_OPT_TYPE_CONST
.subsections_via_symbols
