	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CanUseSpriteThread             ## -- Begin function CanUseSpriteThread
	.p2align	4, 0x90
_CanUseSpriteThread:                    ## @CanUseSpriteThread
	.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	_Vdp2Regs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	$1, %ebx
	testb	$16, (%rax)
	je	LBB0_5
## %bb.1:
	movl	16(%rax), %edi
	callq	_IsSpriteWindowEnabled
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	(%r14), %rax
	movl	12(%rax), %edi
	callq	_IsSpriteWindowEnabled
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	movl	8(%rax), %edi
	callq	_IsSpriteWindowEnabled
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movl	4(%rax), %edi
	callq	_IsSpriteWindowEnabled
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Vdp2Regs,8,3                   ## @Vdp2Regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CanUseSpriteThread             ; -- Begin function CanUseSpriteThread
	.p2align	2
_CanUseSpriteThread:                    ; @CanUseSpriteThread
	.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
Lloh0:
	adrp	x19, _Vdp2Regs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Vdp2Regs@GOTPAGEOFF]
	ldr	x8, [x19]
	ldrb	w9, [x8]
	tbnz	w9, #4, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	ldr	w0, [x8, #16]
	bl	_IsSpriteWindowEnabled
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	bl	_IsSpriteWindowEnabled
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	bl	_IsSpriteWindowEnabled
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	bl	_IsSpriteWindowEnabled
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Vdp2Regs,8,3                   ; @Vdp2Regs
.subsections_via_symbols
