	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv40_pm_clocks_set             ## -- Begin function nv40_pm_clocks_set
	.p2align	4, 0x90
_nv40_pm_clocks_set:                    ## @nv40_pm_clocks_set
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_nouveau_dev
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_nouveau_fifo
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_nouveau_drm
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	movl	$6293512, %esi                  ## imm = 0x600808
	callq	_nv_rd32
	movq	%rax, %r14
	movl	$33, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$6293512, %esi                  ## imm = 0x600808
	callq	_nv_rd32
	cmpq	%rax, %r14
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_udelay
	decq	%rbx
	jne	LBB0_1
## %bb.4:
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	jmp	LBB0_5
LBB0_2:
	movq	%r12, %rdi
	movl	$787396, %esi                   ## imm = 0xC03C4
	movl	$1, %edx
	callq	_nv_wr08
	movq	%r12, %rdi
	movl	$787397, %esi                   ## imm = 0xC03C5
	callq	_nv_rd08
	xorl	%r13d, %r13d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testb	$32, %al
	sete	%r13b
LBB0_5:
	movq	%r12, %rdi
	movl	$6301704, %esi                  ## imm = 0x602808
	callq	_nv_rd32
	movq	%rax, %r14
	movl	$33, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$6301704, %esi                  ## imm = 0x602808
	callq	_nv_rd32
	cmpq	%rax, %r14
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edi
	callq	_udelay
	decq	%rbx
	jne	LBB0_6
## %bb.9:
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	jmp	LBB0_10
LBB0_7:
	movq	%r12, %rdi
	movl	$795588, %esi                   ## imm = 0xC23C4
	movl	$1, %edx
	callq	_nv_wr08
	movq	%r12, %rdi
	movl	$795589, %esi                   ## imm = 0xC23C5
	callq	_nv_rd08
	leaq	2(%r13), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testb	$32, %al
	cmoveq	%rcx, %r13
LBB0_10:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	-96(%rbp), %rsi
	callq	*8(%rdi)
	movq	_nv40_pm_gr_idle@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_nv_wait_cb
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movl	$49216, %esi                    ## imm = 0xC040
	movl	$819, %edx                      ## imm = 0x333
	xorl	%ecx, %ecx
	callq	_nv_mask
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$16388, %esi                    ## imm = 0x4004
	callq	_nv_wr32
	movl	4(%rbx), %ecx
	movq	%r12, %rdi
	movl	$16384, %esi                    ## imm = 0x4000
	movl	$-1073282816, %edx              ## imm = 0xC0070100
	callq	_nv_mask
	movl	8(%rbx), %ecx
	movq	%r12, %rdi
	movl	$16392, %esi                    ## imm = 0x4008
	movl	$-1073217537, %edx              ## imm = 0xC007FFFF
	callq	_nv_mask
	movl	$5, %edi
	callq	_mdelay
	movl	12(%rbx), %ecx
	movq	%r12, %rdi
	movl	$49216, %esi                    ## imm = 0xC040
	movl	$819, %edx                      ## imm = 0x333
	callq	_nv_mask
	cmpl	$0, 16(%rbx)
	je	LBB0_28
## %bb.13:
	testb	$1, %r13b
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	movl	$6293512, %esi                  ## imm = 0x600808
	movl	$65536, %edx                    ## imm = 0x10000
	xorl	%ecx, %ecx
	callq	_nv_wait
	movq	%r12, %rdi
	movl	$6293512, %esi                  ## imm = 0x600808
	movl	$65536, %edx                    ## imm = 0x10000
	movl	$65536, %ecx                    ## imm = 0x10000
	callq	_nv_wait
	movq	%r12, %rdi
	movl	$787396, %esi                   ## imm = 0xC03C4
	movl	$1, %edx
	callq	_nv_wr08
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	orl	$32, %edx
	movq	%r12, %rdi
	movl	$787397, %esi                   ## imm = 0xC03C5
	callq	_nv_wr08
