	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvc0_fbcon_accel_init          ## -- Begin function nvc0_fbcon_accel_init
	.p2align	4, 0x90
_nvc0_fbcon_accel_init:                 ## @nvc0_fbcon_accel_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %r13
	movq	16(%r13), %rbx
	movl	8(%r13), %edi
	callq	_nouveau_framebuffer
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_nouveau_drm
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	movl	$36909, %esi                    ## imm = 0x902D
	movl	$36909, %edx                    ## imm = 0x902D
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r13, %r9
	callq	_nvif_object_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movl	(%r15), %eax
	addl	$-8, %eax
	cmpl	$24, %eax
	ja	LBB0_8
## %bb.2:
	movl	$243, %edx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movl	$248, %edx
	jmp	LBB0_10
LBB0_3:
	movl	$232, %edx
	jmp	LBB0_10
LBB0_4:
	movl	12(%r15), %eax
	movl	$230, %edx
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	cmpl	$8, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.7:
	movl	$209, %edx
LBB0_10:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_RING_SPACE
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r12d
	movl	$1, %edi
	callq	_WARN_ON
	movq	%r15, %rdi
	callq	_nouveau_fbcon_gpu_lockup
	jmp	LBB0_13
LBB0_12:
	movq	_NvSub2D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	_NvSub2D@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$656, %edx                      ## imm = 0x290
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2184, %edx                     ## imm = 0x888
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$684, %edx                      ## imm = 0x2AC
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$672, %edx                      ## imm = 0x2A0
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$85, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2240, %edx                     ## imm = 0x8C0
	movl	$4, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1408, %edx                     ## imm = 0x580
	movl	$2, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$744, %edx                      ## imm = 0x2E8
	movl	$2, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2052, %edx                     ## imm = 0x804
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2056, %edx                     ## imm = 0x808
	movl	$3, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2076, %edx                     ## imm = 0x81C
	movl	$1, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$2112, %edx                     ## imm = 0x840
	movl	$4, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$512, %edx                      ## imm = 0x200
	movl	$10, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %r13d
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movl	16(%r15), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_upper_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_OUT_RING
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_lower_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_OUT_RING
	movq	_NvSub2D@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$560, %edx                      ## imm = 0x230
	movl	$10, %ecx
	callq	_BEGIN_NVC0
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_OUT_RING
	movl	16(%r15), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_OUT_RING
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_upper_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_OUT_RING
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_lower_32_bits
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_OUT_RING
	movq	%rbx, %rdi
	callq	_FIRE_RING
	jmp	LBB0_13
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NvSub2D,4,2                    ## @NvSub2D
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvc0_fbcon_accel_init          ; -- Begin function nvc0_fbcon_accel_init
	.p2align	2
_nvc0_fbcon_accel_init:                 ; @nvc0_fbcon_accel_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	ldr	x23, [x0, #24]
	ldr	x19, [x23, #16]
	ldr	w0, [x23, #8]
	bl	_nouveau_framebuffer
	mov	x20, x0
	mov	x0, x19
	bl	_nouveau_drm
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #36909
	mov	w2, #36909
	mov	x3, #0
	mov	w4, #0
	mov	x5, x23
	bl	_nvif_object_init
	mov	x24, x0
	cbnz	w0, LBB0_13
; %bb.1:
	ldr	w8, [x21]
	sub	w8, w8, #8
	cmp	w8, #24
	b.hi	LBB0_12
; %bb.2:
	mov	w22, #243
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	w22, #248
	b	LBB0_9
LBB0_4:
	mov	w22, #232
	b	LBB0_9
LBB0_5:
	ldr	w8, [x21, #12]
	mov	w22, #230
	cbz	w8, LBB0_9
; %bb.6:
	cmp	w8, #8
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #2
	b.ne	LBB0_12
; %bb.8:
	mov	w22, #209
LBB0_9:
	mov	x0, x19
	mov	w1, #58
	bl	_RING_SPACE
	cbz	w0, LBB0_11
; %bb.10:
	mov	x24, x0
	mov	w0, #1
	bl	_WARN_ON
	mov	x0, x21
	bl	_nouveau_fbcon_gpu_lockup
	b	LBB0_13
LBB0_11:
Lloh2:
	adrp	x24, _NvSub2D@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NvSub2D@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #1
	bl	_BEGIN_NVC0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #656
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2184
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #684
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #3
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #672
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #85
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2240
	mov	w3, #4
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #1408
	mov	w3, #2
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #4
	bl	_OUT_RING
	mov	x0, x19
	mov	x1, x22
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #744
	mov	w3, #2
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #2
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2052
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	x1, x22
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2048
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2056
	mov	w3, #3
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2076
	mov	w3, #1
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #2112
	mov	w3, #4
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #512
	mov	w3, #10
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	x1, x22
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	ldr	w1, [x21, #16]
	mov	x0, x19
	bl	_OUT_RING
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_OUT_RING
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_OUT_RING
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_upper_32_bits
	mov	x1, x0
	mov	x0, x19
	bl	_OUT_RING
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_lower_32_bits
	mov	x1, x0
	mov	x0, x19
	bl	_OUT_RING
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #560
	mov	w3, #10
	bl	_BEGIN_NVC0
	mov	x0, x19
	mov	x1, x22
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #1
	bl	_OUT_RING
	mov	x0, x19
	mov	w1, #0
	bl	_OUT_RING
	ldr	w1, [x21, #16]
	mov	x0, x19
	bl	_OUT_RING
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_OUT_RING
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_OUT_RING
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_upper_32_bits
	mov	x1, x0
	mov	x0, x19
	bl	_OUT_RING
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_lower_32_bits
	mov	x1, x0
	mov	x0, x19
	bl	_OUT_RING
	mov	x0, x19
	bl	_FIRE_RING
	mov	w24, #0
	b	LBB0_13
LBB0_12:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_13:
	mov	x0, x24
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NvSub2D,4,2                    ; @NvSub2D
.subsections_via_symbols
