	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function check_filter
LCPI0_0:
	.long	0xbf800000                      ## float -1
LCPI0_2:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_check_filter:                          ## @check_filter
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	*(%rbx)
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	leaq	-116(%rbp), %rsi
	movl	$1, %edi
	callq	*144(%rbx)
	movq	_GL_TEXTURE_2D@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	-116(%rbp), %esi
	callq	*32(%rbx)
	leaq	-112(%rbp), %rdi
	movq	%rdi, %r14
	movl	$126, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r12), %edi
	movq	_GL_RGBA8@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GL_RGBA@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_GL_UNSIGNED_INT_8_8_8_8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	$16, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%rax
	pushq	%r10
	callq	*136(%rbx)
	addq	$32, %rsp
	movl	(%r12), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_NEAREST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_WRAP_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_CLAMP_TO_EDGE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_WRAP_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_WRAP_R@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%r13), %edx
	callq	*128(%rbx)
	leaq	-124(%rbp), %rsi
	movl	$1, %edi
	callq	*144(%rbx)
	movl	(%r12), %edi
	movl	-124(%rbp), %esi
	callq	*32(%rbx)
	movl	(%r12), %edi
	movq	_GL_BGRA@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_GL_UNSIGNED_INT_8_8_8_8_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	_check_filter.data(%rip), %r11
	xorl	%esi, %esi
	movl	%r15d, -128(%rbp)               ## 4-byte Spill
	movl	%r15d, %edx
	movl	$2, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	pushq	%r11
	pushq	%rax
	pushq	%r10
	callq	*136(%rbx)
	addq	$32, %rsp
	movl	(%r12), %edi
	movq	_GL_TEXTURE_MIN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GL_LINEAR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_MAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_WRAP_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movq	_GL_TEXTURE_WRAP_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	movl	(%r14), %esi
	movl	(%r13), %edx
	callq	*128(%rbx)
	movl	(%r12), %edi
	callq	*120(%rbx)
	leaq	-120(%rbp), %rsi
	movl	$1, %edi
	callq	*176(%rbx)
	movq	_GL_FRAMEBUFFER@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	-120(%rbp), %esi
	callq	*160(%rbx)
	movl	(%r13), %edi
	movq	_GL_COLOR_ATTACHMENT0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%r12), %edx
	movl	-116(%rbp), %ecx
	xorl	%r8d, %r8d
	callq	*168(%rbx)
	movl	(%r14), %edi
	callq	*112(%rbx)
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$16, %edx
	movl	$1, %ecx
	callq	*104(%rbx)
	movq	_GL_LIGHTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	*8(%rbx)
	movq	_GL_MODELVIEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	*96(%rbx)
	xorl	%eax, %eax
	callq	*88(%rbx)
	movq	_GL_PROJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	*96(%rbx)
	xorl	%eax, %eax
	callq	*88(%rbx)
	xorl	%edi, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*80(%rbx)
	movq	_GL_COLOR_BUFFER_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	*72(%rbx)
	movq	_GL_TRIANGLE_STRIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	*64(%rbx)
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	*56(%rbx)
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	callq	*48(%rbx)
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	callq	*56(%rbx)
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	*48(%rbx)
	xorps	%xmm0, %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	*56(%rbx)
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	*48(%rbx)
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	*56(%rbx)
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	callq	*48(%rbx)
	xorl	%eax, %eax
	callq	*40(%rbx)
	movl	(%r12), %edi
	movl	-116(%rbp), %esi
	callq	*32(%rbx)
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	$127, %esi
	movl	$64, %edx
	callq	_memset
	movl	(%r12), %edi
	movq	_GL_BGRA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GL_UNSIGNED_INT_8_8_8_8_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	movq	%r14, %r8
	callq	*24(%rbx)
	movl	-88(%rbp), %edi
	movl	$-1, %esi
	movl	$5, %edx
	callq	_color_match
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	-88(%rbp), %edi
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_color_match
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movl	-76(%rbp), %edi
	movl	$-1, %esi
	movl	$5, %edx
	callq	_color_match
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	-76(%rbp), %edi
	xorl	%esi, %esi
	movl	$5, %edx
	callq	_color_match
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movl	-88(%rbp), %esi
	movl	-76(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r15d
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	*160(%rbx)
	leaq	-120(%rbp), %rsi
	movl	$1, %edi
	callq	*152(%rbx)
	leaq	-124(%rbp), %rsi
	movl	$1, %edi
	callq	*16(%rbx)
	leaq	-116(%rbp), %rsi
	movl	$1, %edi
	callq	*16(%rbx)
	movl	(%r12), %edi
	callq	*8(%rbx)
	xorl	%eax, %eax
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movl	-128(%rbp), %esi                ## 4-byte Reload
	callq	_FIXME
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-88(%rbp), %esi
	movl	-76(%rbp), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_TRACE
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @check_filter.data
_check_filter.data:
	.long	0                               ## 0x0
	.long	4294967295                      ## 0xffffffff

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_GL_TEXTURE_2D,4,2              ## @GL_TEXTURE_2D
	.comm	_GL_RGBA8,4,2                   ## @GL_RGBA8
	.comm	_GL_RGBA,4,2                    ## @GL_RGBA
	.comm	_GL_UNSIGNED_INT_8_8_8_8,4,2    ## @GL_UNSIGNED_INT_8_8_8_8
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ## @GL_TEXTURE_MIN_FILTER
	.comm	_GL_NEAREST,4,2                 ## @GL_NEAREST
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ## @GL_TEXTURE_MAG_FILTER
	.comm	_GL_TEXTURE_WRAP_S,4,2          ## @GL_TEXTURE_WRAP_S
	.comm	_GL_CLAMP_TO_EDGE,4,2           ## @GL_CLAMP_TO_EDGE
	.comm	_GL_TEXTURE_WRAP_T,4,2          ## @GL_TEXTURE_WRAP_T
	.comm	_GL_TEXTURE_WRAP_R,4,2          ## @GL_TEXTURE_WRAP_R
	.comm	_GL_BGRA,4,2                    ## @GL_BGRA
	.comm	_GL_UNSIGNED_INT_8_8_8_8_REV,4,2 ## @GL_UNSIGNED_INT_8_8_8_8_REV
	.comm	_GL_LINEAR,4,2                  ## @GL_LINEAR
	.comm	_GL_FRAMEBUFFER,4,2             ## @GL_FRAMEBUFFER
	.comm	_GL_COLOR_ATTACHMENT0,4,2       ## @GL_COLOR_ATTACHMENT0
	.comm	_GL_LIGHTING,4,2                ## @GL_LIGHTING
	.comm	_GL_MODELVIEW,4,2               ## @GL_MODELVIEW
	.comm	_GL_PROJECTION,4,2              ## @GL_PROJECTION
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ## @GL_COLOR_BUFFER_BIT
	.comm	_GL_TRIANGLE_STRIP,4,2          ## @GL_TRIANGLE_STRIP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read back colors 0x%08x and 0x%08x close to unfiltered color, assuming no filtering\n"

L_.str.1:                               ## @.str.1
	.asciz	"Read back colors are 0x%08x and 0x%08x, assuming texture is filtered\n"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"Error during filtering test for format %x, returning no filtering\n"

	.no_dead_strip	_check_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_filter
_check_filter:                          ; @check_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	str	w1, [sp, #8]                    ; 4-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	blr	x8
	cbnz	x0, LBB0_1
; %bb.2:
	ldr	x8, [x20, #144]
	add	x1, sp, #12
	mov	w0, #1
	blr	x8
	ldr	x8, [x20, #32]
Lloh3:
	adrp	x22, _GL_TEXTURE_2D@GOTPAGE
Lloh4:
	ldr	x22, [x22, _GL_TEXTURE_2D@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [sp, #12]
	blr	x8
	add	x19, sp, #24
	add	x0, sp, #24
	mov	w1, #126
	mov	w2, #64
	bl	_memset
	ldr	x8, [x20, #136]
	ldr	w0, [x22]
Lloh5:
	adrp	x9, _GL_RGBA8@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GL_RGBA8@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
Lloh8:
	adrp	x9, _GL_RGBA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GL_RGBA@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x9]
Lloh11:
	adrp	x9, _GL_UNSIGNED_INT_8_8_8_8@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GL_UNSIGNED_INT_8_8_8_8@GOTPAGEOFF]
Lloh13:
	ldr	w7, [x9]
	str	x19, [sp]
	mov	w1, #0
	mov	w3, #16
	mov	w4, #1
	mov	w5, #0
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
Lloh14:
	adrp	x25, _GL_TEXTURE_MIN_FILTER@GOTPAGE
Lloh15:
	ldr	x25, [x25, _GL_TEXTURE_MIN_FILTER@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh16:
	adrp	x19, _GL_NEAREST@GOTPAGE
Lloh17:
	ldr	x19, [x19, _GL_NEAREST@GOTPAGEOFF]
	ldr	w2, [x19]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
Lloh18:
	adrp	x26, _GL_TEXTURE_MAG_FILTER@GOTPAGE
Lloh19:
	ldr	x26, [x26, _GL_TEXTURE_MAG_FILTER@GOTPAGEOFF]
	ldr	w1, [x26]
	ldr	w2, [x19]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
Lloh20:
	adrp	x27, _GL_TEXTURE_WRAP_S@GOTPAGE
Lloh21:
	ldr	x27, [x27, _GL_TEXTURE_WRAP_S@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh22:
	adrp	x23, _GL_CLAMP_TO_EDGE@GOTPAGE
Lloh23:
	ldr	x23, [x23, _GL_CLAMP_TO_EDGE@GOTPAGEOFF]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
Lloh24:
	adrp	x28, _GL_TEXTURE_WRAP_T@GOTPAGE
Lloh25:
	ldr	x28, [x28, _GL_TEXTURE_WRAP_T@GOTPAGEOFF]
	ldr	w1, [x28]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
Lloh26:
	adrp	x19, _GL_TEXTURE_WRAP_R@GOTPAGE
Lloh27:
	ldr	x19, [x19, _GL_TEXTURE_WRAP_R@GOTPAGEOFF]
	ldr	w1, [x19]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x20, #144]
	add	x1, sp, #20
	mov	w0, #1
	blr	x8
	ldr	x8, [x20, #32]
	ldr	w0, [x22]
	ldr	w1, [sp, #20]
	blr	x8
	ldr	x8, [x20, #136]
	ldr	w0, [x22]
Lloh28:
	adrp	x21, _GL_BGRA@GOTPAGE
Lloh29:
	ldr	x21, [x21, _GL_BGRA@GOTPAGEOFF]
	ldr	w6, [x21]
Lloh30:
	adrp	x24, _GL_UNSIGNED_INT_8_8_8_8_REV@GOTPAGE
Lloh31:
	ldr	x24, [x24, _GL_UNSIGNED_INT_8_8_8_8_REV@GOTPAGEOFF]
	ldr	w7, [x24]
Lloh32:
	adrp	x9, _check_filter.data@PAGE
Lloh33:
	add	x9, x9, _check_filter.data@PAGEOFF
	str	x9, [sp]
	mov	w1, #0
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	mov	w3, #2
	mov	w4, #1
	mov	w5, #0
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
	ldr	w1, [x25]
Lloh34:
	adrp	x25, _GL_LINEAR@GOTPAGE
Lloh35:
	ldr	x25, [x25, _GL_LINEAR@GOTPAGEOFF]
	ldr	w2, [x25]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
	ldr	w1, [x26]
	ldr	w2, [x25]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
	ldr	w1, [x27]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
	ldr	w1, [x28]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x20, #128]
	ldr	w0, [x22]
	ldr	w1, [x19]
	ldr	w2, [x23]
	blr	x8
	ldr	x8, [x20, #120]
	ldr	w0, [x22]
	blr	x8
	ldr	x8, [x20, #176]
	add	x1, sp, #16
	mov	w0, #1
	blr	x8
	ldr	x8, [x20, #160]
Lloh36:
	adrp	x23, _GL_FRAMEBUFFER@GOTPAGE
Lloh37:
	ldr	x23, [x23, _GL_FRAMEBUFFER@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [sp, #16]
	blr	x8
	ldr	x8, [x20, #168]
	ldr	w0, [x23]
Lloh38:
	adrp	x19, _GL_COLOR_ATTACHMENT0@GOTPAGE
Lloh39:
	ldr	x19, [x19, _GL_COLOR_ATTACHMENT0@GOTPAGEOFF]
	ldr	w1, [x19]
	ldr	w2, [x22]
	ldr	w3, [sp, #12]
	mov	w4, #0
	blr	x8
	ldr	x8, [x20, #112]
	ldr	w0, [x19]
	blr	x8
	ldr	x8, [x20, #104]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #16
	mov	w3, #1
	blr	x8
	ldr	x8, [x20, #8]
Lloh40:
	adrp	x9, _GL_LIGHTING@GOTPAGE
Lloh41:
	ldr	x9, [x9, _GL_LIGHTING@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x20, #96]
Lloh43:
	adrp	x9, _GL_MODELVIEW@GOTPAGE
Lloh44:
	ldr	x9, [x9, _GL_MODELVIEW@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x20, #88]
	blr	x8
	ldr	x8, [x20, #96]
Lloh46:
	adrp	x9, _GL_PROJECTION@GOTPAGE
Lloh47:
	ldr	x9, [x9, _GL_PROJECTION@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x20, #88]
	blr	x8
	ldr	x8, [x20, #80]
	mov	w0, #0
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	blr	x8
	ldr	x8, [x20, #72]
Lloh49:
	adrp	x9, _GL_COLOR_BUFFER_BIT@GOTPAGE
Lloh50:
	ldr	x9, [x9, _GL_COLOR_BUFFER_BIT@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x20, #64]
Lloh52:
	adrp	x9, _GL_TRIANGLE_STRIP@GOTPAGE
Lloh53:
	ldr	x9, [x9, _GL_TRIANGLE_STRIP@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x20, #56]
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	blr	x8
	ldr	x8, [x20, #48]
	fmov	s0, #-1.00000000
	fmov	s1, #-1.00000000
	blr	x8
	ldr	x8, [x20, #56]
	fmov	d0, #1.00000000
	movi	d1, #0000000000000000
	blr	x8
	ldr	x8, [x20, #48]
	fmov	s0, #1.00000000
	fmov	s1, #-1.00000000
	blr	x8
	ldr	x8, [x20, #56]
	movi	d0, #0000000000000000
	fmov	d1, #1.00000000
	blr	x8
	ldr	x8, [x20, #48]
	fmov	s0, #-1.00000000
	fmov	s1, #1.00000000
	blr	x8
	ldr	x8, [x20, #56]
	fmov	d0, #1.00000000
	fmov	d1, #1.00000000
	blr	x8
	ldr	x8, [x20, #48]
	fmov	s0, #1.00000000
	fmov	s1, #1.00000000
	blr	x8
	ldr	x8, [x20, #40]
	blr	x8
	ldr	x8, [x20, #32]
	ldr	w0, [x22]
	ldr	w1, [sp, #12]
	blr	x8
	add	x0, sp, #24
	mov	w1, #127
	mov	w2, #64
	bl	_memset
	ldr	x8, [x20, #24]
	ldr	w0, [x22]
	ldr	w2, [x21]
	ldr	w3, [x24]
	add	x4, sp, #24
	mov	w1, #0
	blr	x8
	ldr	w0, [sp, #48]
	mov	w1, #-1
	mov	w2, #5
	bl	_color_match
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	w0, [sp, #48]
	mov	w1, #0
	mov	w2, #5
	bl	_color_match
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	w0, [sp, #60]
	mov	w1, #-1
	mov	w2, #5
	bl	_color_match
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [sp, #60]
	mov	w1, #0
	mov	w2, #5
	bl	_color_match
	cbz	x0, LBB0_11
LBB0_6:
	ldr	w1, [sp, #48]
	ldr	w2, [sp, #60]
Lloh55:
	adrp	x0, l_.str@PAGE
Lloh56:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh57:
	adrp	x8, _FALSE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_7:
	ldr	w21, [x8]
	ldr	x8, [x20, #160]
	ldr	w0, [x23]
	mov	w1, #0
	blr	x8
	ldr	x8, [x20, #152]
	add	x1, sp, #16
	mov	w0, #1
	blr	x8
	ldr	x8, [x20, #16]
	add	x1, sp, #20
	mov	w0, #1
	blr	x8
	ldr	x8, [x20, #16]
	add	x1, sp, #12
	mov	w0, #1
	blr	x8
	ldr	x8, [x20, #8]
	ldr	w0, [x22]
	blr	x8
	ldr	x8, [x20]
	blr	x8
	cbz	x0, LBB0_9
; %bb.8:
Lloh59:
	adrp	x19, _FALSE@GOTPAGE
Lloh60:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
Lloh61:
	adrp	x0, l_.str.2@PAGE
Lloh62:
	add	x0, x0, l_.str.2@PAGEOFF
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	bl	_FIXME
Lloh63:
	ldr	w21, [x19]
LBB0_9:
	ldr	x8, [sp, #88]
Lloh64:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh65:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_11:
	ldr	w1, [sp, #48]
	ldr	w2, [sp, #60]
Lloh67:
	adrp	x0, l_.str.1@PAGE
Lloh68:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
Lloh69:
	adrp	x8, _TRUE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_7
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @check_filter.data
_check_filter.data:
	.long	0                               ; 0x0
	.long	4294967295                      ; 0xffffffff

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_GL_TEXTURE_2D,4,2              ; @GL_TEXTURE_2D
	.comm	_GL_RGBA8,4,2                   ; @GL_RGBA8
	.comm	_GL_RGBA,4,2                    ; @GL_RGBA
	.comm	_GL_UNSIGNED_INT_8_8_8_8,4,2    ; @GL_UNSIGNED_INT_8_8_8_8
	.comm	_GL_TEXTURE_MIN_FILTER,4,2      ; @GL_TEXTURE_MIN_FILTER
	.comm	_GL_NEAREST,4,2                 ; @GL_NEAREST
	.comm	_GL_TEXTURE_MAG_FILTER,4,2      ; @GL_TEXTURE_MAG_FILTER
	.comm	_GL_TEXTURE_WRAP_S,4,2          ; @GL_TEXTURE_WRAP_S
	.comm	_GL_CLAMP_TO_EDGE,4,2           ; @GL_CLAMP_TO_EDGE
	.comm	_GL_TEXTURE_WRAP_T,4,2          ; @GL_TEXTURE_WRAP_T
	.comm	_GL_TEXTURE_WRAP_R,4,2          ; @GL_TEXTURE_WRAP_R
	.comm	_GL_BGRA,4,2                    ; @GL_BGRA
	.comm	_GL_UNSIGNED_INT_8_8_8_8_REV,4,2 ; @GL_UNSIGNED_INT_8_8_8_8_REV
	.comm	_GL_LINEAR,4,2                  ; @GL_LINEAR
	.comm	_GL_FRAMEBUFFER,4,2             ; @GL_FRAMEBUFFER
	.comm	_GL_COLOR_ATTACHMENT0,4,2       ; @GL_COLOR_ATTACHMENT0
	.comm	_GL_LIGHTING,4,2                ; @GL_LIGHTING
	.comm	_GL_MODELVIEW,4,2               ; @GL_MODELVIEW
	.comm	_GL_PROJECTION,4,2              ; @GL_PROJECTION
	.comm	_GL_COLOR_BUFFER_BIT,4,2        ; @GL_COLOR_BUFFER_BIT
	.comm	_GL_TRIANGLE_STRIP,4,2          ; @GL_TRIANGLE_STRIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read back colors 0x%08x and 0x%08x close to unfiltered color, assuming no filtering\n"

l_.str.1:                               ; @.str.1
	.asciz	"Read back colors are 0x%08x and 0x%08x, assuming texture is filtered\n"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"Error during filtering test for format %x, returning no filtering\n"

	.no_dead_strip	_check_filter
.subsections_via_symbols
