	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_RenderSegLoop                ## -- Begin function R_RenderSegLoop
	.p2align	4, 0x90
_R_RenderSegLoop:                       ## @R_RenderSegLoop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_rw_x@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_rw_stopx@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jae	LBB0_26
## %bb.1:
	movq	_topfrac@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_bottomfrac@GOTPCREL(%rip), %r9
                                        ## implicit-def: $r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_dc_yl@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_dc_yh@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	movq	_rw_midtexturemid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_dc_texturemid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %esi
	callq	_R_GetColumn
	movq	_dc_source@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_colfunc
	movq	_viewheight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ceilingclip@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %rsi
	movl	%eax, (%rcx,%rsi,4)
	movl	$-1, %ecx
	movq	_floorclip@GOTPCREL(%rip), %rax
	movq	_bottomfrac@GOTPCREL(%rip), %r9
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	movl	%ecx, (%rax,%rsi,4)
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_rw_scalestep@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rw_scale@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_topfrac@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	_topstep@GOTPCREL(%rip), %rdx
	addl	(%rdx), %eax
	movl	%eax, (%rcx)
	movq	_bottomstep@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, (%r9)
	incq	%rsi
	movq	%rsi, (%r15)
	movq	_rw_stopx@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jae	LBB0_26
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HEIGHTUNIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx), %r13d
	decl	%r13d
	movq	_HEIGHTBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	sarl	%cl, %r13d
	movq	_ceilingclip@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	(%r8,%rsi,4), %ebx
	leal	1(%rbx), %edi
	cmpl	%ebx, %r13d
	cmovlel	%edi, %r13d
	movq	_markceiling@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_floorclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx,%rsi,4), %eax
	cmpl	%eax, %r13d
	cmovll	%r13d, %eax
	decl	%eax
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ceilingplane@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rbx
	movl	%edi, (%rbx,%rsi,4)
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx,%rsi,4)
	movq	_HEIGHTBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9), %r12d
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r12d
	movl	(%rdx,%rsi,4), %eax
	leal	-1(%rax), %ecx
	cmpl	%eax, %r12d
	cmovgel	%ecx, %r12d
	movq	_markfloor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8,%rsi,4), %eax
	cmpl	%eax, %r12d
	cmovgl	%r12d, %eax
	cmpl	%ecx, %eax
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	movq	_floorplane@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx), %rdi
	movl	%eax, (%rdi,%rsi,4)
	movq	8(%rdx), %rax
	movl	%ecx, (%rax,%rsi,4)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_segtextured@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_xtoviewangle@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rsi,8), %rax
	movq	_rw_centerangle@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_ANGLETOFINESHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shrq	%cl, %rax
	movq	_rw_offset@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	_finetangent@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edi
	movq	_rw_distance@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FixedMul
	subl	%eax, %r14d
	movq	_FRACBITS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	sarl	%cl, %r14d
	movq	_rw_scale@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LIGHTSCALESHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%edi, %eax
	shrl	%cl, %eax
	movq	_MAXLIGHTSCALE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	cmpl	%ecx, %eax
	cmovbl	%eax, %edx
	movq	_walllights@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %eax
	movq	_dc_colormap@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rsi
	movq	_dc_x@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movl	$-1, %eax
	xorl	%edx, %edx
	divl	%edi
	movq	_dc_iscale@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_midtexture@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_toptexture@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_pixhigh@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_HEIGHTBITS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	%eax, %edx
	sarl	%cl, %edx
	movq	_pixhighstep@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_floorclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi,4), %eax
	leal	-1(%rax), %r15d
	cmpl	%eax, %edx
	cmovll	%edx, %r15d
	cmpl	%r13d, %r15d
	jge	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	movq	_ceilingclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r13d, (%rax,%rsi,4)
	movq	_rw_x@GOTPCREL(%rip), %r15
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_markceiling@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	movq	_ceilingclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r13d, (%rax,%rsi,4)
	jmp	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_dc_yl@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_dc_yh@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
	movq	_rw_toptexturemid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_dc_texturemid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %esi
	callq	_R_GetColumn
	movq	_dc_source@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_colfunc
	movq	_ceilingclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_rw_x@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movl	%r15d, (%rax,%rsi,4)
	movq	%rbx, %r15
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_bottomtexture@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_pixlow@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_HEIGHTUNIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx), %edx
	decl	%edx
	movq	_HEIGHTBITS@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %edx
	movq	_pixlowstep@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	%eax, (%rbx)
	movq	_ceilingclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi,4), %eax
	leal	1(%rax), %ebx
	cmpl	%eax, %edx
	cmovgl	%edx, %ebx
	cmpl	%r12d, %ebx
	jg	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_dc_yl@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_dc_yh@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	movq	_rw_bottomtexturemid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_dc_texturemid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%r14d, %esi
	callq	_R_GetColumn
	movq	_dc_source@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_colfunc
	movq	_floorclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rsi
	movl	%ebx, (%rax,%rsi,4)
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_markfloor@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movq	_floorclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, (%rax,%rsi,4)
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_bottomfrac@GOTPCREL(%rip), %r9
	movq	_maskedtexture@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_maskedtexturecol@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	jne	LBB0_24
	jmp	LBB0_25
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rw_x,8,3                       ## @rw_x
	.comm	_rw_stopx,8,3                   ## @rw_stopx
	.comm	_topfrac,4,2                    ## @topfrac
	.comm	_HEIGHTUNIT,4,2                 ## @HEIGHTUNIT
	.comm	_HEIGHTBITS,4,2                 ## @HEIGHTBITS
	.comm	_ceilingclip,8,3                ## @ceilingclip
	.comm	_markceiling,8,3                ## @markceiling
	.comm	_floorclip,8,3                  ## @floorclip
	.comm	_ceilingplane,8,3               ## @ceilingplane
	.comm	_bottomfrac,4,2                 ## @bottomfrac
	.comm	_markfloor,8,3                  ## @markfloor
	.comm	_floorplane,8,3                 ## @floorplane
	.comm	_segtextured,8,3                ## @segtextured
	.comm	_rw_centerangle,8,3             ## @rw_centerangle
	.comm	_xtoviewangle,8,3               ## @xtoviewangle
	.comm	_ANGLETOFINESHIFT,8,3           ## @ANGLETOFINESHIFT
	.comm	_rw_offset,4,2                  ## @rw_offset
	.comm	_finetangent,8,3                ## @finetangent
	.comm	_rw_distance,4,2                ## @rw_distance
	.comm	_FRACBITS,4,2                   ## @FRACBITS
	.comm	_rw_scale,4,2                   ## @rw_scale
	.comm	_LIGHTSCALESHIFT,4,2            ## @LIGHTSCALESHIFT
	.comm	_MAXLIGHTSCALE,4,2              ## @MAXLIGHTSCALE
	.comm	_walllights,8,3                 ## @walllights
	.comm	_dc_colormap,4,2                ## @dc_colormap
	.comm	_dc_x,8,3                       ## @dc_x
	.comm	_dc_iscale,4,2                  ## @dc_iscale
	.comm	_midtexture,8,3                 ## @midtexture
	.comm	_dc_yl,4,2                      ## @dc_yl
	.comm	_dc_yh,4,2                      ## @dc_yh
	.comm	_rw_midtexturemid,4,2           ## @rw_midtexturemid
	.comm	_dc_texturemid,4,2              ## @dc_texturemid
	.comm	_dc_source,4,2                  ## @dc_source
	.comm	_viewheight,4,2                 ## @viewheight
	.comm	_toptexture,8,3                 ## @toptexture
	.comm	_pixhigh,4,2                    ## @pixhigh
	.comm	_pixhighstep,8,3                ## @pixhighstep
	.comm	_rw_toptexturemid,4,2           ## @rw_toptexturemid
	.comm	_bottomtexture,8,3              ## @bottomtexture
	.comm	_pixlow,4,2                     ## @pixlow
	.comm	_pixlowstep,8,3                 ## @pixlowstep
	.comm	_rw_bottomtexturemid,4,2        ## @rw_bottomtexturemid
	.comm	_maskedtexture,8,3              ## @maskedtexture
	.comm	_maskedtexturecol,8,3           ## @maskedtexturecol
	.comm	_rw_scalestep,8,3               ## @rw_scalestep
	.comm	_topstep,8,3                    ## @topstep
	.comm	_bottomstep,8,3                 ## @bottomstep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_RenderSegLoop                ; -- Begin function R_RenderSegLoop
	.p2align	2