LBB0_15:
	testb	$2, %r13b
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_17
## %bb.16:
	movq	%r12, %rdi
	movl	$6301704, %esi                  ## imm = 0x602808
	movl	$65536, %edx                    ## imm = 0x10000
	xorl	%ecx, %ecx
	callq	_nv_wait
	movq	%r12, %rdi
	movl	$6301704, %esi                  ## imm = 0x602808
	movl	$65536, %edx                    ## imm = 0x10000
	movl	$65536, %ecx                    ## imm = 0x10000
	callq	_nv_wait
	movq	%r12, %rdi
	movl	$795588, %esi                   ## imm = 0xC23C4
	movl	$1, %edx
	callq	_nv_wr08
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	orl	$32, %edx
	movq	%r12, %rdi
	movl	$795589, %esi                   ## imm = 0xC23C5
	callq	_nv_wr08
LBB0_17:
	movq	%r12, %rdi
	movl	$1049300, %esi                  ## imm = 0x1002D4
	movl	$1, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	movl	$1049296, %esi                  ## imm = 0x1002D0
	movl	$1, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	movl	$1049296, %esi                  ## imm = 0x1002D0
	movl	$1, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	movl	$1049104, %esi                  ## imm = 0x100210
	movl	$-2147483648, %edx              ## imm = 0x80000000
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	%r12, %rdi
	movl	$1049308, %esi                  ## imm = 0x1002DC
	movl	$1, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	movl	$49216, %esi                    ## imm = 0xC040
	movl	$49152, %edx                    ## imm = 0xC000
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_nv_device
	movl	(%rax), %eax
	addl	$-64, %eax
	cmpl	$11, %eax
	ja	LBB0_22
## %bb.18:
	movl	$167, %ecx
	btl	%eax, %ecx
	jae	LBB0_19
## %bb.20:
	movl	16(%rbx), %ecx
	movq	%r12, %rdi
	movl	$16452, %esi                    ## imm = 0x4044
	movl	$-1065938688, %edx              ## imm = 0xC0771100
	callq	_nv_mask
	movl	16(%rbx), %ecx
	movq	%r12, %rdi
	movl	$16428, %esi                    ## imm = 0x402C
	movl	$-1065938688, %edx              ## imm = 0xC0771100
	callq	_nv_mask
	movl	20(%rbx), %edx
	movq	%r12, %rdi
	movl	$16456, %esi                    ## imm = 0x4048
	callq	_nv_wr32
	movl	20(%rbx), %edx
	movq	%r12, %rdi
	movl	$16432, %esi                    ## imm = 0x4030
	callq	_nv_wr32
	jmp	LBB0_21
LBB0_11:
	negl	%r15d
	jmp	LBB0_28
LBB0_19:
	movl	$2568, %ecx                     ## imm = 0xA08
	btl	%eax, %ecx
	jae	LBB0_22
LBB0_21:
	movl	16(%rbx), %ecx
	movq	%r12, %rdi
	movl	$16440, %esi                    ## imm = 0x4038
	movl	$-1065938688, %edx              ## imm = 0xC0771100
	callq	_nv_mask
	movl	20(%rbx), %edx
	movq	%r12, %rdi
	movl	$16444, %esi                    ## imm = 0x403C
	callq	_nv_wr32
LBB0_22:
	movl	16(%rbx), %ecx
	movq	%r12, %rdi
	movl	$16416, %esi                    ## imm = 0x4020
	movl	$-1065938688, %edx              ## imm = 0xC0771100
	callq	_nv_mask
	movl	20(%rbx), %edx
	movq	%r12, %rdi
	movl	$16420, %esi                    ## imm = 0x4024
	callq	_nv_wr32
	movl	$100, %edi
	callq	_udelay
	movq	%r12, %rdi
	movl	$49216, %esi                    ## imm = 0xC040
	movl	$49152, %edx                    ## imm = 0xC000
	movl	$49152, %ecx                    ## imm = 0xC000
	callq	_nv_mask
	movq	%r12, %rdi
	movl	$1049308, %esi                  ## imm = 0x1002DC
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	movl	$1049104, %esi                  ## imm = 0x100210
	movl	$-2147483648, %edx              ## imm = 0x80000000
	movl	$-2147483648, %ecx              ## imm = 0x80000000
	callq	_nv_mask
	movl	$100, %edi
	callq	_udelay
	leaq	-88(%rbp), %rdx
	movq	%r15, %rdi
	movl	$77, %esi
	callq	_bit_table
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:
	testb	$1, %r13b
	je	LBB0_26
