	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isLegalFormatForPackedPixelType
_isLegalFormatForPackedPixelType:       ## @isLegalFormatForPackedPixelType
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_isTypePackedPixel
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GL_UNSIGNED_BYTE_3_3_2@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	setne	%al
	movq	_GL_UNSIGNED_BYTE_2_3_3_REV@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	setne	%cl
	andb	%al, %cl
	movq	_GL_UNSIGNED_SHORT_5_6_5@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	setne	%al
	andb	%cl, %al
	movq	_GL_UNSIGNED_SHORT_5_6_5_REV@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	setne	%cl
	testb	%cl, %al
	jne	LBB0_5
## %bb.3:
	movq	_GL_RGB@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_GL_FALSE@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_1:
	movq	_GL_TRUE@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_5:
	movq	_GL_UNSIGNED_SHORT_4_4_4_4@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_GL_UNSIGNED_SHORT_4_4_4_4_REV@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_GL_UNSIGNED_SHORT_5_5_5_1@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_GL_UNSIGNED_SHORT_1_5_5_5_REV@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_GL_UNSIGNED_INT_8_8_8_8@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_GL_UNSIGNED_INT_8_8_8_8_REV@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_GL_UNSIGNED_INT_10_10_10_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_GL_UNSIGNED_INT_2_10_10_10_REV@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_GL_RGBA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_GL_BGRA@GOTPCREL(%rip), %r13
	movq	_GL_TRUE@GOTPCREL(%rip), %rdx
	movq	%rdx, %rax
	cmpq	%r14, (%r13)
	je	LBB0_7
## %bb.6:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	cmpq	%r14, %rsi
	cmoveq	%rdx, %rax
	cmpq	%rbx, %rcx
	cmoveq	%rax, %rdx
	cmpq	%rbx, %rdi
	cmoveq	%rax, %rdx
	cmpq	%rbx, %r12
	cmoveq	%rax, %rdx
	cmpq	%rbx, %r15
	cmoveq	%rax, %rdx
	cmpq	%rbx, %r11
	cmoveq	%rax, %rdx
	cmpq	%rbx, %r10
	cmoveq	%rax, %rdx
	cmpq	%rbx, %r9
	cmoveq	%rax, %rdx
	cmpq	%rbx, %r8
	cmoveq	%rax, %rdx
LBB0_8:
	movl	(%rdx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.comm	_GL_UNSIGNED_BYTE_3_3_2,8,3     ## @GL_UNSIGNED_BYTE_3_3_2
	.comm	_GL_UNSIGNED_BYTE_2_3_3_REV,8,3 ## @GL_UNSIGNED_BYTE_2_3_3_REV
	.comm	_GL_UNSIGNED_SHORT_5_6_5,8,3    ## @GL_UNSIGNED_SHORT_5_6_5
	.comm	_GL_UNSIGNED_SHORT_5_6_5_REV,8,3 ## @GL_UNSIGNED_SHORT_5_6_5_REV
	.comm	_GL_RGB,8,3                     ## @GL_RGB
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_GL_UNSIGNED_SHORT_4_4_4_4,8,3  ## @GL_UNSIGNED_SHORT_4_4_4_4
	.comm	_GL_UNSIGNED_SHORT_4_4_4_4_REV,8,3 ## @GL_UNSIGNED_SHORT_4_4_4_4_REV
	.comm	_GL_UNSIGNED_SHORT_5_5_5_1,8,3  ## @GL_UNSIGNED_SHORT_5_5_5_1
	.comm	_GL_UNSIGNED_SHORT_1_5_5_5_REV,8,3 ## @GL_UNSIGNED_SHORT_1_5_5_5_REV
	.comm	_GL_UNSIGNED_INT_8_8_8_8,8,3    ## @GL_UNSIGNED_INT_8_8_8_8
	.comm	_GL_UNSIGNED_INT_8_8_8_8_REV,8,3 ## @GL_UNSIGNED_INT_8_8_8_8_REV
	.comm	_GL_UNSIGNED_INT_10_10_10_2,8,3 ## @GL_UNSIGNED_INT_10_10_10_2
	.comm	_GL_UNSIGNED_INT_2_10_10_10_REV,8,3 ## @GL_UNSIGNED_INT_2_10_10_10_REV
	.comm	_GL_RGBA,8,3                    ## @GL_RGBA
	.comm	_GL_BGRA,8,3                    ## @GL_BGRA
	.no_dead_strip	_isLegalFormatForPackedPixelType
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isLegalFormatForPackedPixelType
_isLegalFormatForPackedPixelType:       ; @isLegalFormatForPackedPixelType
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_isTypePackedPixel
Lloh0:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
	cbz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _GL_UNSIGNED_BYTE_3_3_2@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GL_UNSIGNED_BYTE_3_3_2@GOTPAGEOFF]
Lloh4:
	adrp	x10, _GL_UNSIGNED_BYTE_2_3_3_REV@GOTPAGE
Lloh5:
	ldr	x10, [x10, _GL_UNSIGNED_BYTE_2_3_3_REV@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _GL_UNSIGNED_SHORT_5_6_5@GOTPAGE
Lloh9:
	ldr	x11, [x11, _GL_UNSIGNED_SHORT_5_6_5@GOTPAGEOFF]
Lloh10:
	adrp	x12, _GL_UNSIGNED_SHORT_5_6_5_REV@GOTPAGE
Lloh11:
	ldr	x12, [x12, _GL_UNSIGNED_SHORT_5_6_5_REV@GOTPAGEOFF]
Lloh12:
	ldr	x11, [x11]
Lloh13:
	ldr	x12, [x12]
	cmp	x12, x20
	ccmp	x11, x20, #4, ne
	ccmp	x10, x20, #4, ne
	ccmp	x9, x20, #4, ne
Lloh14:
	adrp	x9, _GL_RGB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GL_RGB@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x9]
