	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_ExecuteSetViewSize           ## -- Begin function R_ExecuteSetViewSize
	.p2align	4, 0x90
_R_ExecuteSetViewSize:                  ## @R_ExecuteSetViewSize
	.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	_setsizeneeded@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_setblocks@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	$11, %edi
	jne	LBB0_2
## %bb.1:
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_scaledviewwidth@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_SCREENHEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_3
LBB0_2:
	imull	$168, %edi, %eax
	shll	$5, %edi
	movq	_scaledviewwidth@GOTPCREL(%rip), %rcx
	movl	%edi, (%rcx)
	cltq
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
	andl	$-8, %esi
LBB0_3:
	movq	_viewheight@GOTPCREL(%rip), %r12
	movl	%esi, (%r12)
	movq	_setdetail@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_detailshift@GOTPCREL(%rip), %r15
	movl	%edi, %edx
	movl	%r8d, %ecx
	sarl	%cl, %edx
	movl	%r8d, (%r15)
	movq	_viewwidth@GOTPCREL(%rip), %r14
	movl	%edx, (%r14)
	movl	%esi, %ebx
	shrl	$31, %ebx
	addl	%esi, %ebx
	sarl	%ebx
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	movq	_centerx@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FRACBITS@GOTPCREL(%rip), %r13
	movb	(%r13), %cl
	shll	%cl, %eax
	movq	_centery@GOTPCREL(%rip), %rdx
	movl	%ebx, (%rdx)
	movq	_centerxfrac@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	shll	%cl, %ebx
	movq	_centeryfrac@GOTPCREL(%rip), %rcx
	movl	%ebx, (%rcx)
	movq	_projection@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%r8d, %r8d
	movq	_R_DrawColumnLow@GOTPCREL(%rip), %rax
	cmoveq	_R_DrawColumn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_basecolfunc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_colfunc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_R_DrawFuzzColumn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_fuzzcolfunc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_R_DrawTranslatedColumn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_transcolfunc@GOTPCREL(%rip), %rcx
	movq	_R_DrawSpanLow@GOTPCREL(%rip), %rdx
	cmoveq	_R_DrawSpan@GOTPCREL(%rip), %rdx
	movl	%eax, (%rcx)
	movl	(%rdx), %eax
	movq	_spanfunc@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_R_InitBuffer
	xorl	%eax, %eax
	callq	_R_InitTextureMapping
	movq	%r14, %r8
	movq	_FRACUNIT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %esi
	movl	(%r14), %r9d
	movl	%r9d, %eax
	imull	%esi, %eax
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cltd
	idivl	%ecx
	movq	_pspritescale@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	imull	%esi, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r9d
	movq	_pspriteiscale@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%r9d, %r9d
	jle	LBB0_6
## %bb.4:
	movq	_screenheightarray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movl	%edx, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%r8), %r9
	cmpq	%r9, %rcx
	jl	LBB0_5
LBB0_6:
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ebx, %eax
	subl	%ecx, %eax
	movzbl	(%r13), %ecx
	shll	%cl, %eax
	movl	(%rdi), %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	movl	%ecx, %esi
	negl	%esi
	cmovsl	%ecx, %esi
	movzbl	(%r15), %ecx
	shll	%cl, %r9d
	movq	%r15, %r14
	movq	%r8, %r15
	movl	%r9d, %edi
	shrl	$31, %edi
	addl	%r9d, %edi
	sarl	%edi
	imull	%edx, %edi
	callq	_FixedDiv
	movq	_FRACUNIT@GOTPCREL(%rip), %rdi
	movq	%r15, %r8
	movq	%r14, %r15
	movq	_yslope@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rax
	movl	(%r8), %r9d
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	testl	%r9d, %r9d
	jle	LBB0_13
## %bb.10:
	xorl	%ebx, %ebx
	movq	_xtoviewangle@GOTPCREL(%rip), %r13
	movq	_ANGLETOFINESHIFT@GOTPCREL(%rip), %r14
	movq	%r8, %r15
	movq	_distscale@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	_finecosine@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movzbl	(%r14), %ecx
	shrq	%cl, %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, %esi
	negl	%esi
	cmovsl	%eax, %esi
	movl	(%rdi), %edi
	callq	_FixedDiv
	movq	_FRACUNIT@GOTPCREL(%rip), %rdi
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %r9
	cmpq	%r9, %rbx
	jl	LBB0_11
## %bb.12:
	movq	_detailshift@GOTPCREL(%rip), %r15
LBB0_13:
	movq	_LIGHTLEVELS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_23
