	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneRenderActor_b             ## -- Begin function SceneRenderActor_b
	.p2align	4, 0x90
_SceneRenderActor_b:                    ## @SceneRenderActor_b
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_MUL_2
	movslq	%eax, %r14
	movq	_ACTOR_SPRITE_OFFSET@GOTPCREL(%rip), %rax
	addq	(%rax), %r14
	movq	_actors@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	imulq	$56, %rbx, %r12
	movq	8(%rcx,%r12), %rax
	movq	_SPRITE_STATIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rcx,%r12), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_10
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	40(%rcx,%r12), %rdi
	callq	_IS_NEG
	movq	(%r15), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%rcx,%r12), %rax
	movq	_SPRITE_ACTOR_ANIMATED@GOTPCREL(%rip), %rdx
	xorl	%r15d, %r15d
	cmpq	(%rdx), %rax
	sete	%r15b
	incq	%r15
	jmp	LBB0_9
LBB0_4:
	cmpq	$0, 48(%rcx,%r12)
	je	LBB0_5
## %bb.6:
	movq	8(%rcx,%r12), %rax
	movq	_SPRITE_ACTOR_ANIMATED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_MUL_2
	movl	%eax, %ebx
	addl	$2, %ebx
	movq	(%r15), %rax
	movq	48(%rax,%r12), %rdi
	callq	_IS_NEG
	testq	%rax, %rax
	movq	%r15, %rcx
	je	LBB0_8
## %bb.7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_8:
	movslq	%ebx, %r15
	movq	(%rcx), %rcx
	jmp	LBB0_9
LBB0_5:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r13, (%rcx,%r12)
LBB0_10:
	movq	32(%rcx,%r12), %rdi
	addq	%r15, %rdi
	addq	24(%rcx,%r12), %rdi
	callq	_MUL_4
	movq	%rax, %rbx
	testq	%r13, %r13
	je	LBB0_12
## %bb.11:
	movq	_S_FLIPX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_set_sprite_prop_pair
	movq	%rbx, %rdx
	addq	$2, %rbx
	jmp	LBB0_13
LBB0_12:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_sprite_prop_pair
	movq	%rbx, %rdx
	addq	$2, %rdx
LBB0_13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_set_sprite_tile_pair
	movq	_actors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, 16(%rax,%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACTOR_SPRITE_OFFSET,8,3        ## @ACTOR_SPRITE_OFFSET
	.comm	_actors,8,3                     ## @actors
	.comm	_SPRITE_STATIC,8,3              ## @SPRITE_STATIC
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SPRITE_ACTOR_ANIMATED,8,3      ## @SPRITE_ACTOR_ANIMATED
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_S_FLIPX,4,2                    ## @S_FLIPX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SceneRenderActor_b             ; -- Begin function SceneRenderActor_b
	.p2align	2
_SceneRenderActor_b:                    ; @SceneRenderActor_b
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_MUL_2
Lloh0:
	adrp	x8, _ACTOR_SPRITE_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACTOR_SPRITE_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x20, x8, w0, sxtw
Lloh3:
	adrp	x22, _actors@GOTPAGE
Lloh4:
	ldr	x22, [x22, _actors@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #56
	madd	x9, x19, x9, x8
	ldr	x10, [x9, #8]
Lloh5:
	adrp	x11, _SPRITE_STATIC@GOTPAGE
Lloh6:
	ldr	x11, [x11, _SPRITE_STATIC@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
	mov	x24, #0
	ldr	x23, [x9]
	b	LBB0_8
LBB0_2:
Lloh8:
	adrp	x9, _FALSE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	x23, [x9]
	mov	w9, #56
	madd	x8, x19, x9, x8
	ldr	x0, [x8, #40]
	bl	_IS_NEG
	ldr	x8, [x22]
	mov	w9, #56
	madd	x9, x19, x9, x8
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x9, [x9, #8]
Lloh11:
	adrp	x10, _SPRITE_ACTOR_ANIMATED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SPRITE_ACTOR_ANIMATED@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x10
	mov	w9, #1
	cinc	x24, x9, eq
	b	LBB0_7
LBB0_4:
	ldr	x9, [x9, #48]
	cbz	x9, LBB0_6
; %bb.5:
	mov	w9, #56
	mul	x21, x19, x9
	add	x8, x8, x21
	ldr	x8, [x8, #8]
Lloh14:
	adrp	x9, _SPRITE_ACTOR_ANIMATED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SPRITE_ACTOR_ANIMATED@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_MUL_2
	add	w8, w0, #2
	sxtw	x24, w8
	ldr	x8, [x22]
	add	x8, x8, x21
	ldr	x0, [x8, #48]
	bl	_IS_NEG
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x23, x23, x8, eq
	ldr	x8, [x22]
	b	LBB0_7
LBB0_6:
	mov	x24, #0
LBB0_7:
	mov	w9, #56
	mul	x9, x19, x9
	str	x23, [x8, x9]
LBB0_8:
	mov	w9, #56
	madd	x8, x19, x9, x8
	ldp	x8, x9, [x8, #24]
	add	x9, x9, x24
	add	x0, x9, x8
	bl	_MUL_4
	mov	x21, x0
	cbz	x23, LBB0_10
; %bb.9:
Lloh20:
	adrp	x8, _S_FLIPX@GOTPAGE
Lloh21:
	ldr	x8, [x8, _S_FLIPX@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_set_sprite_prop_pair
	mov	x2, x21
	add	x21, x21, #2
	b	LBB0_11
LBB0_10:
	mov	x0, x20
	mov	w1, #0
	bl	_set_sprite_prop_pair
	add	x2, x21, #2
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	bl	_set_sprite_tile_pair
	ldr	x8, [x22]
	mov	w9, #56
	madd	x8, x19, x9, x8
	str	x24, [x8, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ACTOR_SPRITE_OFFSET,8,3        ; @ACTOR_SPRITE_OFFSET
	.comm	_actors,8,3                     ; @actors
	.comm	_SPRITE_STATIC,8,3              ; @SPRITE_STATIC
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SPRITE_ACTOR_ANIMATED,8,3      ; @SPRITE_ACTOR_ANIMATED
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_S_FLIPX,4,2                    ; @S_FLIPX
.subsections_via_symbols
