	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_ReadBuffer                  ## -- Begin function gl_ReadBuffer
	.p2align	4, 0x90
_gl_ReadBuffer:                         ## @gl_ReadBuffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_INSIDE_BEGIN_END
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gl_error                       ## TAILCALL
LBB0_3:
	leal	-128(%r14), %eax
	cmpl	$8, %eax
	ja	LBB0_13
## %bb.4:
	movl	$295, %ecx                      ## imm = 0x127
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.12:
	movq	_GL_INVALID_OPERATION@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_gl_error
	jmp	LBB0_15
LBB0_5:
	movl	$24, %ecx
	movq	%rbx, %rdi
	btl	%eax, %ecx
	jae	LBB0_10
## %bb.6:
	movl	$132, %esi
	callq	*8(%rbx)
	movq	_GL_FALSE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.8:
	movl	%r14d, 32(%rbx)
	movq	24(%rbx), %rax
	movl	8(%rax), %ecx
	jmp	LBB0_9
LBB0_10:
	movl	$135, %esi
	callq	*8(%rbx)
	movq	_GL_FALSE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
LBB0_7:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	_GL_INVALID_ENUM@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movl	%r14d, 32(%rbx)
	movq	24(%rbx), %rax
	movl	(%rax), %ecx
LBB0_9:
	movl	%ecx, 4(%rax)
	movq	_NEW_RASTER_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
LBB0_15:
	movq	8(%rbx), %rax
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ## @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"glReadBuffer"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	_GL_INVALID_ENUM,4,2            ## @GL_INVALID_ENUM
	.comm	_NEW_RASTER_OPS,4,2             ## @NEW_RASTER_OPS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gl_ReadBuffer                  ; -- Begin function gl_ReadBuffer
	.p2align	2
_gl_ReadBuffer:                         ; @gl_ReadBuffer
	.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
	bl	_INSIDE_BEGIN_END
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
LBB0_2:
	ldr	w1, [x8]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gl_error
LBB0_3:
	sub	w8, w20, #128
	cmp	w8, #8
	b.hi	LBB0_12
; %bb.4:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #295
	tst	w8, w9
	b.eq	LBB0_7
; %bb.5:
Lloh4:
	adrp	x8, _GL_INVALID_OPERATION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GL_INVALID_OPERATION@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gl_error
	b	LBB0_15
LBB0_7:
	tst	w8, #0x18
	b.eq	LBB0_10
; %bb.8:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #132
	blr	x8
Lloh8:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.9:
	str	w20, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	w9, [x8, #8]
	b	LBB0_14
LBB0_10:
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #135
	blr	x8
Lloh11:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
LBB0_11:
Lloh14:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
	b	LBB0_2
LBB0_12:
Lloh16:
	adrp	x8, _GL_INVALID_ENUM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GL_INVALID_ENUM@GOTPAGEOFF]
	b	LBB0_6
LBB0_13:
	str	w20, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	w9, [x8]
LBB0_14:
	str	w9, [x8, #4]
Lloh18:
	adrp	x8, _NEW_RASTER_OPS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NEW_RASTER_OPS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
LBB0_15:
	ldr	x2, [x19, #8]
	ldr	w1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_INVALID_OPERATION,4,2       ; @GL_INVALID_OPERATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"glReadBuffer"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	_GL_INVALID_ENUM,4,2            ; @GL_INVALID_ENUM
	.comm	_NEW_RASTER_OPS,4,2             ; @NEW_RASTER_OPS
.subsections_via_symbols
