	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gt215_ce_intr                  ## -- Begin function gt215_ce_intr
	.p2align	4, 0x90
_gt215_ce_intr:                         ## @gt215_ce_intr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r15d
	movq	_NVKM_ENGINE_CE0@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	shll	$12, %r15d
	leal	1065024(%r15), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_nvkm_rd32
	movzwl	%ax, %r13d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_nvkm_rd32
	movl	%eax, %r14d
	addl	$1065028, %r15d                 ## imm = 0x104044
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	_gt215_ce_isr_error_name@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %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:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movl	(%rdx), %r8d
	movq	16(%rdx), %rax
	movl	(%rax), %r9d
	movq	8(%rdx), %rax
	movq	(%rax), %rax
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.2(%rip), %rax
	movl	$-1, %r8d
	xorl	%r9d, %r9d
LBB0_6:
	sarl	$16, %r14d
	movl	%r14d, %ebx
	shrl	$11, %ebx
	andl	$7, %ebx
	shll	$2, %r14d
	andl	$8188, %r14d                    ## imm = 0x1FFC
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	pushq	%r12
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	callq	_nvkm_error
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_ENGINE_CE0,4,2            ## @NVKM_ENGINE_CE0
	.comm	_gt215_ce_isr_error_name,4,2    ## @gt215_ce_isr_error_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DISPATCH_ERROR %04x [%s] ch %d [%010llx %s] subc %d mthd %04x data %08x\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gt215_ce_intr                  ; -- Begin function gt215_ce_intr
	.p2align	2
_gt215_ce_intr:                         ; @gt215_ce_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x19, x0
	ldr	x23, [x0, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NVKM_ENGINE_CE0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVKM_ENGINE_CE0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w8, w8, w9
	mov	w9, #16448
	movk	w9, #16, lsl #16
	add	w24, w9, w8, lsl #12
	mov	x0, x23
	mov	x1, x24
	bl	_nvkm_rd32
	and	w20, w0, #0xffff
	mov	x0, x23
	mov	x1, x24
	bl	_nvkm_rd32
	mov	x22, x0
	orr	w1, w24, #0x4
	mov	x0, x23
	bl	_nvkm_rd32
	mov	x23, x0
Lloh3:
	adrp	x8, _gt215_ce_isr_error_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gt215_ce_isr_error_name@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_nvkm_enum_find
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x3, [x0]
	cbz	x21, LBB0_4
LBB0_2:
	ldr	w4, [x21]
	ldp	x9, x8, [x21, #8]
	ldr	w5, [x8]
	ldr	x6, [x9]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	cbnz	x21, LBB0_2
LBB0_4:
	mov	w5, #0
Lloh8:
	adrp	x6, l_.str.2@PAGE
Lloh9:
	add	x6, x6, l_.str.2@PAGEOFF
	mov	w4, #-1
LBB0_5:
	asr	w8, w22, #16
	ubfx	w7, w8, #11, #3
	ubfiz	w8, w8, #2, #11
	stp	w8, w23, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_nvkm_error
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_ENGINE_CE0,4,2            ; @NVKM_ENGINE_CE0
	.comm	_gt215_ce_isr_error_name,4,2    ; @gt215_ce_isr_error_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DISPATCH_ERROR %04x [%s] ch %d [%010llx %s] subc %d mthd %04x data %08x\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"unknown"

.subsections_via_symbols
