	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_write
_pf_write:                              ## @pf_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__PS_1A_CTRL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.1:
	movq	__PS_2A_CTRL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.2:
	movq	__PS_1B_CTRL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.3:
	movq	__PS_2B_CTRL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	je	LBB0_5
## %bb.4:
	movq	__PS_1C_CTRL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_7
LBB0_5:
	movq	_PS_PLANE_SEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_7
## %bb.6:
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN_ONCE
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	popq	%rbp
	jmp	_intel_vgpu_default_mmio_write  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__PS_1A_CTRL,4,2                ## @_PS_1A_CTRL
	.comm	__PS_2A_CTRL,4,2                ## @_PS_2A_CTRL
	.comm	__PS_1B_CTRL,4,2                ## @_PS_1B_CTRL
	.comm	__PS_2B_CTRL,4,2                ## @_PS_2B_CTRL
	.comm	__PS_1C_CTRL,4,2                ## @_PS_1C_CTRL
	.comm	_PS_PLANE_SEL_MASK,4,2          ## @PS_PLANE_SEL_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM(%d): guest is trying to scaling a plane\n"

	.no_dead_strip	_pf_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_write
_pf_write:                              ; @pf_write
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, __PS_1A_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PS_1A_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, __PS_2A_CTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, __PS_2A_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, __PS_1B_CTRL@GOTPAGE
Lloh7:
	ldr	x10, [x10, __PS_1B_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, __PS_2B_CTRL@GOTPAGE
Lloh10:
	ldr	x11, [x11, __PS_2B_CTRL@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x12, __PS_1C_CTRL@GOTPAGE
Lloh13:
	ldr	x12, [x12, __PS_1C_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	ccmp	w10, w1, #4, ne
	ccmp	w11, w1, #4, ne
	ccmp	w12, w1, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x2]
Lloh15:
	adrp	x9, _PS_PLANE_SEL_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PS_PLANE_SEL_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w2, [x0]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_intel_vgpu_default_mmio_write
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	__PS_1A_CTRL,4,2                ; @_PS_1A_CTRL
	.comm	__PS_2A_CTRL,4,2                ; @_PS_2A_CTRL
	.comm	__PS_1B_CTRL,4,2                ; @_PS_1B_CTRL
	.comm	__PS_2B_CTRL,4,2                ; @_PS_2B_CTRL
	.comm	__PS_1C_CTRL,4,2                ; @_PS_1C_CTRL
	.comm	_PS_PLANE_SEL_MASK,4,2          ; @PS_PLANE_SEL_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM(%d): guest is trying to scaling a plane\n"

	.no_dead_strip	_pf_write
.subsections_via_symbols
