	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ltc_flush                ## -- Begin function gf100_ltc_flush
	.p2align	4, 0x90
_gf100_ltc_flush:                       ## @gf100_ltc_flush
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$458768, %esi                   ## imm = 0x70010
	movl	$1, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$2000, %esi                     ## imm = 0x7D0
	movl	$458768, %edx                   ## imm = 0x70010
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_nvkm_wait_msec
	testq	%rax, %rax
	jle	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvkm_debug                     ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LTC flush took %lld ns\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ltc_flush                ; -- Begin function gf100_ltc_flush
	.p2align	2
_gf100_ltc_flush:                       ; @gf100_ltc_flush
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #16
	movk	w1, #7, lsl #16
	mov	w2, #1
	bl	_nvkm_wr32
	mov	x0, x20
	mov	w1, #2000
	mov	w2, #16
	movk	w2, #7, lsl #16
	mov	w3, #3
	mov	w4, #0
	bl	_nvkm_wait_msec
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nvkm_debug
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LTC flush took %lld ns\n"

.subsections_via_symbols