LBB0_25:
	movq	%r12, %rdi
	movl	$6293512, %esi                  ## imm = 0x600808
	movl	$65536, %edx                    ## imm = 0x10000
	movl	$65536, %ecx                    ## imm = 0x10000
	callq	_nv_wait
	movq	%r12, %rdi
	movl	$787396, %esi                   ## imm = 0xC03C4
	movl	$1, %edx
	callq	_nv_wr08
	movq	%r12, %rdi
	movl	$787397, %esi                   ## imm = 0xC03C5
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_nv_wr08
LBB0_26:
	xorl	%r15d, %r15d
	testb	$2, %r13b
	je	LBB0_28
## %bb.27:
	movq	%r12, %rdi
	movl	$6301704, %esi                  ## imm = 0x602808
	movl	$65536, %edx                    ## imm = 0x10000
	movl	$65536, %ecx                    ## imm = 0x10000
	callq	_nv_wait
	movq	%r12, %rdi
	movl	$795588, %esi                   ## imm = 0xC23C4
	movl	$1, %edx
	callq	_nv_wr08
	movq	%r12, %rdi
	movl	$795589, %esi                   ## imm = 0xC23C5
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_nv_wr08
LBB0_28:
	leaq	-96(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*(%rdi)
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	-88(%rbp), %rax
	movl	(%rax), %edi
	callq	_ROM16
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nouveau_bios_run_init_table
	testb	$1, %r13b
	jne	LBB0_25
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_nv40_pm_gr_idle,4,2            ## @nv40_pm_gr_idle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv40_pm_clocks_set             ; -- Begin function nv40_pm_clocks_set
	.p2align	2
_nv40_pm_clocks_set:                    ; @nv40_pm_clocks_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x22, x0
	mov	w26, #2056
	movk	w26, #96, lsl #16
	bl	_nouveau_dev
	mov	x21, x0
	bl	_nouveau_fifo
	mov	x20, x0
	mov	x0, x22
	bl	_nouveau_drm
	mov	x25, x0
Lloh0:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
	mov	x0, x21
	mov	w1, #2056
	movk	w1, #96, lsl #16
	bl	_nv_rd32
	mov	x23, x0
	mov	w24, #33
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	w1, #2056
	movk	w1, #96, lsl #16
	bl	_nv_rd32
	cmp	x23, x0
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	bl	_udelay
	subs	x24, x24, #1
	b.ne	LBB0_1
; %bb.3:
	mov	x28, #0
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	b	LBB0_5
LBB0_4:
	mov	w23, #1
	mov	x0, x21
	mov	w1, #964
	movk	w1, #12, lsl #16
	mov	w2, #1
	bl	_nv_wr08
	mov	w8, #964
	movk	w8, #12, lsl #16
	add	w1, w8, #1
	mov	x0, x21
	bl	_nv_rd08
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	bic	w28, w23, w0, lsr #5
LBB0_5:
	add	w24, w26, #2, lsl #12           ; =8192
	mov	x0, x21
	mov	x1, x24
	bl	_nv_rd32
	mov	x26, x0
	mov	w23, #33
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_nv_rd32
	cmp	x26, x0
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	_udelay
	subs	x23, x23, #1
	b.ne	LBB0_6
; %bb.8:
                                        ; implicit-def: $w24
	b	LBB0_10
LBB0_9:
	mov	w8, #964
	movk	w8, #12, lsl #16
	add	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x21
	mov	w2, #1
	bl	_nv_wr08
	mov	x0, x21
	mov	w1, #9157
	movk	w1, #12, lsl #16
	bl	_nv_rd08
	mov	x24, x0
	orr	x8, x28, #0x2
	tst	w0, #0x20
	csel	x28, x8, x28, eq
LBB0_10:
	ldr	x8, [x20, #8]
	add	x1, sp, #24
	mov	x0, x20
	blr	x8
Lloh3:
	adrp	x8, _nv40_pm_gr_idle@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nv40_pm_gr_idle@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_nv_wait_cb
	cbz	w0, LBB0_19
; %bb.11:
	mov	w23, #4352
	movk	w23, #49271, lsl #16
	mov	x0, x21
	mov	w1, #49216
	mov	w2, #819
	mov	w3, #0
	bl	_nv_mask
	ldr	w2, [x19]
	mov	x0, x21
	mov	w1, #16388
	bl	_nv_wr32
	ldr	w3, [x19, #4]
	sub	w2, w23, #1793, lsl #12         ; =7344128
	mov	x0, x21
	mov	w1, #16384
	bl	_nv_mask
	ldr	w3, [x19, #8]
	mov	x0, x21
	mov	w1, #16392
	mov	w2, #-1073217537
	bl	_nv_mask
	mov	w0, #5
	bl	_mdelay
	ldr	w3, [x19, #12]
	mov	x0, x21
	mov	w1, #49216
	mov	w2, #819
	bl	_nv_mask
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_26
; %bb.12:
	tbz	w28, #0, LBB0_14
; %bb.13:
	mov	x0, x21
	mov	w1, #2056
	movk	w1, #96, lsl #16
	mov	w2, #65536
	mov	w3, #0
	bl	_nv_wait
	mov	x0, x21
	mov	w1, #2056
	movk	w1, #96, lsl #16
	mov	w2, #65536
	mov	w3, #65536
	bl	_nv_wait
	mov	x0, x21
	mov	w1, #964
	movk	w1, #12, lsl #16
	mov	w2, #1
	bl	_nv_wr08
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	orr	w2, w8, #0x20
	mov	w8, #964
	movk	w8, #12, lsl #16
	add	w1, w8, #1
	mov	x0, x21
	bl	_nv_wr08
LBB0_14:
	tbz	w28, #1, LBB0_16
; %bb.15:
	mov	w8, #2056
	movk	w8, #96, lsl #16
	add	w26, w8, #2, lsl #12            ; =8192
	mov	x0, x21
	mov	x1, x26
	mov	w2, #65536
	mov	w3, #0
	bl	_nv_wait
	mov	x0, x21
	mov	x1, x26
	mov	w2, #65536
	mov	w3, #65536
	bl	_nv_wait
	mov	w8, #964
	movk	w8, #12, lsl #16
	add	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x21
	mov	w2, #1
	bl	_nv_wr08
	orr	w2, w24, #0x20
	mov	x0, x21
	mov	w1, #9157
	movk	w1, #12, lsl #16
	bl	_nv_wr08
LBB0_16:
	mov	w27, #528
	movk	w27, #16, lsl #16
	mov	w8, #196
	orr	w1, w27, w8
	mov	w23, #1
	mov	x0, x21
	mov	w2, #1
	bl	_nv_wr32
	orr	w26, w27, #0xc0
	mov	x0, x21
	mov	x1, x26
	mov	w2, #1
	bl	_nv_wr32
	mov	x0, x21
	mov	x1, x26
	mov	w2, #1
	bl	_nv_wr32
	mov	x0, x21
	mov	w1, #528
	movk	w1, #16, lsl #16
	mov	w2, #-2147483648
	mov	w3, #0
	bl	_nv_mask
	mov	w8, #204
	orr	w1, w27, w8
	mov	x0, x21
	mov	w2, #1
	bl	_nv_wr32
	mov	x0, x21
	mov	w1, #49216
	mov	w2, #49152
	mov	w3, #0
	bl	_nv_mask
	ldr	w0, [x25]
	bl	_nv_device
	ldr	w8, [x0]
	sub	w8, w8, #64
	cmp	w8, #11
	mov	w25, #2056
	movk	w25, #96, lsl #16
	b.hi	LBB0_22
; %bb.17:
	lsl	w9, w23, w8
	mov	w10, #167
	tst	w9, w10
	b.eq	LBB0_20
; %bb.18:
	ldr	w3, [x19, #16]
	mov	x0, x21
	mov	w1, #16452
	mov	w2, #4352
	movk	w2, #49271, lsl #16
	bl	_nv_mask
	ldr	w3, [x19, #16]
	mov	x0, x21
	mov	w1, #16428
	mov	w2, #4352
	movk	w2, #49271, lsl #16
	bl	_nv_mask
	ldr	w2, [x19, #20]
	mov	x0, x21
	mov	w1, #16456
	bl	_nv_wr32
	ldr	w2, [x19, #20]
	mov	x0, x21
	mov	w1, #16432
	bl	_nv_wr32
	b	LBB0_21
LBB0_19:
	neg	w21, w27
	b	LBB0_27
LBB0_20:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #2568
	tst	w8, w9
	b.eq	LBB0_22
LBB0_21:
	ldr	w3, [x19, #16]
	mov	x0, x21
	mov	w1, #16440
	mov	w2, #4352
	movk	w2, #49271, lsl #16
	bl	_nv_mask
	ldr	w2, [x19, #20]
	mov	x0, x21
	mov	w1, #16444
	bl	_nv_wr32
LBB0_22:
	ldr	w3, [x19, #16]
	mov	x0, x21
	mov	w1, #16416
	mov	w2, #4352
	movk	w2, #49271, lsl #16
	bl	_nv_mask
	ldr	w2, [x19, #20]
	mov	x0, x21
	mov	w1, #16420
	bl	_nv_wr32
	mov	w0, #100
	bl	_udelay
	mov	x0, x21
	mov	w1, #49216
	mov	w2, #49152
	mov	w3, #49152
	bl	_nv_mask
	add	w1, w27, #204
	mov	x0, x21
	mov	w2, #0
	bl	_nv_wr32
	mov	x0, x21
	mov	w1, #528
	movk	w1, #16, lsl #16
	mov	w2, #-2147483648
	mov	w3, #-2147483648
	bl	_nv_mask
	mov	w0, #100
	bl	_udelay
	add	x2, sp, #16
	mov	x0, x22
	mov	w1, #77
	bl	_bit_table
	cbz	w0, LBB0_28
; %bb.23:
	tbnz	w28, #0, LBB0_29
LBB0_24:
	tbz	w28, #1, LBB0_26
LBB0_25:
	add	w1, w25, #2, lsl #12            ; =8192
	mov	x0, x21
	mov	w2, #65536
	mov	w3, #65536
	bl	_nv_wait
	mov	w8, #964
	movk	w8, #12, lsl #16
	add	w1, w8, #2, lsl #12             ; =8192
	mov	x0, x21
	mov	w2, #1
	bl	_nv_wr08
	mov	x0, x21
	mov	w1, #9157
	movk	w1, #12, lsl #16
	mov	x2, x24
	bl	_nv_wr08
LBB0_26:
	mov	w21, #0
LBB0_27:
	ldr	x8, [x20]
	add	x1, sp, #24
	mov	x0, x20
	blr	x8
	mov	x0, x19
	bl	_kfree
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	ldr	x8, [sp, #16]
	ldr	w0, [x8]
	bl	_ROM16
	mov	x1, x0
	mov	x0, x22
	mov	x2, #0
	mov	w3, #0
	bl	_nouveau_bios_run_init_table
	tbz	w28, #0, LBB0_24
LBB0_29:
	mov	x0, x21
	mov	w1, #2056
	movk	w1, #96, lsl #16
	mov	w2, #65536
	mov	w3, #65536
	bl	_nv_wait
	mov	x0, x21
	mov	w1, #964
	movk	w1, #12, lsl #16
	mov	w2, #1
	bl	_nv_wr08
	mov	w8, #964
	movk	w8, #12, lsl #16
	add	w1, w8, #1
	mov	x0, x21
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_nv_wr08
	tbnz	w28, #1, LBB0_25
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_nv40_pm_gr_idle,4,2            ; @nv40_pm_gr_idle
.subsections_via_symbols
