	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gl_SelectBuffer
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_SelectBuffer
	.p2align	4, 0x90
_gl_SelectBuffer:                       ## @gl_SelectBuffer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gl_error
LBB0_2:
	movq	(%rbx), %rax
	movq	_GL_SELECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gl_error
LBB0_4:
	movq	%r15, 48(%rbx)
	movl	%r14d, 40(%rbx)
	movq	$0, 32(%rbx)
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movups	%xmm0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glSelectBuffer"

	.comm	_GL_SELECT,8,3                  ## @GL_SELECT
	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function gl_SelectBuffer
lCPI0_0:
	.quad	0x3ff0000000000000              ; double 1
	.quad	0x0000000000000000              ; double 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gl_SelectBuffer
	.p2align	2
_gl_SelectBuffer:                       ; @gl_SelectBuffer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_INSIDE_BEGIN_END
Lloh0:
	adrp	x22, _GL_INVALID_OPERATION@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GL_INVALID_OPERATION@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x22]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gl_error
LBB0_2:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _GL_SELECT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GL_SELECT@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x22]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gl_error
LBB0_4:
	str	x21, [x19, #48]
	str	w20, [x19, #40]
Lloh9:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
	str	xzr, [x19, #32]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glSelectBuffer"

	.comm	_GL_SELECT,8,3                  ; @GL_SELECT
	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
.subsections_via_symbols
