	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slice_end
_slice_end:                             ## @slice_end
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	xorl	%r12d, %r12d
	cmpl	$0, 4(%rbx)
	je	LBB0_11
## %bb.1:
	cmpq	$0, 32(%rbx)
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	56(%rbx), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	*(%rax)
	testl	%eax, %eax
	js	LBB0_10
LBB0_4:
	cmpl	$0, 52(%rbx)
	jne	LBB0_11
## %bb.5:
	cmpl	$0, (%rbx)
	jne	LBB0_11
## %bb.6:
	leaq	8(%rbx), %r15
	leaq	48(%rbx), %rdi
	callq	_ff_er_frame_end
	movq	%r15, %rdi
	callq	_ff_mpv_frame_end
	movq	8(%rbx), %rax
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	cmpq	$0, 40(%rbx)
	je	LBB0_13
LBB0_8:
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.9:
	movq	32(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ff_print_debug_info
	movq	32(%rbx), %rdx
	movq	_FF_QSCALE_TYPE_MPEG2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ff_mpv_export_qp_table
	movl	$1, %r12d
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
	movl	%r15d, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_FF_THREAD_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_15
## %bb.14:
	incl	24(%rbx)
LBB0_15:
	movq	16(%rbx), %rax
	movl	$1, %r12d
	testq	%rax, %rax
	je	LBB0_11
## %bb.16:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_12
## %bb.17:
	movq	16(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ff_print_debug_info
	movq	16(%rbx), %rdx
	movq	_FF_QSCALE_TYPE_MPEG2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ff_mpv_export_qp_table
	jmp	LBB0_11
LBB0_12:
	movl	%eax, %r12d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hardware accelerator failed to decode picture\n"

	.comm	_AV_PICTURE_TYPE_B,8,3          ## @AV_PICTURE_TYPE_B
	.comm	_FF_QSCALE_TYPE_MPEG2,4,2       ## @FF_QSCALE_TYPE_MPEG2
	.comm	_FF_THREAD_FRAME,4,2            ## @FF_THREAD_FRAME
	.no_dead_strip	_slice_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slice_end
_slice_end:                             ; @slice_end
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x23, [x0, #8]
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x19, x1
	mov	x21, x0
	ldr	x0, [x23, #56]
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8]
	blr	x8
	tbnz	w0, #31, LBB0_8
LBB0_4:
	ldr	w8, [x23, #52]
	cbnz	w8, LBB0_6
; %bb.5:
	ldr	w8, [x23]
	cbz	w8, LBB0_9
LBB0_6:
	mov	w22, #0
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x22, x0
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
	b	LBB0_7
LBB0_9:
	add	x20, x23, #8
	add	x0, x23, #48
	bl	_ff_er_frame_end
	mov	x0, x20
	bl	_ff_mpv_frame_end
	ldr	x8, [x23, #8]
Lloh5:
	adrp	x9, _AV_PICTURE_TYPE_B@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_PICTURE_TYPE_B@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x23, #40]
	cbz	x8, LBB0_15
LBB0_11:
	ldr	x8, [x23, #32]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_20
; %bb.12:
	ldr	x1, [x23, #32]
	mov	x0, x20
	mov	x2, x19
	bl	_ff_print_debug_info
	ldr	x2, [x23, #32]
LBB0_13:
Lloh8:
	adrp	x8, _FF_QSCALE_TYPE_MPEG2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FF_QSCALE_TYPE_MPEG2@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_ff_mpv_export_qp_table
LBB0_14:
	mov	w22, #1
	b	LBB0_7
LBB0_15:
	ldr	w8, [x21]
Lloh11:
	adrp	x9, _FF_THREAD_FRAME@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FF_THREAD_FRAME@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	w8, [x23, #24]
	add	w8, w8, #1
	str	w8, [x23, #24]
LBB0_17:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_14
; %bb.18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_20
; %bb.19:
	ldr	x1, [x23, #16]
	mov	x0, x20
	mov	x2, x19
	bl	_ff_print_debug_info
	ldr	x2, [x23, #16]
	b	LBB0_13
LBB0_20:
	mov	x22, x0
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hardware accelerator failed to decode picture\n"

	.comm	_AV_PICTURE_TYPE_B,8,3          ; @AV_PICTURE_TYPE_B
	.comm	_FF_QSCALE_TYPE_MPEG2,4,2       ; @FF_QSCALE_TYPE_MPEG2
	.comm	_FF_THREAD_FRAME,4,2            ; @FF_THREAD_FRAME
	.no_dead_strip	_slice_end
.subsections_via_symbols
