	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function FBO_BlitFromTexture
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_FBO_BlitFromTexture
	.p2align	4, 0x90
_FBO_BlitFromTexture:                   ## @FBO_BlitFromTexture
	.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
	testq	%rdi, %rdi
	jne	LBB0_1
## %bb.11:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PRINT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_glConfig@GOTPCREL(%rip), %rax
	addq	$4, %rcx
	leaq	4(%rax), %rdx
	testq	%r12, %r12
	cmovneq	%r12, %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmoveq	%rdx, %rcx
	movl	(%rcx), %r15d
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	cvtsi2ssl	(%r14), %xmm0
	cvtsi2ssl	4(%r14), %xmm1
	callq	_VectorSet2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	8(%r14), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	4(%r14), %xmm1
	callq	_VectorSet2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	8(%r14), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	12(%r14), %xmm1
	callq	_VectorSet2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%r14), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ssl	12(%r14), %xmm1
	jmp	LBB0_4
LBB0_3:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	callq	_VectorSet2
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	callq	_VectorSet2
	xorps	%xmm1, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_VectorSet2
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
LBB0_4:
	callq	_VectorSet2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-44(%rbp), %xmm0        ## 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_VectorSet4
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	_VectorCopy2
	jmp	LBB0_7
LBB0_6:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	callq	_VectorSet2
LBB0_7:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_9:
	movq	_colorWhite@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_10:
	callq	_VectorCopy4
	movq	%r12, %rdi
	callq	_FBO_Bind
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_qglViewport
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_qglScissor
	xorl	%edi, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_Mat4Ortho
	movq	_CT_TWO_SIDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GL_Cull
	movq	_TB_COLORMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GL_BindToTMU
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	callq	_VectorSet4
	xorps	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_VectorSet4
	xorps	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_VectorSet4
	xorps	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_VectorSet4
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_glState,8,3                    ## @glState
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_WARNING,4,2              ## @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tried to blit from a NULL texture!\n"

	.comm	_glConfig,8,2                   ## @glConfig
	.comm	_colorWhite,8,3                 ## @colorWhite
	.comm	_tr,24,3                        ## @tr
	.comm	_CT_TWO_SIDED,4,2               ## @CT_TWO_SIDED
	.comm	_TB_COLORMAP,4,2                ## @TB_COLORMAP
	.comm	_UNIFORM_MODELVIEWPROJECTIONMATRIX,4,2 ## @UNIFORM_MODELVIEWPROJECTIONMATRIX
	.comm	_UNIFORM_COLOR,4,2              ## @UNIFORM_COLOR
	.comm	_UNIFORM_INVTEXRES,4,2          ## @UNIFORM_INVTEXRES
	.comm	_UNIFORM_AUTOEXPOSUREMINMAX,4,2 ## @UNIFORM_AUTOEXPOSUREMINMAX
	.comm	_UNIFORM_TONEMINAVGMAXLINEAR,4,2 ## @UNIFORM_TONEMINAVGMAXLINEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FBO_BlitFromTexture            ; -- Begin function FBO_BlitFromTexture
	.p2align	2
_FBO_BlitFromTexture:                   ; @FBO_BlitFromTexture
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ri@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PRINT_WARNING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PRINT_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x8]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	br	x2
LBB0_2:
	stp	x2, x6, [sp, #16]               ; 16-byte Folded Spill
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh8:
	adrp	x8, _glConfig@GOTPAGE
Lloh9:
	ldr	x8, [x8, _glConfig@GOTPAGEOFF]
	cmp	x3, #0
	csel	x9, x8, x3, eq
	ldr	w19, [x9]
	str	x3, [sp]                        ; 8-byte Folded Spill
	add	x9, x3, #4
	add	x8, x8, #4
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
	cbz	x1, LBB0_4
; %bb.3:
	mov	x8, x1
	mov	x21, x1
	ldp	s0, s1, [x8]
	scvtf	s0, s0
	scvtf	s1, s1
	bl	_VectorSet2
	ldp	s1, s0, [x21, #4]
	scvtf	s0, s0
	scvtf	s1, s1
	bl	_VectorSet2
	ldp	s0, s1, [x21, #8]
	scvtf	s0, s0
	scvtf	s1, s1
	bl	_VectorSet2
	ldr	s0, [x21]
	scvtf	s0, s0
	ldr	s1, [x21, #12]
	scvtf	s1, s1
	b	LBB0_5
LBB0_4:
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_VectorSet2
	fmov	s0, #1.00000000
	fmov	s1, #1.00000000
	bl	_VectorSet2
	fmov	s0, #1.00000000
	movi	d1, #0000000000000000
	bl	_VectorSet2
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
LBB0_5:
	bl	_VectorSet2
	scvtf	s0, w19
	movi	d1, #0000000000000000
	mov	w1, #0
	mov	x2, x20
	bl	_VectorSet4
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_VectorCopy2
	b	LBB0_8
LBB0_7:
	fmov	s0, #1.00000000
	fmov	s1, #1.00000000
	bl	_VectorSet2
LBB0_8:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	b	LBB0_11
LBB0_10:
Lloh10:
	adrp	x8, _colorWhite@GOTPAGE
Lloh11:
	ldr	x8, [x8, _colorWhite@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
LBB0_11:
	bl	_VectorCopy4
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	bl	_FBO_Bind
	mov	w0, #0
	mov	w1, #0
	mov	x2, x19
	mov	x3, x20
	bl	_qglViewport
	mov	w0, #0
	mov	w1, #0
	mov	x2, x19
	mov	x3, x20
	bl	_qglScissor
	mov	w0, #0
	mov	x1, x19
	mov	x2, x20
	mov	w3, #0
	mov	w4, #0
	mov	w5, #1
	bl	_Mat4Ortho
Lloh13:
	adrp	x8, _CT_TWO_SIDED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CT_TWO_SIDED@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_GL_Cull
Lloh16:
	adrp	x8, _TB_COLORMAP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TB_COLORMAP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_GL_BindToTMU
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_VectorSet4
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_VectorSet4
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_VectorSet4
	movi	d0, #0000000000000000
	fmov	s1, #1.00000000
	bl	_VectorSet4
	brk	#0x1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_glState,8,3                    ; @glState
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_WARNING,4,2              ; @PRINT_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tried to blit from a NULL texture!\n"

	.comm	_glConfig,8,2                   ; @glConfig
	.comm	_colorWhite,8,3                 ; @colorWhite
	.comm	_tr,24,3                        ; @tr
	.comm	_CT_TWO_SIDED,4,2               ; @CT_TWO_SIDED
	.comm	_TB_COLORMAP,4,2                ; @TB_COLORMAP
	.comm	_UNIFORM_MODELVIEWPROJECTIONMATRIX,4,2 ; @UNIFORM_MODELVIEWPROJECTIONMATRIX
	.comm	_UNIFORM_COLOR,4,2              ; @UNIFORM_COLOR
	.comm	_UNIFORM_INVTEXRES,4,2          ; @UNIFORM_INVTEXRES
	.comm	_UNIFORM_AUTOEXPOSUREMINMAX,4,2 ; @UNIFORM_AUTOEXPOSUREMINMAX
	.comm	_UNIFORM_TONEMINAVGMAXLINEAR,4,2 ; @UNIFORM_TONEMINAVGMAXLINEAR
.subsections_via_symbols
