	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk104_ce_intr_launcherr
_gk104_ce_intr_launcherr:               ## @gk104_ce_intr_launcherr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	(%rdi), %r14
	addl	$1068820, %ebx                  ## imm = 0x104F14
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	_gk104_ce_launcherr_report@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	andl	$15, %esi
	callq	_nvkm_enum_find
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rcx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rcx
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_nvkm_warn
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gk104_ce_launcherr_report,4,2  ## @gk104_ce_launcherr_report
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LAUNCHERR %08x [%s]\n"

L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_gk104_ce_intr_launcherr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk104_ce_intr_launcherr
_gk104_ce_intr_launcherr:               ; @gk104_ce_intr_launcherr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	ldr	x19, [x0]
	add	w8, w1, #260, lsl #12           ; =1064960
	add	w20, w8, #3860
	mov	x0, x19
	mov	x1, x20
	bl	_nvkm_rd32
	mov	x22, x0
Lloh0:
	adrp	x8, _gk104_ce_launcherr_report@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gk104_ce_launcherr_report@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	and	w1, w22, #0xf
	bl	_nvkm_enum_find
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x3, [x0]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x3, l_.str.1@PAGE
Lloh4:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_nvkm_warn
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nvkm_wr32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_gk104_ce_launcherr_report,4,2  ; @gk104_ce_launcherr_report
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LAUNCHERR %08x [%s]\n"

l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_gk104_ce_intr_launcherr
.subsections_via_symbols
