	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xiph_parse_fmtp_pair
_xiph_parse_fmtp_pair:                  ## @xiph_parse_fmtp_pair
	.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
	movq	%r8, %r13
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	(%rsi), %r15
	leaq	L_.str(%rip), %rsi
	movq	%rcx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.3:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.6:
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	leal	(%rcx,%rcx,2), %eax
	addl	$4, %eax
	movslq	%eax, %rbx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jae	LBB0_21
## %bb.7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_25
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.11:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_20
LBB0_12:
	movq	%r13, %rdi
	callq	_atoi
	movq	%rax, 8(%r15)
	jmp	LBB0_19
LBB0_13:
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_20
LBB0_14:
	movq	%r13, %rdi
	callq	_atoi
	movq	%rax, (%r15)
	jmp	LBB0_19
LBB0_15:
	movq	_AV_PIX_FMT_YUV420P@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_AV_PIX_FMT_YUV422P@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_AV_PIX_FMT_YUV444P@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	%rbx, %rdi
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%rax, %r13
	movq	%rbx, %rdx
	callq	_av_base64_decode
	cltq
	leaq	(,%rax,4), %rdx
	addq	%r13, %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_parse_packed_headers
	jmp	LBB0_24
LBB0_23:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_24:
	movl	%eax, %ebx
LBB0_25:
	movq	%r13, %rdi
	callq	_av_free
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sampling"

L_.str.1:                               ## @.str.1
	.asciz	"YCbCr-4:2:0"

	.comm	_AV_PIX_FMT_YUV420P,4,2         ## @AV_PIX_FMT_YUV420P
L_.str.2:                               ## @.str.2
	.asciz	"YCbCr-4:4:2"

	.comm	_AV_PIX_FMT_YUV422P,4,2         ## @AV_PIX_FMT_YUV422P
L_.str.3:                               ## @.str.3
	.asciz	"YCbCr-4:4:4"

	.comm	_AV_PIX_FMT_YUV444P,4,2         ## @AV_PIX_FMT_YUV444P
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.4:                               ## @.str.4
	.asciz	"Unsupported pixel format %s\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.5:                               ## @.str.5
	.asciz	"width"

L_.str.6:                               ## @.str.6
	.asciz	"height"

L_.str.7:                               ## @.str.7
	.asciz	"delivery-method"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
L_.str.8:                               ## @.str.8
	.asciz	"configuration-uri"

L_.str.9:                               ## @.str.9
	.asciz	"configuration"

	.comm	_INT_MAX,8,3                    ## @INT_MAX
L_.str.10:                              ## @.str.10
	.asciz	"Out of memory while decoding SDP configuration.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.11:                              ## @.str.11
	.asciz	"Packet too large\n"

	.no_dead_strip	_xiph_parse_fmtp_pair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xiph_parse_fmtp_pair
_xiph_parse_fmtp_pair:                  ; @xiph_parse_fmtp_pair
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x4
	mov	x23, x3
	mov	x22, x2
	mov	x20, x0
	ldr	x19, [x1]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x3
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.5@PAGE
Lloh3:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.2:
Lloh4:
	adrp	x1, l_.str.6@PAGE
Lloh5:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.3:
Lloh6:
	adrp	x1, l_.str.7@PAGE
Lloh7:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.4:
Lloh8:
	adrp	x1, l_.str.8@PAGE
Lloh9:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.5:
Lloh10:
	adrp	x1, l_.str.9@PAGE
Lloh11:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x23
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.6:
	mov	w20, #0
	b	LBB0_18
LBB0_7:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.8:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.9:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.10:
Lloh18:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	str	x23, [sp]
Lloh21:
	adrp	x2, l_.str.4@PAGE
Lloh22:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_av_log
Lloh23:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	b	LBB0_18
LBB0_11:
	mov	x0, x21
	bl	_atoi
	mov	w20, #0
	str	x0, [x19, #8]
	b	LBB0_18
LBB0_12:
Lloh26:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
	b	LBB0_18
LBB0_13:
	mov	x0, x21
	bl	_atoi
	mov	w20, #0
	str	x0, [x19]
	b	LBB0_18
LBB0_14:
	mov	w20, #0
Lloh29:
	adrp	x8, _AV_PIX_FMT_YUV420P@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_PIX_FMT_YUV420P@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
	mov	w20, #0
Lloh31:
	adrp	x8, _AV_PIX_FMT_YUV422P@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_PIX_FMT_YUV422P@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
	mov	w20, #0
Lloh33:
	adrp	x8, _AV_PIX_FMT_YUV444P@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_PIX_FMT_YUV444P@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
	mov	x0, x21
	bl	_strlen
	add	w8, w0, #3
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w8, w8, #2
	add	w8, w8, w8, lsl #1
	add	w8, w8, #4
	sxtw	x24, w8
Lloh35:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh36:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x8, x24
	b.hs	LBB0_21
; %bb.20:
Lloh38:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x2, l_.str.11@PAGE
Lloh42:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_av_log
	mov	x23, #0
Lloh43:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh45:
	ldr	w20, [x8]
	b	LBB0_25
LBB0_21:
	mov	x0, x24
	bl	_av_malloc
	mov	x23, x0
	cbz	x0, LBB0_23
; %bb.22:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	bl	_av_base64_decode
	add	x2, x23, w0, sxtw #2
	mov	x0, x20
	mov	x1, x23
	mov	x3, x19
	mov	x4, x22
	bl	_parse_packed_headers
	b	LBB0_24
LBB0_23:
Lloh46:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x2, l_.str.10@PAGE
Lloh50:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_av_log
Lloh51:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_24:
	mov	x20, x0
LBB0_25:
	mov	x0, x23
	bl	_av_free
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sampling"

l_.str.1:                               ; @.str.1
	.asciz	"YCbCr-4:2:0"

	.comm	_AV_PIX_FMT_YUV420P,4,2         ; @AV_PIX_FMT_YUV420P
l_.str.2:                               ; @.str.2
	.asciz	"YCbCr-4:4:2"

	.comm	_AV_PIX_FMT_YUV422P,4,2         ; @AV_PIX_FMT_YUV422P
l_.str.3:                               ; @.str.3
	.asciz	"YCbCr-4:4:4"

	.comm	_AV_PIX_FMT_YUV444P,4,2         ; @AV_PIX_FMT_YUV444P
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.4:                               ; @.str.4
	.asciz	"Unsupported pixel format %s\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.5:                               ; @.str.5
	.asciz	"width"

l_.str.6:                               ; @.str.6
	.asciz	"height"

l_.str.7:                               ; @.str.7
	.asciz	"delivery-method"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
l_.str.8:                               ; @.str.8
	.asciz	"configuration-uri"

l_.str.9:                               ; @.str.9
	.asciz	"configuration"

	.comm	_INT_MAX,8,3                    ; @INT_MAX
l_.str.10:                              ; @.str.10
	.asciz	"Out of memory while decoding SDP configuration.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.11:                              ; @.str.11
	.asciz	"Packet too large\n"

	.no_dead_strip	_xiph_parse_fmtp_pair
.subsections_via_symbols
