	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_vdpau_common_reinit
_ff_vdpau_common_reinit:                ## @ff_vdpau_common_reinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_VDP_INVALID_HANDLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rcx
	cmpq	16(%rax), %rcx
	jne	LBB0_6
## %bb.3:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpl	$0, (%rax)
	je	LBB0_5
LBB0_6:
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VDP_INVALID_HANDLE,8,3         ## @VDP_INVALID_HANDLE
	.no_dead_strip	_ff_vdpau_common_reinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_vdpau_common_reinit
_ff_vdpau_common_reinit:                ; @ff_vdpau_common_reinit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _VDP_INVALID_HANDLE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VDP_INVALID_HANDLE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	x9, [x0]
	ldr	x10, [x8, #8]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.3:
	ldr	x9, [x19, #8]
	ldr	x8, [x8, #16]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_1
; %bb.5:
	ldr	w8, [x8]
	cbz	w8, LBB0_1
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VDP_INVALID_HANDLE,8,3         ; @VDP_INVALID_HANDLE
	.no_dead_strip	_ff_vdpau_common_reinit
.subsections_via_symbols
