	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsp_create_tracks_from_sdp
_rtsp_create_tracks_from_sdp:           ## @rtsp_create_tracks_from_sdp
	.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	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	$0, -72(%rbp)
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)
	movq	%rsi, -48(%rbp)
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	leaq	-72(%rbp), %rdx
	callq	_rtsp_create_track_for_media_field
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, -48(%rbp)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r13
	jne	LBB0_34
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movsbl	(%r15), %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%r15), %rax
	movl	%ebx, %ecx
	testb	%cl, %cl
	je	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$10, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	decq	%rax
	movq	%r15, %rdi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, -1(%rax)
	movq	-48(%rbp), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
	cmpb	$61, 1(%rdi)
	jne	LBB0_33
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	$2, %rdi
	callq	_rtsp_trim
	movq	%rax, -48(%rbp)
	cmpl	$97, %ebx
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$109, %ebx
	jne	LBB0_33
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_rtsp_complete_track
	movq	$0, -72(%rbp)
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	incl	(%rcx)
	movq	%rax, %r13
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_33
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax
	jmp	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_attribute_name_delimiter_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	callq	_rtsp_parse_extract
	movq	%rax, %r14
	movq	-72(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_33
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	(%rax), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_free
	movq	$0, (%r14)
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rcx
	jmp	LBB0_31
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_33
## %bb.26:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	callq	_rtsp_trim
	movq	%rax, -48(%rbp)
	movq	-64(%rbp), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %rdi
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_free
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, -64(%rbp)
	movq	-48(%rbp), %r14
	jmp	LBB0_29
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_rtsp_parse_rtpmap_attribute
	jmp	LBB0_32
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_rtsp_parse_fmtp_attribute
	jmp	LBB0_32
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r14
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	-64(%rbp), %rcx
LBB0_31:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_rtsp_parse_control_attribute
	jmp	LBB0_32
LBB0_2:
	movq	%r13, %rax
LBB0_34:
	movq	-64(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_37
## %bb.35:
	cmpq	-80(%rbp), %rdi                 ## 8-byte Folded Reload
	je	LBB0_37
## %bb.36:
	callq	_free
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_37:
	cmpq	%rax, %r13
	jne	LBB0_42
## %bb.38:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 8(%rax)
	je	LBB0_39
## %bb.40:
	movq	-72(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_42
## %bb.41:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_rtsp_complete_track
	movq	%rax, %r13
	movq	(%rbx), %rax
	movq	(%rax), %rax
	incl	(%rax)
	jmp	LBB0_42
LBB0_39:
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_42:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_attribute_name_delimiter_fn,4,2 ## @attribute_name_delimiter_fn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtpmap"

L_.str.1:                               ## @.str.1
	.asciz	"fmtp"

L_.str.2:                               ## @.str.2
	.asciz	"control"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
	.no_dead_strip	_rtsp_create_tracks_from_sdp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsp_create_tracks_from_sdp
_rtsp_create_tracks_from_sdp:           ; @rtsp_create_tracks_from_sdp
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x28, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x28, [x28, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x25, [x28]
	stp	x2, xzr, [sp, #16]
	str	x1, [sp, #8]
Lloh2:
	adrp	x24, _attribute_name_delimiter_fn@GOTPAGE
Lloh3:
	ldr	x24, [x24, _attribute_name_delimiter_fn@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x0
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x8
	bl	_rtsp_create_track_for_media_field
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x21, [sp, #8]
	ldr	x8, [x28]
	cmp	x25, x8
	b.ne	LBB0_33
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldrsb	w26, [x21]
	cbz	w26, LBB0_32
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w9, w26, #0xff
	add	x8, x21, #1
	ands	w9, w9, #0xff
	b.eq	LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #10
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldrb	w9, [x8], #1
	ands	w9, w9, #0xff
	b.ne	LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, x21
	sub	x21, x8, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	sturb	wzr, [x8, #-1]
	ldr	x9, [sp, #8]
	mov	x21, x8
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x9, #1]
	cmp	w8, #61
	b.ne	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x9, #2
	bl	_rtsp_trim
	str	x0, [sp, #8]
	cmp	w26, #97
	b.eq	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w26, #109
	b.ne	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_rtsp_complete_track
	mov	x25, x0
	str	xzr, [sp, #24]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24]
	add	x0, sp, #8
	mov	x2, #0
	bl	_rtsp_parse_extract
	mov	x27, x0
	ldr	x26, [sp, #24]
	cbz	x26, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_30
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_31
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	ldr	x25, [x8]
	ldr	x0, [x25]
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_free
	str	xzr, [x25]
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x1, x2, [sp, #8]
	mov	x0, x19
	mov	x3, x25
	b	LBB0_29
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x27
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_4
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
	bl	_rtsp_trim
	mov	x26, x0
	str	x0, [sp, #8]
	ldr	x0, [sp, #16]
	cmp	x0, x20
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_free
	str	x20, [sp, #16]
	ldr	x26, [sp, #8]
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x26
	mov	x2, x20
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_rtsp_parse_control_attribute
	b	LBB0_3
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	x1, x26
	bl	_rtsp_parse_rtpmap_attribute
	b	LBB0_3
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	x1, x26
	bl	_rtsp_parse_fmtp_attribute
	b	LBB0_3
LBB0_32:
	mov	x8, x25
LBB0_33:
	ldr	x0, [sp, #16]
	cmp	x0, #0
	ccmp	x0, x20, #4, ne
	b.eq	LBB0_35
; %bb.34:
	bl	_free
	ldr	x8, [x28]
LBB0_35:
	cmp	x25, x8
	b.ne	LBB0_40
; %bb.36:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_39
; %bb.37:
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_40
; %bb.38:
	mov	x0, x19
	bl	_rtsp_complete_track
	mov	x25, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_40
LBB0_39:
Lloh10:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
Lloh12:
	ldr	x25, [x8]
LBB0_40:
	mov	x0, x25
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_attribute_name_delimiter_fn,4,2 ; @attribute_name_delimiter_fn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtpmap"

l_.str.1:                               ; @.str.1
	.asciz	"fmtp"

l_.str.2:                               ; @.str.2
	.asciz	"control"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,8,3 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
	.no_dead_strip	_rtsp_create_tracks_from_sdp
.subsections_via_symbols
