	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsp_read_setup
_rtsp_read_setup:                       ## @rtsp_read_setup
	.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	$2136, %rsp                     ## imm = 0x858
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -2128(%rbp)
	movq	$0, -2112(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-2128(%rbp), %rsi
	callq	_rtsp_read_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_33
## %bb.1:
	incl	48(%r13)
	movl	-2128(%rbp), %r8d
	testq	%r8, %r8
	je	LBB0_4
## %bb.2:
	testl	%r8d, %r8d
	jle	LBB0_13
## %bb.3:
	movq	-2120(%rbp), %rcx
	movq	_RTSP_LOWER_TRANSPORT_UDP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_RTSP_LOWER_TRANSPORT_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r8, %rdi
	shlq	$5, %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	$32, %rbx
	cmpq	%rbx, %rdi
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 24(%rcx,%rbx)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rcx,%rbx), %rax
	cmpq	%rdx, %rax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rsi, %rax
	je	LBB0_6
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_5
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_5:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_33
LBB0_11:
	cmpl	$2, %r8d
	jl	LBB0_13
## %bb.12:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_13:
	movl	(%r13), %eax
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	12(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_17:
	cmpl	%eax, %ebx
	jne	LBB0_19
LBB0_18:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_STREAM_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_33
LBB0_15:
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	je	LBB0_18
LBB0_19:
	movq	40(%r13), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %r14
	movq	-2120(%rbp), %rax
	movq	(%rax), %rax
	movq	_RTSP_LOWER_TRANSPORT_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.23:
	movq	%rax, 32(%r13)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ff_rtsp_open_transport_ctx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.25:
	movq	-2120(%rbp), %rax
	movl	8(%rax), %ecx
	movl	%ecx, (%r14)
	movl	12(%rax), %r8d
	movl	%r8d, 4(%r14)
	leaq	L_.str.5(%rip), %rdx
	leaq	-2096(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_29
LBB0_20:
	movq	%r12, -2144(%rbp)               ## 8-byte Spill
	movl	4(%r13), %r12d
	movq	%r14, -2160(%rbp)               ## 8-byte Spill
	leaq	8(%r14), %rax
	movq	%rax, -2136(%rbp)               ## 8-byte Spill
	movq	%r15, -2152(%rbp)               ## 8-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -2168(%rbp)               ## 8-byte Spill
	jmp	LBB0_21
LBB0_22:                                ##   in Loop: Header=BB0_21 Depth=1
	addl	$2, %r12d
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, -2176(%rbp)
	movl	12(%r13), %ecx
	leaq	-2096(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	leaq	L_.str.6(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	leaq	-2176(%rbp), %r15
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
	subq	$8, %rsp
	leaq	-1072(%rbp), %r14
	movq	%r14, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	leaq	L_.str.8(%rip), %rdx
	xorl	%ecx, %ecx
	movq	-2144(%rbp), %r8                ## 8-byte Reload
	movl	%r12d, %r9d
	pushq	$0
	callq	_ff_url_join
	addq	$16, %rsp
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-2152(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVIO_FLAG_READ_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %eax
	movl	4(%rbx), %r9d
	movq	-2136(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	movq	-2168(%rbp), %rcx               ## 8-byte Reload
	movq	%r15, %r8
	pushq	$0
	pushq	%rax
	callq	_ffurl_open_whitelist
	addq	$16, %rsp
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_av_dict_free
	testl	%r14d, %r14d
	jne	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpl	8(%r13), %r12d
	jg	LBB0_21
## %bb.27:
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-2160(%rbp), %rbx               ## 8-byte Reload
	movl	8(%rbx), %edi
	callq	_ff_rtp_get_local_rtp_port
	leaq	L_.str.10(%rip), %rdx
	movq	-2152(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_rtsp_open_transport_ctx
	testl	%eax, %eax
	je	LBB0_28
LBB0_24:
	movl	%eax, %ebx
	movq	_RTSP_STATUS_TRANSPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-2124(%rbp), %ecx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtsp_send_reply
	jmp	LBB0_33
LBB0_28:
	movq	-2136(%rbp), %rax               ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ff_rtp_get_local_rtp_port
	movq	%rax, %rbx
	movq	-2120(%rbp), %rax
	movl	16(%rax), %r8d
	movl	20(%rax), %r9d
	leal	1(%rbx), %r10d
	leaq	L_.str.11(%rip), %rdx
	leaq	-2096(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	movq	-2144(%rbp), %rcx               ## 8-byte Reload
	xorl	%eax, %eax
	pushq	%r10
	pushq	%rbx
	callq	_snprintf
	addq	$16, %rsp
LBB0_29:
	movq	16(%r13), %rdi
	callq	_strlen
	cmpl	$7, %eax
	jg	LBB0_32
## %bb.30:
	leaq	L_.str.12(%rip), %r14
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rbx
	xorl	%eax, %eax
	callq	_av_get_random_seed
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_av_strlcatf
	movq	16(%r13), %rdi
	callq	_strlen
	cmpl	$8, %eax
	jl	LBB0_31
LBB0_32:
	movq	16(%r13), %rcx
	leaq	L_.str.13(%rip), %rdx
	leaq	-2096(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_av_strlcatf
	movq	_RTSP_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-2124(%rbp), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_rtsp_send_reply
	movq	_RTSP_STATE_PAUSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	xorl	%ebx, %ebx
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.34:
	movl	%ebx, %eax
	addq	$2136, %rsp                     ## imm = 0x858
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SETUP"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"No transport defined in SETUP\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_RTSP_LOWER_TRANSPORT_UDP,8,3   ## @RTSP_LOWER_TRANSPORT_UDP
	.comm	_RTSP_LOWER_TRANSPORT_TCP,8,3   ## @RTSP_LOWER_TRANSPORT_TCP
L_.str.2:                               ## @.str.2
	.asciz	"mode=record/receive not set or transport protocol not supported (yet)\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"More than one transport not supported, using first of all\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to find requested track\n"

	.comm	_AVERROR_STREAM_NOT_FOUND,4,2   ## @AVERROR_STREAM_NOT_FOUND
	.comm	_RTSP_STATUS_TRANSPORT,4,2      ## @RTSP_STATUS_TRANSPORT
L_.str.5:                               ## @.str.5
	.asciz	"Transport: RTP/AVP/TCP;unicast;mode=receive;interleaved=%d-%d\r\n"

L_.str.6:                               ## @.str.6
	.asciz	"%d"

L_.str.7:                               ## @.str.7
	.asciz	"buffer_size"

L_.str.8:                               ## @.str.8
	.asciz	"rtp"

	.comm	_AV_LOG_TRACE,4,2               ## @AV_LOG_TRACE
L_.str.9:                               ## @.str.9
	.asciz	"Opening: %s"

	.comm	_AVIO_FLAG_READ_WRITE,4,2       ## @AVIO_FLAG_READ_WRITE
L_.str.10:                              ## @.str.10
	.asciz	"Listening on: %d"

L_.str.11:                              ## @.str.11
	.asciz	"Transport: RTP/AVP/UDP;unicast;mode=receive;source=%s;client_port=%d-%d;server_port=%d-%d\r\n"

L_.str.12:                              ## @.str.12
	.asciz	"%u"

L_.str.13:                              ## @.str.13
	.asciz	"Session: %s\r\n"

	.comm	_RTSP_STATUS_OK,4,2             ## @RTSP_STATUS_OK
	.comm	_RTSP_STATE_PAUSED,4,2          ## @RTSP_STATE_PAUSED
	.no_dead_strip	_rtsp_read_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsp_read_setup
_rtsp_read_setup:                       ; @rtsp_read_setup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #2144
	mov	x21, x2
	mov	x20, 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, #-96]
	ldr	x24, [x0, #16]
	stp	xzr, xzr, [sp, #56]
	str	xzr, [sp, #72]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x1, sp, #56
	bl	_rtsp_read_request
	mov	x23, x0
	cbnz	w0, LBB0_34
; %bb.1:
	ldr	w8, [x24, #48]
	add	w8, w8, #1
	str	w8, [x24, #48]
	ldr	w8, [sp, #56]
	cbz	w8, LBB0_13
; %bb.2:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
Lloh5:
	adrp	x10, _RTSP_LOWER_TRANSPORT_UDP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _RTSP_LOWER_TRANSPORT_UDP@GOTPAGEOFF]
	ldr	x9, [sp, #64]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGE
Lloh9:
	ldr	x11, [x11, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	mov	x12, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9, #24]
	cbz	w13, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x9]
	cmp	x13, x10
	ccmp	x13, x11, #4, ne
	b.ne	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #32
	subs	x12, x12, #1
	b.ne	LBB0_4
; %bb.7:
	cmp	w8, #1
	b.le	LBB0_9
; %bb.8:
Lloh11:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_9:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #40]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w0, [x8, #12]
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x24]
	cmp	x22, x8
	b.lt	LBB0_11
	b	LBB0_17
LBB0_13:
Lloh16:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh21:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.2@PAGE
Lloh25:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_av_log
Lloh26:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh28:
	ldr	w23, [x8]
	b	LBB0_34
LBB0_16:
	mov	w22, #0
LBB0_17:
	cmp	w22, w8
	b.ne	LBB0_20
LBB0_18:
Lloh29:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.4@PAGE
Lloh33:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh34:
	adrp	x8, _AVERROR_STREAM_NOT_FOUND@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AVERROR_STREAM_NOT_FOUND@GOTPAGEOFF]
Lloh36:
	ldr	w23, [x8]
	b	LBB0_34
LBB0_19:
	ldr	w8, [x24]
	cmp	w22, w8
	b.eq	LBB0_18
LBB0_20:
	ldr	x8, [x24, #40]
	ldr	x21, [x8, w22, uxtw #3]
	ldr	x8, [sp, #64]
	ldr	x8, [x8]
Lloh37:
	adrp	x9, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGE
Lloh38:
	ldr	x9, [x9, _RTSP_LOWER_TRANSPORT_TCP@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.21:
	str	x8, [x24, #32]
	mov	x0, x19
	mov	x1, x21
	bl	_ff_rtsp_open_transport_ctx
	cbnz	w0, LBB0_28
; %bb.22:
	ldr	x8, [sp, #64]
	ldr	w9, [x8, #8]
	str	w9, [x21]
	ldr	w8, [x8, #12]
	str	w8, [x21, #4]
	stp	x9, x8, [sp]
Lloh40:
	adrp	x2, l_.str.5@PAGE
Lloh41:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_30
LBB0_23:
	ldr	w23, [x24, #4]
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
	add	x22, x21, #8
	add	x25, x19, #8
Lloh42:
	adrp	x26, _AV_LOG_TRACE@GOTPAGE
Lloh43:
	ldr	x26, [x26, _AV_LOG_TRACE@GOTPAGEOFF]
Lloh44:
	adrp	x27, _AVIO_FLAG_READ_WRITE@GOTPAGE
Lloh45:
	ldr	x27, [x27, _AVIO_FLAG_READ_WRITE@GOTPAGEOFF]
Lloh46:
	adrp	x28, l_.str.9@PAGE
Lloh47:
	add	x28, x28, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	w23, w23, #2
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #48]
	ldr	w8, [x24, #12]
	str	x8, [sp]
	add	x0, sp, #80
	mov	w1, #256
Lloh48:
	adrp	x2, l_.str.6@PAGE
Lloh49:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_snprintf
	add	x0, sp, #48
	add	x2, sp, #80
Lloh50:
	adrp	x1, l_.str.7@PAGE
Lloh51:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w3, #0
	bl	_av_dict_set
	add	x0, sp, #1104
	mov	w1, #1024
Lloh52:
	adrp	x2, l_.str.8@PAGE
Lloh53:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x3, #0
	mov	x4, x20
	mov	x5, x23
	mov	x6, #0
	bl	_ff_url_join
	ldr	w1, [x26]
	add	x8, sp, #1104
	str	x8, [sp]
	mov	x0, x19
	mov	x2, x28
	bl	_av_log
	ldr	w2, [x27]
	ldp	w6, w5, [x19]
	add	x1, sp, #1104
	add	x4, sp, #48
	mov	x0, x22
	mov	x3, x25
	mov	x7, #0
	bl	_ffurl_open_whitelist
	mov	x21, x0
	add	x0, sp, #48
	bl	_av_dict_free
	cbnz	w21, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x24, #8]
	cmp	w23, w8
	b.gt	LBB0_25
; %bb.27:
	ldr	w21, [x26]
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w0, [x23, #8]
	bl	_ff_rtp_get_local_rtp_port
	str	x0, [sp]
Lloh54:
	adrp	x2, l_.str.10@PAGE
Lloh55:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_av_log
	mov	x0, x19
	mov	x1, x23
	bl	_ff_rtsp_open_transport_ctx
	cbz	w0, LBB0_29
LBB0_28:
	mov	x23, x0
Lloh56:
	adrp	x8, _RTSP_STATUS_TRANSPORT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _RTSP_STATUS_TRANSPORT@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	ldr	w3, [sp, #60]
	mov	x0, x19
	mov	x2, #0
	bl	_rtsp_send_reply
	b	LBB0_34
LBB0_29:
	ldr	w0, [x22]
	bl	_ff_rtp_get_local_rtp_port
	ldr	x8, [sp, #64]
	add	w9, w0, #1
	ldp	w10, w8, [x8, #16]
	stp	x0, x9, [sp, #24]
	stp	x10, x8, [sp, #8]
	str	x20, [sp]
Lloh59:
	adrp	x2, l_.str.11@PAGE
Lloh60:
	add	x2, x2, l_.str.11@PAGEOFF
LBB0_30:
	add	x0, sp, #80
	mov	w1, #1024
	bl	_snprintf
	ldr	x0, [x24, #16]
	bl	_strlen
	cmp	w0, #7
	b.gt	LBB0_33
; %bb.31:
Lloh61:
	adrp	x20, l_.str.12@PAGE
Lloh62:
	add	x20, x20, l_.str.12@PAGEOFF
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x24, #16]
	bl	_av_get_random_seed
	mov	x3, x0
	mov	x0, x21
	mov	w1, #512
	mov	x2, x20
	bl	_av_strlcatf
	ldr	x0, [x24, #16]
	bl	_strlen
	cmp	w0, #8
	b.lt	LBB0_32
LBB0_33:
	ldr	x3, [x24, #16]
Lloh63:
	adrp	x2, l_.str.13@PAGE
Lloh64:
	add	x2, x2, l_.str.13@PAGEOFF
	add	x0, sp, #80
	mov	w1, #1024
	bl	_av_strlcatf
Lloh65:
	adrp	x8, _RTSP_STATUS_OK@GOTPAGE
Lloh66:
	ldr	x8, [x8, _RTSP_STATUS_OK@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	ldr	w3, [sp, #60]
	add	x2, sp, #80
	mov	x0, x19
	bl	_rtsp_send_reply
	mov	w23, #0
Lloh68:
	adrp	x8, _RTSP_STATE_PAUSED@GOTPAGE
Lloh69:
	ldr	x8, [x8, _RTSP_STATE_PAUSED@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	str	w8, [x24, #24]
LBB0_34:
	ldur	x8, [x29, #-96]
Lloh71:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh72:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh73:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.35:
	mov	x0, x23
	add	sp, sp, #2144
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SETUP"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"No transport defined in SETUP\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_RTSP_LOWER_TRANSPORT_UDP,8,3   ; @RTSP_LOWER_TRANSPORT_UDP
	.comm	_RTSP_LOWER_TRANSPORT_TCP,8,3   ; @RTSP_LOWER_TRANSPORT_TCP
l_.str.2:                               ; @.str.2
	.asciz	"mode=record/receive not set or transport protocol not supported (yet)\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"More than one transport not supported, using first of all\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to find requested track\n"

	.comm	_AVERROR_STREAM_NOT_FOUND,4,2   ; @AVERROR_STREAM_NOT_FOUND
	.comm	_RTSP_STATUS_TRANSPORT,4,2      ; @RTSP_STATUS_TRANSPORT
l_.str.5:                               ; @.str.5
	.asciz	"Transport: RTP/AVP/TCP;unicast;mode=receive;interleaved=%d-%d\r\n"

l_.str.6:                               ; @.str.6
	.asciz	"%d"

l_.str.7:                               ; @.str.7
	.asciz	"buffer_size"

l_.str.8:                               ; @.str.8
	.asciz	"rtp"

	.comm	_AV_LOG_TRACE,4,2               ; @AV_LOG_TRACE
l_.str.9:                               ; @.str.9
	.asciz	"Opening: %s"

	.comm	_AVIO_FLAG_READ_WRITE,4,2       ; @AVIO_FLAG_READ_WRITE
l_.str.10:                              ; @.str.10
	.asciz	"Listening on: %d"

l_.str.11:                              ; @.str.11
	.asciz	"Transport: RTP/AVP/UDP;unicast;mode=receive;source=%s;client_port=%d-%d;server_port=%d-%d\r\n"

l_.str.12:                              ; @.str.12
	.asciz	"%u"

l_.str.13:                              ; @.str.13
	.asciz	"Session: %s\r\n"

	.comm	_RTSP_STATUS_OK,4,2             ; @RTSP_STATUS_OK
	.comm	_RTSP_STATE_PAUSED,4,2          ; @RTSP_STATE_PAUSED
	.no_dead_strip	_rtsp_read_setup
.subsections_via_symbols
