	.file	"extr_gf100.c_gf100_ltc_flush.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"LTC flush took %lld ns\n"
	.text
	.p2align 4
	.globl	gf100_ltc_flush
	.type	gf100_ltc_flush, @function
gf100_ltc_flush:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, 1
	mov	esi, 458768
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR [rdi]
	mov	rdi, r12
	call	nvkm_wr32@PLT
	xor	r8d, r8d
	mov	ecx, 3
	mov	rdi, r12
	mov	edx, 458768
	mov	esi, 2000
	call	nvkm_wait_msec@PLT
	test	rax, rax
	jg	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	rdx, rax
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rsi, .LC0[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nvkm_debug@PLT
	.cfi_endproc
.LFE0:
	.size	gf100_ltc_flush, .-gf100_ltc_flush
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_gf100.c_gf100_ltc_flush.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LTC flush took %lld ns\012\000"
	.text
	.align	2
	.global	gf100_ltc_flush
	.syntax unified
	.arm
	.fpu softvfp
	.type	gf100_ltc_flush, %function
gf100_ltc_flush:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, [r0]
	sub	sp, sp, #12
	mov	r2, #1
	ldr	r1, .L6
	mov	r4, r0
	mov	r0, r5
	bl	nvkm_wr32
	mov	r3, #0
	ldr	r2, .L6
	str	r3, [sp]
	mov	r0, r5
	mov	r3, #3
	mov	r1, #2000
	bl	nvkm_wait_msec
	subs	r2, r0, #0
	bgt	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	mov	r0, r4
	ldr	r1, .L6+4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	nvkm_debug
.L7:
	.align	2
.L6:
	.word	458768
	.word	.LC0
	.size	gf100_ltc_flush, .-gf100_ltc_flush
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
