	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gt215_pmu_intr                 ## -- Begin function gt215_pmu_intr
	.p2align	4, 0x90
_gt215_pmu_intr:                        ## @gt215_pmu_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, %r12
	leaq	8(%rdi), %r15
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	movl	$1089564, %esi                  ## imm = 0x10A01C
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$1089544, %esi                  ## imm = 0x10A008
	callq	_nvkm_rd32
	andl	%ebx, %eax
	sarl	$16, %ebx
	notl	%ebx
	andl	%eax, %ebx
	testb	$32, %bl
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movl	$1089900, %esi                  ## imm = 0x10A16C
	callq	_nvkm_rd32
	testl	%eax, %eax
	js	LBB0_2
LBB0_3:
	testb	$64, %bl
	jne	LBB0_4
LBB0_5:
	testb	$-128, %bl
	jne	LBB0_6
LBB0_7:
	testl	%ebx, %ebx
	je	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$1089540, %esi                  ## imm = 0x10A004
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
LBB0_2:
	movl	%eax, %r13d
	andl	$16777215, %r13d                ## imm = 0xFFFFFF
	movq	%r14, %rdi
	movl	$1089896, %esi                  ## imm = 0x10A168
	callq	_nvkm_rd32
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_nvkm_error
	movq	%r14, %rdi
	movl	$1089900, %esi                  ## imm = 0x10A16C
	xorl	%edx, %edx
	callq	_nvkm_wr32
	andl	$-33, %ebx
	testb	$64, %bl
	je	LBB0_5
LBB0_4:
	movq	%r12, %rdi
	callq	_schedule_work
	movq	%r14, %rdi
	movl	$1089540, %esi                  ## imm = 0x10A004
	movl	$64, %edx
	callq	_nvkm_wr32
	andl	$-65, %ebx
	testb	$-128, %bl
	je	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	movl	$1091488, %esi                  ## imm = 0x10A7A0
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	$1091492, %esi                  ## imm = 0x10A7A4
	callq	_nvkm_rd32
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_nvkm_info
	movq	%r14, %rdi
	movl	$1089540, %esi                  ## imm = 0x10A004
	movl	$128, %edx
	callq	_nvkm_wr32
	andl	$-129, %ebx
	testl	%ebx, %ebx
	jne	LBB0_9
LBB0_8:
	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	"UAS fault at %06x addr %08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"wr32 %06x %08x\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	_gt215_pmu_intr                 ; -- Begin function gt215_pmu_intr
	.p2align	2
_gt215_pmu_intr:                        ; @gt215_pmu_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x0
	mov	w25, #40964
	movk	w25, #16, lsl #16
	mov	x20, x0
	ldr	x19, [x20, #8]!
	orr	w1, w25, #0x18
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x21, x0
	add	w1, w25, #4
	mov	x0, x19
	bl	_nvkm_rd32
	and	w8, w0, w21
	bic	w21, w8, w21, asr #16
	tbz	w21, #5, LBB0_2
; %bb.1:
	add	w23, w25, #360
	mov	x0, x19
	mov	x1, x23
	bl	_nvkm_rd32
	tbnz	w0, #31, LBB0_6
LBB0_2:
	tbnz	w21, #6, LBB0_7
LBB0_3:
	tbnz	w21, #7, LBB0_8
LBB0_4:
	cbz	w21, LBB0_9
LBB0_5:
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_nvkm_error
	mov	x0, x19
	mov	w1, #40964
	movk	w1, #16, lsl #16
	mov	x2, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_nvkm_wr32
LBB0_6:
	and	w24, w0, #0xffffff
	add	w1, w25, #356
	mov	x0, x19
	bl	_nvkm_rd32
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x24
	bl	_nvkm_error
	mov	x0, x19
	mov	x1, x23
	mov	w2, #0
	bl	_nvkm_wr32
	and	w21, w21, #0xffffffdf
	tbz	w21, #6, LBB0_3
LBB0_7:
	mov	x0, x22
	bl	_schedule_work
	mov	x0, x19
	mov	w1, #40964
	movk	w1, #16, lsl #16
	mov	w2, #64
	bl	_nvkm_wr32
	and	w21, w21, #0xffffffbf
	tbz	w21, #7, LBB0_4
LBB0_8:
	add	w1, w25, #1948
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x22, x0
	add	w1, w25, #1952
	mov	x0, x19
	bl	_nvkm_rd32
	mov	x3, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_nvkm_info
	mov	x0, x19
	mov	w1, #40964
	movk	w1, #16, lsl #16
	mov	w2, #128
	bl	_nvkm_wr32
	and	w21, w21, #0xffffff7f
	cbnz	w21, LBB0_5
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UAS fault at %06x addr %08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"wr32 %06x %08x\n"

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

.subsections_via_symbols
