	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_fifo_intr
_gf100_fifo_intr:                       ## @gf100_fifo_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
	callq	_gf100_fifo
	movq	%rax, %r15
	movq	(%rax), %r12
	movq	%r12, %rdi
	movl	$8512, %esi                     ## imm = 0x2140
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	callq	_nvkm_rd32
	movl	%eax, %r14d
	andl	%ebx, %r14d
	testb	$1, %r14b
	jne	LBB0_1
## %bb.2:
	testl	$256, %r14d                     ## imm = 0x100
	jne	LBB0_3
LBB0_4:
	testl	$65536, %r14d                   ## imm = 0x10000
	jne	LBB0_5
LBB0_6:
	testl	$16777216, %r14d                ## imm = 0x1000000
	jne	LBB0_7
LBB0_8:
	testl	$268435456, %r14d               ## imm = 0x10000000
	jne	LBB0_9
LBB0_13:
	testl	$536870912, %r14d               ## imm = 0x20000000
	jne	LBB0_14
LBB0_18:
	testl	$1073741824, %r14d              ## imm = 0x40000000
	jne	LBB0_19
LBB0_20:
	testl	%r14d, %r14d
	js	LBB0_21
LBB0_22:
	testl	%r14d, %r14d
	je	LBB0_23
LBB0_24:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_nvkm_error
	movq	%r12, %rdi
	movl	$8512, %esi                     ## imm = 0x2140
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movq	%r12, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
LBB0_1:
	movq	%r12, %rdi
	movl	$9516, %esi                     ## imm = 0x252C
	callq	_nvkm_rd32
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_nvkm_warn
	movq	%r12, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	movl	$1, %edx
	callq	_nvkm_wr32
	andl	$-2, %r14d
	testl	$256, %r14d                     ## imm = 0x100
	je	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_gf100_fifo_intr_sched
	movq	%r12, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	movl	$256, %edx                      ## imm = 0x100
	callq	_nvkm_wr32
	andl	$-257, %r14d                    ## imm = 0xFEFF
	testl	$65536, %r14d                   ## imm = 0x10000
	je	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	movl	$9580, %esi                     ## imm = 0x256C
	callq	_nvkm_rd32
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_nvkm_warn
	movq	%r12, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_nvkm_wr32
	andl	$-65537, %r14d                  ## imm = 0xFFFEFFFF
	testl	$16777216, %r14d                ## imm = 0x1000000
	je	LBB0_8
LBB0_7:
	movq	%r12, %rdi
	movl	$9612, %esi                     ## imm = 0x258C
	callq	_nvkm_rd32
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_nvkm_warn
	movq	%r12, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_nvkm_wr32
	andl	$-16777217, %r14d               ## imm = 0xFEFFFFFF
	testl	$268435456, %r14d               ## imm = 0x10000000
	je	LBB0_13
LBB0_9:
	movq	%r12, %rdi
	movl	$9628, %esi                     ## imm = 0x259C
	callq	_nvkm_rd32
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	___ffs
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gf100_fifo_intr_fault
	movl	$1, %edx
	movl	%r13d, %ecx
	shll	%cl, %edx
	movq	%r12, %rdi
	movl	$9628, %esi                     ## imm = 0x259C
	callq	_nvkm_wr32
	movl	$-2, %eax
	movl	%r13d, %ecx
	roll	%cl, %eax
	andl	%eax, %ebx
	jne	LBB0_11
LBB0_12:
	andl	$-268435457, %r14d              ## imm = 0xEFFFFFFF
	testl	$536870912, %r14d               ## imm = 0x20000000
	je	LBB0_18
LBB0_14:
	movq	%r12, %rdi
	movl	$9632, %esi                     ## imm = 0x25A0
	callq	_nvkm_rd32
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	___ffs
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gf100_fifo_intr_pbdma
	movl	$1, %edx
	movl	%r13d, %ecx
	shll	%cl, %edx
	movq	%r12, %rdi
	movl	$9632, %esi                     ## imm = 0x25A0
	callq	_nvkm_wr32
	movl	$-2, %eax
	movl	%r13d, %ecx
	roll	%cl, %eax
	andl	%eax, %ebx
	jne	LBB0_16
LBB0_17:
	andl	$-536870913, %r14d              ## imm = 0xDFFFFFFF
	testl	$1073741824, %r14d              ## imm = 0x40000000
	je	LBB0_20
LBB0_19:
	movq	%r15, %rdi
	callq	_gf100_fifo_intr_runlist
	andl	$-1073741825, %r14d             ## imm = 0xBFFFFFFF
	testl	%r14d, %r14d
	jns	LBB0_22
