	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk104_fifo_intr_pbdma_1
_gk104_fifo_intr_pbdma_1:               ## @gk104_fifo_intr_pbdma_1
	.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	$152, %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, -192(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rbx
	movl	%esi, -180(%rbp)                ## 4-byte Spill
	movl	%esi, %r14d
	shll	$13, %r14d
	leal	262476(%r14), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movl	%eax, %r15d
	leal	262472(%r14), %esi
	movq	%rbx, %rdi
	movl	%esi, -184(%rbp)                ## 4-byte Spill
	callq	_nvkm_rd32
	movl	%eax, %r13d
	leal	262432(%r14), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	andl	%r15d, %r13d
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	andl	$4095, %r12d                    ## imm = 0xFFF
	movq	_gk104_fifo_pbdma_intr_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	movl	%r13d, %ecx
	callq	_nvkm_snprintbf
	leal	262480(%r14), %esi
	movq	%rbx, %rdi
	callq	_nvkm_rd32
	movl	%eax, %r15d
	addl	$262484, %r14d                  ## imm = 0x40154
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movl	-180(%rbp), %edx                ## 4-byte Reload
	movl	%r13d, %ecx
	leaq	-176(%rbp), %r8
	movl	%r12d, %r9d
	pushq	%rax
	pushq	%r15
	callq	_nvkm_error
	addq	$16, %rsp
LBB0_2:
	movq	%rbx, %rdi
	movl	-184(%rbp), %esi                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_nvkm_wr32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_gk104_fifo_pbdma_intr_1,4,2    ## @gk104_fifo_pbdma_intr_1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PBDMA%d: %08x [%s] ch %d %08x %08x\n"

	.no_dead_strip	_gk104_fifo_intr_pbdma_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk104_fifo_intr_pbdma_1
_gk104_fifo_intr_pbdma_1:               ; @gk104_fifo_intr_pbdma_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w25, #288
	movk	w25, #4, lsl #16
	ldr	x19, [x0]
	lsl	w26, w1, #13
	add	w24, w26, w25
	add	w1, w24, #44
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x23, x0
	add	w22, w24, #40
	mov	x0, x19
	mov	x1, x22
	bl	_nvkm_rd32
	and	w23, w0, w23
	mov	x0, x19
	mov	x1, x24
	bl	_nvkm_rd32
	cbz	w23, LBB0_2
; %bb.1:
	and	w24, w0, #0xfff
Lloh3:
	adrp	x8, _gk104_fifo_pbdma_intr_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gk104_fifo_pbdma_intr_1@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #128
	mov	x3, x23
	bl	_nvkm_snprintbf
	add	w26, w25, w26
	add	w1, w26, #48
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x25, x0
	add	w1, w26, #52
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x7, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #8
	mov	x0, x21
	mov	x2, x20
	mov	x3, x23
	mov	x5, x24
	mov	x6, x25
	bl	_nvkm_error
LBB0_2:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_nvkm_wr32
	ldur	x8, [x29, #-72]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_gk104_fifo_pbdma_intr_1,4,2    ; @gk104_fifo_pbdma_intr_1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PBDMA%d: %08x [%s] ch %d %08x %08x\n"

	.no_dead_strip	_gk104_fifo_intr_pbdma_1
.subsections_via_symbols
