	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dxva2_vp9_end_frame
_dxva2_vp9_end_frame:                   ## @dxva2_vp9_end_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_CUR_FRAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdx
	cmpq	$0, (%rdx)
	jle	LBB0_2
## %bb.1:
	movl	(%rax,%rcx), %esi
	addq	$8, %rdx
	movq	_commit_bitstream_and_slice_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ff_dxva2_common_end_frame
	jmp	LBB0_3
LBB0_2:
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CUR_FRAME,8,3                  ## @CUR_FRAME
	.comm	_commit_bitstream_and_slice_buffer,4,2 ## @commit_bitstream_and_slice_buffer
	.no_dead_strip	_dxva2_vp9_end_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dxva2_vp9_end_frame
_dxva2_vp9_end_frame:                   ; @dxva2_vp9_end_frame
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CUR_FRAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CUR_FRAME@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh2:
	ldr	x9, [x9]
	add	x10, x8, x9, lsl #4
	ldr	x10, [x10, #8]
	ldr	x11, [x10]
	cmp	x11, #1
	b.lt	LBB0_2
; %bb.1:
	lsl	x9, x9, #4
	ldr	w1, [x8, x9]
	add	x2, x10, #8
Lloh3:
	adrp	x8, _commit_bitstream_and_slice_buffer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _commit_bitstream_and_slice_buffer@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	mov	w3, #4
	mov	x4, #0
	mov	w5, #0
	b	_ff_dxva2_common_end_frame
LBB0_2:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CUR_FRAME,8,3                  ; @CUR_FRAME
	.comm	_commit_bitstream_and_slice_buffer,4,2 ; @commit_bitstream_and_slice_buffer
	.no_dead_strip	_dxva2_vp9_end_frame
.subsections_via_symbols
