	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SP_func_rotating               ## -- Begin function SP_func_rotating
	.p2align	4, 0x90
_SP_func_rotating:                      ## @SP_func_rotating
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	$100, (%rbx)
	movl	$100, %eax
LBB0_2:
	movq	_TR_LINEAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 36(%rbx)
	movl	4(%rbx), %ecx
	xorl	%edx, %edx
	testb	$8, %cl
	sete	%dl
	testb	$4, %cl
	movl	$2, %ecx
	cmovel	%edx, %ecx
	movq	24(%rbx), %rdx
	movl	%eax, (%rdx,%rcx,4)
	cmpl	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	movl	$2, 8(%rbx)
LBB0_4:
	movl	48(%rbx), %esi
	movq	%rbx, %rdi
	callq	_trap_SetBrushModel
	movq	%rbx, %rdi
	callq	_InitMover
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	callq	_VectorCopy
	movl	16(%rbx), %esi
	movl	40(%rbx), %edi
	callq	_VectorCopy
	movl	12(%rbx), %esi
	movl	32(%rbx), %edi
	callq	_VectorCopy
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_trap_LinkEntity                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TR_LINEAR,4,2                  ## @TR_LINEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SP_func_rotating               ; -- Begin function SP_func_rotating
	.p2align	2
_SP_func_rotating:                      ; @SP_func_rotating
	.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, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, #100
	str	w8, [x19]
LBB0_2:
Lloh0:
	adrp	x9, _TR_LINEAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TR_LINEAR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19, #36]
	ldr	w9, [x19, #4]
	ldr	x10, [x19, #24]
	mov	w11, #1
	bic	w11, w11, w9, lsr #3
	tst	w9, #0x4
	mov	w9, #2
	csel	w11, w11, w9, eq
	str	w8, [x10, w11, uxtw #2]
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_4
; %bb.3:
	str	w9, [x19, #8]
LBB0_4:
	ldr	w1, [x19, #48]
	mov	x0, x19
	bl	_trap_SetBrushModel
	mov	x0, x19
	bl	_InitMover
	ldp	w1, w0, [x19, #40]
	bl	_VectorCopy
	ldr	w0, [x19, #40]
	ldr	w1, [x19, #16]
	bl	_VectorCopy
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #12]
	bl	_VectorCopy
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_LinkEntity
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TR_LINEAR,4,2                  ; @TR_LINEAR
.subsections_via_symbols
