	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_ce_intr                  ## -- Begin function gk104_ce_intr
	.p2align	4, 0x90
_gk104_ce_intr:                         ## @gk104_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r13d
	movq	_NVKM_ENGINE_CE0@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	shll	$12, %r13d
	movq	8(%rdi), %r12
	leal	1067268(%r13), %esi
	movq	%r12, %rdi
	callq	_nvkm_rd32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	1067272(%r13), %r15d
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_nvkm_rd32
	movl	%eax, %ebx
	andl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	testb	$1, %bl
	jne	LBB0_1
## %bb.2:
	testb	$2, %bl
	jne	LBB0_3
LBB0_4:
	testb	$4, %bl
	jne	LBB0_5
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_7
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_nvkm_warn
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_nvkm_warn
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_nvkm_wr32
	andl	$-2, %ebx
	testb	$2, %bl
	je	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_nvkm_warn
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$2, %edx
	callq	_nvkm_wr32
	andl	$-3, %ebx
	testb	$4, %bl
	je	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_gk104_ce_intr_launcherr
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$4, %edx
	callq	_nvkm_wr32
	andl	$-5, %ebx
	testl	%ebx, %ebx
	jne	LBB0_8
LBB0_7:
	addq	$8, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BLOCKPIPE\n"

L_.str.1:                               ## @.str.1
	.asciz	"NONBLOCKPIPE\n"

L_.str.2:                               ## @.str.2
	.asciz	"intr %08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gk104_ce_intr                  ; -- Begin function gk104_ce_intr
	.p2align	2
_gk104_ce_intr:                         ; @gk104_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	x19, x0
	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
	lsl	w23, w8, #12
	ldr	x20, [x0, #8]
	add	w8, w23, #260, lsl #12          ; =1064960
	add	w21, w8, #2308
	mov	x0, x20
	mov	x1, x21
	bl	_nvkm_rd32
	mov	x22, x0
	add	w21, w21, #4
	mov	x0, x20
	mov	x1, x21
	bl	_nvkm_rd32
	and	w22, w0, w22
	tbnz	w22, #0, LBB0_5
; %bb.1:
	tbnz	w22, #1, LBB0_6
LBB0_2:
	tbnz	w22, #2, LBB0_7
LBB0_3:
	cbz	w22, LBB0_8
LBB0_4:
	str	x22, [sp]
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_nvkm_warn
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	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
	b	_nvkm_wr32
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvkm_warn
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_nvkm_wr32
	and	w22, w22, #0xfffffffe
	tbz	w22, #1, LBB0_2
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nvkm_warn
	mov	x0, x20
	mov	x1, x21
	mov	w2, #2
	bl	_nvkm_wr32
	and	w22, w22, #0xfffffffd
	tbz	w22, #2, LBB0_3
LBB0_7:
	mov	x0, x19
	mov	x1, x23
	bl	_gk104_ce_intr_launcherr
	mov	x0, x20
	mov	x1, x21
	mov	w2, #4
	bl	_nvkm_wr32
	and	w22, w22, #0xfffffffb
	cbnz	w22, LBB0_4
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_ENGINE_CE0,4,2            ; @NVKM_ENGINE_CE0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BLOCKPIPE\n"

l_.str.1:                               ; @.str.1
	.asciz	"NONBLOCKPIPE\n"

l_.str.2:                               ; @.str.2
	.asciz	"intr %08x\n"

.subsections_via_symbols
