	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_fifo_intr_pbdma
_gf100_fifo_intr_pbdma:                 ## @gf100_fifo_intr_pbdma
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -216(%rbp)                ## 8-byte Spill
	movq	(%rdi), %r13
	movl	%esi, -184(%rbp)                ## 4-byte Spill
	movl	%esi, %ebx
	shll	$13, %ebx
	leal	262408(%rbx), %esi
	movq	%r13, %rdi
	movl	%esi, -192(%rbp)                ## 4-byte Spill
	callq	_nvkm_rd32
	movl	%eax, %r14d
	leal	262336(%rbx), %esi
	movq	%r13, %rdi
	movl	%esi, -188(%rbp)                ## 4-byte Spill
	callq	_nvkm_rd32
	movl	%eax, %r15d
	leal	262340(%rbx), %esi
	movq	%r13, %rdi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	addl	$262432, %ebx                   ## imm = 0x40120
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ebx
	callq	_nvkm_rd32
	movl	%eax, %r12d
	andl	$127, %r12d
	movl	%r15d, %r14d
	shrl	$16, %r14d
	andl	$7, %r14d
	andl	$16380, %r15d                   ## imm = 0x3FFC
	movq	%r15, -208(%rbp)                ## 8-byte Spill
	movl	%ebx, %r15d
	testl	$8388608, %ebx                  ## imm = 0x800000
	je	LBB0_4
## %bb.1:
	movq	(%r13), %rdi
	movl	%ebx, %r15d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	-208(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-200(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_nvkm_sw_mthd
	movl	%ebx, %r15d
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	%ebx, %r15d
	andl	$-8388609, %r15d                ## imm = 0xFF7FFFFF
LBB0_4:
	testl	%r15d, %r15d
	je	LBB0_9
LBB0_5:
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	movq	_gf100_fifo_pbdma_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movl	%r15d, %ecx
	callq	_nvkm_snprintbf
	leaq	-224(%rbp), %rdx
	movq	-216(%rbp), %rdi                ## 8-byte Reload
	movl	%r12d, %esi
	callq	_nvkm_fifo_chan_chid
	movq	%rax, -232(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	(%rax), %r10d
	movq	(%rcx), %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rax
	xorl	%r10d, %r10d
LBB0_8:
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	leaq	-176(%rbp), %r8
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-184(%rbp), %edx                ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%r12d, %r9d
	pushq	-200(%rbp)                      ## 8-byte Folded Reload
	pushq	-208(%rbp)                      ## 8-byte Folded Reload
	pushq	%r14
	pushq	%rax
	pushq	%r10
	callq	_nvkm_error
	addq	$48, %rsp
	movq	-224(%rbp), %rsi
	leaq	-232(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvkm_fifo_chan_put
	movl	-180(%rbp), %ebx                ## 4-byte Reload
LBB0_9:
	movq	%r13, %rdi
	movl	-188(%rbp), %esi                ## 4-byte Reload
	movl	$-2141192184, %edx              ## imm = 0x80600008
	callq	_nvkm_wr32
	movq	%r13, %rdi
	movl	-192(%rbp), %esi                ## 4-byte Reload
	movl	%ebx, %edx
	callq	_nvkm_wr32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_gf100_fifo_pbdma_intr,4,2      ## @gf100_fifo_pbdma_intr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PBDMA%d: %08x [%s] ch %d [%010llx %s] subc %d mthd %04x data %08x\n"

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

	.no_dead_strip	_gf100_fifo_intr_pbdma
.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_pbdma
_gf100_fifo_intr_pbdma:                 ; @gf100_fifo_intr_pbdma
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, 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, #-96]
	ldr	x19, [x0]
	mov	w8, #192
	movk	w8, #4, lsl #16
	add	w21, w8, w1, lsl #13
	add	w1, w21, #72
	mov	x0, x19
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	bl	_nvkm_rd32
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nvkm_rd32
	mov	x23, x0
	orr	w1, w21, #0x4
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x26, x0
	add	w1, w21, #96
	mov	x0, x19
	bl	_nvkm_rd32
	and	w25, w0, #0x7f
	ubfx	w27, w23, #16, #3
	and	w28, w23, #0x3ffc
	mov	x23, x20
	tbz	w20, #23, LBB0_4
; %bb.1:
	ldr	x0, [x19]
	mov	x23, x20
	cbz	x0, LBB0_5
; %bb.2:
	mov	x1, x25
	mov	x2, x27
	mov	x3, x28
	mov	x4, x26
	bl	_nvkm_sw_mthd
	mov	x23, x20
	cbz	x0, LBB0_5
; %bb.3:
	and	w23, w20, #0xff7fffff
LBB0_4:
	cbz	w23, LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _gf100_fifo_pbdma_intr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gf100_fifo_pbdma_intr@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #32
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
	add	x2, sp, #16
	mov	x0, x22
	mov	x1, x25
	bl	_nvkm_fifo_chan_chid
	str	x0, [sp, #24]
	cbz	x0, LBB0_7
; %bb.6:
	ldp	x9, x8, [x0]
	ldr	w6, [x8]
	ldr	x7, [x9]
	b	LBB0_8
LBB0_7:
	mov	w6, #0
Lloh6:
	adrp	x7, l_.str.1@PAGE
Lloh7:
	add	x7, x7, l_.str.1@PAGEOFF
LBB0_8:
	stp	w28, w26, [sp, #4]
	str	w27, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #32
	mov	x0, x22
	mov	x2, x24
	mov	x3, x23
	mov	x5, x25
	bl	_nvkm_error
	ldr	x1, [sp, #16]
	add	x2, sp, #24
	mov	x0, x22
	bl	_nvkm_fifo_chan_put
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #8
	movk	w2, #32864, lsl #16
	bl	_nvkm_wr32
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_nvkm_wr32
	ldur	x8, [x29, #-96]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_gf100_fifo_pbdma_intr,4,2      ; @gf100_fifo_pbdma_intr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PBDMA%d: %08x [%s] ch %d [%010llx %s] subc %d mthd %04x data %08x\n"

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

	.no_dead_strip	_gf100_fifo_intr_pbdma
.subsections_via_symbols
