	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_LoadLineDefs                 ## -- Begin function P_LoadLineDefs
	.p2align	4, 0x90
_P_LoadLineDefs:                        ## @P_LoadLineDefs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	callq	_W_LumpLength
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	sarl	$5, %ecx
	movq	_numlines@GOTPCREL(%rip), %r15
	movl	%ecx, (%r15)
	andl	$-32, %eax
	leal	(%rax,%rax,2), %edi
	movq	_PU_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	callq	_Z_Malloc
	movq	_lines@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	(%r15), %ecx
	shll	$5, %ecx
	leal	(%rcx,%rcx,2), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_PU_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_W_CacheLumpNum
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r15)
	jle	LBB0_14
## %bb.1:
	movq	(%r14), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_sides@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 56(%r14)
	incl	%r13d
	addq	$32, %rbx
	addq	$96, %r14
	movq	_numlines@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %edi
	callq	_SHORT
	movq	%rax, (%r14)
	movl	20(%rbx), %edi
	callq	_SHORT
	movq	%rax, 8(%r14)
	movl	16(%rbx), %edi
	callq	_SHORT
	movq	%rax, 16(%r14)
	movq	_vertexes@GOTPCREL(%rip), %r12
	movq	(%r12), %r13
	movl	12(%rbx), %edi
	callq	_SHORT
	movq	%rax, %r15
	shlq	$4, %r15
	leaq	(%r15,%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, 88(%r14)
	movq	(%r12), %r12
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	callq	_SHORT
	movq	%r13, %rdx
	movq	%rax, %rbx
	shlq	$4, %rbx
	leaq	(%r12,%rbx), %r13
	movq	%r13, 80(%r14)
	movq	(%r12,%rbx), %rsi
	movq	(%rdx,%r15), %rax
	movq	%rsi, %rcx
	subq	%rax, %rcx
	movq	%rcx, 24(%r14)
	movq	8(%r12,%rbx), %r8
	movq	8(%rdx,%r15), %r9
	movq	%r8, %rdi
	subq	%r9, %rdi
	movq	%rdi, 32(%r14)
	movq	_ST_VERTICAL@GOTPCREL(%rip), %rcx
	subq	%rax, %rsi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ST_HORIZONTAL@GOTPCREL(%rip), %rcx
	cmpq	%r9, %r8
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	callq	_FixedDiv
	movq	_ST_NEGATIVE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ST_POSITIVE@GOTPCREL(%rip), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%rbx), %rax
	addq	$8, %rax
	leaq	8(%rdx,%r15), %rdx
	movl	(%rcx), %ecx
	movl	%ecx, 72(%r14)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rcx
	movq	(%r13), %rsi
	cmpq	%rsi, %rcx
	movq	40(%r14), %rdi
	cmovlq	%rcx, %rsi
	movq	_BOXLEFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rsi, (%rdi,%rcx,8)
	cmovlq	%r13, %rbx
	movq	(%rbx), %rcx
	movq	_BOXRIGHT@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdi,%rsi,8)
	movq	(%rdx), %rcx
	movq	(%rax), %rsi
	cmpq	%rsi, %rcx
	cmovlq	%rcx, %rsi
	movq	_BOXBOTTOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rsi, (%rdi,%rcx,8)
	cmovlq	%rax, %rdx
	movq	(%rdx), %rax
	movq	_BOXTOP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rdi,%rcx,8)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_SHORT
	movq	48(%r14), %rcx
	movq	%rax, (%rcx)
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_SHORT
	movq	48(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rcx), %rax
	cmpq	$-1, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_sides@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rax,8), %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rax, 64(%r14)
	movq	8(%rcx), %rax
	cmpq	$-1, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Z_Free                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_numlines,4,2                   ## @numlines
	.comm	_PU_LEVEL,4,2                   ## @PU_LEVEL
	.comm	_lines,8,3                      ## @lines
	.comm	_PU_STATIC,4,2                  ## @PU_STATIC
	.comm	_vertexes,8,3                   ## @vertexes
	.comm	_ST_VERTICAL,4,2                ## @ST_VERTICAL
	.comm	_ST_HORIZONTAL,4,2              ## @ST_HORIZONTAL
	.comm	_ST_POSITIVE,4,2                ## @ST_POSITIVE
	.comm	_ST_NEGATIVE,4,2                ## @ST_NEGATIVE
	.comm	_BOXLEFT,8,3                    ## @BOXLEFT
	.comm	_BOXRIGHT,8,3                   ## @BOXRIGHT
	.comm	_BOXBOTTOM,8,3                  ## @BOXBOTTOM
	.comm	_BOXTOP,8,3                     ## @BOXTOP
	.comm	_sides,8,3                      ## @sides
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_LoadLineDefs                 ; -- Begin function P_LoadLineDefs
	.p2align	2
_P_LoadLineDefs:                        ; @P_LoadLineDefs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	bl	_W_LumpLength
	asr	w8, w0, #5
Lloh0:
	adrp	x21, _numlines@GOTPAGE
Lloh1:
	ldr	x21, [x21, _numlines@GOTPAGEOFF]
	str	w8, [x21]
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #5
Lloh2:
	adrp	x8, _PU_LEVEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PU_LEVEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_Z_Malloc
Lloh5:
	adrp	x20, _lines@GOTPAGE