Lloh17:
	adrp	x9, _GL_FALSE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _GL_FALSE@GOTPAGEOFF]
	ccmp	x10, x19, #4, eq
	b.ne	LBB0_4
; %bb.2:
Lloh19:
	adrp	x10, _GL_UNSIGNED_SHORT_4_4_4_4@GOTPAGE
Lloh20:
	ldr	x10, [x10, _GL_UNSIGNED_SHORT_4_4_4_4@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
Lloh22:
	adrp	x11, _GL_UNSIGNED_SHORT_4_4_4_4_REV@GOTPAGE
Lloh23:
	ldr	x11, [x11, _GL_UNSIGNED_SHORT_4_4_4_4_REV@GOTPAGEOFF]
	cmp	x10, x20
Lloh24:
	ldr	x10, [x11]
	ccmp	x10, x20, #4, ne
Lloh25:
	adrp	x10, _GL_UNSIGNED_SHORT_5_5_5_1@GOTPAGE
Lloh26:
	ldr	x10, [x10, _GL_UNSIGNED_SHORT_5_5_5_1@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	ccmp	x10, x20, #4, ne
Lloh28:
	adrp	x10, _GL_UNSIGNED_SHORT_1_5_5_5_REV@GOTPAGE
Lloh29:
	ldr	x10, [x10, _GL_UNSIGNED_SHORT_1_5_5_5_REV@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
Lloh31:
	adrp	x11, _GL_UNSIGNED_INT_8_8_8_8@GOTPAGE
Lloh32:
	ldr	x11, [x11, _GL_UNSIGNED_INT_8_8_8_8@GOTPAGEOFF]
	ccmp	x10, x20, #4, ne
Lloh33:
	ldr	x10, [x11]
	ccmp	x10, x20, #4, ne
Lloh34:
	adrp	x10, _GL_UNSIGNED_INT_8_8_8_8_REV@GOTPAGE
Lloh35:
	ldr	x10, [x10, _GL_UNSIGNED_INT_8_8_8_8_REV@GOTPAGEOFF]
Lloh36:
	ldr	x10, [x10]
	ccmp	x10, x20, #4, ne
Lloh37:
	adrp	x10, _GL_UNSIGNED_INT_10_10_10_2@GOTPAGE
Lloh38:
	ldr	x10, [x10, _GL_UNSIGNED_INT_10_10_10_2@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
Lloh40:
	adrp	x11, _GL_UNSIGNED_INT_2_10_10_10_REV@GOTPAGE
Lloh41:
	ldr	x11, [x11, _GL_UNSIGNED_INT_2_10_10_10_REV@GOTPAGEOFF]
	ccmp	x10, x20, #4, ne
Lloh42:
	ldr	x10, [x11]
	ccmp	x10, x20, #4, ne
Lloh43:
	adrp	x10, _GL_RGBA@GOTPAGE
Lloh44:
	ldr	x10, [x10, _GL_RGBA@GOTPAGEOFF]
Lloh45:
	ldr	x10, [x10]
	ccmp	x10, x19, #4, eq
Lloh46:
	adrp	x10, _GL_BGRA@GOTPAGE
Lloh47:
	ldr	x10, [x10, _GL_BGRA@GOTPAGEOFF]
Lloh48:
	ldr	x10, [x10]
	ccmp	x10, x19, #4, ne
	csel	x9, x8, x9, eq
	b	LBB0_4
LBB0_3:
	mov	x9, x8
LBB0_4:
	ldr	w0, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.comm	_GL_UNSIGNED_BYTE_3_3_2,8,3     ; @GL_UNSIGNED_BYTE_3_3_2
	.comm	_GL_UNSIGNED_BYTE_2_3_3_REV,8,3 ; @GL_UNSIGNED_BYTE_2_3_3_REV
	.comm	_GL_UNSIGNED_SHORT_5_6_5,8,3    ; @GL_UNSIGNED_SHORT_5_6_5
	.comm	_GL_UNSIGNED_SHORT_5_6_5_REV,8,3 ; @GL_UNSIGNED_SHORT_5_6_5_REV
	.comm	_GL_RGB,8,3                     ; @GL_RGB
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GL_UNSIGNED_SHORT_4_4_4_4,8,3  ; @GL_UNSIGNED_SHORT_4_4_4_4
	.comm	_GL_UNSIGNED_SHORT_4_4_4_4_REV,8,3 ; @GL_UNSIGNED_SHORT_4_4_4_4_REV
	.comm	_GL_UNSIGNED_SHORT_5_5_5_1,8,3  ; @GL_UNSIGNED_SHORT_5_5_5_1
	.comm	_GL_UNSIGNED_SHORT_1_5_5_5_REV,8,3 ; @GL_UNSIGNED_SHORT_1_5_5_5_REV
	.comm	_GL_UNSIGNED_INT_8_8_8_8,8,3    ; @GL_UNSIGNED_INT_8_8_8_8
	.comm	_GL_UNSIGNED_INT_8_8_8_8_REV,8,3 ; @GL_UNSIGNED_INT_8_8_8_8_REV
	.comm	_GL_UNSIGNED_INT_10_10_10_2,8,3 ; @GL_UNSIGNED_INT_10_10_10_2
	.comm	_GL_UNSIGNED_INT_2_10_10_10_REV,8,3 ; @GL_UNSIGNED_INT_2_10_10_10_REV
	.comm	_GL_RGBA,8,3                    ; @GL_RGBA
	.comm	_GL_BGRA,8,3                    ; @GL_BGRA
	.no_dead_strip	_isLegalFormatForPackedPixelType
.subsections_via_symbols
