	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvd_v6_0_set_ring_funcs
_uvd_v6_0_set_ring_funcs:               ## @uvd_v6_0_set_ring_funcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CHIP_POLARIS10@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	movq	8(%rdi), %rdx
	cmpq	(%rax), %rcx
	movq	_uvd_v6_0_ring_vm_funcs@GOTPCREL(%rip), %rax
	cmovlq	_uvd_v6_0_ring_phys_funcs@GOTPCREL(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str(%rip), %rdi
	cmovlq	%rcx, %rdi
	movq	%rax, (%rdx)
	popq	%rbp
	jmp	_DRM_INFO                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_POLARIS10,8,3             ## @CHIP_POLARIS10
	.comm	_uvd_v6_0_ring_vm_funcs,4,2     ## @uvd_v6_0_ring_vm_funcs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UVD is enabled in VM mode\n"

	.comm	_uvd_v6_0_ring_phys_funcs,4,2   ## @uvd_v6_0_ring_phys_funcs
L_.str.1:                               ## @.str.1
	.asciz	"UVD is enabled in physical mode\n"

	.no_dead_strip	_uvd_v6_0_set_ring_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvd_v6_0_set_ring_funcs
_uvd_v6_0_set_ring_funcs:               ; @uvd_v6_0_set_ring_funcs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CHIP_POLARIS10@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHIP_POLARIS10@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _uvd_v6_0_ring_vm_funcs@GOTPAGE
Lloh4:
	ldr	x9, [x9, _uvd_v6_0_ring_vm_funcs@GOTPAGEOFF]
	ldp	x10, x11, [x0]
Lloh5:
	adrp	x12, _uvd_v6_0_ring_phys_funcs@GOTPAGE
Lloh6:
	ldr	x12, [x12, _uvd_v6_0_ring_phys_funcs@GOTPAGEOFF]
Lloh7:
	adrp	x13, l_.str@PAGE
Lloh8:
	add	x13, x13, l_.str@PAGEOFF
	cmp	x10, x8
	csel	x8, x12, x9, lt
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x0, x9, x13, lt
	str	x8, [x11]
	b	_DRM_INFO
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_POLARIS10,8,3             ; @CHIP_POLARIS10
	.comm	_uvd_v6_0_ring_vm_funcs,4,2     ; @uvd_v6_0_ring_vm_funcs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UVD is enabled in VM mode\n"

	.comm	_uvd_v6_0_ring_phys_funcs,4,2   ; @uvd_v6_0_ring_phys_funcs
l_.str.1:                               ; @.str.1
	.asciz	"UVD is enabled in physical mode\n"

	.no_dead_strip	_uvd_v6_0_set_ring_funcs
.subsections_via_symbols
