	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function RE_StretchRaw
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_1:
	.long	0xbf000000                      ## float -0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_RE_StretchRaw
	.p2align	4, 0x90
_RE_StretchRaw:                         ## @RE_StretchRaw
	.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
	movq	_tr@GOTPCREL(%rip), %rax
	cmpl	$0, 16(%rax)
	je	LBB0_15
## %bb.1:
	movl	%r9d, %ebx
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	movl	32(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	24(%rbp), %r12d
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_R_IssuePendingRenderCommands
	movq	_tess@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_RB_EndSurface
LBB0_3:
	xorl	%eax, %eax
	callq	_qglFinish
	movq	_r_speeds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_ri@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_5:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %eax
	shll	%cl, %eax
	incl	%ecx
	cmpl	%r14d, %eax
	jl	LBB0_6
## %bb.7:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edx
	shll	%cl, %edx
	incl	%ecx
	cmpl	%ebx, %edx
	jl	LBB0_8
## %bb.9:
	cmpl	%r14d, %eax
	jne	LBB0_11
## %bb.10:
	cmpl	%ebx, %edx
	je	LBB0_12
LBB0_11:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_ERR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	*16(%rax)
LBB0_12:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	%r12d, %r9d
	callq	_RE_UploadCinematic
	movq	_tr@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_GL_Bind
	movq	_r_speeds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_ri@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	callq	*(%r12)
	movq	_PRINT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	*8(%r12)
LBB0_14:
	xorl	%eax, %eax
	callq	_RB_SetGL2D
	movq	_tr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	movl	%edi, %edx
	callq	_qglColor3f
	movq	_GL_QUADS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_qglBegin
	cvtsi2ss	%r14d, %xmm3
	movss	%xmm3, -44(%rbp)                ## 4-byte Spill
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	cvtsi2ss	%ebx, %xmm2
	movss	%xmm2, -56(%rbp)                ## 4-byte Spill
	divss	%xmm3, %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	divss	%xmm2, %xmm1
	cvttss2si	%xmm1, %ebx
	movl	%ebx, %edi
	callq	_qglTexCoord2f
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_qglVertex2f
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm0
	addss	LCPI0_1(%rip), %xmm0
	divss	%xmm1, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	callq	_qglTexCoord2f
	addl	%r14d, %r13d
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_qglVertex2f
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	divss	%xmm0, %xmm1
	cvttss2si	%xmm1, %ebx
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%ebx, %edi
	callq	_qglTexCoord2f
	addl	%r12d, %r15d
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_qglVertex2f
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%ebx, %edi
	callq	_qglTexCoord2f
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_qglVertex2f
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qglEnd                         ## TAILCALL
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tr,24,3                        ## @tr
	.comm	_tess,8,3                       ## @tess
	.comm	_r_speeds,8,3                   ## @r_speeds
	.comm	_ri,24,3                        ## @ri
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Draw_StretchRaw: size not a power of 2: %i by %i"

	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
L_.str.1:                               ## @.str.1
	.asciz	"qglTexSubImage2D %i, %i: %i msec\n"

	.comm	_GL_QUADS,4,2                   ## @GL_QUADS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RE_StretchRaw                  ; -- Begin function RE_StretchRaw
	.p2align	2
_RE_StretchRaw:                         ; @RE_StretchRaw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
Lloh0:
	adrp	x8, _tr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x25, x7
	mov	x26, x6
	mov	x23, x5
	mov	x24, x4
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w27, [x29, #16]
	bl	_R_IssuePendingRenderCommands
Lloh3:
	adrp	x8, _tess@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tess@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_RB_EndSurface
LBB0_3:
	bl	_qglFinish
Lloh6:
	adrp	x8, _r_speeds@GOTPAGE
Lloh7:
	ldr	x8, [x8, _r_speeds@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _ri@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ri@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.4:
	mov	x28, x9
	ldr	x8, [x9]
	blr	x8
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_6:
	mov	x28, x9
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_7:
	mov	w9, #0
	mov	w10, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w10, w9
	add	w9, w9, #1
	cmp	w8, w24
	b.lt	LBB0_8
; %bb.9:
	mov	w9, #0
	mov	w11, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	lsl	w10, w11, w9
	add	w9, w9, #1
	cmp	w10, w23
	b.lt	LBB0_10
; %bb.11:
	cmp	w8, w24
	b.ne	LBB0_13
; %bb.12:
	cmp	w10, w23
	b.eq	LBB0_14
LBB0_13:
	ldr	x8, [x28, #16]
Lloh11:
	adrp	x9, _ERR_DROP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ERR_DROP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	mov	x3, x23
	blr	x8
LBB0_14:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x26
	mov	x5, x25
	mov	x6, x27
	bl	_RE_UploadCinematic
Lloh16:
	adrp	x26, _tr@GOTPAGE
Lloh17:
	ldr	x26, [x26, _tr@GOTPAGEOFF]
	ldr	x8, [x26, #8]
	ldr	w0, [x8, w25, sxtw #2]
	bl	_GL_Bind
Lloh18:
	adrp	x8, _r_speeds@GOTPAGE
Lloh19:
	ldr	x8, [x8, _r_speeds@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.15:
	ldr	x8, [x28]
	blr	x8
	ldr	x9, [x28, #8]
Lloh21:
	adrp	x8, _PRINT_ALL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PRINT_ALL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	sub	w4, w0, w10
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	mov	x2, x24
	mov	x3, x23
	blr	x9
LBB0_16:
	bl	_RB_SetGL2D
	ldr	w0, [x26]
	mov	x1, x0
	mov	x2, x0
	bl	_qglColor3f
Lloh26:
	adrp	x8, _GL_QUADS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GL_QUADS@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_qglBegin
	scvtf	s9, w24
	fmov	s0, #0.50000000
	fdiv	s8, s0, s9
	scvtf	s10, w23
	fdiv	s0, s0, s10
	fcvtzs	w23, s0
	fmov	s0, s8
	mov	x0, x23
	bl	_qglTexCoord2f
	mov	x0, x19
	mov	x1, x21
	bl	_qglVertex2f
	fmov	s11, #-0.50000000
	fadd	s0, s9, s11
	fdiv	s9, s0, s9
	fmov	s0, s9
	mov	x0, x23
	bl	_qglTexCoord2f
	add	w22, w22, w19
	mov	x0, x22
	mov	x1, x21
	bl	_qglVertex2f
	fadd	s0, s10, s11
	fdiv	s0, s0, s10
	fcvtzs	w23, s0
	fmov	s0, s9
	mov	x0, x23
	bl	_qglTexCoord2f
	add	w20, w20, w21
	mov	x0, x22
	mov	x1, x20
	bl	_qglVertex2f
	fmov	s0, s8
	mov	x0, x23
	bl	_qglTexCoord2f
	mov	x0, x19
	mov	x1, x20
	bl	_qglVertex2f
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_qglEnd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_tr,24,3                        ; @tr
	.comm	_tess,8,3                       ; @tess
	.comm	_r_speeds,8,3                   ; @r_speeds
	.comm	_ri,24,3                        ; @ri
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Draw_StretchRaw: size not a power of 2: %i by %i"

	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
l_.str.1:                               ; @.str.1
	.asciz	"qglTexSubImage2D %i, %i: %i msec\n"

	.comm	_GL_QUADS,4,2                   ; @GL_QUADS
.subsections_via_symbols
