	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_ExplodeMissile               ## -- Begin function P_ExplodeMissile
	.p2align	4, 0x90
_P_ExplodeMissile:                      ## @P_ExplodeMissile
	.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
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rdi)
	movq	$0, 48(%rdi)
	movq	_mobjinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_P_SetMobjState
	xorl	%eax, %eax
	callq	_P_Random
	andl	$3, %eax
	movl	8(%rbx), %ecx
	subl	%eax, %ecx
	cmpl	$2, %ecx
	movl	$1, %eax
	cmovgel	%ecx, %eax
	movl	%eax, 8(%rbx)
	movq	_MF_MISSILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 24(%rbx)
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_S_StartSound                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mobjinfo,8,3                   ## @mobjinfo
	.comm	_MF_MISSILE,4,2                 ## @MF_MISSILE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_ExplodeMissile               ; -- Begin function P_ExplodeMissile
	.p2align	2
_P_ExplodeMissile:                      ; @P_ExplodeMissile
	.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
	stp	xzr, xzr, [x0, #32]
	str	xzr, [x0, #48]
Lloh0:
	adrp	x8, _mobjinfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mobjinfo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	w1, [x8, x9, lsl #2]
	bl	_P_SetMobjState
	bl	_P_Random
	and	w8, w0, #0x3
	ldr	w9, [x19, #8]
	sub	w8, w9, w8
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	str	w8, [x19, #8]
Lloh3:
	adrp	x8, _MF_MISSILE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MF_MISSILE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	bic	w8, w9, w8
	str	w8, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_S_StartSound
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mobjinfo,8,3                   ; @mobjinfo
	.comm	_MF_MISSILE,4,2                 ; @MF_MISSILE
.subsections_via_symbols
