	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mcp89_devinit_disable
LCPI0_0:
	.long	512                             ## 0x200
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mcp89_devinit_disable:                 ## @mcp89_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$5440, %esi                     ## imm = 0x1540
	callq	_nvkm_rd32
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$5452, %esi                     ## imm = 0x154C
	callq	_nvkm_rd32
	testl	$1073741824, %r14d              ## imm = 0x40000000
	jne	LBB0_1
## %bb.2:
	movq	_NVKM_ENGINE_MSPDEC@GOTPCREL(%rip), %rcx
	movb	(%rcx), %sil
	movq	_NVKM_ENGINE_MSPPP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %r8d
	shlq	%cl, %r8
	btsq	%rsi, %r8
	jmp	LBB0_3
LBB0_1:
	xorl	%r8d, %r8d
LBB0_3:
	movq	_NVKM_ENGINE_DISP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shlq	%cl, %rsi
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	_NVKM_ENGINE_MSVLD@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %ebx
	shlq	%cl, %rbx
	pand	LCPI0_0(%rip), %xmm0
	movq	_NVKM_ENGINE_VIC@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %edx
	xorl	%r9d, %r9d
	testb	$8, %dl
	cmoveq	%r9, %rsi
	orq	%r8, %rsi
	testb	$4, %dl
	cmoveq	%r9, %rbx
	testb	$2, %dl
	cmoveq	%r9, %rdi
	movl	$1, %eax
	orq	%rbx, %rdi
	orq	%rsi, %rdi
	movq	_NVKM_ENGINE_CE0@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	testb	$1, %dl
	cmoveq	%r9, %rax
	orq	%rdi, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_ENGINE_MSPDEC,8,3         ## @NVKM_ENGINE_MSPDEC
	.comm	_NVKM_ENGINE_MSPPP,8,3          ## @NVKM_ENGINE_MSPPP
	.comm	_NVKM_ENGINE_DISP,8,3           ## @NVKM_ENGINE_DISP
	.comm	_NVKM_ENGINE_MSVLD,8,3          ## @NVKM_ENGINE_MSVLD
	.comm	_NVKM_ENGINE_VIC,8,3            ## @NVKM_ENGINE_VIC
	.comm	_NVKM_ENGINE_CE0,8,3            ## @NVKM_ENGINE_CE0
	.no_dead_strip	_mcp89_devinit_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mcp89_devinit_disable
lCPI0_0:
	.long	4                               ; 0x4
	.long	32                              ; 0x20
	.long	64                              ; 0x40
	.long	512                             ; 0x200
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mcp89_devinit_disable:                 ; @mcp89_devinit_disable
	.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	x19, [x0]
	mov	x0, x19
	mov	w1, #5440
	bl	_nvkm_rd32
	mov	x20, x0
	mov	x0, x19
	mov	w1, #5452
	bl	_nvkm_rd32
	tbnz	w20, #30, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NVKM_ENGINE_MSPDEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVKM_ENGINE_MSPDEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x8, x9, x8
Lloh3:
	adrp	x10, _NVKM_ENGINE_MSPPP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NVKM_ENGINE_MSPPP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	lsl	x9, x9, x10
	orr	x8, x9, x8
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	dup.4s	v0, w0
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	q1, [x9, lCPI0_0@PAGEOFF]
	and.16b	v0, v0, v1
Lloh8:
	adrp	x9, _NVKM_ENGINE_DISP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NVKM_ENGINE_DISP@GOTPAGEOFF]
Lloh10:
	adrp	x10, _NVKM_ENGINE_MSVLD@GOTPAGE
Lloh11:
	ldr	x10, [x10, _NVKM_ENGINE_MSVLD@GOTPAGEOFF]
Lloh12:
	adrp	x11, _NVKM_ENGINE_VIC@GOTPAGE
Lloh13:
	ldr	x11, [x11, _NVKM_ENGINE_VIC@GOTPAGEOFF]
Lloh14:
	ldr	d1, [x9]
	cmeq.4s	v0, v0, #0
	sshll.2d	v2, v0, #0
	sshll2.2d	v0, v0, #0
Lloh15:
	adrp	x9, _NVKM_ENGINE_CE0@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NVKM_ENGINE_CE0@GOTPAGEOFF]
	ld1.d	{ v1 }[1], [x10]
Lloh17:
	ldr	d3, [x11]
	ld1.d	{ v3 }[1], [x9]
	mov	w9, #1
	dup.2d	v4, x9
	ushl.2d	v1, v4, v1
	ushl.2d	v3, v4, v3
	and.16b	v0, v3, v0
	and.16b	v1, v1, v2
	orr.16b	v0, v1, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	x9, d0
	orr	x0, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh17
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh14
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_ENGINE_MSPDEC,8,3         ; @NVKM_ENGINE_MSPDEC
	.comm	_NVKM_ENGINE_MSPPP,8,3          ; @NVKM_ENGINE_MSPPP
	.comm	_NVKM_ENGINE_DISP,8,3           ; @NVKM_ENGINE_DISP
	.comm	_NVKM_ENGINE_MSVLD,8,3          ; @NVKM_ENGINE_MSVLD
	.comm	_NVKM_ENGINE_VIC,8,3            ; @NVKM_ENGINE_VIC
	.comm	_NVKM_ENGINE_CE0,8,3            ; @NVKM_ENGINE_CE0
	.no_dead_strip	_mcp89_devinit_disable
.subsections_via_symbols
