	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function queue_picture
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_queue_picture:                         ## @queue_picture
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -96(%rbp)                ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r14
	cmpq	$0, 8(%rdi)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	je	LBB0_40
## %bb.1:
	cmpl	$0, (%r14)
	je	LBB0_40
## %bb.2:
	cmpl	$0, 104(%r14)
	jne	LBB0_40
## %bb.3:
	movq	%rdi, %rbx
	callq	_isnan
	testl	%eax, %eax
	je	LBB0_4
LBB0_22:
	movl	$0, 100(%r14)
	leaq	72(%r14), %r12
	movl	72(%r14), %edi
	callq	_SDL_LockMutex
	movl	$0, (%r14)
	movl	96(%r14), %edi
	callq	_SDL_CondSignal
	cmpq	$0, 88(%r14)
	je	LBB0_34
## %bb.23:
	cmpl	$0, 80(%r14)
	je	LBB0_24
LBB0_34:
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isnan
	movq	_FFP_MSG_ACCURATE_SEEK_COMPLETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %eax
	je	LBB0_35
## %bb.36:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	jmp	LBB0_37
LBB0_4:
	movq	8(%r14), %r15
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	mulsd	%xmm2, %xmm1
	movapd	%xmm1, -80(%rbp)                ## 16-byte Spill
	mulsd	%xmm1, %xmm2
	movsd	%xmm2, 16(%r14)
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15, %xmm1
	ucomisd	%xmm2, %xmm1
	ja	LBB0_6
## %bb.5:
	cvttsd2si	%xmm2, %rax
	subq	%r15, %rax
	movq	%rax, %rcx
	negq	%rcx
	cmovsq	%rax, %rcx
	movq	_MAX_DEVIATION@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jle	LBB0_25
