	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdpau_device_init
_vdpau_device_init:                     ## @vdpau_device_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	_VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_GET_CALLBACK
	movq	_VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_GET_CALLBACK
	movq	_VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_GET_CALLBACK
	movq	_VDP_FUNC_ID_VIDEO_SURFACE_CREATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	callq	_GET_CALLBACK
	movq	_VDP_FUNC_ID_VIDEO_SURFACE_DESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_GET_CALLBACK
	movq	%r14, %rdi
	callq	_vdpau_init_pixmfts
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jns	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movl	%ebx, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES,4,2 ## @VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR,4,2 ## @VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR,4,2 ## @VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_CREATE,4,2 ## @VDP_FUNC_ID_VIDEO_SURFACE_CREATE
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_DESTROY,4,2 ## @VDP_FUNC_ID_VIDEO_SURFACE_DESTROY
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error querying the supported pixel formats\n"

	.no_dead_strip	_vdpau_device_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdpau_device_init
_vdpau_device_init:                     ; @vdpau_device_init
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_GET_CALLBACK
Lloh3:
	adrp	x8, _VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20, #12]
	bl	_GET_CALLBACK
Lloh6:
	adrp	x8, _VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	_GET_CALLBACK
Lloh9:
	adrp	x8, _VDP_FUNC_ID_VIDEO_SURFACE_CREATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VDP_FUNC_ID_VIDEO_SURFACE_CREATE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x20, #4]
	bl	_GET_CALLBACK
Lloh12:
	adrp	x8, _VDP_FUNC_ID_VIDEO_SURFACE_DESTROY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VDP_FUNC_ID_VIDEO_SURFACE_DESTROY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_GET_CALLBACK
	mov	x0, x19
	bl	_vdpau_init_pixmfts
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x0
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES,4,2 ; @VDP_FUNC_ID_VIDEO_SURFACE_QUERY_GET_PUT_BITS_Y_CB_CR_CAPABILITIES
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR,4,2 ; @VDP_FUNC_ID_VIDEO_SURFACE_GET_BITS_Y_CB_CR
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR,4,2 ; @VDP_FUNC_ID_VIDEO_SURFACE_PUT_BITS_Y_CB_CR
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_CREATE,4,2 ; @VDP_FUNC_ID_VIDEO_SURFACE_CREATE
	.comm	_VDP_FUNC_ID_VIDEO_SURFACE_DESTROY,4,2 ; @VDP_FUNC_ID_VIDEO_SURFACE_DESTROY
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error querying the supported pixel formats\n"

	.no_dead_strip	_vdpau_device_init
.subsections_via_symbols
