	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_set_dict_val            ## -- Begin function av_opt_set_dict_val
	.p2align	4, 0x90
_av_opt_set_dict_val:                   ## @av_opt_set_dict_val
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r8d
	movq	%rdx, %r14
	leaq	-32(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_opt_find2
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	-32(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	_AV_OPT_FLAG_READONLY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_2:
	movq	_AVERROR_OPTION_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movslq	4(%rax), %rax
	leaq	(%rcx,%rax,4), %r15
	movq	%r15, %rdi
	callq	_av_dict_free
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_av_dict_copy
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_OPTION_NOT_FOUND,4,2   ## @AVERROR_OPTION_NOT_FOUND
	.comm	_AV_OPT_FLAG_READONLY,4,2       ## @AV_OPT_FLAG_READONLY
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_set_dict_val            ; -- Begin function av_opt_set_dict_val
	.p2align	2
_av_opt_set_dict_val:                   ; @av_opt_set_dict_val
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x3
	mov	x19, x2
	add	x5, sp, #8
	mov	x2, #0
	mov	w3, #0
	bl	_av_opt_find2
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _AV_OPT_FLAG_READONLY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AV_OPT_FLAG_READONLY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _AVERROR_OPTION_NOT_FOUND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVERROR_OPTION_NOT_FOUND@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldrsw	x9, [x0, #4]
	add	x20, x8, x9, lsl #2
	mov	x0, x20
	bl	_av_dict_free
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_av_dict_copy
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_OPTION_NOT_FOUND,4,2   ; @AVERROR_OPTION_NOT_FOUND
	.comm	_AV_OPT_FLAG_READONLY,4,2       ; @AV_OPT_FLAG_READONLY
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
