	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtsp_parse_streaming_commands ## -- Begin function ff_rtsp_parse_streaming_commands
	.p2align	4, 0x90
_ff_rtsp_parse_streaming_commands:      ## @ff_rtsp_parse_streaming_commands
	.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
	pushq	%rax
	movl	$4648, %eax                     ## imm = 0x1228
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %r15
	movl	$0, -4644(%rbp)
	movq	$0, -4656(%rbp)
	leaq	-4128(%rbp), %rsi
	leaq	-4644(%rbp), %rcx
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_read_line
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	movl	-4644(%rbp), %edx
	leaq	-4660(%rbp), %rax
	leaq	-4128(%rbp), %rsi
	leaq	-4640(%rbp), %rcx
	leaq	-4138(%rbp), %r9
	movq	%r14, %rdi
	movl	$500, %r8d                      ## imm = 0x1F4
	pushq	%rax
	pushq	$10
	callq	_parse_command_line
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	jmp	LBB0_13
LBB0_3:
	leaq	-4656(%rbp), %rsi
	leaq	-4138(%rbp), %rdx
	movq	%r14, %rdi
	callq	_rtsp_read_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:
	incl	4(%r15)
	movl	-4660(%rbp), %eax
	movq	_PAUSE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movq	_RTSP_STATE_PAUSED@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_RTSP_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-4656(%rbp), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_6:
	movq	_OPTIONS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	_RTSP_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-4656(%rbp), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
LBB0_11:
	callq	_rtsp_send_reply
LBB0_12:
	movl	%eax, %ebx
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	addq	$4648, %rsp                     ## imm = 0x1228
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_TEARDOWN@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.9:
	movq	_RTSP_STATE_IDLE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_15:
	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	"RTSP: Unexpected Command\n"

	.comm	_PAUSE,4,2                      ## @PAUSE
	.comm	_RTSP_STATE_PAUSED,4,2          ## @RTSP_STATE_PAUSED
	.comm	_RTSP_STATUS_OK,4,2             ## @RTSP_STATUS_OK
	.comm	_OPTIONS,4,2                    ## @OPTIONS
L_.str.1:                               ## @.str.1
	.asciz	"Public: ANNOUNCE, PAUSE, SETUP, TEARDOWN, RECORD\r\n"

	.comm	_TEARDOWN,4,2                   ## @TEARDOWN
	.comm	_RTSP_STATE_IDLE,4,2            ## @RTSP_STATE_IDLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtsp_parse_streaming_commands ; -- Begin function ff_rtsp_parse_streaming_commands
	.p2align	2
_ff_rtsp_parse_streaming_commands:      ; @ff_rtsp_parse_streaming_commands
	.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
	mov	w9, #4640
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #544
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x21, [x0]
	str	wzr, [sp, #20]
	str	xzr, [sp, #8]
	add	x1, sp, #536
	add	x3, sp, #20
	mov	w2, #4096
	bl	_read_line
	tbnz	w0, #31, LBB0_10
; %bb.1:
	ldr	w2, [sp, #20]
	add	x1, sp, #536
	add	x3, sp, #26
	add	x5, sp, #526
	add	x7, sp, #4
	mov	x0, x19
	mov	w4, #500
	mov	w6, #10
	bl	_parse_command_line
	cbz	w0, LBB0_3
; %bb.2:
	mov	x20, x0
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
	b	LBB0_11
LBB0_3:
	add	x1, sp, #8
	add	x2, sp, #526
	mov	x0, x19
	bl	_rtsp_read_request
	mov	x20, x0
	cbnz	w0, LBB0_11
; %bb.4:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	ldr	w8, [sp, #4]
Lloh10:
	adrp	x9, _PAUSE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PAUSE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
Lloh13:
	adrp	x8, _RTSP_STATE_PAUSED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RTSP_STATE_PAUSED@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x21]
Lloh15:
	adrp	x8, _RTSP_STATUS_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTSP_STATUS_OK@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w3, [sp, #8]
	mov	x0, x19
	mov	x2, #0
	b	LBB0_9
LBB0_7:
Lloh18:
	adrp	x9, _OPTIONS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _OPTIONS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.8:
Lloh21:
	adrp	x8, _RTSP_STATUS_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RTSP_STATUS_OK@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w3, [sp, #8]
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_9:
	bl	_rtsp_send_reply
LBB0_10:
	mov	x20, x0
LBB0_11:
	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_16
; %bb.12:
	mov	x0, x20
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #544
	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_13:
Lloh29:
	adrp	x9, _TEARDOWN@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TEARDOWN@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.14:
Lloh32:
	adrp	x8, _RTSP_STATE_IDLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RTSP_STATE_IDLE@GOTPAGEOFF]
	b	LBB0_6
LBB0_15:
	mov	w20, #0
	b	LBB0_11
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTSP: Unexpected Command\n"

	.comm	_PAUSE,4,2                      ; @PAUSE
	.comm	_RTSP_STATE_PAUSED,4,2          ; @RTSP_STATE_PAUSED
	.comm	_RTSP_STATUS_OK,4,2             ; @RTSP_STATUS_OK
	.comm	_OPTIONS,4,2                    ; @OPTIONS
l_.str.1:                               ; @.str.1
	.asciz	"Public: ANNOUNCE, PAUSE, SETUP, TEARDOWN, RECORD\r\n"

	.comm	_TEARDOWN,4,2                   ; @TEARDOWN
	.comm	_RTSP_STATE_IDLE,4,2            ; @RTSP_STATE_IDLE
.subsections_via_symbols