LBB0_21:
	movq	%r15, %rdi
	callq	_gf100_fifo_intr_engine
	andl	$2147483647, %r14d              ## imm = 0x7FFFFFFF
	testl	%r14d, %r14d
	jne	LBB0_24
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INTR 00000001: %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"INTR 00010000: %08x\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"INTR %08x\n"

	.no_dead_strip	_gf100_fifo_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf100_fifo_intr
_gf100_fifo_intr:                       ; @gf100_fifo_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_gf100_fifo
	mov	x20, x0
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #8512
	bl	_nvkm_rd32
	mov	x21, x0
	mov	x0, x19
	mov	w1, #8448
	bl	_nvkm_rd32
	and	w21, w0, w21
	tbnz	w21, #0, LBB0_10
; %bb.1:
	tbnz	w21, #8, LBB0_11
LBB0_2:
	tbnz	w21, #16, LBB0_12
LBB0_3:
	tbnz	w21, #24, LBB0_13
LBB0_4:
	tbnz	w21, #28, LBB0_14
LBB0_5:
	tbnz	w21, #29, LBB0_18
LBB0_6:
	tbnz	w21, #30, LBB0_22
LBB0_7:
	tbnz	w21, #31, LBB0_23
LBB0_8:
	cbz	w21, LBB0_24
LBB0_9:
Lloh0:
	adrp	x1, l_.str.3@PAGE
Lloh1:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #8512
	mov	x2, x21
	mov	w3, #0
	bl	_nvkm_mask
	mov	x0, x19
	mov	w1, #8448
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nvkm_wr32
LBB0_10:
	mov	x0, x19
	mov	w1, #9516
	bl	_nvkm_rd32
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_nvkm_warn
	mov	x0, x19
	mov	w1, #8448
	mov	w2, #1
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffffe
	tbz	w21, #8, LBB0_2
LBB0_11:
	mov	x0, x20
	bl	_gf100_fifo_intr_sched
	mov	x0, x19
	mov	w1, #8448
	mov	w2, #256
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffeff
	tbz	w21, #16, LBB0_3
LBB0_12:
	mov	x0, x19
	mov	w1, #9580
	bl	_nvkm_rd32
	mov	x2, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_nvkm_warn
	mov	x0, x19
	mov	w1, #8448
	mov	w2, #65536
	bl	_nvkm_wr32
	and	w21, w21, #0xfffeffff
	tbz	w21, #24, LBB0_4
LBB0_13:
	mov	x0, x19
	mov	w1, #9612
	bl	_nvkm_rd32
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_nvkm_warn
	mov	x0, x19
	mov	w1, #8448
	mov	w2, #16777216
	bl	_nvkm_wr32
	and	w21, w21, #0xfeffffff
	tbz	w21, #28, LBB0_5
LBB0_14:
	mov	x0, x19
	mov	w1, #9628
	bl	_nvkm_rd32
	cbz	w0, LBB0_17
; %bb.15:
	mov	x22, x0
	mov	w24, #1
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	___ffs
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_gf100_fifo_intr_fault
	lsl	w23, w24, w23
	mov	x0, x19
	mov	w1, #9628
	mov	x2, x23
	bl	_nvkm_wr32
	bics	w22, w22, w23
	b.ne	LBB0_16
LBB0_17:
	and	w21, w21, #0xefffffff
	tbz	w21, #29, LBB0_6
LBB0_18:
	mov	x0, x19
	mov	w1, #9632
	bl	_nvkm_rd32
	cbz	w0, LBB0_21
; %bb.19:
	mov	x22, x0
	mov	w24, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	___ffs
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_gf100_fifo_intr_pbdma
	lsl	w23, w24, w23
	mov	x0, x19
	mov	w1, #9632
	mov	x2, x23
	bl	_nvkm_wr32
	bics	w22, w22, w23
	b.ne	LBB0_20
LBB0_21:
	and	w21, w21, #0xdfffffff
	tbz	w21, #30, LBB0_7
LBB0_22:
	mov	x0, x20
	bl	_gf100_fifo_intr_runlist
	and	w21, w21, #0xbfffffff
	tbz	w21, #31, LBB0_8
LBB0_23:
	mov	x0, x20
	bl	_gf100_fifo_intr_engine
	and	w21, w21, #0x7fffffff
	cbnz	w21, LBB0_9
LBB0_24:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INTR 00000001: %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"INTR 00010000: %08x\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"INTR %08x\n"

	.no_dead_strip	_gf100_fifo_intr
.subsections_via_symbols
