	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtsp_setup_input_streams    ## -- Begin function ff_rtsp_setup_input_streams
	.p2align	4, 0x90
_ff_rtsp_setup_input_streams:           ## @ff_rtsp_setup_input_streams
	.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	%rbx
	subq	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rbx
	movq	$0, -1064(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-1056(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_snprintf
	movq	(%rbx), %rax
	movq	_RTSP_SERVER_REAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-1056(%rbp), %rdi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strlcat
LBB0_2:
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	-1056(%rbp), %rcx
	leaq	-1064(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %r8
	callq	_ff_rtsp_send_cmd
	movq	(%r15), %rax
	movq	_RTSP_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	-1064(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movq	-1064(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_sdp_parse
	movl	%eax, %ebx
	leaq	-1064(%rbp), %rdi
	callq	_av_freep
	movl	%ebx, %eax
	sarl	$31, %eax
	andl	%ebx, %eax
	jmp	LBB0_7
LBB0_3:
	leaq	-1064(%rbp), %rdi
	callq	_av_freep
	movq	(%r15), %rdi
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ff_rtsp_averror
	jmp	LBB0_7
LBB0_5:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Accept: application/sdp\r\n"

	.comm	_RTSP_SERVER_REAL,8,3           ## @RTSP_SERVER_REAL
L_.str.1:                               ## @.str.1
	.asciz	"Require: com.real.retain-entity-for-setup\r\n"

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

	.comm	_RTSP_STATUS_OK,8,3             ## @RTSP_STATUS_OK
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
L_.str.3:                               ## @.str.3
	.asciz	"SDP:\n%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtsp_setup_input_streams    ; -- Begin function ff_rtsp_setup_input_streams
	.p2align	2
_ff_rtsp_setup_input_streams:           ; @ff_rtsp_setup_input_streams
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1040
	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, #-40]
	ldr	x21, [x0]
	str	xzr, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #1024
	bl	_snprintf
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _RTSP_SERVER_REAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RTSP_SERVER_REAL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w2, #1024
	bl	_av_strlcat
LBB0_2:
	ldr	w2, [x21, #8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	x5, sp
	mov	x0, x19
	mov	x4, x20
	bl	_ff_rtsp_send_cmd
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _RTSP_STATUS_OK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RTSP_STATUS_OK@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x3, [sp]
	cbz	x3, LBB0_6
; %bb.4:
Lloh15:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_av_log
	ldr	x1, [sp]
	mov	x0, x19
	bl	_ff_sdp_parse
	mov	x19, x0
	mov	x0, sp
	bl	_av_freep
	cmp	w19, #0
	csel	w0, w19, wzr, lt
	b	LBB0_7
LBB0_5:
	mov	x0, sp
	bl	_av_freep
	ldr	x0, [x20]
Lloh20:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_ff_rtsp_averror
	b	LBB0_7
LBB0_6:
Lloh23:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Accept: application/sdp\r\n"

	.comm	_RTSP_SERVER_REAL,8,3           ; @RTSP_SERVER_REAL
l_.str.1:                               ; @.str.1
	.asciz	"Require: com.real.retain-entity-for-setup\r\n"

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

	.comm	_RTSP_STATUS_OK,8,3             ; @RTSP_STATUS_OK
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
l_.str.3:                               ; @.str.3
	.asciz	"SDP:\n%s\n"

.subsections_via_symbols
