	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_CheckMissileSpawn            ## -- Begin function P_CheckMissileSpawn
	.p2align	4, 0x90
_P_CheckMissileSpawn:                   ## @P_CheckMissileSpawn
	.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
	xorl	%eax, %eax
	callq	_P_Random
	andl	$3, %eax
	movl	(%rbx), %ecx
	subl	%eax, %ecx
	movl	8(%rbx), %esi
	cmpl	$2, %ecx
	movl	$1, %eax
	cmovgel	%ecx, %eax
	movl	%eax, (%rbx)
	sarl	%esi
	addl	4(%rbx), %esi
	movl	%esi, 4(%rbx)
	movl	16(%rbx), %edx
	sarl	%edx
	addl	12(%rbx), %edx
	movl	%edx, 12(%rbx)
	movl	24(%rbx), %eax
	sarl	%eax
	addl	%eax, 20(%rbx)
	movq	%rbx, %rdi
	callq	_P_TryMove
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_P_ExplodeMissile               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_CheckMissileSpawn            ; -- Begin function P_CheckMissileSpawn
	.p2align	2
_P_CheckMissileSpawn:                   ; @P_CheckMissileSpawn
	.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
	bl	_P_Random
	and	w8, w0, #0x3
	ldp	w9, w10, [x19]
	sub	w8, w9, w8
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	ldp	w9, w11, [x19, #8]
	add	w1, w10, w9, asr #1
	stp	w8, w1, [x19]
	ldp	w8, w9, [x19, #16]
	add	w2, w11, w8, asr #1
	str	w2, [x19, #12]
	ldr	w8, [x19, #24]
	add	w8, w9, w8, asr #1
	str	w8, [x19, #20]
	mov	x0, x19
	bl	_P_TryMove
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_P_ExplodeMissile
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
