	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PTR_ShootTraverse              ## -- Begin function PTR_ShootTraverse
	.p2align	4, 0x90
_PTR_ShootTraverse:                     ## @PTR_ShootTraverse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, 24(%rdi)
	je	LBB0_14
## %bb.1:
	movq	16(%r14), %r13
	cmpq	$0, 24(%r13)
	je	LBB0_3
## %bb.2:
	movq	_shootthing@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_P_ShootSpecialLine
LBB0_3:
	movq	_ML_TWOSIDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	callq	_P_LineOpening
	movq	_attackrange@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r14), %rsi
	callq	_FixedMul
	movq	%rax, %r12
	movq	8(%r13), %rax
	movq	16(%r13), %rcx
	movq	(%rcx), %rdx
	cmpq	(%rax), %rdx
	je	LBB0_7
## %bb.5:
	movq	_openbottom@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_shootz@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	movq	%r12, %rsi
	callq	_FixedDiv
	movq	_aimslope@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_9
## %bb.6:
	movq	8(%r13), %rax
	movq	16(%r13), %rcx
LBB0_7:
	movq	8(%rcx), %rcx
	movl	$1, %r15d
	cmpq	8(%rax), %rcx
	je	LBB0_23
## %bb.8:
	movq	_opentop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_shootz@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	movq	%r12, %rsi
	callq	_FixedDiv
	movq	_aimslope@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_23
LBB0_9:
	movq	(%r14), %rbx
	movq	_FRACUNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$2, %edi
	movq	_attackrange@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_FixedDiv
	subq	%rax, %rbx
	movq	_trace@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_FixedMul
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rdi
	movq	%rbx, %rsi
	callq	_FixedMul
	movq	%rax, %r12
	movq	_shootz@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_aimslope@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_attackrange@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_FixedMul
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_FixedMul
	addq	%r14, %rax
	movq	16(%r13), %rdx
	movq	16(%rdx), %rcx
	movq	_skyflatnum@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_13
## %bb.10:
	xorl	%r15d, %r15d
	cmpq	8(%rdx), %rax
	jg	LBB0_23