## %bb.14:
	movq	_NUMCOLORMAPS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_MAXLIGHTSCALE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movb	(%r15), %cl
	shll	%cl, %r9d
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DISTMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	-1(%r10), %r14d
	movq	_scalelight@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	_colormaps@GOTPCREL(%rip), %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r12
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, %r12
	je	LBB0_23
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movl	%r12d, %eax
	notl	%eax
	addl	%esi, %eax
	imull	%r10d, %eax
	addl	%eax, %eax
	cltd
	idivl	%esi
	testl	%r11d, %r11d
	jle	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r15
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=2
	shll	$8, %edx
	movslq	%edx, %rax
	addq	(%r13), %rax
	movq	%rax, (%r15,%r8,8)
	incq	%r8
	addl	%edi, %esi
	cmpq	%r8, %r11
	je	LBB0_22
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, %eax
	cltd
	idivl	%r9d
	cltd
	idivl	%ebx
	movl	%ecx, %edx
	subl	%eax, %edx
	testl	%edx, %edx
	jg	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	xorl	%edx, %edx
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	cmpl	%r10d, %edx
	jl	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=2
	movl	%r14d, %edx
	jmp	LBB0_21
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_setsizeneeded,4,2              ## @setsizeneeded
	.comm	_setblocks,4,2                  ## @setblocks
	.comm	_SCREENWIDTH,4,2                ## @SCREENWIDTH
	.comm	_scaledviewwidth,4,2            ## @scaledviewwidth
	.comm	_SCREENHEIGHT,4,2               ## @SCREENHEIGHT
	.comm	_viewheight,4,2                 ## @viewheight
	.comm	_setdetail,4,2                  ## @setdetail
	.comm	_detailshift,4,2                ## @detailshift
	.comm	_viewwidth,4,2                  ## @viewwidth
	.comm	_centery,4,2                    ## @centery
	.comm	_centerx,4,2                    ## @centerx
	.comm	_FRACBITS,4,2                   ## @FRACBITS
	.comm	_centerxfrac,4,2                ## @centerxfrac
	.comm	_centeryfrac,4,2                ## @centeryfrac
	.comm	_projection,4,2                 ## @projection
	.comm	_R_DrawColumn,4,2               ## @R_DrawColumn
	.comm	_basecolfunc,4,2                ## @basecolfunc
	.comm	_colfunc,4,2                    ## @colfunc
	.comm	_R_DrawFuzzColumn,4,2           ## @R_DrawFuzzColumn
	.comm	_fuzzcolfunc,4,2                ## @fuzzcolfunc
	.comm	_R_DrawTranslatedColumn,4,2     ## @R_DrawTranslatedColumn
	.comm	_transcolfunc,4,2               ## @transcolfunc
	.comm	_R_DrawSpan,4,2                 ## @R_DrawSpan
	.comm	_spanfunc,4,2                   ## @spanfunc
	.comm	_R_DrawColumnLow,4,2            ## @R_DrawColumnLow
	.comm	_R_DrawSpanLow,4,2              ## @R_DrawSpanLow
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_pspritescale,4,2               ## @pspritescale
	.comm	_pspriteiscale,4,2              ## @pspriteiscale
	.comm	_screenheightarray,8,3          ## @screenheightarray
	.comm	_yslope,8,3                     ## @yslope
	.comm	_finecosine,8,3                 ## @finecosine
	.comm	_xtoviewangle,8,3               ## @xtoviewangle
	.comm	_ANGLETOFINESHIFT,8,3           ## @ANGLETOFINESHIFT
	.comm	_distscale,8,3                  ## @distscale
	.comm	_LIGHTLEVELS,4,2                ## @LIGHTLEVELS
	.comm	_NUMCOLORMAPS,4,2               ## @NUMCOLORMAPS
	.comm	_MAXLIGHTSCALE,4,2              ## @MAXLIGHTSCALE
	.comm	_DISTMAP,4,2                    ## @DISTMAP
	.comm	_colormaps,8,3                  ## @colormaps
	.comm	_scalelight,8,3                 ## @scalelight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_ExecuteSetViewSize           ; -- Begin function R_ExecuteSetViewSize
	.p2align	2
_R_ExecuteSetViewSize:                  ; @R_ExecuteSetViewSize
	.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	x8, _setsizeneeded@GOTPAGE
