	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_serialize               ## -- Begin function av_opt_serialize
	.p2align	4, 0x90
_av_opt_serialize:                      ## @av_opt_serialize
	.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	%rdi, %r13
	movb	%r8b, -46(%rbp)
	movb	%r9b, -45(%rbp)
	movb	%r9b, -49(%rbp)
	movb	%r8b, -48(%rbp)
	movb	$0, -47(%rbp)
	testb	%r8b, %r8b
	je	LBB0_5
## %bb.1:
	testb	%r9b, %r9b
	je	LBB0_5
## %bb.2:
	cmpb	$92, %r8b
	je	LBB0_5
## %bb.3:
	cmpb	%r8b, %r9b
	je	LBB0_5
## %bb.4:
	cmpb	$92, %r9b
	je	LBB0_5
## %bb.7:
	testq	%r13, %r13
	je	LBB0_6
## %bb.8:
	movq	%rcx, %r14
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.9:
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	$0, (%r14)
	movq	_AV_BPRINT_SIZE_UNLIMITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	movl	$64, %esi
	callq	_av_bprint_init
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_av_opt_next
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %rbx
	jmp	LBB0_11
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_av_opt_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	_AV_OPT_TYPE_CONST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	8(%rbx), %eax
	movq	_AV_OPT_SERIALIZE_OPT_FLAGS_EXACT@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%r12d, %eax
	movl	%r12d, %eax
	jne	LBB0_12
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	notl	%eax
	testl	%eax, %r12d
	jne	LBB0_12
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_AV_OPT_SERIALIZE_SKIP_DEFAULTS@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_av_opt_is_set_to_default
	testq	%rax, %rax
	jg	LBB0_12
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	leaq	-72(%rbp), %rcx
	callq	_av_opt_get
	testl	%eax, %eax
	js	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, -72(%rbp)
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	leaq	-44(%rbp), %rdx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-44(%rbp), %rdi
	leaq	-45(%rbp), %rsi
	movl	$1, %edx
	callq	_av_bprint_append_data
	leaq	-44(%rbp), %rdx
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rsi
	movq	_AV_ESCAPE_MODE_BACKSLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdx, %rdi
	leaq	-49(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_av_bprint_escape
	leaq	-44(%rbp), %rdi
	leaq	-46(%rbp), %rsi
	movl	$1, %edx
	callq	_av_bprint_append_data
	movq	-72(%rbp), %rsi
	movq	_AV_ESCAPE_MODE_BACKSLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %rdi
	leaq	-49(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_av_bprint_escape
	leaq	-72(%rbp), %rdi
	callq	_av_freep
	jmp	LBB0_12
LBB0_13:
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
	callq	_av_bprint_finalize
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	%eax, %r14d
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid separator(s) found."

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ## @AV_BPRINT_SIZE_UNLIMITED
	.comm	_AV_OPT_TYPE_CONST,8,3          ## @AV_OPT_TYPE_CONST
	.comm	_AV_OPT_SERIALIZE_OPT_FLAGS_EXACT,4,2 ## @AV_OPT_SERIALIZE_OPT_FLAGS_EXACT
	.comm	_AV_OPT_SERIALIZE_SKIP_DEFAULTS,4,2 ## @AV_OPT_SERIALIZE_SKIP_DEFAULTS
	.comm	_AV_ESCAPE_MODE_BACKSLASH,4,2   ## @AV_ESCAPE_MODE_BACKSLASH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_opt_serialize               ; -- Begin function av_opt_serialize
	.p2align	2
_av_opt_serialize:                      ; @av_opt_serialize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x0
	strb	w4, [sp, #31]
	strb	w5, [sp, #30]
	strb	w5, [sp, #9]
	strb	w4, [sp, #10]
	strb	wzr, [sp, #11]
	cbz	w4, LBB0_9
; %bb.1:
	cbz	w5, LBB0_9
; %bb.2:
	cmp	w4, #92
	b.eq	LBB0_9
; %bb.3:
	cmp	w5, w4
	b.eq	LBB0_9
; %bb.4:
	cmp	w5, #92
	b.eq	LBB0_9
; %bb.5:
	cbz	x20, LBB0_10
; %bb.6:
	mov	x19, x3
	cbz	x3, LBB0_10
; %bb.7:
	mov	x21, x2
	mov	x22, x1
	str	xzr, [x19]
Lloh0:
	adrp	x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	w1, #64
	bl	_av_bprint_init
	mov	x0, x20
	mov	x1, #0
	bl	_av_opt_next
	cbz	x0, LBB0_25
; %bb.8:
	mov	x23, x0
	mov	w25, #0
Lloh3:
	adrp	x26, _AV_OPT_TYPE_CONST@GOTPAGE
Lloh4:
	ldr	x26, [x26, _AV_OPT_TYPE_CONST@GOTPAGEOFF]
Lloh5:
	adrp	x27, _AV_OPT_SERIALIZE_OPT_FLAGS_EXACT@GOTPAGE
Lloh6:
	ldr	x27, [x27, _AV_OPT_SERIALIZE_OPT_FLAGS_EXACT@GOTPAGEOFF]
Lloh7:
	adrp	x28, _AV_OPT_SERIALIZE_SKIP_DEFAULTS@GOTPAGE
Lloh8:
	ldr	x28, [x28, _AV_OPT_SERIALIZE_SKIP_DEFAULTS@GOTPAGEOFF]
Lloh9:
	adrp	x24, _AV_ESCAPE_MODE_BACKSLASH@GOTPAGE
Lloh10:
	ldr	x24, [x24, _AV_ESCAPE_MODE_BACKSLASH@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_log
LBB0_10:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_AVERROR
LBB0_11:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x25, x28
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh19:
	adrp	x28, _AV_OPT_SERIALIZE_SKIP_DEFAULTS@GOTPAGE
Lloh20:
	ldr	x28, [x28, _AV_OPT_SERIALIZE_SKIP_DEFAULTS@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_av_opt_next
	mov	x23, x0
	cbz	x0, LBB0_25
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x27]
	ldr	w8, [x23, #8]
	tst	w9, w21
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	cmp	w8, w22
	mov	x8, x22
	b.ne	LBB0_13
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	bics	wzr, w22, w8
	b.ne	LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x28]
	tst	w8, w21
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_av_opt_is_set_to_default
	cmp	x0, #0
	b.gt	LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x28, x25
	mov	x25, x24
	ldr	x1, [x23, #16]
	add	x3, sp, #16
	mov	x0, x20
	mov	w2, #0
	bl	_av_opt_get
	tbnz	w0, #31, LBB0_27
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [sp, #16]
	mov	x24, x25
	cbz	x8, LBB0_11
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x25, x28
	cbz	w28, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #12
	add	x1, sp, #30
	mov	w2, #1
	bl	_av_bprint_append_data
LBB0_24:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w25, w25, #1
	ldr	x1, [x23, #16]
	ldr	w3, [x24]
	add	x0, sp, #12
	add	x2, sp, #9
	mov	w4, #0
	bl	_av_bprint_escape
	add	x0, sp, #12
	add	x1, sp, #31
	mov	w2, #1
	bl	_av_bprint_append_data
	ldr	x1, [sp, #16]
	ldr	w3, [x24]
	add	x0, sp, #12
	add	x2, sp, #9
	mov	w4, #0
	bl	_av_bprint_escape
	add	x0, sp, #16
	bl	_av_freep
	b	LBB0_12
LBB0_25:
	add	x0, sp, #12
	mov	x1, x19
	bl	_av_bprint_finalize
	mov	w24, #0
LBB0_26:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_27:
	mov	x24, x0
	add	x0, sp, #12
	mov	x1, #0
	bl	_av_bprint_finalize
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid separator(s) found."

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ; @AV_BPRINT_SIZE_UNLIMITED
	.comm	_AV_OPT_TYPE_CONST,8,3          ; @AV_OPT_TYPE_CONST
	.comm	_AV_OPT_SERIALIZE_OPT_FLAGS_EXACT,4,2 ; @AV_OPT_SERIALIZE_OPT_FLAGS_EXACT
	.comm	_AV_OPT_SERIALIZE_SKIP_DEFAULTS,4,2 ; @AV_OPT_SERIALIZE_SKIP_DEFAULTS
	.comm	_AV_ESCAPE_MODE_BACKSLASH,4,2   ; @AV_ESCAPE_MODE_BACKSLASH
.subsections_via_symbols
