	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gf100_bus_intr
_gf100_bus_intr:                        ## @gf100_bus_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
	movq	(%rdi), %r15
	movq	%r15, %rdi
	movl	$4352, %esi                     ## imm = 0x1100
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r15, %rdi
	movl	$4416, %esi                     ## imm = 0x1140
	callq	_nvkm_rd32
	movl	%eax, %ebx
	andl	%r12d, %ebx
	movl	%ebx, %r12d
	andl	$14, %r12d
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$36996, %esi                    ## imm = 0x9084
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	$37000, %esi                    ## imm = 0x9088
	callq	_nvkm_rd32
	testb	$2, %r13b
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rcx, %rdx
	andl	$16777212, %r13d                ## imm = 0xFFFFFC
	testb	$2, %bl
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.3(%rip), %r9
	cmoveq	%rcx, %r9
	testb	$4, %bl
	leaq	L_.str.5(%rip), %r10
	cmoveq	%rcx, %r10
	testb	$8, %bl
	leaq	L_.str.6(%rip), %r11
	cmoveq	%rcx, %r11
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	pushq	%r11
	pushq	%r10
	callq	_nvkm_error
	addq	$16, %rsp
	movq	%r15, %rdi
	movl	$36996, %esi                    ## imm = 0x9084
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r15, %rdi
	movl	$4352, %esi                     ## imm = 0x1100
	movl	%r12d, %edx
	callq	_nvkm_wr32
	andl	$-15, %ebx
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r15, %rdi
	movl	$4416, %esi                     ## imm = 0x1140
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_mask                      ## TAILCALL
LBB0_3:
	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	"MMIO %s of %08x FAULT at %06x [ %s%s%s]\n"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"!ENGINE "

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

L_.str.5:                               ## @.str.5
	.asciz	"IBUS "

L_.str.6:                               ## @.str.6
	.asciz	"TIMEOUT "

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

	.no_dead_strip	_gf100_bus_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gf100_bus_intr
_gf100_bus_intr:                        ; @gf100_bus_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	ldr	x19, [x0]
	mov	x0, x19
	mov	w1, #4352
	bl	_nvkm_rd32
	mov	x21, x0
	mov	x0, x19
	mov	w1, #4416
	bl	_nvkm_rd32
	and	w21, w0, w21
	ands	w22, w21, #0xe
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #36996
	bl	_nvkm_rd32
	mov	x23, x0
	mov	x0, x19
	mov	w1, #37000
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	tst	w23, #0x2
	csel	x8, x9, x8, eq
	and	w9, w23, #0xfffffc
Lloh4:
	adrp	x10, l_.str.3@PAGE
Lloh5:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh6:
	adrp	x11, l_.str.4@PAGE
Lloh7:
	add	x11, x11, l_.str.4@PAGEOFF
	tst	w21, #0x2
	csel	x10, x11, x10, eq
Lloh8:
	adrp	x12, l_.str.5@PAGE
Lloh9:
	add	x12, x12, l_.str.5@PAGEOFF
	tst	w21, #0x4
	csel	x12, x11, x12, eq
Lloh10:
	adrp	x13, l_.str.6@PAGE
Lloh11:
	add	x13, x13, l_.str.6@PAGEOFF
	tst	w21, #0x8
	csel	x11, x11, x13, eq
	stp	x12, x11, [sp, #32]
	stp	x9, x10, [sp, #16]
	stp	x8, x0, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #36996
	mov	w2, #0
	bl	_nvkm_wr32
	mov	x0, x19
	mov	w1, #4352
	mov	x2, x22
	bl	_nvkm_wr32
	and	w21, w21, #0xfffffff1
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
	str	x21, [sp]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #4416
	mov	x2, x21
	mov	w3, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_nvkm_mask
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MMIO %s of %08x FAULT at %06x [ %s%s%s]\n"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"!ENGINE "

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

l_.str.5:                               ; @.str.5
	.asciz	"IBUS "

l_.str.6:                               ; @.str.6
	.asciz	"TIMEOUT "

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

	.no_dead_strip	_gf100_bus_intr
.subsections_via_symbols
