	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsp_read_pause
_rtsp_read_pause:                       ## @rtsp_read_pause
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_RTSP_STATE_STREAMING@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	8(%rbx), %rax
	movq	_RTSP_SERVER_REAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 24(%rbx)
	jne	LBB0_5
LBB0_3:
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %r8
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_ff_rtsp_send_cmd
	movq	-24(%rbp), %rdi
	movq	_RTSP_STATUS_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_4
LBB0_5:
	movq	_RTSP_STATE_PAUSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_6
LBB0_4:
	movl	$-1, %esi
	callq	_ff_rtsp_averror
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTSP_STATE_STREAMING,8,3       ## @RTSP_STATE_STREAMING
	.comm	_RTSP_SERVER_REAL,8,3           ## @RTSP_SERVER_REAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PAUSE"

	.comm	_RTSP_STATUS_OK,8,3             ## @RTSP_STATUS_OK
	.comm	_RTSP_STATE_PAUSED,8,3          ## @RTSP_STATE_PAUSED
	.no_dead_strip	_rtsp_read_pause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsp_read_pause
_rtsp_read_pause:                       ; @rtsp_read_pause
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x19, [x0]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _RTSP_STATE_STREAMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTSP_STATE_STREAMING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _RTSP_SERVER_REAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RTSP_SERVER_REAL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_4
LBB0_3:
	ldr	w2, [x19, #16]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #8
	mov	x3, #0
	mov	x5, #0
	bl	_ff_rtsp_send_cmd
	ldr	x0, [sp, #8]
Lloh8:
	adrp	x8, _RTSP_STATUS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTSP_STATUS_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_4:
	mov	w0, #0
Lloh11:
	adrp	x8, _RTSP_STATE_PAUSED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RTSP_STATE_PAUSED@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w1, #-1
	bl	_ff_rtsp_averror
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RTSP_STATE_STREAMING,8,3       ; @RTSP_STATE_STREAMING
	.comm	_RTSP_SERVER_REAL,8,3           ; @RTSP_SERVER_REAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PAUSE"

	.comm	_RTSP_STATUS_OK,8,3             ; @RTSP_STATUS_OK
	.comm	_RTSP_STATE_PAUSED,8,3          ; @RTSP_STATE_PAUSED
	.no_dead_strip	_rtsp_read_pause
.subsections_via_symbols
