	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_packet_pack_dictionary      ## -- Begin function av_packet_pack_dictionary
	.p2align	4, 0x90
_av_packet_pack_dictionary:             ## @av_packet_pack_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, (%rsi)
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	xorl	%ecx, %ecx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r12
	movl	4(%rbx), %edi
	callq	_strlen
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_strlen
	movq	%rax, %r14
	movslq	(%r13), %rax
	leaq	(%r15,%r14), %rcx
	leaq	(%rax,%rcx), %r13
	addq	$2, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_av_realloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	ja	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movslq	(%r12), %rcx
	leaq	(%rax,%rcx,4), %rdi
	movl	4(%rbx), %esi
	leaq	1(%r15), %rdx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movslq	(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	leaq	(%rax,%r15,4), %rdi
	addq	$4, %rdi
	movl	(%rbx), %esi
	incq	%r14
	movq	%r14, %rdx
	callq	_memcpy
	movl	%r13d, (%r12)
	movq	%r12, %r13
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_8
LBB0_5:
	movq	%rax, %r12
LBB0_6:
	movq	%r12, -72(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_av_freep
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
LBB0_7:
	xorl	%ecx, %ecx
LBB0_8:
	movq	%rcx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
	.comm	_INT_MAX,8,3                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_packet_pack_dictionary      ; -- Begin function av_packet_pack_dictionary
	.p2align	2
_av_packet_pack_dictionary:             ; @av_packet_pack_dictionary
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	wzr, [x1]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x28, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh1:
	ldr	x28, [x28, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x28]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	mov	x23, #0
Lloh4:
	adrp	x22, _INT_MAX@GOTPAGE
Lloh5:
	ldr	x22, [x22, _INT_MAX@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x23
	ldr	w0, [x21, #4]
	bl	_strlen
	mov	x25, x0
	ldr	w0, [x21]
	bl	_strlen
	mov	x26, x0
	ldrsw	x8, [x19]
	add	x9, x25, x0
	add	x8, x9, x8
	add	x24, x8, #2
	mov	x0, x23
	mov	x1, x24
	bl	_av_realloc
	cbz	x0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	ldr	x8, [x22]
	cmp	x24, x8
	b.hi	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x19]
	add	x0, x23, x8, lsl #2
	ldr	w1, [x21, #4]
	add	x2, x25, #1
	bl	_memcpy
	ldrsw	x8, [x19]
	add	x8, x23, x8, lsl #2
	add	x8, x8, x25, lsl #2
	add	x0, x8, #4
	ldr	w1, [x21]
	add	x2, x26, #1
	bl	_memcpy
	str	w24, [x19]
	ldr	w3, [x28]
	mov	x0, x20
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_av_dict_get
	mov	x21, x0
	cbnz	x0, LBB0_3
	b	LBB0_9
LBB0_6:
	mov	x23, #0
	b	LBB0_9
LBB0_7:
	mov	x27, x23
LBB0_8:
	str	x27, [sp, #8]
	add	x0, sp, #8
	bl	_av_freep
	mov	x23, #0
	str	wzr, [x19]
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
	.comm	_INT_MAX,8,3                    ; @INT_MAX
.subsections_via_symbols
