	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PIT_StompThing                 ## -- Begin function PIT_StompThing
	.p2align	4, 0x90
_PIT_StompThing:                        ## @PIT_StompThing
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MF_SHOOTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %eax
	testl	%ecx, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	_tmthing@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	8(%rdx), %r8
	addq	8(%rdi), %r8
	movq	32(%rdi), %rsi
	movq	_tmx@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rsi
	movq	%rsi, %rcx
	negq	%rcx
	cmovsq	%rsi, %rcx
	cmpq	%r8, %rcx
	jge	LBB0_7
## %bb.2:
	movq	24(%rdi), %rcx
	movq	_tmy@GOTPCREL(%rip), %rsi
	subq	(%rsi), %rcx
	movq	%rcx, %rsi
	negq	%rsi
	cmovsq	%rcx, %rsi
	cmpq	%r8, %rsi
	jge	LBB0_7
## %bb.3:
	cmpq	%rdi, %rdx
	je	LBB0_7
## %bb.4:
	cmpl	$0, 16(%rdx)
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	movq	_gamemap@GOTPCREL(%rip), %rcx
	cmpl	$30, (%rcx)
	je	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	movq	%rdx, %rsi
	movl	$10000, %ecx                    ## imm = 0x2710
	callq	_P_DamageMobj
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MF_SHOOTABLE,4,2               ## @MF_SHOOTABLE
	.comm	_tmthing,8,3                    ## @tmthing
	.comm	_tmx,8,3                        ## @tmx
	.comm	_tmy,8,3                        ## @tmy
	.comm	_gamemap,4,2                    ## @gamemap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PIT_StompThing                 ; -- Begin function PIT_StompThing
	.p2align	2
_PIT_StompThing:                        ; @PIT_StompThing
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MF_SHOOTABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MF_SHOOTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _tmthing@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tmthing@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x9]
	ldr	x9, [x1, #8]
Lloh6:
	adrp	x10, _tmx@GOTPAGE
Lloh7:
	ldr	x10, [x10, _tmx@GOTPAGEOFF]
	ldr	x11, [x0, #32]
Lloh8:
	ldr	x10, [x10]
	subs	x10, x11, x10
	cneg	x10, x10, mi
	add	x8, x9, x8
	cmp	x10, x8
	b.ge	LBB0_5
; %bb.2:
Lloh9:
	adrp	x9, _tmy@GOTPAGE
Lloh10:
	ldr	x9, [x9, _tmy@GOTPAGEOFF]
	ldr	x10, [x0, #24]
Lloh11:
	ldr	x9, [x9]
	subs	x9, x10, x9
	cneg	x9, x9, mi
	cmp	x9, x8
	ccmp	x1, x0, #4, lt
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x1, #16]
Lloh12:
	adrp	x9, _gamemap@GOTPAGE
Lloh13:
	ldr	x9, [x9, _gamemap@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #30, #4, eq
	b.ne	LBB0_6
; %bb.4:
	mov	x2, x1
	mov	w3, #10000
	bl	_P_DamageMobj
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MF_SHOOTABLE,4,2               ; @MF_SHOOTABLE
	.comm	_tmthing,8,3                    ; @tmthing
	.comm	_tmx,8,3                        ; @tmx
	.comm	_tmy,8,3                        ; @tmy
	.comm	_gamemap,4,2                    ; @gamemap
.subsections_via_symbols