Lloh1:
	ldr	x8, [x8, _setsizeneeded@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
Lloh3:
	adrp	x8, _setblocks@GOTPAGE
Lloh4:
	ldr	x8, [x8, _setblocks@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x19, _SCREENWIDTH@GOTPAGE
Lloh7:
	ldr	x19, [x19, _SCREENWIDTH@GOTPAGEOFF]
	cmp	w8, #11
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _scaledviewwidth@GOTPAGE
Lloh9:
	ldr	x8, [x8, _scaledviewwidth@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
Lloh11:
	adrp	x8, _SCREENHEIGHT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SCREENHEIGHT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	b	LBB0_3
LBB0_2:
	lsl	w0, w8, #5
Lloh14:
	adrp	x9, _scaledviewwidth@GOTPAGE
Lloh15:
	ldr	x9, [x9, _scaledviewwidth@GOTPAGEOFF]
Lloh16:
	str	w0, [x9]
	mov	w9, #168
	mul	w8, w8, w9
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	and	w1, w8, #0xfffffff8
LBB0_3:
Lloh17:
	adrp	x22, _viewheight@GOTPAGE
Lloh18:
	ldr	x22, [x22, _viewheight@GOTPAGEOFF]
	str	w1, [x22]
Lloh19:
	adrp	x8, _setdetail@GOTPAGE
Lloh20:
	ldr	x8, [x8, _setdetail@GOTPAGEOFF]
Lloh21:
	adrp	x20, _detailshift@GOTPAGE
Lloh22:
	ldr	x20, [x20, _detailshift@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x20]
	asr	w9, w0, w8
Lloh24:
	adrp	x21, _viewwidth@GOTPAGE
Lloh25:
	ldr	x21, [x21, _viewwidth@GOTPAGEOFF]
	str	w9, [x21]
	cmp	w1, #0
	cinc	w10, w1, lt
	asr	w10, w10, #1
Lloh26:
	adrp	x11, _centery@GOTPAGE
Lloh27:
	ldr	x11, [x11, _centery@GOTPAGEOFF]
Lloh28:
	str	w10, [x11]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
Lloh29:
	adrp	x11, _centerx@GOTPAGE
Lloh30:
	ldr	x11, [x11, _centerx@GOTPAGEOFF]
Lloh31:
	str	w9, [x11]
Lloh32:
	adrp	x24, _FRACBITS@GOTPAGE
Lloh33:
	ldr	x24, [x24, _FRACBITS@GOTPAGEOFF]
	ldr	w11, [x24]
	lsl	w9, w9, w11
Lloh34:
	adrp	x12, _centerxfrac@GOTPAGE
Lloh35:
	ldr	x12, [x12, _centerxfrac@GOTPAGEOFF]
Lloh36:
	str	w9, [x12]
	lsl	w10, w10, w11
Lloh37:
	adrp	x11, _centeryfrac@GOTPAGE
Lloh38:
	ldr	x11, [x11, _centeryfrac@GOTPAGEOFF]
Lloh39:
	adrp	x12, _projection@GOTPAGE
Lloh40:
	ldr	x12, [x12, _projection@GOTPAGEOFF]
Lloh41:
	str	w10, [x11]
Lloh42:
	str	w9, [x12]
Lloh43:
	adrp	x9, _R_DrawColumn@GOTPAGE
Lloh44:
	ldr	x9, [x9, _R_DrawColumn@GOTPAGEOFF]
Lloh45:
	adrp	x10, _R_DrawColumnLow@GOTPAGE
Lloh46:
	ldr	x10, [x10, _R_DrawColumnLow@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh47:
	adrp	x9, _basecolfunc@GOTPAGE
Lloh48:
	ldr	x9, [x9, _basecolfunc@GOTPAGEOFF]
Lloh49:
	str	w8, [x9]
Lloh50:
	adrp	x9, _colfunc@GOTPAGE
Lloh51:
	ldr	x9, [x9, _colfunc@GOTPAGEOFF]
Lloh52:
	str	w8, [x9]
Lloh53:
	adrp	x8, _R_DrawFuzzColumn@GOTPAGE
Lloh54:
	ldr	x8, [x8, _R_DrawFuzzColumn@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _fuzzcolfunc@GOTPAGE
Lloh57:
	ldr	x9, [x9, _fuzzcolfunc@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
Lloh59:
	adrp	x8, _R_DrawTranslatedColumn@GOTPAGE
Lloh60:
	ldr	x8, [x8, _R_DrawTranslatedColumn@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
Lloh62:
	adrp	x9, _transcolfunc@GOTPAGE
Lloh63:
	ldr	x9, [x9, _transcolfunc@GOTPAGEOFF]
Lloh64:
	adrp	x10, _R_DrawSpan@GOTPAGE
Lloh65:
	ldr	x10, [x10, _R_DrawSpan@GOTPAGEOFF]
Lloh66:
	adrp	x11, _R_DrawSpanLow@GOTPAGE
Lloh67:
	ldr	x11, [x11, _R_DrawSpanLow@GOTPAGEOFF]
Lloh68:
	str	w8, [x9]
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
Lloh69:
	adrp	x9, _spanfunc@GOTPAGE
Lloh70:
	ldr	x9, [x9, _spanfunc@GOTPAGEOFF]
Lloh71:
	str	w8, [x9]
	bl	_R_InitBuffer
	bl	_R_InitTextureMapping
Lloh72:
	adrp	x23, _FRACUNIT@GOTPAGE
Lloh73:
	ldr	x23, [x23, _FRACUNIT@GOTPAGEOFF]
	ldr	w9, [x23]
	ldr	w8, [x21]
	mul	w10, w8, w9
	ldr	w11, [x19]
	sdiv	w10, w10, w11
Lloh74:
	adrp	x12, _pspritescale@GOTPAGE
Lloh75:
	ldr	x12, [x12, _pspritescale@GOTPAGEOFF]
Lloh76:
	str	w10, [x12]
	mul	w9, w11, w9
	sdiv	w9, w9, w8
Lloh77:
	adrp	x10, _pspriteiscale@GOTPAGE
Lloh78:
	ldr	x10, [x10, _pspriteiscale@GOTPAGEOFF]
Lloh79:
	str	w9, [x10]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x9, #0
Lloh80:
	adrp	x8, _screenheightarray@GOTPAGE
Lloh81:
	ldr	x8, [x8, _screenheightarray@GOTPAGEOFF]
Lloh82:
	ldr	x10, [x8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	str	w8, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x8, [x21]
	cmp	x9, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x25, #0
Lloh83:
	adrp	x26, _yslope@GOTPAGE
Lloh84:
	ldr	x26, [x26, _yslope@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #0
	cinc	w9, w9, lt
	sub	w9, w25, w9, asr #1
	ldr	w10, [x24]
	lsl	w9, w9, w10
	ldr	w10, [x23]
	cmp	w10, #0
	cinc	w11, w10, lt
	add	w9, w9, w11, asr #1
	cmp	w9, #0
	cneg	w1, w9, mi
	ldr	w9, [x20]
	lsl	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mul	w0, w8, w10
	bl	_FixedDiv
	ldr	x8, [x26]
	str	x0, [x8, x25, lsl #3]
	add	x25, x25, #1
	ldrsw	x9, [x22]
	ldr	w8, [x21]
	cmp	x25, x9
	b.lt	LBB0_8
LBB0_9:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x22, #0
Lloh85:
	adrp	x24, _finecosine@GOTPAGE
Lloh86:
	ldr	x24, [x24, _finecosine@GOTPAGEOFF]
Lloh87:
	adrp	x25, _xtoviewangle@GOTPAGE
Lloh88:
	ldr	x25, [x25, _xtoviewangle@GOTPAGEOFF]
Lloh89:
	adrp	x26, _ANGLETOFINESHIFT@GOTPAGE
Lloh90:
	ldr	x26, [x26, _ANGLETOFINESHIFT@GOTPAGEOFF]
Lloh91:
	adrp	x27, _distscale@GOTPAGE
Lloh92:
	ldr	x27, [x27, _distscale@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	lsl	x28, x22, #3
	ldr	x9, [x9, x28]
	ldr	x10, [x26]
	lsr	x9, x9, x10
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	cneg	w1, w8, mi
	ldr	w0, [x23]
	bl	_FixedDiv
	ldr	x8, [x27]
	str	x0, [x8, x28]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_11
; %bb.12:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_13:
Lloh93:
	adrp	x9, _LIGHTLEVELS@GOTPAGE
Lloh94:
	ldr	x9, [x9, _LIGHTLEVELS@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.14:
	mov	x10, #0
Lloh96:
	adrp	x11, _NUMCOLORMAPS@GOTPAGE
Lloh97:
	ldr	x11, [x11, _NUMCOLORMAPS@GOTPAGEOFF]
Lloh98:
	ldr	w11, [x11]
Lloh99:
	adrp	x12, _MAXLIGHTSCALE@GOTPAGE
Lloh100:
	ldr	x12, [x12, _MAXLIGHTSCALE@GOTPAGEOFF]
Lloh101:
	ldr	w12, [x12]
	ldr	w13, [x19]
	ldr	w14, [x20]
	lsl	w8, w8, w14
Lloh102:
	adrp	x14, _DISTMAP@GOTPAGE
Lloh103:
	ldr	x14, [x14, _DISTMAP@GOTPAGEOFF]
Lloh104:
	ldr	w14, [x14]
	sub	w15, w11, #1
Lloh105:
	adrp	x16, _scalelight@GOTPAGE
Lloh106:
	ldr	x16, [x16, _scalelight@GOTPAGEOFF]
Lloh107:
	ldr	x16, [x16]
Lloh108:
	adrp	x17, _colormaps@GOTPAGE
Lloh109:
	ldr	x17, [x17, _colormaps@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x10, x10, #1
	cmp	x10, x9
	b.eq	LBB0_19
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	cmp	w12, #1
	b.lt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #0
	mvn	w1, w10
	add	w1, w9, w1
	mul	w1, w1, w11
	lsl	w3, w1, #1
	ldr	x1, [x16, x10, lsl #3]
	mov	x2, x12
	sdiv	w3, w3, w9
LBB0_18:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w4, w0, w8
	sdiv	w4, w4, w14
	sub	w4, w3, w4
	cmp	w4, #0
	csel	w4, w4, wzr, gt
	cmp	w4, w11
	csel	w4, w4, w15, lt
	ldr	x5, [x17]
	lsl	w4, w4, #8
	add	x4, x5, w4, sxtw
	str	x4, [x1], #8
	add	w0, w0, w13
	subs	x2, x2, #1
	b.ne	LBB0_18
	b	LBB0_15
LBB0_19:
	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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh62, Lloh63, Lloh68
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh42
	.loh AdrpLdrGotStr	Lloh37, Lloh38, Lloh41
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.comm	_setsizeneeded,4,2              ; @setsizeneeded
	.comm	_setblocks,4,2                  ; @setblocks
	.comm	_SCREENWIDTH,4,2                ; @SCREENWIDTH
	.comm	_scaledviewwidth,4,2            ; @scaledviewwidth
	.comm	_SCREENHEIGHT,4,2               ; @SCREENHEIGHT
	.comm	_viewheight,4,2                 ; @viewheight
	.comm	_setdetail,4,2                  ; @setdetail
	.comm	_detailshift,4,2                ; @detailshift
	.comm	_viewwidth,4,2                  ; @viewwidth
	.comm	_centery,4,2                    ; @centery
	.comm	_centerx,4,2                    ; @centerx
	.comm	_FRACBITS,4,2                   ; @FRACBITS
	.comm	_centerxfrac,4,2                ; @centerxfrac
	.comm	_centeryfrac,4,2                ; @centeryfrac
	.comm	_projection,4,2                 ; @projection
	.comm	_R_DrawColumn,4,2               ; @R_DrawColumn
	.comm	_basecolfunc,4,2                ; @basecolfunc
	.comm	_colfunc,4,2                    ; @colfunc
	.comm	_R_DrawFuzzColumn,4,2           ; @R_DrawFuzzColumn
	.comm	_fuzzcolfunc,4,2                ; @fuzzcolfunc
	.comm	_R_DrawTranslatedColumn,4,2     ; @R_DrawTranslatedColumn
	.comm	_transcolfunc,4,2               ; @transcolfunc
	.comm	_R_DrawSpan,4,2                 ; @R_DrawSpan
	.comm	_spanfunc,4,2                   ; @spanfunc
	.comm	_R_DrawColumnLow,4,2            ; @R_DrawColumnLow
	.comm	_R_DrawSpanLow,4,2              ; @R_DrawSpanLow
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_pspritescale,4,2               ; @pspritescale
	.comm	_pspriteiscale,4,2              ; @pspriteiscale
	.comm	_screenheightarray,8,3          ; @screenheightarray
	.comm	_yslope,8,3                     ; @yslope
	.comm	_finecosine,8,3                 ; @finecosine
	.comm	_xtoviewangle,8,3               ; @xtoviewangle
	.comm	_ANGLETOFINESHIFT,8,3           ; @ANGLETOFINESHIFT
	.comm	_distscale,8,3                  ; @distscale
	.comm	_LIGHTLEVELS,4,2                ; @LIGHTLEVELS
	.comm	_NUMCOLORMAPS,4,2               ; @NUMCOLORMAPS
	.comm	_MAXLIGHTSCALE,4,2              ; @MAXLIGHTSCALE
	.comm	_DISTMAP,4,2                    ; @DISTMAP
	.comm	_colormaps,8,3                  ; @colormaps
	.comm	_scalelight,8,3                 ; @scalelight
.subsections_via_symbols
