	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vcr2_init_sequence
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vcr2_init_sequence:                    ## @vcr2_init_sequence
	.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
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	leaq	16(%r15), %r14
	movq	_FMT_MPEG1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%r15)
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_ff_mpv_common_end
	movl	$0, (%r15)
LBB0_2:
	movl	20(%rbx), %eax
	movl	%eax, 88(%r15)
	movl	16(%rbx), %eax
	movl	%eax, 84(%r15)
	movq	$0, 8(%rbx)
	movl	$1, 16(%r15)
	movq	%rbx, %rdi
	callq	_mpeg_get_pixelformat
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_setup_hwaccel_for_pixfmt
	movq	%r14, %rdi
	callq	_ff_mpv_idct_init
	movq	%r14, %rdi
	callq	_ff_mpv_common_init
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	movl	$1, (%r15)
	movq	128(%r15), %r8
	movq	_ff_mpeg1_default_intra_matrix@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	24(%r15), %r10
	movq	32(%r15), %r11
	movq	_ff_mpeg1_default_non_intra_matrix@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	40(%r15), %rbx
	movq	48(%r15), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r8,%rcx,4), %rdx
	movl	(%r9,%rcx,4), %esi
	movl	%esi, (%r10,%rdx,4)
	movl	%esi, (%r11,%rdx,4)
	movl	(%rdi,%rcx,4), %esi
	movl	%esi, (%rbx,%rdx,4)
	movl	%esi, (%rax,%rdx,4)
	movslq	4(%r8,%rcx,4), %rdx
	movl	4(%r9,%rcx,4), %esi
	movl	%esi, (%r10,%rdx,4)
	movl	%esi, (%r11,%rdx,4)
	movl	4(%rdi,%rcx,4), %esi
	movl	%esi, (%rbx,%rdx,4)
	movl	%esi, (%rax,%rdx,4)
	addq	$2, %rcx
	cmpq	$64, %rcx
	jne	LBB0_4
## %bb.5:
	movq	_PICT_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r15)
	movq	$0, 112(%r15)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, 56(%r15)
	movq	72(%r15), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_AV_RL32
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.6:
	movq	_AV_CODEC_ID_MPEG1VIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movl	$1, 80(%r15)
	movq	_AV_CODEC_ID_MPEG2VIDEO@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movq	96(%r15), %rcx
	movl	%eax, (%rcx)
	movl	%eax, 104(%r15)
	movq	84(%r15), %rax
	movq	%rax, 8(%r15)
	movl	56(%r15), %eax
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FMT_MPEG1,4,2                  ## @FMT_MPEG1
	.comm	_ff_mpeg1_default_intra_matrix,8,3 ## @ff_mpeg1_default_intra_matrix
	.comm	_ff_mpeg1_default_non_intra_matrix,8,3 ## @ff_mpeg1_default_non_intra_matrix
	.comm	_PICT_FRAME,4,2                 ## @PICT_FRAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BW10"

	.comm	_AV_CODEC_ID_MPEG1VIDEO,4,2     ## @AV_CODEC_ID_MPEG1VIDEO
	.comm	_AV_CODEC_ID_MPEG2VIDEO,4,2     ## @AV_CODEC_ID_MPEG2VIDEO
	.no_dead_strip	_vcr2_init_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vcr2_init_sequence
_vcr2_init_sequence:                    ; @vcr2_init_sequence
	.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	x20, x0
	ldr	x21, [x0, #24]
	add	x19, x21, #16
Lloh0:
	adrp	x8, _FMT_MPEG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FMT_MPEG1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #136]
	ldr	w8, [x21]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ff_mpv_common_end
	str	wzr, [x21]
LBB0_2:
	ldr	d0, [x20, #16]
	stur	d0, [x21, #84]
	str	xzr, [x20, #8]
	mov	w22, #1
	str	w22, [x21, #16]
	mov	x0, x20
	bl	_mpeg_get_pixelformat
	str	w0, [x20]
	mov	x0, x20
	bl	_setup_hwaccel_for_pixfmt
	mov	x0, x19
	bl	_ff_mpv_idct_init
	mov	x0, x19
	bl	_ff_mpv_common_init
	tbnz	w0, #31, LBB0_9
; %bb.3:
	mov	x8, #0
	str	w22, [x21]
	ldr	x9, [x21, #128]
Lloh3:
	adrp	x10, _ff_mpeg1_default_intra_matrix@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ff_mpeg1_default_intra_matrix@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldp	x11, x12, [x21, #24]
Lloh6:
	adrp	x13, _ff_mpeg1_default_non_intra_matrix@GOTPAGE
Lloh7:
	ldr	x13, [x13, _ff_mpeg1_default_non_intra_matrix@GOTPAGEOFF]
Lloh8:
	ldr	x13, [x13]
	ldp	x14, x15, [x21, #40]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x16, [x9, x8]
	ldr	w17, [x10, x8]
	lsl	x16, x16, #2
	str	w17, [x11, x16]
	str	w17, [x12, x16]
	ldr	w17, [x13, x8]
	str	w17, [x14, x16]
	str	w17, [x15, x16]
	add	x8, x8, #4
	cmp	x8, #256
	b.ne	LBB0_4
; %bb.5:
	movi.2s	v0, #1
Lloh9:
	adrp	x8, _PICT_FRAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PICT_FRAME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #120]
	str	xzr, [x21, #112]
	stp	d0, d0, [x21, #56]
	ldr	x19, [x21, #72]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AV_RL32
	cmp	x19, x0
	b.ne	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w8, #1
	str	w8, [x21, #80]
Lloh16:
	adrp	x8, _AV_CODEC_ID_MPEG2VIDEO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_CODEC_ID_MPEG2VIDEO@GOTPAGEOFF]
LBB0_8:
	mov	w0, #0
	ldr	w8, [x8]
	ldr	x9, [x21, #96]
	str	w8, [x9]
	str	w8, [x21, #104]
	ldur	d0, [x21, #84]
	str	d0, [x21, #8]
	ldr	w8, [x21, #56]
	str	w8, [x21, #4]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FMT_MPEG1,4,2                  ; @FMT_MPEG1
	.comm	_ff_mpeg1_default_intra_matrix,8,3 ; @ff_mpeg1_default_intra_matrix
	.comm	_ff_mpeg1_default_non_intra_matrix,8,3 ; @ff_mpeg1_default_non_intra_matrix
	.comm	_PICT_FRAME,4,2                 ; @PICT_FRAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BW10"

	.comm	_AV_CODEC_ID_MPEG1VIDEO,4,2     ; @AV_CODEC_ID_MPEG1VIDEO
	.comm	_AV_CODEC_ID_MPEG2VIDEO,4,2     ; @AV_CODEC_ID_MPEG2VIDEO
	.no_dead_strip	_vcr2_init_sequence
.subsections_via_symbols