Lloh6:
	ldr	x20, [x20, _lines@GOTPAGEOFF]
	str	x0, [x20]
	ldr	w8, [x21]
	add	w8, w8, w8, lsl #1
	lsl	w2, w8, #5
	mov	w1, #0
	bl	_memset
Lloh7:
	adrp	x8, _PU_STATIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PU_STATIC@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_W_CacheLumpNum
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	w21, #0
	ldr	x22, [x20]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x23, x8, #12
Lloh10:
	adrp	x24, _vertexes@GOTPAGE
Lloh11:
	ldr	x24, [x24, _vertexes@GOTPAGEOFF]
Lloh12:
	adrp	x19, _BOXTOP@GOTPAGE
Lloh13:
	ldr	x19, [x19, _BOXTOP@GOTPAGEOFF]
Lloh14:
	adrp	x20, _sides@GOTPAGE
Lloh15:
	ldr	x20, [x20, _sides@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20]
	ldr	x8, [x9, x8, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [x22, #56]
	add	w21, w21, #1
Lloh16:
	adrp	x8, _numlines@GOTPAGE
Lloh17:
	ldr	x8, [x8, _numlines@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	add	x23, x23, #32
	add	x22, x22, #96
	cmp	w21, w8
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23, #12]
	bl	_SHORT
	str	x0, [x22]
	ldr	w0, [x23, #8]
	bl	_SHORT
	str	x0, [x22, #8]
	ldr	w0, [x23, #4]
	bl	_SHORT
	str	x0, [x22, #16]
	ldr	x25, [x24]
	ldr	w0, [x23]
	bl	_SHORT
	add	x26, x25, x0, lsl #4
	str	x26, [x22, #88]
	ldr	x25, [x24]
	ldur	w0, [x23, #-4]
	bl	_SHORT
	add	x27, x25, x0, lsl #4
	str	x27, [x22, #80]
	ldr	x11, [x27]
	mov	x28, x27
	ldr	x9, [x28, #8]!
	mov	x25, x26
	ldr	x10, [x25, #8]!
	ldr	x12, [x26]
	sub	x0, x9, x10
Lloh19:
	adrp	x8, _ST_VERTICAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ST_VERTICAL@GOTPAGEOFF]
	subs	x1, x11, x12
	stp	x1, x0, [x22, #24]
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh21:
	adrp	x8, _ST_HORIZONTAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ST_HORIZONTAL@GOTPAGEOFF]
	cmp	x9, x10
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_FixedDiv
	cmp	x0, #0
Lloh23:
	adrp	x8, _ST_NEGATIVE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ST_NEGATIVE@GOTPAGEOFF]
Lloh25:
	adrp	x9, _ST_POSITIVE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ST_POSITIVE@GOTPAGEOFF]
	csel	x8, x9, x8, gt
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8]
	str	w8, [x22, #72]
	ldr	x8, [x26]
	ldr	x9, [x27]
	ldr	x10, [x22, #40]
	cmp	x8, x9
	csel	x8, x8, x9, lt
Lloh27:
	adrp	x9, _BOXLEFT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _BOXLEFT@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	str	x8, [x10, x9, lsl #3]
	csel	x8, x27, x26, lt
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _BOXRIGHT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _BOXRIGHT@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	str	x8, [x10, x9, lsl #3]
	ldr	x8, [x25]
	ldr	x9, [x28]
	cmp	x8, x9
	csel	x8, x8, x9, lt
Lloh33:
	adrp	x9, _BOXBOTTOM@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BOXBOTTOM@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	str	x8, [x10, x9, lsl #3]
	csel	x8, x28, x25, lt
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x8, [x10, x9, lsl #3]
	ldur	x8, [x23, #-12]
	ldr	w0, [x8]
	bl	_SHORT
	ldr	x8, [x22, #48]
	str	x0, [x8]
	ldur	x8, [x23, #-12]
	ldr	w0, [x8, #4]
	bl	_SHORT
	ldr	x8, [x22, #48]
	str	x0, [x8, #8]
	ldr	x9, [x8]
	cmn	x9, #1
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x20]
	ldr	x9, [x10, x9, lsl #3]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [x22, #64]
	ldr	x8, [x8, #8]
	cmn	x8, #1
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	b	LBB0_3
LBB0_12:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_Z_Free
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_numlines,4,2                   ; @numlines
	.comm	_PU_LEVEL,4,2                   ; @PU_LEVEL
	.comm	_lines,8,3                      ; @lines
	.comm	_PU_STATIC,4,2                  ; @PU_STATIC
	.comm	_vertexes,8,3                   ; @vertexes
	.comm	_ST_VERTICAL,4,2                ; @ST_VERTICAL
	.comm	_ST_HORIZONTAL,4,2              ; @ST_HORIZONTAL
	.comm	_ST_POSITIVE,4,2                ; @ST_POSITIVE
	.comm	_ST_NEGATIVE,4,2                ; @ST_NEGATIVE
	.comm	_BOXLEFT,8,3                    ; @BOXLEFT
	.comm	_BOXRIGHT,8,3                   ; @BOXRIGHT
	.comm	_BOXBOTTOM,8,3                  ; @BOXBOTTOM
	.comm	_BOXTOP,8,3                     ; @BOXTOP
	.comm	_sides,8,3                      ; @sides
.subsections_via_symbols
