	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_ActivateInStasisCeiling      ## -- Begin function P_ActivateInStasisCeiling
	.p2align	4, 0x90
_P_ActivateInStasisCeiling:             ## @P_ActivateInStasisCeiling
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAXCEILINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_7
## %bb.1:
	movq	_activeceilings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_T_MoveCeiling@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %r9
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx), %rax
	cmpq	(%rdi), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rdx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdx), %rax
	movq	%rax, 8(%rdx)
	movq	%r8, 24(%rdx)
	jmp	LBB0_6
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXCEILINGS,4,2                ## @MAXCEILINGS
	.comm	_activeceilings,8,3             ## @activeceilings
	.comm	_T_MoveCeiling,8,3              ## @T_MoveCeiling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_ActivateInStasisCeiling      ; -- Begin function P_ActivateInStasisCeiling
	.p2align	2
_P_ActivateInStasisCeiling:             ; @P_ActivateInStasisCeiling
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAXCEILINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXCEILINGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
Lloh3:
	adrp	x9, _activeceilings@GOTPAGE
Lloh4:
	ldr	x9, [x9, _activeceilings@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _T_MoveCeiling@GOTPAGE
Lloh7:
	ldr	x10, [x10, _T_MoveCeiling@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x11]
	ldr	x13, [x0]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x11, #8]
	cbnz	x12, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x11, #16]
	str	x12, [x11, #8]
	str	x10, [x11, #24]
	b	LBB0_2
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXCEILINGS,4,2                ; @MAXCEILINGS
	.comm	_activeceilings,8,3             ; @activeceilings
	.comm	_T_MoveCeiling,8,3              ; @T_MoveCeiling
.subsections_via_symbols
