	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PIT_CheckLine                  ## -- Begin function PIT_CheckLine
	.p2align	4, 0x90
_PIT_CheckLine:                         ## @PIT_CheckLine
	.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
	movq	_tmbbox@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_BOXRIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rdi,%rcx,8), %rsi
	movq	(%rbx), %rax
	movq	_BOXLEFT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rax,%rdx,8), %rsi
	jle	LBB0_18
## %bb.1:
	movq	(%rdi,%rdx,8), %rdx
	cmpq	(%rax,%rcx,8), %rdx
	jge	LBB0_18
## %bb.2:
	movq	_BOXTOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rdi,%rcx,8), %rsi
	movq	_BOXBOTTOM@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rax,%rdx,8), %rsi
	jle	LBB0_18
## %bb.3:
	movq	(%rdi,%rdx,8), %rdx
	cmpq	(%rax,%rcx,8), %rdx
	jge	LBB0_18
## %bb.4:
	movq	%rbx, %rsi
	callq	_P_BoxOnLineSide
	cmpl	$-1, %eax
	je	LBB0_5
LBB0_18:
	movl	$1, %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	cmpl	$0, 24(%rbx)
	je	LBB0_19
## %bb.6:
	movq	_tmthing@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_MF_MISSILE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_7
LBB0_10:
	movq	%rbx, %rdi
	callq	_P_LineOpening
	movq	_opentop@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_tmceilingz@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_12
## %bb.11:
	movq	%rax, (%rcx)
	movq	_ceilingline@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
LBB0_12:
	movq	_openbottom@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_tmfloorz@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_14
## %bb.13:
	movq	%rax, (%rcx)
LBB0_14:
	movq	_lowfloor@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_tmdropoffz@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_16
## %bb.15:
	movq	%rax, (%rcx)
LBB0_16:
	cmpq	$0, 16(%rbx)
	je	LBB0_18
## %bb.17:
	movq	_spechit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_numspechit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rbx, (%rax,%rdx,8)
	incq	%rdx
	movq	%rdx, (%rcx)
	jmp	LBB0_18
LBB0_7:
	movl	8(%rbx), %edx
	movq	_ML_BLOCKING@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_19
## %bb.8:
	cmpl	$0, 4(%rcx)
	jne	LBB0_10
## %bb.9:
	movq	_ML_BLOCKMONSTERS@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	jne	LBB0_19
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_tmbbox,8,3                     ## @tmbbox
	.comm	_BOXRIGHT,8,3                   ## @BOXRIGHT
	.comm	_BOXLEFT,8,3                    ## @BOXLEFT
	.comm	_BOXTOP,8,3                     ## @BOXTOP
	.comm	_BOXBOTTOM,8,3                  ## @BOXBOTTOM
	.comm	_tmthing,8,3                    ## @tmthing
	.comm	_MF_MISSILE,4,2                 ## @MF_MISSILE
	.comm	_ML_BLOCKING,4,2                ## @ML_BLOCKING
	.comm	_ML_BLOCKMONSTERS,4,2           ## @ML_BLOCKMONSTERS
	.comm	_opentop,8,3                    ## @opentop
	.comm	_tmceilingz,8,3                 ## @tmceilingz
	.comm	_ceilingline,8,3                ## @ceilingline
	.comm	_openbottom,8,3                 ## @openbottom
	.comm	_tmfloorz,8,3                   ## @tmfloorz
	.comm	_lowfloor,8,3                   ## @lowfloor
	.comm	_tmdropoffz,8,3                 ## @tmdropoffz
	.comm	_spechit,8,3                    ## @spechit
	.comm	_numspechit,8,3                 ## @numspechit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PIT_CheckLine                  ; -- Begin function PIT_CheckLine
	.p2align	2
_PIT_CheckLine:                         ; @PIT_CheckLine
	.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
