	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psbfb_copyarea_accel
_psbfb_copyarea_accel:                  ## @psbfb_copyarea_accel
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rax), %r14
	movq	(%r14), %r13
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_to_gtt_range
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	addl	$-8, %edx
	cmpl	$24, %edx
	ja	LBB0_9
## %bb.2:
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %ebx
	movq	_PSB_2D_DST_332RGB@GOTPCREL(%rip), %rax
	movq	_PSB_2D_SRC_332RGB@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_PSB_2D_DST_8888ARGB@GOTPCREL(%rip), %rax
	movq	_PSB_2D_SRC_8888ARGB@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_PSB_2D_DST_555RGB@GOTPCREL(%rip), %rax
	movq	_PSB_2D_SRC_555RGB@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	movq	_PSB_2D_DST_565RGB@GOTPCREL(%rip), %rax
	movq	_PSB_2D_SRC_565RGB@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %r13d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_gma_power_begin
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	20(%r12), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r12), %r11d
	movl	12(%r12), %r15d
	movl	8(%r12), %r10d
	movl	(%r12), %eax
	movl	%ebx, %edx
	movl	4(%r12), %ebx
	subq	$8, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%esi, %r8d
	movl	%edx, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	%r15
	pushq	%r11
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_psb_accel_2d_copy
	addq	$64, %rsp
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gma_power_end                  ## TAILCALL
LBB0_9:
	movq	%r15, %rdi
	movq	%r12, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_fb_helper_cfb_copyarea     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_PSB_2D_SRC_332RGB,4,2          ## @PSB_2D_SRC_332RGB
	.comm	_PSB_2D_DST_332RGB,4,2          ## @PSB_2D_DST_332RGB
	.comm	_PSB_2D_SRC_555RGB,4,2          ## @PSB_2D_SRC_555RGB
	.comm	_PSB_2D_DST_555RGB,4,2          ## @PSB_2D_DST_555RGB
	.comm	_PSB_2D_SRC_565RGB,4,2          ## @PSB_2D_SRC_565RGB
	.comm	_PSB_2D_DST_565RGB,4,2          ## @PSB_2D_DST_565RGB
	.comm	_PSB_2D_SRC_8888ARGB,4,2        ## @PSB_2D_SRC_8888ARGB
	.comm	_PSB_2D_DST_8888ARGB,4,2        ## @PSB_2D_DST_8888ARGB
	.no_dead_strip	_psbfb_copyarea_accel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psbfb_copyarea_accel
_psbfb_copyarea_accel:                  ; @psbfb_copyarea_accel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	x8, [x0]
	ldr	x24, [x8]
	cbz	x24, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x22, x0
	ldr	x19, [x8, #8]
	ldr	x21, [x19]
	ldr	x8, [x24, #16]
	ldr	w0, [x8]
	bl	_to_gtt_range
	ldr	x8, [x24]
	ldr	w8, [x8]
	sub	w10, w8, #8
	cmp	w10, #24
	b.hi	LBB0_9
; %bb.2:
	ldr	w23, [x0]
	ldr	x9, [x24, #8]
Lloh0:
	adrp	x8, _PSB_2D_DST_332RGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSB_2D_DST_332RGB@GOTPAGEOFF]
	ldr	w24, [x9]
Lloh2:
	adrp	x9, _PSB_2D_SRC_332RGB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PSB_2D_SRC_332RGB@GOTPAGEOFF]
Lloh4:
	adrp	x11, lJTI0_0@PAGE
Lloh5:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_3
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_3:
Lloh6:
	adrp	x8, _PSB_2D_DST_8888ARGB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSB_2D_DST_8888ARGB@GOTPAGEOFF]
Lloh8:
	adrp	x9, _PSB_2D_SRC_8888ARGB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PSB_2D_SRC_8888ARGB@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	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
	add	sp, sp, #112
	ret
LBB0_5:
Lloh10:
	adrp	x8, _PSB_2D_DST_555RGB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PSB_2D_DST_555RGB@GOTPAGEOFF]
Lloh12:
	adrp	x9, _PSB_2D_SRC_555RGB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PSB_2D_SRC_555RGB@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _PSB_2D_DST_565RGB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PSB_2D_DST_565RGB@GOTPAGEOFF]
Lloh16:
	adrp	x9, _PSB_2D_SRC_565RGB@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PSB_2D_SRC_565RGB@GOTPAGEOFF]
LBB0_7:
	ldr	w25, [x8]
	ldr	w26, [x9]
	mov	x0, x19
	mov	w1, #0
	bl	_gma_power_begin
	cbz	w0, LBB0_9
; %bb.8:
	ldp	w8, w7, [x20, #16]
	ldp	w10, w9, [x20, #8]
	ldp	w12, w11, [x20]
	stp	w11, w12, [sp, #12]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	mov	x3, x26
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	bl	_psb_accel_2d_copy
	mov	x0, x19
	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
	add	sp, sp, #112
	b	_gma_power_end
LBB0_9:
	mov	x0, x22
	mov	x1, x20
	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
	add	sp, sp, #112
	b	_drm_fb_helper_cfb_copyarea
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_PSB_2D_SRC_332RGB,4,2          ; @PSB_2D_SRC_332RGB
	.comm	_PSB_2D_DST_332RGB,4,2          ; @PSB_2D_DST_332RGB
	.comm	_PSB_2D_SRC_555RGB,4,2          ; @PSB_2D_SRC_555RGB
	.comm	_PSB_2D_DST_555RGB,4,2          ; @PSB_2D_DST_555RGB
	.comm	_PSB_2D_SRC_565RGB,4,2          ; @PSB_2D_SRC_565RGB
	.comm	_PSB_2D_DST_565RGB,4,2          ; @PSB_2D_DST_565RGB
	.comm	_PSB_2D_SRC_8888ARGB,4,2        ; @PSB_2D_SRC_8888ARGB
	.comm	_PSB_2D_DST_8888ARGB,4,2        ; @PSB_2D_DST_8888ARGB
	.no_dead_strip	_psbfb_copyarea_accel
.subsections_via_symbols
