	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_fb_ctor
_nv50_fb_ctor:                          ## @nv50_fb_ctor
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_nv_device
	movq	%rax, %r14
	leaq	-48(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_nouveau_fb_create
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_nv_object
	movq	%rax, (%r15)
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_alloc_page
	movq	-48(%rbp), %rdi
	movq	%rax, 24(%rdi)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%r14), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PCI_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_pci_map_page
	movq	-48(%rbp), %rcx
	movl	%eax, 16(%rcx)
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	callq	_nv_warn
LBB0_6:
	movq	_nv50_fb_memtype_valid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rdi
	movl	%eax, 12(%rdi)
	movq	_nv50_fb_vram_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_nv50_fb_vram_new@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movq	_nv50_fb_vram_del@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movq	_nv50_fb_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_nv_subdev
	movl	%ebx, (%rax)
	movq	-48(%rbp), %rdi
	callq	_nouveau_fb_preinit
	movl	%eax, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ## @PCI_DMA_BIDIRECTIONAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed 0x100c08 page map\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed 0x100c08 page alloc\n"

	.comm	_nv50_fb_memtype_valid,4,2      ## @nv50_fb_memtype_valid
	.comm	_nv50_fb_vram_init,4,2          ## @nv50_fb_vram_init
	.comm	_nv50_fb_vram_new,4,2           ## @nv50_fb_vram_new
	.comm	_nv50_fb_vram_del,4,2           ## @nv50_fb_vram_del
	.comm	_nv50_fb_intr,4,2               ## @nv50_fb_intr
	.no_dead_strip	_nv50_fb_ctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_fb_ctor
_nv50_fb_ctor:                          ; @nv50_fb_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x5
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	bl	_nv_device
	mov	x19, x0
	add	x3, sp, #8
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_nouveau_fb_create
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_nv_object
	str	x0, [x21]
	cbnz	w20, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___GFP_ZERO@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___GFP_ZERO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_alloc_page
	mov	x1, x0
	ldr	x0, [sp, #8]
	str	x1, [x0, #24]
	cbz	x1, LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _PCI_DMA_BIDIRECTIONAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	w2, #0
	bl	_pci_map_page
	mov	x1, x0
	ldr	x8, [sp, #8]
	str	w0, [x8, #16]
	ldr	w0, [x19]
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x0, [sp, #8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	bl	_nv_warn
LBB0_6:
Lloh16:
	adrp	x8, _nv50_fb_memtype_valid@GOTPAGE
Lloh17:
	ldr	x8, [x8, _nv50_fb_memtype_valid@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	x0, [sp, #8]
Lloh19:
	adrp	x9, _nv50_fb_vram_init@GOTPAGE
Lloh20:
	ldr	x9, [x9, _nv50_fb_vram_init@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh22:
	adrp	x8, _nv50_fb_vram_new@GOTPAGE
Lloh23:
	ldr	x8, [x8, _nv50_fb_vram_new@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _nv50_fb_vram_del@GOTPAGE
Lloh26:
	ldr	x9, [x9, _nv50_fb_vram_del@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
Lloh28:
	adrp	x8, _nv50_fb_intr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _nv50_fb_intr@GOTPAGEOFF]
Lloh30:
	ldr	w19, [x8]
	bl	_nv_subdev
	str	w19, [x0]
	ldr	x0, [sp, #8]
	bl	_nouveau_fb_preinit
	mov	x20, x0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_PCI_DMA_BIDIRECTIONAL,4,2      ; @PCI_DMA_BIDIRECTIONAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed 0x100c08 page map\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed 0x100c08 page alloc\n"

	.comm	_nv50_fb_memtype_valid,4,2      ; @nv50_fb_memtype_valid
	.comm	_nv50_fb_vram_init,4,2          ; @nv50_fb_vram_init
	.comm	_nv50_fb_vram_new,4,2           ; @nv50_fb_vram_new
	.comm	_nv50_fb_vram_del,4,2           ; @nv50_fb_vram_del
	.comm	_nv50_fb_intr,4,2               ; @nv50_fb_intr
	.no_dead_strip	_nv50_fb_ctor
.subsections_via_symbols
