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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EV_StopPlat                    ; -- Begin function EV_StopPlat
	.p2align	2
_EV_StopPlat:                           ; @EV_StopPlat
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAXPLATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXPLATS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
Lloh3:
	adrp	x9, _activeplats@GOTPAGE
Lloh4:
	ldr	x9, [x9, _activeplats@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _in_stasis@GOTPAGE
Lloh7:
	ldr	x10, [x10, _in_stasis@GOTPAGEOFF]
	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, [x10]
	cmp	x12, x13
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x11, #8]
	ldr	x15, [x0]
	cmp	x14, x15
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x13, [x11]
	stp	x12, xzr, [x11, #16]
	b	LBB0_2
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPLATS,4,2                   ; @MAXPLATS
	.comm	_activeplats,8,3                ; @activeplats
	.comm	_in_stasis,8,3                  ; @in_stasis
.subsections_via_symbols
