	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_parse_fmtp                  ## -- Begin function ff_parse_fmtp
	.p2align	4, 0x90
_ff_parse_fmtp:                         ## @ff_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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -336(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -328(%rbp)                ## 8-byte Spill
	movq	%rsi, -320(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rcx, -312(%rbp)
	movq	%rcx, %rdi
	callq	_strlen
	movl	%eax, %ebx
	incl	%ebx
	movl	%ebx, %edi
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movb	(%r15), %al
	cmpb	$32, %al
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%r15), %eax
	incq	%r15
	cmpb	$32, %al
	je	LBB0_7
## %bb.8:
	movq	%r15, -312(%rbp)
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -312(%rbp)
	movzbl	(%r15), %eax
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r15
	testb	%al, %al
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$32, %al
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, -312(%rbp)
	cmpb	$32, (%r15)
	leaq	1(%r15), %r15
	je	LBB0_9
LBB0_10:
	movq	%r12, %r15
	leaq	-304(%rbp), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	-312(%rbp), %rdi
	movq	%r12, %rsi
	movl	$256, %edx                      ## imm = 0x100
	movq	%r14, %rcx
	movl	%ebx, %r8d
	callq	_ff_rtsp_next_attr_and_value
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	movq	-320(%rbp), %rsi                ## 8-byte Reload
	movq	-328(%rbp), %rdx                ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	*-336(%rbp)                     ## 8-byte Folded Reload
	testl	%eax, %eax
	jns	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %r13d
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_11
## %bb.14:
	movq	%r14, %rdi
	callq	_av_free
	jmp	LBB0_16
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.6:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_15:
	movq	%r14, %rdi
	callq	_av_free
	xorl	%r13d, %r13d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r13d, %eax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate data for FMTP.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_parse_fmtp                  ; -- Begin function ff_parse_fmtp
	.p2align	2
_ff_parse_fmtp:                         ; @ff_parse_fmtp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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, x4
	mov	x25, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	str	x3, [sp]
	mov	x0, x3
	bl	_strlen
	add	w24, w0, #1
	mov	x0, x24
	bl	_av_malloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x23, x0
	ldrb	w8, [x25]
	cmp	w8, #32
	b.ne	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x25, #1]!
	cmp	w8, #32
	b.eq	LBB0_2
; %bb.3:
	str	x25, [sp]
LBB0_4:
	add	x9, x25, #1
	cbz	w8, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #32
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [sp]
	ldrb	w8, [x9], #1
	cbnz	w8, LBB0_5
	b	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [sp]
	ldrb	w8, [x9], #1
	cmp	w8, #32
	b.eq	LBB0_7
LBB0_8:
Lloh3:
	adrp	x26, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh4:
	ldr	x26, [x26, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	add	x1, sp, #8
	mov	w2, #256
	mov	x3, x23
	mov	x4, x24
	bl	_ff_rtsp_next_attr_and_value
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x4, x23
	blr	x20
	tbz	w0, #31, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x0
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.12:
	mov	x0, x23
	bl	_av_free
	b	LBB0_16
LBB0_13:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.14:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	b	_AVERROR
LBB0_15:
	mov	x0, x23
	bl	_av_free
	mov	w25, #0
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x25
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate data for FMTP.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
.subsections_via_symbols
