	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm107_ltc_intr_lts             ## -- Begin function gm107_ltc_intr_lts
	.p2align	4, 0x90
_gm107_ltc_intr_lts:                    ## @gm107_ltc_intr_lts
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movl	%esi, %eax
	shll	$13, %eax
	movl	%edx, -180(%rbp)                ## 4-byte Spill
	movl	%edx, %ecx
	shll	$9, %ecx
	leal	(%rax,%rcx), %ebx
	addl	$1311756, %ebx                  ## imm = 0x14040C
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_nvkm_rd32
	movl	%eax, %r14d
	movl	%eax, %ecx
	andl	$65535, %ecx                    ## imm = 0xFFFF
	je	LBB0_2
## %bb.1:
	movq	_gf100_ltc_lts_intr_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	callq	_nvkm_snprintbf
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	movl	%r14d, %r8d
	leaq	-176(%rbp), %r9
	callq	_nvkm_error
LBB0_2:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_nvkm_wr32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$152, %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	_gf100_ltc_lts_intr_name,4,2    ## @gf100_ltc_lts_intr_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LTC%d_LTS%d: %08x [%s]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm107_ltc_intr_lts             ; -- Begin function gm107_ltc_intr_lts
	.p2align	2
_gm107_ltc_intr_lts:                    ; @gm107_ltc_intr_lts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x21, [x0]
	lsl	w8, w1, #13
	add	w8, w8, w2, lsl #9
	add	w8, w8, #320, lsl #12           ; =1310720
	add	w23, w8, #1036
	mov	x0, x21
	mov	x1, x23
	bl	_nvkm_rd32
	mov	x24, x0
	ands	w3, w0, #0xffff
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _gf100_ltc_lts_intr_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gf100_ltc_lts_intr_name@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #128
	bl	_nvkm_snprintbf
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x5, sp, #8
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	mov	x4, x24
	bl	_nvkm_error
LBB0_2:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_nvkm_wr32
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_gf100_ltc_lts_intr_name,4,2    ; @gf100_ltc_lts_intr_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LTC%d_LTS%d: %08x [%s]\n"

.subsections_via_symbols
