	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_packet_unpack_dictionary    ## -- Begin function av_packet_unpack_dictionary
	.p2align	4, 0x90
_av_packet_unpack_dictionary:           ## @av_packet_unpack_dictionary
	.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
	xorl	%r15d, %r15d
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.3:
	movslq	%esi, %rax
	cmpq	$0, -8(%rbx,%rax,8)
	je	LBB0_4
LBB0_8:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%esi, %esi
	jle	LBB0_11
## %bb.5:
	leaq	(%rbx,%rax,8), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rbx,%rax,8), %r12
	addq	$8, %r12
	cmpq	%r13, %r12
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	cltq
	leaq	(%r12,%rax,8), %rbx
	addq	$8, %rbx
	cmpq	%r13, %rbx
	jb	LBB0_6
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_packet_unpack_dictionary    ; -- Begin function av_packet_unpack_dictionary
	.p2align	2
_av_packet_unpack_dictionary:           ; @av_packet_unpack_dictionary
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w21, #0
	cbz	w1, LBB0_5
; %bb.1:
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_5
; %bb.3:
	add	x23, x20, w1, sxtw #3
	ldur	x8, [x23, #-8]
	cbz	x8, LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	cmp	w1, #1
	b.lt	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strlen
	add	x8, x20, w0, sxtw #3
	add	x22, x8, #8
	cmp	x22, x23
	b.hs	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w3, #0
	bl	_av_dict_set
	mov	x21, x0
	tbnz	w0, #31, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_strlen
	add	x8, x22, w0, sxtw #3
	add	x20, x8, #8
	cmp	x20, x23
	b.lo	LBB0_7
	b	LBB0_5
LBB0_11:
	mov	w21, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
.subsections_via_symbols
