	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function psb_accel_2d_copy_direction
_psb_accel_2d_copy_direction:           ## @psb_accel_2d_copy_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	movq	_PSB_2D_COPYORDER_BL2TR@GOTPCREL(%rip), %rax
	cmovsq	_PSB_2D_COPYORDER_BR2TL@GOTPCREL(%rip), %rax
	movq	_PSB_2D_COPYORDER_TL2BR@GOTPCREL(%rip), %rcx
	cmovsq	_PSB_2D_COPYORDER_TR2BL@GOTPCREL(%rip), %rcx
	testl	%esi, %esi
	cmovsq	%rax, %rcx
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSB_2D_COPYORDER_BR2TL,4,2     ## @PSB_2D_COPYORDER_BR2TL
	.comm	_PSB_2D_COPYORDER_TR2BL,4,2     ## @PSB_2D_COPYORDER_TR2BL
	.comm	_PSB_2D_COPYORDER_BL2TR,4,2     ## @PSB_2D_COPYORDER_BL2TR
	.comm	_PSB_2D_COPYORDER_TL2BR,4,2     ## @PSB_2D_COPYORDER_TL2BR
	.no_dead_strip	_psb_accel_2d_copy_direction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function psb_accel_2d_copy_direction
_psb_accel_2d_copy_direction:           ; @psb_accel_2d_copy_direction
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PSB_2D_COPYORDER_BR2TL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSB_2D_COPYORDER_BR2TL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PSB_2D_COPYORDER_BL2TR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PSB_2D_COPYORDER_BL2TR@GOTPAGEOFF]
	cmp	w0, #0
Lloh4:
	adrp	x10, _PSB_2D_COPYORDER_TR2BL@GOTPAGE
Lloh5:
	ldr	x10, [x10, _PSB_2D_COPYORDER_TR2BL@GOTPAGEOFF]
Lloh6:
	adrp	x11, _PSB_2D_COPYORDER_TL2BR@GOTPAGE
Lloh7:
	ldr	x11, [x11, _PSB_2D_COPYORDER_TL2BR@GOTPAGEOFF]
	csel	x8, x8, x9, lt
	csel	x9, x10, x11, lt
	cmp	w1, #0
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PSB_2D_COPYORDER_BR2TL,4,2     ; @PSB_2D_COPYORDER_BR2TL
	.comm	_PSB_2D_COPYORDER_TR2BL,4,2     ; @PSB_2D_COPYORDER_TR2BL
	.comm	_PSB_2D_COPYORDER_BL2TR,4,2     ; @PSB_2D_COPYORDER_BL2TR
	.comm	_PSB_2D_COPYORDER_TL2BR,4,2     ; @PSB_2D_COPYORDER_TL2BR
	.no_dead_strip	_psb_accel_2d_copy_direction
.subsections_via_symbols
