	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_devinit_init              ## -- Begin function nv04_devinit_init
	.p2align	4, 0x90
_nv04_devinit_init:                     ## @nv04_devinit_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	callq	_nv_rdvgac
	movl	%eax, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_nv_rdvgac
	movl	%eax, %r12d
	andl	$1, %r12d
	shll	$8, %r12d
	orl	%r15d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_nv_rdvgac
	movl	%eax, %r15d
	andl	$32, %r15d
	shll	$4, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$37, %edx
	callq	_nv_rdvgac
	movl	%eax, %ebx
	andl	$1, %ebx
	shll	$10, %ebx
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$65, %edx
	callq	_nv_rdvgac
	andl	$1, %eax
	shll	$11, %eax
	orl	%ebx, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nv_info
	movl	$1, (%r14)
LBB0_3:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nouveau_devinit_init           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adaptor not initialised\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv04_devinit_init              ; -- Begin function nv04_devinit_init
	.p2align	2
_nv04_devinit_init:                     ; @nv04_devinit_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	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #6
	bl	_nv_rdvgac
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #7
	bl	_nv_rdvgac
	ubfiz	w8, w0, #8, #1
	orr	w20, w8, w20
	mov	x0, x19
	mov	w1, #0
	mov	w2, #7
	bl	_nv_rdvgac
	lsl	w8, w0, #4
	and	w8, w8, #0x200
	orr	w20, w20, w8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #37
	bl	_nv_rdvgac
	ubfiz	w8, w0, #10, #1
	orr	w20, w20, w8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #65
	bl	_nv_rdvgac
	ubfiz	w8, w0, #11, #1
	orr	w8, w20, w8
	cbnz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nv_info
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nouveau_devinit_init
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adaptor not initialised\n"

.subsections_via_symbols
