	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_graph_ctor
_nv50_graph_ctor:                       ## @nv50_graph_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %rbx
	leaq	-24(%rbp), %r8
	movl	$1, %ecx
	callq	_nouveau_graph_create
	movl	%eax, %r14d
	movq	-24(%rbp), %rdi
	callq	_nv_object
	movq	%rax, (%rbx)
	testl	%r14d, %r14d
	jne	LBB0_13
## %bb.1:
	movq	-24(%rbp), %rdi
	callq	_nv_subdev
	movl	$2101248, (%rax)                ## imm = 0x201000
	movq	_nv50_graph_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-24(%rbp), %rdi
	callq	_nv_subdev
	movl	%ebx, 4(%rax)
	movq	-24(%rbp), %rdi
	callq	_nv_engine
	movq	_nv50_graph_cclass@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	-24(%rbp), %rdi
	callq	_nv_device
	movl	(%rax), %ecx
	addl	$-80, %ecx
	cmpl	$95, %ecx
	ja	LBB0_8
## %bb.2:
	movq	_nv50_graph_sclass@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_nv84_graph_sclass@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_nva0_graph_sclass@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_nva3_graph_sclass@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_nvaf_graph_sclass@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
	movq	-24(%rbp), %rdi
	callq	_nv_engine
	movl	%ebx, 4(%rax)
LBB0_8:
	movq	-24(%rbp), %rdi
	callq	_nv_device
	cmpl	$80, (%rax)
	je	LBB0_11
## %bb.9:
	movq	-24(%rbp), %rdi
	callq	_nv_device
	cmpl	$172, (%rax)
	jne	LBB0_10
LBB0_11:
	movq	_nv50_graph_tlb_flush@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_nv84_graph_tlb_flush@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %ebx
	movq	-24(%rbp), %rdi
	callq	_nv_engine
	movl	%ebx, (%rax)
	movq	-24(%rbp), %rdi
	callq	_spin_lock_init
LBB0_13:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.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_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_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_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_3
	.long	L0_0_set_8
	.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_3
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_8
	.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_4
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_nv50_graph_intr,4,2            ## @nv50_graph_intr
	.comm	_nv50_graph_cclass,4,2          ## @nv50_graph_cclass
	.comm	_nv50_graph_sclass,4,2          ## @nv50_graph_sclass
	.comm	_nv84_graph_sclass,4,2          ## @nv84_graph_sclass
	.comm	_nva0_graph_sclass,4,2          ## @nva0_graph_sclass
	.comm	_nva3_graph_sclass,4,2          ## @nva3_graph_sclass
	.comm	_nvaf_graph_sclass,4,2          ## @nvaf_graph_sclass
	.comm	_nv50_graph_tlb_flush,4,2       ## @nv50_graph_tlb_flush
	.comm	_nv84_graph_tlb_flush,4,2       ## @nv84_graph_tlb_flush
	.no_dead_strip	_nv50_graph_ctor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_graph_ctor
_nv50_graph_ctor:                       ; @nv50_graph_ctor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x5
	add	x4, sp, #8
	mov	w3, #1
	bl	_nouveau_graph_create
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_nv_object
	str	x0, [x20]
	cbnz	w19, LBB0_11
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_nv_subdev
	mov	w8, #4096
	movk	w8, #32, lsl #16
	str	w8, [x0]
Lloh0:
	adrp	x8, _nv50_graph_intr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nv50_graph_intr@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x0, [sp, #8]
	bl	_nv_subdev
	str	w20, [x0, #4]
	ldr	x0, [sp, #8]
	bl	_nv_engine
Lloh3:
	adrp	x8, _nv50_graph_cclass@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nv50_graph_cclass@GOTPAGEOFF]
	str	x8, [x0, #8]
	ldr	x0, [sp, #8]
	bl	_nv_device
	ldr	w8, [x0]
	sub	w9, w8, #80
	cmp	w9, #95
	b.hi	LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _nv50_graph_sclass@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nv50_graph_sclass@GOTPAGEOFF]
Lloh7:
	adrp	x10, lJTI0_0@PAGE
Lloh8:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh9:
	adrp	x8, _nv84_graph_sclass@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nv84_graph_sclass@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh11:
	adrp	x8, _nva0_graph_sclass@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nva0_graph_sclass@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x8, _nva3_graph_sclass@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nva3_graph_sclass@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _nvaf_graph_sclass@GOTPAGE
Lloh16:
	ldr	x8, [x8, _nvaf_graph_sclass@GOTPAGEOFF]
LBB0_7:
	ldr	w20, [x8]
	ldr	x0, [sp, #8]
	bl	_nv_engine
	str	w20, [x0, #4]
LBB0_8:
	ldr	x0, [sp, #8]
	bl	_nv_device
	ldr	w8, [x0]
Lloh17:
	adrp	x20, _nv50_graph_tlb_flush@GOTPAGE
Lloh18:
	ldr	x20, [x20, _nv50_graph_tlb_flush@GOTPAGEOFF]
	cmp	w8, #80
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [sp, #8]
	bl	_nv_device
	ldr	w8, [x0]
Lloh19:
	adrp	x9, _nv84_graph_tlb_flush@GOTPAGE
Lloh20:
	ldr	x9, [x9, _nv84_graph_tlb_flush@GOTPAGEOFF]
	cmp	w8, #172
	csel	x20, x20, x9, eq
LBB0_10:
	ldr	w20, [x20]
	ldr	x0, [sp, #8]
	bl	_nv_engine
	str	w20, [x0]
	ldr	x0, [sp, #8]
	bl	_spin_lock_init
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
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0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_nv50_graph_intr,4,2            ; @nv50_graph_intr
	.comm	_nv50_graph_cclass,4,2          ; @nv50_graph_cclass
	.comm	_nv50_graph_sclass,4,2          ; @nv50_graph_sclass
	.comm	_nv84_graph_sclass,4,2          ; @nv84_graph_sclass
	.comm	_nva0_graph_sclass,4,2          ; @nva0_graph_sclass
	.comm	_nva3_graph_sclass,4,2          ; @nva3_graph_sclass
	.comm	_nvaf_graph_sclass,4,2          ; @nvaf_graph_sclass
	.comm	_nv50_graph_tlb_flush,4,2       ; @nv50_graph_tlb_flush
	.comm	_nv84_graph_tlb_flush,4,2       ; @nv84_graph_tlb_flush
	.no_dead_strip	_nv50_graph_ctor
.subsections_via_symbols
