	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv17_graph_mthd_lma_window
_nv17_graph_mthd_lma_window:            ## @nv17_graph_mthd_lma_window
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_nv10_graph_priv
	movq	%rax, %r12
	movl	(%r15), %eax
	movq	(%r14), %rcx
	leal	-5688(%rbx), %edx
	leal	-5685(%rbx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$2, %esi
	movslq	%esi, %rdx
	movl	%eax, (%rcx,%rdx,4)
	cmpl	$5700, %ebx                     ## imm = 0x1644
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_nv04_graph_idle
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdi
	movl	$64, %edx
	callq	_PIPE_SAVE
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	movl	$512, %edx                      ## imm = 0x200
	callq	_PIPE_SAVE
	movq	(%r14), %rsi
	movq	%r12, %rdi
	movl	$26512, %edx                    ## imm = 0x6790
	callq	_PIPE_RESTORE
	movq	%r12, %rdi
	callq	_nv04_graph_idle
	movq	_NV10_PGRAPH_XFMODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_nv_rd32
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	_NV10_PGRAPH_XFMODE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_nv_rd32
	movl	%eax, %r13d
	movq	16(%r14), %rsi
	movq	%r12, %rdi
	movl	$17408, %edx                    ## imm = 0x4400
	callq	_PIPE_SAVE
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	movl	$25792, %edx                    ## imm = 0x64C0
	callq	_PIPE_SAVE
	leaq	-104(%rbp), %rsi
	movq	%r12, %rdi
	movl	$27312, %edx                    ## imm = 0x6AB0
	callq	_PIPE_SAVE
	leaq	-92(%rbp), %rsi
	movq	%r12, %rdi
	movl	$27264, %edx                    ## imm = 0x6A80
	callq	_PIPE_SAVE
	movq	%r12, %rdi
	callq	_nv04_graph_idle
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$268435456, %edx                ## imm = 0x10000000
	callq	_nv_wr32
	movl	(%r15), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	_NV10_PGRAPH_PIPE_ADDRESS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$25792, %edx                    ## imm = 0x64C0
	callq	_nv_wr32
	movq	_NV10_PGRAPH_PIPE_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$27312, %edx                    ## imm = 0x6AB0
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_nv_wr32
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$27264, %edx                    ## imm = 0x6A80
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$64, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_nv_wr32
	movq	8(%r14), %rsi
	movq	%r12, %rdi
	movl	$512, %edx                      ## imm = 0x200
	callq	_PIPE_RESTORE
	movq	%r12, %rdi
	callq	_nv04_graph_idle
	movq	%r12, %rdi
	leaq	-112(%rbp), %rsi
	movl	$64, %edx
	callq	_PIPE_RESTORE
	movq	_NV10_PGRAPH_XFMODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_nv_wr32
	movq	_NV10_PGRAPH_XFMODE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	leaq	-80(%rbp), %rsi
	movl	$25792, %edx                    ## imm = 0x64C0
	callq	_PIPE_RESTORE
	movq	%r12, %rdi
	leaq	-104(%rbp), %rsi
	movl	$27312, %edx                    ## imm = 0x6AB0
	callq	_PIPE_RESTORE
	movq	%r12, %rdi
	leaq	-92(%rbp), %rsi
	movl	$27264, %edx                    ## imm = 0x6A80
	callq	_PIPE_RESTORE
	movq	16(%r14), %rsi
	movq	%r12, %rdi
	movl	$17408, %edx                    ## imm = 0x4400
	callq	_PIPE_RESTORE
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$192, %edx
	callq	_nv_wr32
	movl	(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_nv_wr32
	movq	%r12, %rdi
	callq	_nv04_graph_idle
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NV10_PGRAPH_XFMODE0,4,2        ## @NV10_PGRAPH_XFMODE0
	.comm	_NV10_PGRAPH_XFMODE1,4,2        ## @NV10_PGRAPH_XFMODE1
	.comm	_NV10_PGRAPH_PIPE_ADDRESS,4,2   ## @NV10_PGRAPH_PIPE_ADDRESS
	.comm	_NV10_PGRAPH_PIPE_DATA,4,2      ## @NV10_PGRAPH_PIPE_DATA
	.no_dead_strip	_nv17_graph_mthd_lma_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv17_graph_mthd_lma_window
_nv17_graph_mthd_lma_window:            ; @nv17_graph_mthd_lma_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	x20, [x0]
	mov	x0, x20
	bl	_nv10_graph_priv
	ldr	w8, [x21]
	ldr	x9, [x20]
	mov	w10, #-5688
	add	w10, w22, w10
	mov	w11, #-5685
	add	w11, w22, w11
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #2
	str	w8, [x9, w10, sxtw #2]
	mov	w8, #5700
	cmp	w22, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	bl	_nv04_graph_idle
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #64
	bl	_PIPE_SAVE
	ldr	x1, [x20, #8]
	mov	x0, x19
	mov	w2, #512
	bl	_PIPE_SAVE
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #26512
	bl	_PIPE_RESTORE
	mov	x0, x19
	bl	_nv04_graph_idle
Lloh3:
	adrp	x23, _NV10_PGRAPH_XFMODE0@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NV10_PGRAPH_XFMODE0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_nv_rd32
	mov	x21, x0
Lloh5:
	adrp	x24, _NV10_PGRAPH_XFMODE1@GOTPAGE
Lloh6:
	ldr	x24, [x24, _NV10_PGRAPH_XFMODE1@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_nv_rd32
	mov	x22, x0
	ldr	x1, [x20, #16]
	mov	x0, x19
	mov	w2, #17408
	bl	_PIPE_SAVE
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #25792
	bl	_PIPE_SAVE
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #27312
	bl	_PIPE_SAVE
	add	x1, sp, #28
	mov	x0, x19
	mov	w2, #27264
	bl	_PIPE_SAVE
	mov	x0, x19
	bl	_nv04_graph_idle
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #268435456
	bl	_nv_wr32
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
Lloh7:
	adrp	x25, _NV10_PGRAPH_PIPE_ADDRESS@GOTPAGE
Lloh8:
	ldr	x25, [x25, _NV10_PGRAPH_PIPE_ADDRESS@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #25792
	bl	_nv_wr32
Lloh9:
	adrp	x26, _NV10_PGRAPH_PIPE_DATA@GOTPAGE
Lloh10:
	ldr	x26, [x26, _NV10_PGRAPH_PIPE_DATA@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #27312
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #1065353216
	bl	_nv_wr32
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #27264
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #64
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #8
	bl	_nv_wr32
	ldr	x1, [x20, #8]
	mov	x0, x19
	mov	w2, #512
	bl	_PIPE_RESTORE
	mov	x0, x19
	bl	_nv04_graph_idle
	add	x1, sp, #12
	mov	x0, x19
	mov	w2, #64
	bl	_PIPE_RESTORE
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_nv_wr32
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x22
	bl	_nv_wr32
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #25792
	bl	_PIPE_RESTORE
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #27312
	bl	_PIPE_RESTORE
	add	x1, sp, #28
	mov	x0, x19
	mov	w2, #27264
	bl	_PIPE_RESTORE
	ldr	x1, [x20, #16]
	mov	x0, x19
	mov	w2, #17408
	bl	_PIPE_RESTORE
	ldr	w1, [x25]
	mov	x0, x19
	mov	w2, #192
	bl	_nv_wr32
	ldr	w1, [x26]
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	mov	x0, x19
	bl	_nv04_graph_idle
LBB0_2:
	ldr	x8, [sp, #72]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NV10_PGRAPH_XFMODE0,4,2        ; @NV10_PGRAPH_XFMODE0
	.comm	_NV10_PGRAPH_XFMODE1,4,2        ; @NV10_PGRAPH_XFMODE1
	.comm	_NV10_PGRAPH_PIPE_ADDRESS,4,2   ; @NV10_PGRAPH_PIPE_ADDRESS
	.comm	_NV10_PGRAPH_PIPE_DATA,4,2      ; @NV10_PGRAPH_PIPE_DATA
	.no_dead_strip	_nv17_graph_mthd_lma_window
.subsections_via_symbols
