	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pvr2_buffer_set_none
_pvr2_buffer_set_none:                  ## @pvr2_buffer_set_none
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_BUFFER_CHECK
	movq	8(%rbx), %r14
	movq	_PVR2_TRACE_BUF_FLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %edi
	callq	_pvr2_buffer_state_decode
	movl	%eax, %r12d
	movq	_pvr2_buffer_state_none@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pvr2_buffer_state_decode
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_pvr2_trace
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_pvr2_buffer_remove
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PVR2_TRACE_BUF_FLOW,4,2        ## @PVR2_TRACE_BUF_FLOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/*---TRACE_FLOW---*/ bufferState    %p %6s --> %6s"

	.comm	_pvr2_buffer_state_none,4,2     ## @pvr2_buffer_state_none
	.no_dead_strip	_pvr2_buffer_set_none
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pvr2_buffer_set_none
_pvr2_buffer_set_none:                  ; @pvr2_buffer_set_none
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_BUFFER_CHECK
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x8, _PVR2_TRACE_BUF_FLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PVR2_TRACE_BUF_FLOW@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x19]
	bl	_pvr2_buffer_state_decode
	mov	x22, x0
Lloh3:
	adrp	x8, _pvr2_buffer_state_none@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pvr2_buffer_state_none@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_pvr2_buffer_state_decode
	mov	x4, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x22
	bl	_pvr2_trace
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_pvr2_buffer_remove
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PVR2_TRACE_BUF_FLOW,4,2        ; @PVR2_TRACE_BUF_FLOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/*---TRACE_FLOW---*/ bufferState    %p %6s --> %6s"

	.comm	_pvr2_buffer_state_none,4,2     ; @pvr2_buffer_state_none
	.no_dead_strip	_pvr2_buffer_set_none
.subsections_via_symbols
