	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_devinit_init
_nv50_devinit_init:                     ## @nv50_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_nouveau_bios
	movq	%rax, %rbx
	movl	$255, -52(%rbp)
	cmpl	$0, (%r14)
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_nv_rdvgac
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$26, %edx
	callq	_nv_rdvgac
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_nv_info
	movl	$1, (%r14)
LBB0_4:
	movq	%r14, %rdi
	callq	_nouveau_devinit_init
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	cmpl	$0, (%r14)
	je	LBB0_11
## %bb.6:
	leaq	-52(%rbp), %r12
	leaq	-76(%rbp), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r15d
	cmpl	$0, (%r14)
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	movq	%r13, %rcx
	leaq	-48(%rbp), %r8
	callq	_dcb_outp_parse
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	movq	%r12, %rcx
	movq	%r13, %r8
	leaq	-72(%rbp), %r9
	leaq	-64(%rbp), %rax
	pushq	%rax
	leaq	-68(%rbp), %rax
	pushq	%rax
	callq	_nvbios_outp_match
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, -120(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -112(%rbp)
	movq	-64(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	%rbx, -96(%rbp)
	movq	%r14, %rdi
	callq	_nv_subdev
	movl	%eax, -88(%rbp)
	leaq	-120(%rbp), %rdi
	callq	_nvbios_exec
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adaptor not initialised\n"

	.no_dead_strip	_nv50_devinit_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nv50_devinit_init
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nv50_devinit_init:                     ; @nv50_devinit_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
	bl	_nouveau_bios
	mov	x20, x0
	mov	w8, #255
	str	w8, [sp, #60]
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_nv_rdvgac
	cbnz	w0, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #26
	bl	_nv_rdvgac
	cbnz	w0, LBB0_4
; %bb.3:
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_4:
	mov	x0, x19
	bl	_nouveau_devinit_init
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.6:
	mov	w21, #0
	add	x22, sp, #64
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19]
	cbz	w8, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #60
	add	x3, sp, #56
	add	x4, sp, #64
	mov	x0, x20
	mov	x1, x21
	bl	_dcb_outp_parse
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldp	w2, w1, [sp, #64]
	add	x3, sp, #60
	add	x4, sp, #56
	add	x5, sp, #52
	add	x6, sp, #48
	sub	x7, x29, #56
	mov	x0, x20
	bl	_nvbios_outp_match
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	str	d8, [sp, #8]
	str	x22, [sp, #16]
	ldur	x8, [x29, #-56]
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	x20, [sp, #32]
	mov	x0, x19
	bl	_nv_subdev
	str	w0, [sp, #40]
	add	x0, sp, #8
	bl	_nvbios_exec
	b	LBB0_7
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adaptor not initialised\n"

	.no_dead_strip	_nv50_devinit_init
.subsections_via_symbols