_R_RenderSegLoop:                       ; @R_RenderSegLoop
	.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
Lloh0:
	adrp	x20, _rw_x@GOTPAGE
Lloh1:
	ldr	x20, [x20, _rw_x@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x24, _rw_stopx@GOTPAGE
Lloh3:
	ldr	x24, [x24, _rw_stopx@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.hs	LBB0_29
; %bb.1:
Lloh4:
	adrp	x22, _topfrac@GOTPAGE
Lloh5:
	ldr	x22, [x22, _topfrac@GOTPAGEOFF]
Lloh6:
	adrp	x25, _HEIGHTUNIT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _HEIGHTUNIT@GOTPAGEOFF]
Lloh8:
	adrp	x27, _HEIGHTBITS@GOTPAGE
Lloh9:
	ldr	x27, [x27, _HEIGHTBITS@GOTPAGEOFF]
Lloh10:
	adrp	x26, _ceilingclip@GOTPAGE
Lloh11:
	ldr	x26, [x26, _ceilingclip@GOTPAGEOFF]
Lloh12:
	adrp	x28, _bottomfrac@GOTPAGE
Lloh13:
	ldr	x28, [x28, _bottomfrac@GOTPAGEOFF]
	ldr	w9, [x22]
                                        ; implicit-def: $w19
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x8, _dc_yl@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dc_yl@GOTPAGEOFF]
Lloh16:
	str	w23, [x8]
