	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_DrawMaskedColumn             ## -- Begin function R_DrawMaskedColumn
	.p2align	4, 0x90
_R_DrawMaskedColumn:                    ## @R_DrawMaskedColumn
	.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	_dc_texturemid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	cmpl	$255, %eax
	jne	LBB0_1
LBB0_9:
	movq	_dc_texturemid@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r12
	movq	_sprtopscreen@GOTPCREL(%rip), %r9
	movq	_spryscale@GOTPCREL(%rip), %r10
	movq	_FRACUNIT@GOTPCREL(%rip), %r11
	movq	_FRACBITS@GOTPCREL(%rip), %r14
	movq	_dc_yl@GOTPCREL(%rip), %r15
	movq	_dc_yh@GOTPCREL(%rip), %r13
	movq	%rdi, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r8d, %rax
	leaq	(%rbx,%rax,4), %r12
	addq	$16, %r12
	movl	16(%rbx,%rax,4), %eax
	movq	%r12, %rbx
	cmpl	$255, %eax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r9), %ecx
	movl	(%r10), %esi
	imull	%esi, %eax
	leal	(%rax,%rcx), %edi
	leal	(%rax,%rcx), %edx
	decl	%edx
	addl	(%r11), %edx
	movl	(%r14), %ecx
	sarl	%cl, %edx
	movl	4(%r12), %r8d
	imull	%r8d, %esi
	movl	%edx, (%r15)
	addl	%edi, %esi
	decl	%esi
	sarl	%cl, %esi
	movl	%esi, (%r13)
	movq	_mfloorclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_dc_x@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%rax,%rdi,4), %eax
	cmpl	%eax, %esi
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%eax
	movl	%eax, (%r13)
	movl	%eax, %esi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_mceilingclip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdi,4), %eax
	cmpl	%eax, %edx
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	movl	%eax, (%r15)
	movl	%eax, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %edx
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	12(%rbx), %rax
	movq	_dc_source@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movl	(%rbx), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	cltq
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %rcx
	movq	_dc_texturemid@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	xorl	%eax, %eax
	movq	%r9, %r15
	movq	%r10, %r13
	movq	%r11, %r14
	callq	_colfunc
	movq	%r14, %r11
	movq	_FRACBITS@GOTPCREL(%rip), %r14
	movq	%r13, %r10
	movq	_dc_yh@GOTPCREL(%rip), %r13
	movq	%r15, %r9
	movq	_dc_yl@GOTPCREL(%rip), %r15
	movl	4(%r12), %r8d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_dc_texturemid,8,3              ## @dc_texturemid
	.comm	_sprtopscreen,4,2               ## @sprtopscreen
	.comm	_spryscale,4,2                  ## @spryscale
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_FRACBITS,4,2                   ## @FRACBITS
	.comm	_dc_yl,4,2                      ## @dc_yl
	.comm	_dc_yh,4,2                      ## @dc_yh
	.comm	_mfloorclip,8,3                 ## @mfloorclip
	.comm	_dc_x,8,3                       ## @dc_x
	.comm	_mceilingclip,8,3               ## @mceilingclip
	.comm	_dc_source,8,3                  ## @dc_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_DrawMaskedColumn             ; -- Begin function R_DrawMaskedColumn
	.p2align	2
_R_DrawMaskedColumn:                    ; @R_DrawMaskedColumn
	.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
Lloh0:
	adrp	x8, _dc_texturemid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dc_texturemid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [x0]
	cmp	w8, #255
	b.ne	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _dc_texturemid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dc_texturemid@GOTPAGEOFF]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
Lloh5:
	str	x9, [x8]
	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
	ret
LBB0_2:
	mov	x19, x0
Lloh6:
	adrp	x23, _sprtopscreen@GOTPAGE
Lloh7:
	ldr	x23, [x23, _sprtopscreen@GOTPAGEOFF]
Lloh8:
	adrp	x24, _spryscale@GOTPAGE
Lloh9:
	ldr	x24, [x24, _spryscale@GOTPAGEOFF]
Lloh10:
	adrp	x25, _FRACUNIT@GOTPAGE
Lloh11:
	ldr	x25, [x25, _FRACUNIT@GOTPAGEOFF]
Lloh12:
	adrp	x28, _FRACBITS@GOTPAGE
Lloh13:
	ldr	x28, [x28, _FRACBITS@GOTPAGEOFF]
Lloh14:
	adrp	x26, _dc_yl@GOTPAGE
Lloh15:
	ldr	x26, [x26, _dc_yl@GOTPAGEOFF]
Lloh16:
	adrp	x27, _dc_yh@GOTPAGE
Lloh17:
	ldr	x27, [x27, _dc_yh@GOTPAGEOFF]
Lloh18:
	adrp	x20, _mfloorclip@GOTPAGE
Lloh19:
	ldr	x20, [x20, _mfloorclip@GOTPAGEOFF]
Lloh20:
	adrp	x22, _dc_x@GOTPAGE
Lloh21:
	ldr	x22, [x22, _dc_x@GOTPAGEOFF]
Lloh22:
	adrp	x21, _mceilingclip@GOTPAGE
Lloh23:
	ldr	x21, [x21, _mceilingclip@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, w8, sxtw #2
	ldr	w8, [x19, #16]!
	cmp	w8, #255
	b.eq	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23]
	ldr	w11, [x24]
	madd	w9, w11, w8, w9
	ldr	w8, [x19, #4]
	ldr	w10, [x25]
	sub	w12, w9, #1
	add	w10, w12, w10
	ldr	w9, [x28]
	asr	w10, w10, w9
	str	w10, [x26]
	madd	w11, w8, w11, w12
	asr	w11, w11, w9
	str	w11, [x27]
	ldr	x13, [x20]
	ldr	x12, [x22]
	ldr	w13, [x13, x12, lsl #2]
	cmp	w11, w13
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w11, w13, #1
	str	w11, [x27]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x21]
	ldr	w12, [x13, x12, lsl #2]
	cmp	w10, w12
	b.gt	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w12, #1
	str	w10, [x26]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, w11
	b.gt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x19
	ldr	w10, [x8], #12
Lloh24:
	adrp	x11, _dc_source@GOTPAGE
Lloh25:
	ldr	x11, [x11, _dc_source@GOTPAGEOFF]
Lloh26:
	str	x8, [x11]
	lsl	w8, w10, w9
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	sub	x8, x9, w8, sxtw
Lloh27:
	adrp	x9, _dc_texturemid@GOTPAGE
Lloh28:
	ldr	x9, [x9, _dc_texturemid@GOTPAGEOFF]
Lloh29:
	str	x8, [x9]
	bl	_colfunc
	ldr	w8, [x19, #4]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_dc_texturemid,8,3              ; @dc_texturemid
	.comm	_sprtopscreen,4,2               ; @sprtopscreen
	.comm	_spryscale,4,2                  ; @spryscale
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_FRACBITS,4,2                   ; @FRACBITS
	.comm	_dc_yl,4,2                      ; @dc_yl
	.comm	_dc_yh,4,2                      ; @dc_yh
	.comm	_mfloorclip,8,3                 ; @mfloorclip
	.comm	_dc_x,8,3                       ; @dc_x
	.comm	_mceilingclip,8,3               ; @mceilingclip
	.comm	_dc_source,8,3                  ; @dc_source
.subsections_via_symbols
