	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_fmtp
_parse_fmtp:                            ## @parse_fmtp
	.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	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_parse_fmtp_config
	testl	%eax, %eax
	js	LBB0_20
LBB0_2:
	movq	(%rbx), %rcx
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_20
## %bb.3:
	movq	_attr_names@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	32(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movq	(%rbx), %rax
	movq	72(%rax,%r14), %rsi
	addq	$40, %r14
	testq	%rsi, %rsi
	je	LBB0_19
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	jne	LBB0_18
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r14), %rax
	movq	_ATTR_NAME_TYPE_INT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, -64(%rbp)
	movq	%r15, %rdi
	leaq	-64(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoll
	movq	-64(%rbp), %rcx
	cmpq	%r15, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%rcx)
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rcx
	movq	16(%rcx,%r14), %r8
	cmpq	%r8, %rax
	jl	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	24(%rcx,%r14), %rax
	jg	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movslq	8(%rcx,%r14), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx)
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_ATTR_NAME_TYPE_STR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_av_strdup
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rcx
	movslq	8(%rcx,%r14), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx)
	jmp	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_13
LBB0_12:
	movl	%r12d, %edx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	leaq	(%rdx,%rdx,4), %rdx
	movq	24(%rcx,%rdx,8), %r9
	movq	%rax, (%rsp)
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_av_log
LBB0_13:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"config"

	.comm	_AV_CODEC_ID_AAC,8,3            ## @AV_CODEC_ID_AAC
	.comm	_attr_names,8,3                 ## @attr_names
	.comm	_ATTR_NAME_TYPE_INT,8,3         ## @ATTR_NAME_TYPE_INT
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"The %s field value is not a valid number: %s\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.2:                               ## @.str.2
	.asciz	"fmtp field %s should be in range [%d,%d] (provided value: %lld)"

	.comm	_ATTR_NAME_TYPE_STR,8,3         ## @ATTR_NAME_TYPE_STR
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_parse_fmtp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_fmtp
_parse_fmtp:                            ; @parse_fmtp
	.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	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	ldr	x23, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x3
	bl	_strcmp
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x21
	bl	_parse_fmtp_config
	tbnz	w0, #31, LBB0_17
LBB0_2:
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _AV_CODEC_ID_AAC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.3:
Lloh5:
	adrp	x23, _attr_names@GOTPAGE
Lloh6:
	ldr	x23, [x23, _attr_names@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x1, [x8, #32]
	cbz	x1, LBB0_16
; %bb.4:
	mov	x25, #0
	mov	x24, #0
Lloh7:
	adrp	x26, _ATTR_NAME_TYPE_INT@GOTPAGE
Lloh8:
	ldr	x26, [x26, _ATTR_NAME_TYPE_INT@GOTPAGEOFF]
Lloh9:
	adrp	x27, _ATTR_NAME_TYPE_STR@GOTPAGE
Lloh10:
	ldr	x27, [x27, _ATTR_NAME_TYPE_STR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldr	x8, [x23]
	add	x8, x8, x25
	ldr	x1, [x8, #72]
	add	x25, x25, #40
	cbz	x1, LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_av_strcasecmp
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [sp, #24]
	add	x1, sp, #24
	mov	x0, x21
	mov	w2, #10
	bl	_strtoll
	ldr	x8, [sp, #24]
	cmp	x8, x21
	b.eq	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x8]
	cbnz	w8, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x23]
	add	x10, x9, x25
	ldr	x8, [x10, #16]
	cmp	x0, x8
	b.lt	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x10, [x10, #24]
	cmp	x0, x10
	b.gt	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x9, x25
	ldrsw	x8, [x8, #8]
	str	w0, [x22, x8]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_av_strdup
	cbz	x0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
	add	x8, x8, x25
	ldrsw	x8, [x8, #8]
	str	x0, [x22, x8]
	b	LBB0_5
LBB0_16:
	mov	w0, #0
LBB0_17:
	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_18:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	str	x21, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_19:
	and	x10, x24, #0xffffffff
Lloh16:
	adrp	x11, _AV_LOG_ERROR@GOTPAGE
Lloh17:
	ldr	x11, [x11, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x11]
	mov	w11, #40
	madd	x9, x10, x11, x9
	ldr	x9, [x9, #24]
	stp	x9, x0, [sp, #8]
	str	x8, [sp]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_20:
	mov	x0, x20
	mov	x3, x19
	bl	_av_log
Lloh21:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_21:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"config"

	.comm	_AV_CODEC_ID_AAC,8,3            ; @AV_CODEC_ID_AAC
	.comm	_attr_names,8,3                 ; @attr_names
	.comm	_ATTR_NAME_TYPE_INT,8,3         ; @ATTR_NAME_TYPE_INT
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"The %s field value is not a valid number: %s\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.2:                               ; @.str.2
	.asciz	"fmtp field %s should be in range [%d,%d] (provided value: %lld)"

	.comm	_ATTR_NAME_TYPE_STR,8,3         ; @ATTR_NAME_TYPE_STR
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_parse_fmtp
.subsections_via_symbols
