	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_copy                    ## -- Begin function av_opt_copy
	.p2align	4, 0x90
_av_opt_copy:                           ## @av_opt_copy
	.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
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rdi, %r14
	cmpq	(%rdi), %rax
	je	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_av_opt_next
	testq	%rax, %rax
	je	LBB0_29
## %bb.5:
	movq	%rax, %rbx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movl	%r14d, 8(%r13)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_av_opt_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_29
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rbx), %rax
	leaq	(%r14,%rax,4), %r13
	leaq	(%r15,%rax,4), %r12
	movq	8(%rbx), %rdi
	movq	_AV_OPT_TYPE_STRING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r13), %rdi
	cmpq	(%r12), %rdi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_av_freep
	movq	(%r12), %rdi
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_av_strdup
	movq	%rax, (%r13)
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%rax, %rax
	jne	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_AV_OPT_TYPE_BINARY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%r12), %r14d
	movq	(%r13), %rdi
	cmpq	(%r12), %rdi
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_av_freep
	movq	(%r12), %rdi
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r14d, %esi
	callq	_av_memdup
	movq	%rax, (%r13)
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%rax, %rax
	jne	LBB0_7
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_AV_OPT_TYPE_CONST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_8
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_AV_OPT_TYPE_DICT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r12), %rax
	cmpq	(%r13), %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_av_dict_free
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	$0, (%r13)
	movq	(%r12), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_av_dict_copy
	movq	(%r12), %rdi
	callq	_av_dict_count
	movq	%rax, %r14
	movq	(%r13), %rdi
	callq	_av_dict_count
	cmpq	%rax, %r14
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_8
	jmp	LBB0_14
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	callq	_opt_size
	testl	%eax, %eax
	js	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memcpy
	jmp	LBB0_8
LBB0_29:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_OPT_TYPE_STRING,8,3         ## @AV_OPT_TYPE_STRING
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_OPT_TYPE_BINARY,8,3         ## @AV_OPT_TYPE_BINARY
	.comm	_AV_OPT_TYPE_CONST,8,3          ## @AV_OPT_TYPE_CONST
	.comm	_AV_OPT_TYPE_DICT,8,3           ## @AV_OPT_TYPE_DICT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_copy                    ; -- Begin function av_opt_copy
	.p2align	2
_av_opt_copy:                           ; @av_opt_copy
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x20, x0
	ldr	x9, [x0]
	cmp	x8, x9
	b.eq	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_4:
	mov	x0, x19
	mov	x1, #0
	bl	_av_opt_next
	cbz	x0, LBB0_27
; %bb.5:
	mov	x21, x0
	mov	w22, #0
Lloh3:
	adrp	x26, _AV_OPT_TYPE_STRING@GOTPAGE
Lloh4:
	ldr	x26, [x26, _AV_OPT_TYPE_STRING@GOTPAGEOFF]
Lloh5:
	adrp	x27, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x27, [x27, _ENOMEM@GOTPAGEOFF]
Lloh7:
	adrp	x28, _AV_OPT_TYPE_BINARY@GOTPAGE
Lloh8:
	ldr	x28, [x28, _AV_OPT_TYPE_BINARY@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	w25, [x23, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_av_opt_next
	mov	x21, x0
	cbz	x0, LBB0_28
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x21]
	lsl	x8, x8, #2
	add	x23, x20, x8
	add	x24, x19, x8
	ldr	x0, [x21, #8]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x23]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_av_freep
	ldr	x0, [x24]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_av_strdup
	str	x0, [x23]
	ldr	x8, [x24]
	cmp	x8, #0
	ccmp	x0, #0, #0, ne
	b.ne	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x27]
	bl	_AVERROR
	mov	x22, x0
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w25, [x24, #8]
	ldr	x0, [x23]
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_av_freep
	ldr	x0, [x24]
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x25
	bl	_av_memdup
	str	x0, [x23]
	cbz	w25, LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x0, LBB0_6
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x27]
	bl	_AVERROR
	mov	x22, x0
	mov	w25, #0
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh9:
	adrp	x8, _AV_OPT_TYPE_CONST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_OPT_TYPE_CONST@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh12:
	adrp	x8, _AV_OPT_TYPE_DICT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_OPT_TYPE_DICT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_av_dict_free
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	str	xzr, [x23]
	ldr	x1, [x24]
	mov	x0, x23
	mov	w2, #0
	bl	_av_dict_copy
	ldr	x0, [x24]
	bl	_av_dict_count
	mov	x24, x0
	ldr	x0, [x23]
	bl	_av_dict_count
	cmp	x24, x0
	b.eq	LBB0_7
	b	LBB0_12
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_opt_size
	mov	x2, x0
	tbnz	w0, #31, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_memcpy
	b	LBB0_7
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x22, x2
	b	LBB0_7
LBB0_27:
	mov	w22, #0
LBB0_28:
	mov	x0, x22
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_OPT_TYPE_STRING,8,3         ; @AV_OPT_TYPE_STRING
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_OPT_TYPE_BINARY,8,3         ; @AV_OPT_TYPE_BINARY
	.comm	_AV_OPT_TYPE_CONST,8,3          ; @AV_OPT_TYPE_CONST
	.comm	_AV_OPT_TYPE_DICT,8,3           ; @AV_OPT_TYPE_DICT
.subsections_via_symbols
