	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdpau_mpeg_start_frame
_vdpau_mpeg_start_frame:                ## @vdpau_mpeg_start_frame
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	movq	80(%rbx), %rax
	movq	(%rax), %r13
	movq	_VDP_INVALID_HANDLE@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 80(%r13)
	movq	%rax, 88(%r13)
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_4
## %bb.2:
	movl	76(%rbx), %edi
	callq	_ff_vdpau_get_surface_id
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r15d
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	setne	%dil
	callq	_assert
	movq	%r12, 88(%r13)
	movl	%r15d, %r12d
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_3:
	movl	72(%rbx), %edi
	callq	_ff_vdpau_get_surface_id
	movq	%rax, 80(%r13)
	movl	(%rbx), %eax
LBB0_4:
	movq	$0, 72(%r13)
	movl	%eax, (%r13)
	movups	56(%rbx), %xmm0
	movups	%xmm0, 56(%r13)
	movups	40(%rbx), %xmm0
	movups	%xmm0, 40(%r13)
	movq	32(%rbx), %rax
	movl	(%rax), %ecx
	movl	%ecx, 36(%r13)
	movl	4(%rax), %eax
	movl	%eax, 32(%r13)
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %edx
	movq	24(%r13), %rsi
	movq	(%rsi), %rdi
	movl	%edx, (%rdi)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rdi)
	movq	8(%rax), %rax
	movl	(%rax), %ecx
	movq	8(%rsi), %rdx
	movl	%ecx, (%rdx)
	movl	4(%rax), %eax
	movl	%eax, 4(%rdx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rdx
	movq	8(%r13), %rcx
	movq	16(%r13), %rsi
	movq	%rcx, %rdi
	subq	%rsi, %rdi
	cmpq	$16, %rdi
	jb	LBB0_9
## %bb.5:
	movq	%rsi, %rdi
	subq	%rdx, %rdi
	cmpq	$16, %rdi
	jb	LBB0_9
## %bb.6:
	movq	%rax, %rdi
	subq	%rsi, %rdi
	cmpq	$16, %rdi
	jb	LBB0_9
## %bb.7:
	movq	%rcx, %rdi
	subq	%rdx, %rdi
	cmpq	$16, %rdi
	jb	LBB0_9
## %bb.8:
	movq	%rcx, %rdi
	subq	%rax, %rdi
	cmpq	$15, %rdi
	jbe	LBB0_9
## %bb.12:
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rsi)
	movups	(%rax), %xmm0
	movups	%xmm0, (%rcx)
	movups	16(%rdx), %xmm0
	movups	%xmm0, 16(%rsi)
	movups	16(%rax), %xmm0
	movups	%xmm0, 16(%rcx)
	movups	32(%rdx), %xmm0
	movups	%xmm0, 32(%rsi)
	movups	32(%rax), %xmm0
	movups	%xmm0, 32(%rcx)
	movups	48(%rdx), %xmm0
	movups	%xmm0, 48(%rsi)
	movups	48(%rax), %xmm0
	movups	%xmm0, 48(%rcx)
	movups	64(%rdx), %xmm0
	movups	%xmm0, 64(%rsi)
	movups	64(%rax), %xmm0
	movups	%xmm0, 64(%rcx)
	movups	80(%rdx), %xmm0
	movups	%xmm0, 80(%rsi)
	movups	80(%rax), %xmm0
	movups	%xmm0, 80(%rcx)
	movups	96(%rdx), %xmm0
	movups	%xmm0, 96(%rsi)
	movups	96(%rax), %xmm0
	movups	%xmm0, 96(%rcx)
	movups	112(%rdx), %xmm0
	movups	%xmm0, 112(%rsi)
	movups	112(%rax), %xmm0
	movups	%xmm0, 112(%rcx)
	movups	128(%rdx), %xmm0
	movups	%xmm0, 128(%rsi)
	movups	128(%rax), %xmm0
	movups	%xmm0, 128(%rcx)
	movups	144(%rdx), %xmm0
	movups	%xmm0, 144(%rsi)
	movups	144(%rax), %xmm0
	movups	%xmm0, 144(%rcx)
	movups	160(%rdx), %xmm0
	movups	%xmm0, 160(%rsi)
	movups	160(%rax), %xmm0
	movups	%xmm0, 160(%rcx)
	movups	176(%rdx), %xmm0
	movups	%xmm0, 176(%rsi)
	movups	176(%rax), %xmm0
	movups	%xmm0, 176(%rcx)
	movups	192(%rdx), %xmm0
	movups	%xmm0, 192(%rsi)
	movups	192(%rax), %xmm0
	movups	%xmm0, 192(%rcx)
	movups	208(%rdx), %xmm0
	movups	%xmm0, 208(%rsi)
	movups	208(%rax), %xmm0
	movups	%xmm0, 208(%rcx)
	movups	224(%rdx), %xmm0
	movups	%xmm0, 224(%rsi)
	movups	224(%rax), %xmm0
	movups	%xmm0, 224(%rcx)
	movups	240(%rdx), %xmm0
	movups	%xmm0, 240(%rsi)
	movups	240(%rax), %xmm0
	movups	%xmm0, 240(%rcx)
	jmp	LBB0_11
LBB0_9:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi,4), %ebx
	movl	%ebx, (%rsi,%rdi,4)
	movl	(%rax,%rdi,4), %ebx
	movl	%ebx, (%rcx,%rdi,4)
	movl	4(%rdx,%rdi,4), %ebx
	movl	%ebx, 4(%rsi,%rdi,4)
	movl	4(%rax,%rdi,4), %ebx
	movl	%ebx, 4(%rcx,%rdi,4)
	addq	$2, %rdi
	cmpq	$64, %rdi
	jne	LBB0_10