Lloh0:
	adrp	x8, _tmbbox@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tmbbox@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x8, _BOXRIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BOXRIGHT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	ldr	x11, [x0, x9, lsl #3]
	ldr	x8, [x19]
Lloh6:
	adrp	x10, _BOXLEFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BOXLEFT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	x12, [x8, x10, lsl #3]
	cmp	x11, x12
	b.le	LBB0_5
; %bb.1:
	ldr	x10, [x0, x10, lsl #3]
	ldr	x9, [x8, x9, lsl #3]
	cmp	x10, x9
	b.ge	LBB0_5
; %bb.2:
Lloh9:
	adrp	x9, _BOXTOP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BOXTOP@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x11, [x0, x9, lsl #3]
Lloh12:
	adrp	x10, _BOXBOTTOM@GOTPAGE
Lloh13:
	ldr	x10, [x10, _BOXBOTTOM@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldr	x12, [x8, x10, lsl #3]
	cmp	x11, x12
	b.le	LBB0_5
; %bb.3:
	ldr	x10, [x0, x10, lsl #3]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x10, x8
	b.ge	LBB0_5
; %bb.4:
	mov	x1, x19
	bl	_P_BoxOnLineSide
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_18
; %bb.8:
Lloh15:
	adrp	x8, _tmthing@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tmthing@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w9, [x8]
Lloh18:
	adrp	x10, _MF_MISSILE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MF_MISSILE@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_17
LBB0_9:
	mov	x0, x19
	bl	_P_LineOpening
Lloh21:
	adrp	x8, _opentop@GOTPAGE
Lloh22:
	ldr	x8, [x8, _opentop@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _tmceilingz@GOTPAGE
Lloh25:
	ldr	x9, [x9, _tmceilingz@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ge	LBB0_11
; %bb.10:
	str	x8, [x9]
Lloh26:
	adrp	x8, _ceilingline@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ceilingline@GOTPAGEOFF]
Lloh28:
	str	x19, [x8]
LBB0_11:
Lloh29:
	adrp	x8, _openbottom@GOTPAGE
Lloh30:
	ldr	x8, [x8, _openbottom@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _tmfloorz@GOTPAGE
Lloh33:
	ldr	x9, [x9, _tmfloorz@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.le	LBB0_13
; %bb.12:
	str	x8, [x9]
LBB0_13:
Lloh34:
	adrp	x8, _lowfloor@GOTPAGE
Lloh35:
	ldr	x8, [x8, _lowfloor@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
Lloh37:
	adrp	x9, _tmdropoffz@GOTPAGE
Lloh38:
	ldr	x9, [x9, _tmdropoffz@GOTPAGEOFF]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ge	LBB0_15
; %bb.14:
	str	x8, [x9]
LBB0_15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.16:
Lloh39:
	adrp	x8, _spechit@GOTPAGE
Lloh40:
	ldr	x8, [x8, _spechit@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _numspechit@GOTPAGE
Lloh43:
	ldr	x9, [x9, _numspechit@GOTPAGEOFF]
	ldr	x10, [x9]
	str	x19, [x8, x10, lsl #3]
	add	x8, x10, #1
	str	x8, [x9]
	b	LBB0_5
LBB0_17:
	ldr	w9, [x19, #8]
Lloh44:
	adrp	x10, _ML_BLOCKING@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ML_BLOCKING@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_19
LBB0_18:
	mov	w0, #0
	b	LBB0_6
LBB0_19:
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_9
; %bb.20:
Lloh47:
	adrp	x8, _ML_BLOCKMONSTERS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ML_BLOCKMONSTERS@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_18
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_tmbbox,8,3                     ; @tmbbox
	.comm	_BOXRIGHT,8,3                   ; @BOXRIGHT
	.comm	_BOXLEFT,8,3                    ; @BOXLEFT
	.comm	_BOXTOP,8,3                     ; @BOXTOP
	.comm	_BOXBOTTOM,8,3                  ; @BOXBOTTOM
	.comm	_tmthing,8,3                    ; @tmthing
	.comm	_MF_MISSILE,4,2                 ; @MF_MISSILE
	.comm	_ML_BLOCKING,4,2                ; @ML_BLOCKING
	.comm	_ML_BLOCKMONSTERS,4,2           ; @ML_BLOCKMONSTERS
	.comm	_opentop,8,3                    ; @opentop
	.comm	_tmceilingz,8,3                 ; @tmceilingz
	.comm	_ceilingline,8,3                ; @ceilingline
	.comm	_openbottom,8,3                 ; @openbottom
	.comm	_tmfloorz,8,3                   ; @tmfloorz
	.comm	_lowfloor,8,3                   ; @lowfloor
	.comm	_tmdropoffz,8,3                 ; @tmdropoffz
	.comm	_spechit,8,3                    ; @spechit
	.comm	_numspechit,8,3                 ; @numspechit
.subsections_via_symbols