## %bb.11:
	movq	8(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.12:
	cmpq	%rcx, 16(%rdx)
	je	LBB0_23
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_P_SpawnPuff
	xorl	%r15d, %r15d
	jmp	LBB0_23
LBB0_14:
	movq	8(%r14), %rbx
	movq	_shootthing@GOTPCREL(%rip), %rax
	movl	$1, %r15d
	cmpq	(%rax), %rbx
	je	LBB0_23
## %bb.15:
	movq	_MF_SHOOTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_23
## %bb.16:
	movq	_attackrange@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	(%r14), %rsi
	callq	_FixedMul
	movl	16(%rbx), %edi
	addl	8(%rbx), %edi
	movq	%rax, %r12
	movq	_shootz@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	movq	%r12, %rsi
	callq	_FixedDiv
	movq	_aimslope@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_23
## %bb.17:
	movl	8(%rbx), %edi
	movq	_shootz@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	movq	%r12, %rsi
	movq	%rcx, %r12
	callq	_FixedDiv
	cmpq	(%r12), %rax
	jg	LBB0_23
## %bb.18:
	movq	(%r14), %r12
	movq	_FRACUNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %edi
	movq	(%r13), %rsi
	callq	_FixedDiv
	subq	%rax, %r12
	movq	_trace@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	movq	%r12, %rsi
	callq	_FixedMul
	movq	%rax, %r15
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	movq	16(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r13), %rdi
	movq	%r12, %rsi
	callq	_FixedMul
	movq	%rax, %r13
	addq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movq	_shootz@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_aimslope@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_attackrange@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_FixedMul
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_FixedMul
	addq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	movq	8(%r14), %rcx
	movq	_MF_NOBLOOD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_20
## %bb.19:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_P_SpawnPuff
	jmp	LBB0_21
LBB0_20:
	movq	_la_damage@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_P_SpawnBlood
LBB0_21:
	movq	_la_damage@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%r15d, %r15d
	testq	%rcx, %rcx
	movq	_shootthing@GOTPCREL(%rip), %rax
	je	LBB0_23
## %bb.22:
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	callq	_P_DamageMobj
LBB0_23:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shootthing,8,3                 ## @shootthing
	.comm	_ML_TWOSIDED,4,2                ## @ML_TWOSIDED
	.comm	_attackrange,8,3                ## @attackrange
	.comm	_openbottom,8,3                 ## @openbottom
	.comm	_shootz,8,3                     ## @shootz
	.comm	_aimslope,8,3                   ## @aimslope
	.comm	_opentop,8,3                    ## @opentop
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_trace,32,3                     ## @trace
	.comm	_skyflatnum,8,3                 ## @skyflatnum
	.comm	_MF_SHOOTABLE,4,2               ## @MF_SHOOTABLE
	.comm	_MF_NOBLOOD,4,2                 ## @MF_NOBLOOD
	.comm	_la_damage,8,3                  ## @la_damage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PTR_ShootTraverse              ; -- Begin function PTR_ShootTraverse
	.p2align	2
_PTR_ShootTraverse:                     ; @PTR_ShootTraverse
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_15
; %bb.1:
	ldr	x20, [x19, #16]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _shootthing@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shootthing@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	mov	x1, x20
	bl	_P_ShootSpecialLine
LBB0_3:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _ML_TWOSIDED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ML_TWOSIDED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x24, _attackrange@GOTPAGE
Lloh7:
	ldr	x24, [x24, _attackrange@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_P_LineOpening
	ldr	x0, [x24]
	ldr	x1, [x19]
	bl	_FixedMul
	mov	x21, x0
	ldp	x9, x8, [x20, #8]
	ldr	x10, [x8]
	ldr	x11, [x9]
	cmp	x10, x11
	b.eq	LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _openbottom@GOTPAGE
Lloh9:
	ldr	x8, [x8, _openbottom@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _shootz@GOTPAGE
Lloh12:
	ldr	x9, [x9, _shootz@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	sub	w0, w8, w9
	mov	x1, x21
	bl	_FixedDiv
Lloh14:
	adrp	x8, _aimslope@GOTPAGE
Lloh15:
	ldr	x8, [x8, _aimslope@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_9
; %bb.6:
	ldp	x9, x8, [x20, #8]
LBB0_7:
	ldr	x8, [x8, #8]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.8:
Lloh17:
	adrp	x8, _opentop@GOTPAGE
Lloh18:
	ldr	x8, [x8, _opentop@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _shootz@GOTPAGE
Lloh21:
	ldr	x9, [x9, _shootz@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	sub	w0, w8, w9
	mov	x1, x21
	bl	_FixedDiv
Lloh23:
	adrp	x8, _aimslope@GOTPAGE
Lloh24:
	ldr	x8, [x8, _aimslope@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_19
LBB0_9:
	ldr	x19, [x19]
Lloh26:
	adrp	x8, _FRACUNIT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _FRACUNIT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	lsl	w0, w8, #2
	ldr	x1, [x24]
	bl	_FixedDiv
	sub	x22, x19, x0
Lloh29:
	adrp	x21, _trace@GOTPAGE
Lloh30:
	ldr	x21, [x21, _trace@GOTPAGEOFF]
	ldp	x25, x0, [x21]
	mov	x1, x22
	bl	_FixedMul
	mov	x19, x0
	ldp	x26, x0, [x21, #16]
	mov	x1, x22
	bl	_FixedMul
	mov	x21, x0
Lloh31:
	adrp	x8, _shootz@GOTPAGE
Lloh32:
	ldr	x8, [x8, _shootz@GOTPAGEOFF]
Lloh33:
	ldr	x27, [x8]
Lloh34:
	adrp	x8, _aimslope@GOTPAGE
Lloh35:
	ldr	x8, [x8, _aimslope@GOTPAGEOFF]
Lloh36:
	ldr	x23, [x8]
	ldr	x1, [x24]
	mov	x0, x22
	bl	_FixedMul
	mov	x1, x0
	mov	x0, x23
	bl	_FixedMul
	add	x2, x0, x27
	ldr	x9, [x20, #16]
	ldr	x8, [x9, #16]
Lloh37:
	adrp	x10, _skyflatnum@GOTPAGE
Lloh38:
	ldr	x10, [x10, _skyflatnum@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_13
; %bb.10:
	ldr	x9, [x9, #8]
	cmp	x2, x9
	b.gt	LBB0_14
; %bb.11:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x9, [x9, #16]
	cmp	x9, x8
	b.eq	LBB0_14
LBB0_13:
	add	x0, x19, x25
	add	x1, x21, x26
	bl	_P_SpawnPuff
LBB0_14:
	mov	w0, #0
	b	LBB0_20
LBB0_15:
	ldr	x20, [x19, #8]
Lloh40:
	adrp	x25, _shootthing@GOTPAGE
Lloh41:
	ldr	x25, [x25, _shootthing@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x20, x8
	b.eq	LBB0_19
; %bb.16:
	ldr	w8, [x20]
Lloh42:
	adrp	x9, _MF_SHOOTABLE@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MF_SHOOTABLE@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.17:
Lloh45:
	adrp	x26, _attackrange@GOTPAGE
Lloh46:
	ldr	x26, [x26, _attackrange@GOTPAGEOFF]
	ldr	x0, [x26]
	ldr	x1, [x19]
	bl	_FixedMul
	mov	x21, x0
	ldr	w8, [x20, #8]
	ldr	w9, [x20, #16]
Lloh47:
	adrp	x24, _shootz@GOTPAGE
Lloh48:
	ldr	x24, [x24, _shootz@GOTPAGEOFF]
	ldr	w10, [x24]
	add	w8, w9, w8
	sub	w0, w8, w10
	mov	x1, x21
	bl	_FixedDiv
Lloh49:
	adrp	x27, _aimslope@GOTPAGE
Lloh50:
	ldr	x27, [x27, _aimslope@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.lt	LBB0_19
; %bb.18:
	ldr	w8, [x20, #8]
	ldr	w9, [x24]
	sub	w0, w8, w9
	mov	x1, x21
	bl	_FixedDiv
	ldr	x8, [x27]
	cmp	x0, x8
	b.le	LBB0_21
LBB0_19:
	mov	w0, #1
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	ldr	x21, [x19]
Lloh51:
	adrp	x8, _FRACUNIT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _FRACUNIT@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #1
	ldr	x1, [x26]
	bl	_FixedDiv
	sub	x23, x21, x0
Lloh54:
	adrp	x22, _trace@GOTPAGE
Lloh55:
	ldr	x22, [x22, _trace@GOTPAGEOFF]
	ldp	x21, x0, [x22]
	mov	x1, x23
	bl	_FixedMul
	add	x21, x0, x21
	ldp	x28, x0, [x22, #16]
	mov	x1, x23
	bl	_FixedMul
	add	x22, x0, x28
	ldr	x28, [x24]
	ldr	x24, [x27]
	ldr	x1, [x26]
	mov	x0, x23
	bl	_FixedMul
	mov	x1, x0
	mov	x0, x24
	bl	_FixedMul
	add	x2, x0, x28
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _MF_NOBLOOD@GOTPAGE
Lloh57:
	ldr	x9, [x9, _MF_NOBLOOD@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
Lloh59:
	adrp	x19, _la_damage@GOTPAGE
Lloh60:
	ldr	x19, [x19, _la_damage@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
	mov	x0, x21
	mov	x1, x22
	bl	_P_SpawnPuff
	b	LBB0_24
LBB0_23:
	ldr	x3, [x19]
	mov	x0, x21
	mov	x1, x22
	bl	_P_SpawnBlood
LBB0_24:
	ldr	x3, [x19]
	cbz	x3, LBB0_14
; %bb.25:
	ldr	x1, [x25]
	mov	x0, x20
	mov	x2, x1
	bl	_P_DamageMobj
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_shootthing,8,3                 ; @shootthing
	.comm	_ML_TWOSIDED,4,2                ; @ML_TWOSIDED
	.comm	_attackrange,8,3                ; @attackrange
	.comm	_openbottom,8,3                 ; @openbottom
	.comm	_shootz,8,3                     ; @shootz
	.comm	_aimslope,8,3                   ; @aimslope
	.comm	_opentop,8,3                    ; @opentop
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_trace,32,3                     ; @trace
	.comm	_skyflatnum,8,3                 ; @skyflatnum
	.comm	_MF_SHOOTABLE,4,2               ; @MF_SHOOTABLE
	.comm	_MF_NOBLOOD,4,2                 ; @MF_NOBLOOD
	.comm	_la_damage,8,3                  ; @la_damage
.subsections_via_symbols
