	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtsp_read_seek
_rtsp_read_seek:                        ## @rtsp_read_seek
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %eax
	movq	%rdi, %r14
	movq	(%rdi), %rcx
	movq	8(%rdi), %rbx
	movslq	%esi, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_av_rescale_q
	movl	%eax, 4(%rbx)
	movl	(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_rtsp_read_pause
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_RTSP_STATE_SEEKING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	callq	_rtsp_read_play
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_5
LBB0_4:
	movl	$130, (%rbx)
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.comm	_RTSP_STATE_SEEKING,4,2         ## @RTSP_STATE_SEEKING
	.no_dead_strip	_rtsp_read_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtsp_read_seek
_rtsp_read_seek:                        ; @rtsp_read_seek
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x2
	mov	x19, x0
	ldp	x9, x20, [x0]
	ldr	x9, [x9, w1, sxtw #3]
	ldr	w1, [x9]
Lloh0:
	adrp	x9, _AV_TIME_BASE_Q@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	x0, x8
	bl	_av_rescale_q
	str	w0, [x20, #4]
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_rtsp_read_pause
	cbnz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _RTSP_STATE_SEEKING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTSP_STATE_SEEKING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	bl	_rtsp_read_play
	cbnz	w0, LBB0_6
	b	LBB0_5
LBB0_4:
	mov	w8, #130
	str	w8, [x20]
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_RTSP_STATE_SEEKING,4,2         ; @RTSP_STATE_SEEKING
	.no_dead_strip	_rtsp_read_seek
.subsections_via_symbols