LBB0_11:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_vdpau_common_start_frame    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VDP_INVALID_HANDLE,8,3         ## @VDP_INVALID_HANDLE
	.no_dead_strip	_vdpau_mpeg_start_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdpau_mpeg_start_frame
_vdpau_mpeg_start_frame:                ; @vdpau_mpeg_start_frame
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	x23, [x0]
	ldr	x8, [x23, #80]
Lloh0:
	adrp	x24, _VDP_INVALID_HANDLE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VDP_INVALID_HANDLE@GOTPAGEOFF]
	ldr	x21, [x8]
	ldr	x8, [x24]
	stp	x8, x8, [x21, #80]
	ldr	w8, [x23]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x23, #76]
	bl	_ff_vdpau_get_surface_id
	mov	x22, x0
	ldr	x8, [x24]
	cmp	x0, x8
	cset	w0, ne
	bl	_assert
	str	x22, [x21, #88]
LBB0_3:
	ldr	w0, [x23, #72]
	bl	_ff_vdpau_get_surface_id
	str	x0, [x21, #80]
	ldr	w8, [x23]
LBB0_4:
	str	xzr, [x21, #72]
	str	w8, [x21]
	ldur	q0, [x23, #56]
	stur	q0, [x21, #56]
	ldur	q0, [x23, #40]
	stur	q0, [x21, #40]
	ldp	x9, x8, [x23, #24]
	ldr	w10, [x8]
	str	w10, [x21, #36]
	ldr	w8, [x8, #4]
	str	w8, [x21, #32]
	ldp	x8, x9, [x9]
	ldr	w10, [x8]
	ldr	x11, [x21, #24]
	ldp	x12, x11, [x11]
	str	w10, [x12]
	ldr	w8, [x8, #4]
	str	w8, [x12, #4]
	ldr	w8, [x9]
	str	w8, [x11]
	ldr	w8, [x9, #4]
	str	w8, [x11, #4]
	ldp	x9, x8, [x23, #8]
	ldp	x10, x11, [x21, #8]
	sub	x12, x10, x11
	cmp	x12, #16
	b.lo	LBB0_10
; %bb.5:
	sub	x12, x11, x8
	cmp	x12, #16
	b.lo	LBB0_10
; %bb.6:
	sub	x12, x9, x11
	cmp	x12, #16
	b.lo	LBB0_10
; %bb.7:
	sub	x12, x10, x8
	cmp	x12, #16
	b.lo	LBB0_10
; %bb.8:
	sub	x12, x10, x9
	cmp	x12, #15
	b.ls	LBB0_10
; %bb.9:
	ldr	q0, [x8]
	str	q0, [x11]
	ldr	q0, [x9]
	str	q0, [x10]
	ldr	q0, [x8, #16]
	str	q0, [x11, #16]
	ldr	q0, [x9, #16]
	str	q0, [x10, #16]
	ldr	q0, [x8, #32]
	str	q0, [x11, #32]
	ldr	q0, [x9, #32]
	str	q0, [x10, #32]
	ldr	q0, [x8, #48]
	str	q0, [x11, #48]
	ldr	q0, [x9, #48]
	str	q0, [x10, #48]
	ldr	q0, [x8, #64]
	str	q0, [x11, #64]
	ldr	q0, [x9, #64]
	str	q0, [x10, #64]
	ldr	q0, [x8, #80]
	str	q0, [x11, #80]
	ldr	q0, [x9, #80]
	str	q0, [x10, #80]
	ldr	q0, [x8, #96]
	str	q0, [x11, #96]
	ldr	q0, [x9, #96]
	str	q0, [x10, #96]
	ldr	q0, [x8, #112]
	str	q0, [x11, #112]
	ldr	q0, [x9, #112]
	str	q0, [x10, #112]
	ldr	q0, [x8, #128]
	str	q0, [x11, #128]
	ldr	q0, [x9, #128]
	str	q0, [x10, #128]
	ldr	q0, [x8, #144]
	str	q0, [x11, #144]
	ldr	q0, [x9, #144]
	str	q0, [x10, #144]
	ldr	q0, [x8, #160]
	str	q0, [x11, #160]
	ldr	q0, [x9, #160]
	str	q0, [x10, #160]
	ldr	q0, [x8, #176]
	str	q0, [x11, #176]
	ldr	q0, [x9, #176]
	str	q0, [x10, #176]
	ldr	q0, [x8, #192]
	str	q0, [x11, #192]
	ldr	q0, [x9, #192]
	str	q0, [x10, #192]
	ldr	q0, [x8, #208]
	str	q0, [x11, #208]
	ldr	q0, [x9, #208]
	str	q0, [x10, #208]
	ldr	q0, [x8, #224]
	str	q0, [x11, #224]
	ldr	q0, [x9, #224]
	str	q0, [x10, #224]
	ldr	q0, [x8, #240]
	str	q0, [x11, #240]
	ldr	q0, [x9, #240]
	str	q0, [x10, #240]
	b	LBB0_12
LBB0_10:
	mov	x12, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x8, x12]
	str	w13, [x11, x12]
	ldr	w13, [x9, x12]
	str	w13, [x10, x12]
	add	x12, x12, #4
	cmp	x12, #256
	b.ne	LBB0_11
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_ff_vdpau_common_start_frame
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VDP_INVALID_HANDLE,8,3         ; @VDP_INVALID_HANDLE
	.no_dead_strip	_vdpau_mpeg_start_frame
.subsections_via_symbols
