	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_devinit_disable
_nv50_devinit_disable:                  ## @nv50_devinit_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movl	$5440, %esi                     ## imm = 0x1540
	callq	_nvkm_rd32
	movq	_NVKM_ENGINE_MPEG@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shlq	%cl, %rdx
	xorl	%ecx, %ecx
	testl	$1073741824, %eax               ## imm = 0x40000000
	cmoveq	%rdx, %rcx
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_ENGINE_MPEG,8,3           ## @NVKM_ENGINE_MPEG
	.no_dead_strip	_nv50_devinit_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_devinit_disable
_nv50_devinit_disable:                  ; @nv50_devinit_disable
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
	mov	w1, #5440
	bl	_nvkm_rd32
Lloh0:
	adrp	x8, _NVKM_ENGINE_MPEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVKM_ENGINE_MPEG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x8, x9, x8
	tst	w0, #0x40000000
	csel	x0, x8, xzr, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_ENGINE_MPEG,8,3           ; @NVKM_ENGINE_MPEG
	.no_dead_strip	_nv50_devinit_disable
.subsections_via_symbols
