	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gt215_pmu_recv                 ## -- Begin function gt215_pmu_recv
	.p2align	4, 0x90
_gt215_pmu_recv:                        ## @gt215_pmu_recv
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	32(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$1090764, %esi                  ## imm = 0x10A4CC
	callq	_nvkm_rd32
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$1090760, %esi                  ## imm = 0x10A4C8
	callq	_nvkm_rd32
	cmpl	%eax, %r12d
	jne	LBB0_1
## %bb.7:
	addq	$24, %rsp
	jmp	LBB0_8
LBB0_1:
	leaq	32(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$1090944, %esi                  ## imm = 0x10A580
	movl	$2, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$1090944, %esi                  ## imm = 0x10A580
	callq	_nvkm_rd32
	cmpl	$2, %eax
	jne	LBB0_2
## %bb.3:
	movl	%r12d, %edx
	shll	$4, %edx
	andl	$112, %edx
	addl	(%r15), %edx
	orl	$33554432, %edx                 ## imm = 0x2000000
	movq	%rbx, %rdi
	movl	$1089984, %esi                  ## imm = 0x10A1C0
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$1089988, %esi                  ## imm = 0x10A1C4
	callq	_nvkm_rd32
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	$1089988, %esi                  ## imm = 0x10A1C4
	callq	_nvkm_rd32
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$1089988, %esi                  ## imm = 0x10A1C4
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1089988, %esi                  ## imm = 0x10A1C4
	callq	_nvkm_rd32
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	incl	%r12d
	andl	$15, %r12d
	movq	%rbx, %rdi
	movl	$1090764, %esi                  ## imm = 0x10A4CC
	movl	%r12d, %edx
	callq	_nvkm_wr32
	movq	%rbx, %rdi
	movl	$1090944, %esi                  ## imm = 0x10A580
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movl	4(%r15), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	cmpl	%eax, %r13d
	jne	LBB0_6
## %bb.5:
	cmpl	8(%r15), %r14d
	jne	LBB0_6
## %bb.9:
	movq	16(%r15), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%rax)
	movl	$0, 4(%r15)
	addq	$24, %r15
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_6:
	movl	%r13d, %eax
	shrl	$8, %eax
	movl	%r13d, %esi
	shrl	$16, %esi
	movl	%r13d, %r9d
	sarl	$24, %r9d
	movsbl	%r13b, %edx
	movsbl	%al, %ecx
	movsbl	%sil, %r8d
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	pushq	%r13
	callq	_nvkm_warn
	addq	$56, %rsp
LBB0_8:
	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	"%c%c%c%c %08x %08x %08x %08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gt215_pmu_recv                 ; -- Begin function gt215_pmu_recv
	.p2align	2
_gt215_pmu_recv:                        ; @gt215_pmu_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	mov	w28, #41412
	movk	w28, #16, lsl #16
	mov	x19, x0
	ldr	x21, [x19, #32]!
	add	w1, w28, #776
	mov	x0, x21
	bl	_nvkm_rd32
	mov	x22, x0
	add	w1, w28, #772
	mov	x0, x21
	bl	_nvkm_rd32
	cmp	w22, w0
	b.eq	LBB0_7
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w24, w28, #956
	mov	x0, x21
	mov	x1, x24
	mov	w2, #2
	bl	_nvkm_wr32
	mov	x0, x21
	mov	x1, x24
	bl	_nvkm_rd32
	cmp	w0, #2
	b.ne	LBB0_1
; %bb.2:
	ubfiz	w8, w22, #4, #3
	ldr	w9, [x20]
	add	w8, w9, w8
	orr	w2, w8, #0x2000000
	sub	w1, w28, #4
	mov	x0, x21
	bl	_nvkm_wr32
	mov	x0, x21
	mov	w1, #41412
	movk	w1, #16, lsl #16
	bl	_nvkm_rd32
	mov	x23, x0
	mov	x0, x21
	mov	w1, #41412
	movk	w1, #16, lsl #16
	bl	_nvkm_rd32
	mov	x25, x0
	mov	x0, x21
	mov	w1, #41412
	movk	w1, #16, lsl #16
	bl	_nvkm_rd32
	mov	x26, x0
	mov	x0, x21
	mov	w1, #41412
	movk	w1, #16, lsl #16
	bl	_nvkm_rd32
	mov	x27, x0
	add	w8, w22, #1
	and	w2, w8, #0xf
	add	w1, w28, #776
	mov	x0, x21
	bl	_nvkm_wr32
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	bl	_nvkm_wr32
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_6
; %bb.3:
	cmp	w23, w8
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x20, #8]
	cmp	w25, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x20, #16]
	stp	w26, w27, [x8]
	str	wzr, [x20, #4]
	add	x0, x20, #24
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_wake_up
LBB0_6:
	stp	w26, w27, [sp]
	sxtb	w2, w23
	sbfx	w3, w23, #8, #8
	sbfx	w4, w23, #16, #8
	asr	w5, w23, #24
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x6, x23
	mov	x7, x25
	bl	_nvkm_warn
LBB0_7:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%c%c%c%c %08x %08x %08x %08x\n"

.subsections_via_symbols
