	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_init                    ## -- Begin function nvbios_init
	.p2align	4, 0x90
_nvbios_init:                           ## @nvbios_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_nouveau_bios
	movq	%rax, %r15
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_nv_info
LBB0_2:
	xorl	%r13d, %r13d
	testl	%ebx, %ebx
	setne	%r13b
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_init_script
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$-1, -80(%rbp)
	movl	%r13d, -76(%rbp)
	movq	$0, -72(%rbp)
	movl	%eax, -64(%rbp)
	movq	%r15, -56(%rbp)
	movq	%r14, -48(%rbp)
	movq	%r12, %rdi
	callq	_nvbios_exec
	incl	%ebx
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	_init_unknown_script
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	$-1, -80(%rbp)
	movl	%r13d, -76(%rbp)
	movq	$0, -72(%rbp)
	movl	%eax, -64(%rbp)
	movq	%r15, -56(%rbp)
	movq	%r14, -48(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_nvbios_exec
LBB0_7:
	xorl	%eax, %eax
	addq	$40, %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	"running init tables\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvbios_init                    ; -- Begin function nvbios_init
	.p2align	2
_nvbios_init:                           ; @nvbios_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
	bl	_nouveau_bios
	mov	x20, x0
	cbz	w22, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_nv_info
LBB0_2:
	mov	w21, #0
	cmp	w22, #0
	cset	w22, ne
	mov	w23, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_init_script
	cbz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	stp	w23, w22, [sp, #8]
	str	xzr, [sp, #16]
	str	w0, [sp, #24]
	stp	x20, x19, [sp, #32]
	add	x0, sp, #8
	bl	_nvbios_exec
	add	w21, w21, #1
	cbz	w0, LBB0_3
	b	LBB0_7
LBB0_5:
	mov	x0, x20
	bl	_init_unknown_script
	cbz	w0, LBB0_7
; %bb.6:
	mov	w8, #-1
	stp	w8, w22, [sp, #8]
	str	xzr, [sp, #16]
	str	w0, [sp, #24]
	stp	x20, x19, [sp, #32]
	add	x0, sp, #8
	bl	_nvbios_exec
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"running init tables\n"

.subsections_via_symbols