LBB0_6:
	xorl	%eax, %eax
	callq	_av_gettime_relative
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movslq	%eax, %r13
	movl	100(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:
	movl	72(%r14), %edi
	callq	_SDL_LockMutex
	cmpq	$0, 24(%r14)
	jg	LBB0_11
## %bb.8:
	cmpq	$0, 32(%r14)
	js	LBB0_10
## %bb.9:
	cmpq	$0, 88(%r14)
	je	LBB0_11
LBB0_10:
	movq	%r13, 24(%r14)
LBB0_11:
	movl	72(%r14), %edi
	callq	_SDL_UnlockMutex
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	movq	24(%r14), %r8
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movb	$1, %al
	callq	_av_log
	movl	100(%r14), %eax
LBB0_12:
	incl	%eax
	movl	%eax, 100(%r14)
	cmpq	$0, 88(%r14)
	je	LBB0_20
## %bb.13:
	cmpl	$0, 80(%r14)
	je	LBB0_14
LBB0_20:
	movq	%r13, %rax
	subq	24(%r14), %rax
	movl	$1, %r15d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	jle	LBB0_56
## %bb.21:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	100(%r14), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movq	%r13, %r8
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movb	$1, %al
	callq	_av_log
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_35:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %edx
	movq	%rbx, %rdi
LBB0_37:
	callq	_ffp_notify_msg2
	jmp	LBB0_38
LBB0_24:
	movl	72(%r14), %esi
	movl	76(%r14), %edi
	movq	(%rbx), %rdx
	callq	_SDL_CondWaitTimeout
LBB0_38:
	movl	(%r12), %edi
	callq	_SDL_UnlockMutex
LBB0_39:
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, 16(%r14)
LBB0_40:
	leaq	56(%r14), %r13
	movq	%r13, %rdi
	callq	_frame_queue_peek_writable
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_56
## %bb.41:
	movq	%rax, %r12
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	movq	%rax, 48(%r12)
	movq	56(%r12), %rdi
	testq	%rdi, %rdi
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_46
## %bb.42:
	cmpq	$0, 72(%r12)
	je	LBB0_46
## %bb.43:
	movq	(%r12), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_46
## %bb.44:
	movq	8(%r12), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_46
## %bb.45:
	movq	16(%r12), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_53
LBB0_46:
	movq	(%r12), %rax
	movq	(%rbx), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_47
## %bb.48:
	movq	8(%r12), %rsi
	movq	8(%rbx), %rcx
	cmpq	%rcx, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_49
	jmp	LBB0_50
LBB0_47:
	movq	8(%rbx), %rcx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_49:
	movq	_FFP_MSG_VIDEO_SIZE_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ffp_notify_msg3
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	8(%rbx), %rsi
LBB0_50:
	movq	$0, 72(%r12)
	movq	%rax, (%r12)
	movq	%rsi, 8(%r12)
	movq	16(%rbx), %rsi
	movq	%rsi, 16(%r12)
	movq	%r14, %rdi
	callq	_alloc_picture
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 64(%rax)
	jne	LBB0_56
## %bb.51:
	movq	56(%r12), %rdi
	testq	%rdi, %rdi
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_52
LBB0_53:
	movq	%rbx, %r15
	callq	_SDL_VoutLockYUVOverlay
	movq	56(%r12), %rdi
	movq	%rbx, %rsi
	callq	_SDL_VoutFillFrameYUVOverlay
	testq	%rax, %rax
	js	LBB0_57
## %bb.54:
	movq	56(%r12), %rdi
	callq	_SDL_VoutUnlockYUVOverlay
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 24(%r12)
	movsd	-96(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 32(%r12)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 64(%r12)
	movl	%r14d, 40(%r12)
	movq	24(%r15), %rax
	movq	%rax, 48(%r12)
	movq	56(%r12), %rcx
	movq	%rax, (%rcx)
	movq	%r13, %rdi
	callq	_frame_queue_push
	xorl	%r15d, %r15d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$0, 48(%rbx)
	jne	LBB0_56
## %bb.55:
	leaq	L_.str.4(%rip), %rdi
	callq	_ALOGD
	movq	_FFP_MSG_VIDEO_DECODED_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ffp_notify_msg1
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_SDL_GetTickHR
	movl	%eax, 52(%rbx)
	movl	$1, 48(%rbx)
	jmp	LBB0_56
LBB0_52:
	xorl	%r15d, %r15d
LBB0_56:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	100(%r14), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	movq	%r15, %r8
	movb	$1, %al
	callq	_av_log
	cmpq	8(%r14), %r15
	jne	LBB0_39
## %bb.26:
	movl	$0, 100(%r14)
	movl	72(%r14), %edi
	callq	_SDL_LockMutex
	movl	$0, (%r14)
	movl	96(%r14), %edi
	callq	_SDL_CondSignal
	cmpq	8(%r14), %r15
	jne	LBB0_30
## %bb.27:
	cmpq	$0, 88(%r14)
	je	LBB0_30
## %bb.28:
	cmpl	$0, 80(%r14)
	je	LBB0_29
LBB0_30:
	movq	_FFP_MSG_ACCURATE_SEEK_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cvttsd2si	-80(%rbp), %edx         ## 16-byte Folded Reload
	movq	%rbx, %rdi
	callq	_ffp_notify_msg2
LBB0_31:
	leaq	72(%r14), %r12
	cmpq	8(%r14), %r15
	je	LBB0_38
## %bb.32:
	cmpl	$0, 80(%r14)
	jne	LBB0_38
## %bb.33:
	movl	$1, (%r14)
	movl	72(%r14), %edi
	callq	_SDL_UnlockMutex
	movl	$1, %r15d
	jmp	LBB0_56
LBB0_14:
	movapd	-80(%rbp), %xmm0                ## 16-byte Reload
	xorpd	LCPI0_1(%rip), %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r14), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	addsd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	cvttsd2si	%xmm0, %rcx
	cmpq	$-99999, %rcx                   ## imm = 0xFFFE7961
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	8(%r14), %rax
	jl	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	$20000, %edi                    ## imm = 0x4E20
	callq	_av_usleep
	xorl	%eax, %eax
	callq	_av_gettime_relative
	cltq
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movslq	%eax, %r13
	movq	%r13, %rax
	subq	24(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	jg	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$0, 88(%r14)
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpl	$0, 80(%r14)
	je	LBB0_17
	jmp	LBB0_20
LBB0_29:
	movl	72(%r14), %esi
	movl	76(%r14), %edi
	movq	(%rbx), %rdx
	callq	_SDL_CondWaitTimeout
	jmp	LBB0_31
LBB0_57:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DEVIATION,8,3              ## @MAX_DEVIATION
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"video accurate_seek start, is->seek_pos=%lld, pts=%lf, is->accurate_seek_time = %lld\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"video accurate_seek is error, is->drop_vframe_count=%d, now = %lld, pts = %lf\n"

L_.str.2:                               ## @.str.2
	.asciz	"video accurate_seek is ok, is->drop_vframe_count =%d, is->seek_pos=%lld, pts=%lf\n"

	.comm	_FFP_MSG_ACCURATE_SEEK_COMPLETE,4,2 ## @FFP_MSG_ACCURATE_SEEK_COMPLETE
	.comm	_FFP_MSG_VIDEO_SIZE_CHANGED,4,2 ## @FFP_MSG_VIDEO_SIZE_CHANGED
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"Cannot initialize the conversion context\n"

L_.str.4:                               ## @.str.4
	.asciz	"Video: first frame decoded\n"

	.comm	_FFP_MSG_VIDEO_DECODED_START,4,2 ## @FFP_MSG_VIDEO_DECODED_START
	.comm	_data,4,2                       ## @data
	.comm	_linesize,4,2                   ## @linesize
	.no_dead_strip	_queue_picture
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_picture
_queue_picture:                         ; @queue_picture
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	mov	x20, x3
	mov	x21, x2
	fmov	d8, d1
	fmov	d9, d0
	mov	x22, x1
	mov	x19, x0
	ldp	x8, x25, [x0, #8]
	cbz	x8, LBB0_25
; %bb.1:
	ldr	w8, [x25]
	cbz	w8, LBB0_25
; %bb.2:
	ldr	w8, [x25, #104]
	cbnz	w8, LBB0_25
; %bb.3:
	fmov	d0, d9
	bl	_isnan
	cbz	w0, LBB0_8
LBB0_4:
	str	wzr, [x25, #100]
	mov	x23, x25
	ldr	w0, [x23, #72]!
	bl	_SDL_LockMutex
	str	wzr, [x25]
	ldr	w0, [x25, #96]
	bl	_SDL_CondSignal
	ldr	x8, [x25, #88]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x25, #80]
	cbz	w8, LBB0_22
LBB0_6:
	fmov	d0, d9
	bl	_isnan
Lloh0:
	adrp	x8, _FFP_MSG_ACCURATE_SEEK_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FFP_MSG_ACCURATE_SEEK_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	cbz	w0, LBB0_20
; %bb.7:
	mov	x0, x19
	mov	w2, #0
	b	LBB0_21
LBB0_8:
	ldr	x24, [x25, #8]
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d0, x8
	fmul	d10, d9, d0
	fmul	d0, d10, d0
	str	d0, [x25, #16]
	scvtf	d1, x24
	fcmp	d0, d1
	b.mi	LBB0_10
; %bb.9:
	fcvtzs	x8, d0
	subs	x8, x8, x24
	cneg	x8, x8, mi
Lloh3:
	adrp	x9, _MAX_DEVIATION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_DEVIATION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_44
LBB0_10:
	bl	_av_gettime_relative
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	sxtw	x23, w8
	ldr	w8, [x25, #100]
	cbnz	w8, LBB0_16
; %bb.11:
	ldr	w0, [x25, #72]
	bl	_SDL_LockMutex
	ldr	x8, [x25, #24]
	cmp	x8, #0
	b.gt	LBB0_15
; %bb.12:
	ldr	x8, [x25, #32]
	tbnz	x8, #63, LBB0_14
; %bb.13:
	ldr	x8, [x25, #88]
	cbz	x8, LBB0_15
LBB0_14:
	str	x23, [x25, #24]
LBB0_15:
	ldr	w0, [x25, #72]
	bl	_SDL_UnlockMutex
Lloh6:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x25, #8]
	ldr	x9, [x25, #24]
	str	x9, [sp, #16]
	str	d9, [sp, #8]
	str	x8, [sp]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	ldr	w8, [x25, #100]
LBB0_16:
	add	w8, w8, #1
	str	w8, [x25, #100]
	ldr	x8, [x25, #88]
	cbz	x8, LBB0_18
; %bb.17:
	ldr	w8, [x25, #80]
	cbz	w8, LBB0_52
LBB0_18:
	ldr	x8, [x25, #24]
	ldr	x9, [x19]
	sub	x8, x23, x8
	cmp	x8, x9
	b.le	LBB0_42
; %bb.19:
Lloh11:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w8, [x25, #100]
	str	d9, [sp, #16]
	stp	x8, x23, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_av_log
	b	LBB0_4
LBB0_20:
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d0, x8
	fmul	d0, d9, d0
	fcvtzs	w2, d0
	mov	x0, x19
LBB0_21:
	bl	_ffp_notify_msg2
	b	LBB0_23
LBB0_22:
	ldp	w1, w0, [x25, #72]
	ldr	x2, [x19]
	bl	_SDL_CondWaitTimeout
LBB0_23:
	ldr	w0, [x23]
	bl	_SDL_UnlockMutex
LBB0_24:
	stp	xzr, xzr, [x25, #16]
LBB0_25:
	add	x23, x25, #56
	mov	x0, x23
	bl	_frame_queue_peek_writable
	cbz	x0, LBB0_36
; %bb.26:
	mov	x24, x0
	ldr	x8, [x22, #24]
	str	x8, [x0, #48]
	ldr	x0, [x0, #56]
	cbz	x0, LBB0_31
; %bb.27:
	ldr	x8, [x24, #72]
	cbz	x8, LBB0_31
; %bb.28:
	ldr	x8, [x24]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.29:
	ldr	x8, [x24, #8]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.30:
	ldr	x8, [x24, #16]
	ldr	x9, [x22, #16]
	cmp	x8, x9
	b.eq	LBB0_38
LBB0_31:
	ldr	x8, [x24]
	ldr	x2, [x22]
	cmp	x8, x2
	b.ne	LBB0_33
; %bb.32:
	ldr	x9, [x24, #8]
	ldr	x3, [x22, #8]
	cmp	x9, x3
	b.ne	LBB0_34
	b	LBB0_35
LBB0_33:
	ldr	x3, [x22, #8]
LBB0_34:
Lloh16:
	adrp	x8, _FFP_MSG_VIDEO_SIZE_CHANGED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FFP_MSG_VIDEO_SIZE_CHANGED@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ffp_notify_msg3
	ldp	x8, x9, [x22]
LBB0_35:
	str	xzr, [x24, #72]
	stp	x8, x9, [x24]
	ldr	x1, [x22, #16]
	str	x1, [x24, #16]
	mov	x0, x19
	bl	_alloc_picture
	ldr	x8, [x25, #64]
	cbz	x8, LBB0_37
LBB0_36:
	mov	w19, #-1
	b	LBB0_43
LBB0_37:
	ldr	x0, [x24, #56]
	cbz	x0, LBB0_40
LBB0_38:
	bl	_SDL_VoutLockYUVOverlay
	ldr	x0, [x24, #56]
	mov	x1, x22
	bl	_SDL_VoutFillFrameYUVOverlay
	tbnz	x0, #63, LBB0_58
; %bb.39:
	ldr	x0, [x24, #56]
	bl	_SDL_VoutUnlockYUVOverlay
	stp	d9, d8, [x24, #24]
	str	x21, [x24, #64]
	str	w20, [x24, #40]
	ldr	x8, [x22, #24]
	str	x8, [x24, #48]
	ldr	x9, [x24, #56]
	str	x8, [x9]
	mov	x0, x23
	bl	_frame_queue_push
	ldr	w8, [x25, #48]
	cbz	w8, LBB0_41
LBB0_40:
	mov	w19, #0
	b	LBB0_43
LBB0_41:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_ALOGD
Lloh21:
	adrp	x8, _FFP_MSG_VIDEO_DECODED_START@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FFP_MSG_VIDEO_DECODED_START@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ffp_notify_msg1
	bl	_SDL_GetTickHR
	mov	w19, #0
	mov	w8, #1
	stp	w8, w0, [x25, #48]
	b	LBB0_43
LBB0_42:
	mov	w19, #1
LBB0_43:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_44:
Lloh24:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w8, [x25, #100]
	str	d9, [sp, #16]
	stp	x8, x24, [sp]
Lloh27:
	adrp	x2, l_.str.2@PAGE
Lloh28:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_av_log
	ldr	x8, [x25, #8]
	cmp	x24, x8
	b.ne	LBB0_24
; %bb.45:
	str	wzr, [x25, #100]
	mov	x23, x25
	ldr	w0, [x23, #72]!
	bl	_SDL_LockMutex
	str	wzr, [x25]
	ldr	w0, [x25, #96]
	bl	_SDL_CondSignal
	ldr	x8, [x25, #8]
	cmp	x24, x8
	b.ne	LBB0_48
; %bb.46:
	ldr	x8, [x25, #88]
	cbz	x8, LBB0_48
; %bb.47:
	ldr	w8, [x25, #80]
	cbz	w8, LBB0_57
LBB0_48:
Lloh29:
	adrp	x8, _FFP_MSG_ACCURATE_SEEK_COMPLETE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FFP_MSG_ACCURATE_SEEK_COMPLETE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	fcvtzs	w2, d10
	mov	x0, x19
	bl	_ffp_notify_msg2
LBB0_49:
	ldr	x8, [x25, #8]
	cmp	x24, x8
	b.eq	LBB0_23
; %bb.50:
	ldr	w8, [x25, #80]
	cbnz	w8, LBB0_23
; %bb.51:
	mov	w19, #1
	str	w19, [x25]
	ldr	w0, [x25, #72]
	bl	_SDL_UnlockMutex
	b	LBB0_43
LBB0_52:
	fneg	d10, d10
	mov	x24, #70368744177664
	movk	x24, #16527, lsl #48
	mov	x26, #-34463
	movk	x26, #65534, lsl #16
	mov	w27, #19923
	movk	w27, #4194, lsl #16
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #40]
	scvtf	d0, x8
	fmov	d1, x24
	fmadd	d0, d10, d1, d0
	fcvtzs	x9, d0
	ldr	x10, [x25, #8]
	cmp	x9, x26
	ccmp	x8, x10, #0, ge
	b.lt	LBB0_18
; %bb.54:                               ;   in Loop: Header=BB0_53 Depth=1
	mov	w0, #20000
	bl	_av_usleep
	bl	_av_gettime_relative
	smull	x8, w0, w27
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	sxtw	x23, w8
	ldr	x8, [x25, #24]
	ldr	x9, [x19]
	sub	x8, x23, x8
	cmp	x8, x9
	b.gt	LBB0_18
; %bb.55:                               ;   in Loop: Header=BB0_53 Depth=1
	ldr	x8, [x25, #88]
	cbz	x8, LBB0_18
; %bb.56:                               ;   in Loop: Header=BB0_53 Depth=1
	ldr	w8, [x25, #80]
	cbz	w8, LBB0_53
	b	LBB0_18
LBB0_57:
	ldp	w1, w0, [x25, #72]
	ldr	x2, [x19]
	bl	_SDL_CondWaitTimeout
	b	LBB0_49
LBB0_58:
Lloh32:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x2, l_.str.3@PAGE
Lloh36:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, #0
	bl	_av_log
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DEVIATION,8,3              ; @MAX_DEVIATION
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"video accurate_seek start, is->seek_pos=%lld, pts=%lf, is->accurate_seek_time = %lld\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"video accurate_seek is error, is->drop_vframe_count=%d, now = %lld, pts = %lf\n"

l_.str.2:                               ; @.str.2
	.asciz	"video accurate_seek is ok, is->drop_vframe_count =%d, is->seek_pos=%lld, pts=%lf\n"

	.comm	_FFP_MSG_ACCURATE_SEEK_COMPLETE,4,2 ; @FFP_MSG_ACCURATE_SEEK_COMPLETE
	.comm	_FFP_MSG_VIDEO_SIZE_CHANGED,4,2 ; @FFP_MSG_VIDEO_SIZE_CHANGED
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"Cannot initialize the conversion context\n"

l_.str.4:                               ; @.str.4
	.asciz	"Video: first frame decoded\n"

	.comm	_FFP_MSG_VIDEO_DECODED_START,4,2 ; @FFP_MSG_VIDEO_DECODED_START
	.comm	_data,4,2                       ; @data
	.comm	_linesize,4,2                   ; @linesize
	.no_dead_strip	_queue_picture
.subsections_via_symbols