Lloh17:
	adrp	x8, _dc_yh@GOTPAGE
Lloh18:
	ldr	x8, [x8, _dc_yh@GOTPAGEOFF]
Lloh19:
	str	w21, [x8]
Lloh20:
	adrp	x8, _rw_midtexturemid@GOTPAGE
Lloh21:
	ldr	x8, [x8, _rw_midtexturemid@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _dc_texturemid@GOTPAGE
Lloh24:
	ldr	x9, [x9, _dc_texturemid@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
	mov	x1, x19
	bl	_R_GetColumn
Lloh26:
	adrp	x8, _dc_source@GOTPAGE
Lloh27:
	ldr	x8, [x8, _dc_source@GOTPAGEOFF]
Lloh28:
	str	w0, [x8]
	bl	_colfunc
Lloh29:
	adrp	x8, _viewheight@GOTPAGE
Lloh30:
	ldr	x8, [x8, _viewheight@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x8]
	ldr	x10, [x26]
	ldr	x8, [x20]
	str	w9, [x10, x8, lsl #2]
	mov	w9, #-1
Lloh32:
	adrp	x10, _floorclip@GOTPAGE
Lloh33:
	ldr	x10, [x10, _floorclip@GOTPAGEOFF]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x10]
	str	w9, [x10, x8, lsl #2]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh34:
	adrp	x9, _rw_scalestep@GOTPAGE
Lloh35:
	ldr	x9, [x9, _rw_scalestep@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x11, _rw_scale@GOTPAGE
Lloh38:
	ldr	x11, [x11, _rw_scale@GOTPAGEOFF]
	ldr	w10, [x11]
	add	w9, w10, w9
	str	w9, [x11]
Lloh39:
	adrp	x9, _topstep@GOTPAGE
Lloh40:
	ldr	x9, [x9, _topstep@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	ldr	w10, [x22]
	add	w9, w10, w9
	str	w9, [x22]
Lloh42:
	adrp	x10, _bottomstep@GOTPAGE
Lloh43:
	ldr	x10, [x10, _bottomstep@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	ldr	w11, [x28]
	add	w10, w11, w10
	str	w10, [x28]
	add	x8, x8, #1
	str	x8, [x20]
	ldr	x10, [x24]
	cmp	x8, x10
	b.hs	LBB0_29
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x25]
	add	w9, w9, w10
	sub	w9, w9, #1
	ldr	w11, [x27]
	asr	w10, w9, w11
	ldr	x9, [x26]
	ldr	w12, [x9, x8, lsl #2]
	cmp	w10, w12
	csinc	w23, w10, w12, gt
Lloh45:
	adrp	x10, _markceiling@GOTPAGE
Lloh46:
	ldr	x10, [x10, _markceiling@GOTPAGEOFF]
Lloh47:
	ldr	x13, [x10]
Lloh48:
	adrp	x10, _floorclip@GOTPAGE
Lloh49:
	ldr	x10, [x10, _floorclip@GOTPAGEOFF]
Lloh50:
	ldr	x10, [x10]
	cbz	x13, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w13, [x10, x8, lsl #2]
	cmp	w23, w13
	csel	w13, w23, w13, lt
	sub	w13, w13, #1
	cmp	w12, w13
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w11, w12, #1
Lloh51:
	adrp	x12, _ceilingplane@GOTPAGE
Lloh52:
	ldr	x12, [x12, _ceilingplane@GOTPAGEOFF]
Lloh53:
	ldr	x12, [x12]
	lsl	x14, x8, #2
	ldp	x15, x12, [x12]
	str	w11, [x15, x14]
	str	w13, [x12, x14]
	ldr	w11, [x27]
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w12, [x28]
	asr	w11, w12, w11
	ldr	w12, [x10, x8, lsl #2]
	sub	w10, w12, #1
	cmp	w11, w12
	csel	w21, w11, w10, lt
Lloh54:
	adrp	x11, _markfloor@GOTPAGE
Lloh55:
	ldr	x11, [x11, _markfloor@GOTPAGEOFF]
Lloh56:
	ldr	x11, [x11]
	cbz	x11, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x9, x8, lsl #2]
	cmp	w21, w9
	csel	w9, w21, w9, gt
	cmp	w9, w10
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w9, #1
Lloh57:
	adrp	x11, _floorplane@GOTPAGE
Lloh58:
	ldr	x11, [x11, _floorplane@GOTPAGEOFF]
Lloh59:
	ldr	x11, [x11]
	lsl	x12, x8, #2
	ldp	x13, x11, [x11]
	str	w9, [x13, x12]
	str	w10, [x11, x12]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh60:
	adrp	x9, _segtextured@GOTPAGE
Lloh61:
	ldr	x9, [x9, _segtextured@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cbz	x9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh63:
	adrp	x9, _rw_centerangle@GOTPAGE
Lloh64:
	ldr	x9, [x9, _rw_centerangle@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
Lloh66:
	adrp	x10, _xtoviewangle@GOTPAGE
Lloh67:
	ldr	x10, [x10, _xtoviewangle@GOTPAGEOFF]
Lloh68:
	ldr	x10, [x10]
	ldr	x8, [x10, x8, lsl #3]
	add	x8, x8, x9
Lloh69:
	adrp	x9, _ANGLETOFINESHIFT@GOTPAGE
Lloh70:
	ldr	x9, [x9, _ANGLETOFINESHIFT@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x9]
	lsr	x8, x8, x9
Lloh72:
	adrp	x9, _rw_offset@GOTPAGE
Lloh73:
	ldr	x9, [x9, _rw_offset@GOTPAGEOFF]
Lloh74:
	ldr	w19, [x9]
Lloh75:
	adrp	x9, _finetangent@GOTPAGE
Lloh76:
	ldr	x9, [x9, _finetangent@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	ldr	w0, [x9, x8, lsl #2]
Lloh78:
	adrp	x8, _rw_distance@GOTPAGE
Lloh79:
	ldr	x8, [x8, _rw_distance@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	bl	_FixedMul
	sub	w8, w19, w0
Lloh81:
	adrp	x9, _FRACBITS@GOTPAGE
Lloh82:
	ldr	x9, [x9, _FRACBITS@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
Lloh84:
	adrp	x10, _rw_scale@GOTPAGE
Lloh85:
	ldr	x10, [x10, _rw_scale@GOTPAGEOFF]
Lloh86:
	ldr	w10, [x10]
Lloh87:
	adrp	x11, _LIGHTSCALESHIFT@GOTPAGE
Lloh88:
	ldr	x11, [x11, _LIGHTSCALESHIFT@GOTPAGEOFF]
Lloh89:
	ldr	w11, [x11]
	lsr	w11, w10, w11
Lloh90:
	adrp	x12, _MAXLIGHTSCALE@GOTPAGE
Lloh91:
	ldr	x12, [x12, _MAXLIGHTSCALE@GOTPAGEOFF]
Lloh92:
	ldr	w12, [x12]
	sub	w13, w12, #1
	cmp	w11, w12
	csel	w11, w11, w13, lo
Lloh93:
	adrp	x12, _walllights@GOTPAGE
Lloh94:
	ldr	x12, [x12, _walllights@GOTPAGEOFF]
Lloh95:
	ldr	x12, [x12]
	ldr	w11, [x12, w11, uxtw #2]
	asr	w19, w8, w9
Lloh96:
	adrp	x8, _dc_colormap@GOTPAGE
Lloh97:
	ldr	x8, [x8, _dc_colormap@GOTPAGEOFF]
Lloh98:
	str	w11, [x8]
	ldr	x8, [x20]
Lloh99:
	adrp	x9, _dc_x@GOTPAGE
Lloh100:
	ldr	x9, [x9, _dc_x@GOTPAGEOFF]
Lloh101:
	str	x8, [x9]
	mov	w9, #-1
	udiv	w9, w9, w10
Lloh102:
	adrp	x10, _dc_iscale@GOTPAGE
Lloh103:
	ldr	x10, [x10, _dc_iscale@GOTPAGEOFF]
Lloh104:
	str	w9, [x10]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh105:
	adrp	x9, _midtexture@GOTPAGE
Lloh106:
	ldr	x9, [x9, _midtexture@GOTPAGEOFF]
Lloh107:
	ldr	x0, [x9]
	cbnz	x0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh108:
	adrp	x9, _toptexture@GOTPAGE
Lloh109:
	ldr	x9, [x9, _toptexture@GOTPAGEOFF]
Lloh110:
	ldr	x0, [x9]
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x10, x27
	mov	x26, x25
	mov	x25, x22
	mov	x22, x24
Lloh111:
	adrp	x12, _pixhigh@GOTPAGE
Lloh112:
	ldr	x12, [x12, _pixhigh@GOTPAGEOFF]
	ldr	w9, [x12]
	ldr	w10, [x27]
	asr	w10, w9, w10
Lloh113:
	adrp	x11, _pixhighstep@GOTPAGE
Lloh114:
	ldr	x11, [x11, _pixhighstep@GOTPAGEOFF]
Lloh115:
	ldr	w11, [x11]
	add	w9, w9, w11
	str	w9, [x12]
Lloh116:
	adrp	x9, _floorclip@GOTPAGE
Lloh117:
	ldr	x9, [x9, _floorclip@GOTPAGEOFF]
Lloh118:
	ldr	x9, [x9]
	ldr	w9, [x9, x8, lsl #2]
	sub	w11, w9, #1
	cmp	w10, w9
	csel	w24, w10, w11, lt
	cmp	w24, w23
	b.ge	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	w9, w23, #1
Lloh119:
	adrp	x10, _ceilingclip@GOTPAGE
Lloh120:
	ldr	x10, [x10, _ceilingclip@GOTPAGEOFF]
Lloh121:
	ldr	x10, [x10]
	str	w9, [x10, x8, lsl #2]
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh122:
	adrp	x9, _markceiling@GOTPAGE
Lloh123:
	ldr	x9, [x9, _markceiling@GOTPAGEOFF]
Lloh124:
	ldr	x9, [x9]
	cbz	x9, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	w9, w23, #1
	ldr	x10, [x26]
	str	w9, [x10, x8, lsl #2]
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh125:
	adrp	x8, _dc_yl@GOTPAGE
Lloh126:
	ldr	x8, [x8, _dc_yl@GOTPAGEOFF]
Lloh127:
	str	w23, [x8]
Lloh128:
	adrp	x8, _dc_yh@GOTPAGE
Lloh129:
	ldr	x8, [x8, _dc_yh@GOTPAGEOFF]
Lloh130:
	str	w24, [x8]
Lloh131:
	adrp	x8, _rw_toptexturemid@GOTPAGE
Lloh132:
	ldr	x8, [x8, _rw_toptexturemid@GOTPAGEOFF]
Lloh133:
	ldr	w8, [x8]
Lloh134:
	adrp	x9, _dc_texturemid@GOTPAGE
Lloh135:
	ldr	x9, [x9, _dc_texturemid@GOTPAGEOFF]
Lloh136:
	str	w8, [x9]
	mov	x1, x19
	bl	_R_GetColumn
Lloh137:
	adrp	x8, _dc_source@GOTPAGE
Lloh138:
	ldr	x8, [x8, _dc_source@GOTPAGEOFF]
Lloh139:
	str	w0, [x8]
	bl	_colfunc
Lloh140:
	adrp	x8, _ceilingclip@GOTPAGE
Lloh141:
	ldr	x8, [x8, _ceilingclip@GOTPAGEOFF]
Lloh142:
	ldr	x9, [x8]
	ldr	x8, [x20]
	str	w24, [x9, x8, lsl #2]
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x22
	mov	x22, x25
	mov	x25, x26
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh143:
	adrp	x9, _bottomtexture@GOTPAGE
Lloh144:
	ldr	x9, [x9, _bottomtexture@GOTPAGEOFF]
Lloh145:
	ldr	x0, [x9]
	cbz	x0, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh146:
	adrp	x12, _pixlow@GOTPAGE
Lloh147:
	ldr	x12, [x12, _pixlow@GOTPAGEOFF]
	ldr	w9, [x12]
	ldr	w10, [x25]
	add	w10, w9, w10
	sub	w10, w10, #1
	ldr	w11, [x27]
	asr	w10, w10, w11
Lloh148:
	adrp	x11, _pixlowstep@GOTPAGE
Lloh149:
	ldr	x11, [x11, _pixlowstep@GOTPAGEOFF]
Lloh150:
	ldr	w11, [x11]
	add	w9, w9, w11
	str	w9, [x12]
Lloh151:
	adrp	x26, _ceilingclip@GOTPAGE
Lloh152:
	ldr	x26, [x26, _ceilingclip@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w10, w9
	csinc	w23, w10, w9, gt
	cmp	w23, w21
	b.le	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w21, #1
Lloh153:
	adrp	x10, _floorclip@GOTPAGE
Lloh154:
	ldr	x10, [x10, _floorclip@GOTPAGEOFF]
Lloh155:
	ldr	x10, [x10]
	str	w9, [x10, x8, lsl #2]
	b	LBB0_28
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh156:
	adrp	x9, _markfloor@GOTPAGE
Lloh157:
	ldr	x9, [x9, _markfloor@GOTPAGEOFF]
Lloh158:
	ldr	x9, [x9]
	cbz	x9, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w21, #1
Lloh159:
	adrp	x10, _floorclip@GOTPAGE
Lloh160:
	ldr	x10, [x10, _floorclip@GOTPAGEOFF]
Lloh161:
	ldr	x10, [x10]
	str	w9, [x10, x8, lsl #2]
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh162:
	adrp	x26, _ceilingclip@GOTPAGE
Lloh163:
	ldr	x26, [x26, _ceilingclip@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh164:
	adrp	x8, _dc_yl@GOTPAGE
Lloh165:
	ldr	x8, [x8, _dc_yl@GOTPAGEOFF]
Lloh166:
	str	w23, [x8]
Lloh167:
	adrp	x8, _dc_yh@GOTPAGE
Lloh168:
	ldr	x8, [x8, _dc_yh@GOTPAGEOFF]
Lloh169:
	str	w21, [x8]
Lloh170:
	adrp	x8, _rw_bottomtexturemid@GOTPAGE
Lloh171:
	ldr	x8, [x8, _rw_bottomtexturemid@GOTPAGEOFF]
Lloh172:
	ldr	w8, [x8]
Lloh173:
	adrp	x9, _dc_texturemid@GOTPAGE
Lloh174:
	ldr	x9, [x9, _dc_texturemid@GOTPAGEOFF]
Lloh175:
	str	w8, [x9]
	mov	x1, x19
	bl	_R_GetColumn
Lloh176:
	adrp	x8, _dc_source@GOTPAGE
Lloh177:
	ldr	x8, [x8, _dc_source@GOTPAGEOFF]
Lloh178:
	str	w0, [x8]
	bl	_colfunc
Lloh179:
	adrp	x8, _floorclip@GOTPAGE
Lloh180:
	ldr	x8, [x8, _floorclip@GOTPAGEOFF]
Lloh181:
	ldr	x9, [x8]
	ldr	x8, [x20]
	str	w23, [x9, x8, lsl #2]
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh182:
	adrp	x9, _maskedtexture@GOTPAGE
Lloh183:
	ldr	x9, [x9, _maskedtexture@GOTPAGEOFF]
Lloh184:
	ldr	x11, [x9]
Lloh185:
	adrp	x10, _maskedtexturecol@GOTPAGE
Lloh186:
	ldr	x10, [x10, _maskedtexturecol@GOTPAGEOFF]
	mov	x9, x19
	cbnz	x11, LBB0_3
	b	LBB0_4
LBB0_29:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotStr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotStr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotStr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotStr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotStr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotStr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGot	Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpLdrGot	Lloh146, Lloh147
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGot	Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh179, Lloh180, Lloh181
	.loh AdrpLdrGotStr	Lloh176, Lloh177, Lloh178
	.loh AdrpLdrGotStr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotStr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotStr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGot	Lloh185, Lloh186
	.loh AdrpLdrGotLdr	Lloh182, Lloh183, Lloh184
	.cfi_endproc
                                        ; -- End function
	.comm	_rw_x,8,3                       ; @rw_x
	.comm	_rw_stopx,8,3                   ; @rw_stopx
	.comm	_topfrac,4,2                    ; @topfrac
	.comm	_HEIGHTUNIT,4,2                 ; @HEIGHTUNIT
	.comm	_HEIGHTBITS,4,2                 ; @HEIGHTBITS
	.comm	_ceilingclip,8,3                ; @ceilingclip
	.comm	_markceiling,8,3                ; @markceiling
	.comm	_floorclip,8,3                  ; @floorclip
	.comm	_ceilingplane,8,3               ; @ceilingplane
	.comm	_bottomfrac,4,2                 ; @bottomfrac
	.comm	_markfloor,8,3                  ; @markfloor
	.comm	_floorplane,8,3                 ; @floorplane
	.comm	_segtextured,8,3                ; @segtextured
	.comm	_rw_centerangle,8,3             ; @rw_centerangle
	.comm	_xtoviewangle,8,3               ; @xtoviewangle
	.comm	_ANGLETOFINESHIFT,8,3           ; @ANGLETOFINESHIFT
	.comm	_rw_offset,4,2                  ; @rw_offset
	.comm	_finetangent,8,3                ; @finetangent
	.comm	_rw_distance,4,2                ; @rw_distance
	.comm	_FRACBITS,4,2                   ; @FRACBITS
	.comm	_rw_scale,4,2                   ; @rw_scale
	.comm	_LIGHTSCALESHIFT,4,2            ; @LIGHTSCALESHIFT
	.comm	_MAXLIGHTSCALE,4,2              ; @MAXLIGHTSCALE
	.comm	_walllights,8,3                 ; @walllights
	.comm	_dc_colormap,4,2                ; @dc_colormap
	.comm	_dc_x,8,3                       ; @dc_x
	.comm	_dc_iscale,4,2                  ; @dc_iscale
	.comm	_midtexture,8,3                 ; @midtexture
	.comm	_dc_yl,4,2                      ; @dc_yl
	.comm	_dc_yh,4,2                      ; @dc_yh
	.comm	_rw_midtexturemid,4,2           ; @rw_midtexturemid
	.comm	_dc_texturemid,4,2              ; @dc_texturemid
	.comm	_dc_source,4,2                  ; @dc_source
	.comm	_viewheight,4,2                 ; @viewheight
	.comm	_toptexture,8,3                 ; @toptexture
	.comm	_pixhigh,4,2                    ; @pixhigh
	.comm	_pixhighstep,8,3                ; @pixhighstep
	.comm	_rw_toptexturemid,4,2           ; @rw_toptexturemid
	.comm	_bottomtexture,8,3              ; @bottomtexture
	.comm	_pixlow,4,2                     ; @pixlow
	.comm	_pixlowstep,8,3                 ; @pixlowstep
	.comm	_rw_bottomtexturemid,4,2        ; @rw_bottomtexturemid
	.comm	_maskedtexture,8,3              ; @maskedtexture
	.comm	_maskedtexturecol,8,3           ; @maskedtexturecol
	.comm	_rw_scalestep,8,3               ; @rw_scalestep
	.comm	_topstep,8,3                    ; @topstep
	.comm	_bottomstep,8,3                 ; @bottomstep
.subsections_via_symbols
