	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psbfb_copyarea                 ## -- Begin function psbfb_copyarea
	.p2align	4, 0x90
_psbfb_copyarea:                        ## @psbfb_copyarea
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_FBINFO_STATE_RUNNING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	cmpl	$8, (%r14)
	je	LBB0_6
## %bb.2:
	cmpl	$8, 4(%r14)
	je	LBB0_6
## %bb.3:
	movq	_FBINFO_HWACCEL_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_fb_helper_cfb_copyarea     ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_psbfb_copyarea_accel           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FBINFO_STATE_RUNNING,8,3       ## @FBINFO_STATE_RUNNING
	.comm	_FBINFO_HWACCEL_DISABLED,4,2    ## @FBINFO_HWACCEL_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psbfb_copyarea                 ; -- Begin function psbfb_copyarea
	.p2align	2
_psbfb_copyarea:                        ; @psbfb_copyarea
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FBINFO_STATE_RUNNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FBINFO_STATE_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #8
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x19, #4]
	cmp	w8, #8
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x20, #8]
Lloh3:
	adrp	x9, _FBINFO_HWACCEL_DISABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FBINFO_HWACCEL_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_fb_helper_cfb_copyarea
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_psbfb_copyarea_accel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FBINFO_STATE_RUNNING,8,3       ; @FBINFO_STATE_RUNNING
	.comm	_FBINFO_HWACCEL_DISABLED,4,2    ; @FBINFO_HWACCEL_DISABLED
.subsections_via_symbols
