	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_core_slow_readback
_gl_core_slow_readback:                 ## @gl_core_slow_readback
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_GL_PACK_ALIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_glPixelStorei
	movq	_GL_PACK_ROW_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_glPixelStorei
	movq	_GL_PIXEL_PACK_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_glBindBuffer
	movq	_GL_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_glReadBuffer
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	_GL_RGBA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, (%rsp)
	callq	_glReadPixels
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_PACK_ALIGNMENT,4,2          ## @GL_PACK_ALIGNMENT
	.comm	_GL_PACK_ROW_LENGTH,4,2         ## @GL_PACK_ROW_LENGTH
	.comm	_GL_PIXEL_PACK_BUFFER,4,2       ## @GL_PIXEL_PACK_BUFFER
	.comm	_GL_BACK,4,2                    ## @GL_BACK
	.comm	_GL_RGBA,4,2                    ## @GL_RGBA
	.comm	_GL_UNSIGNED_BYTE,4,2           ## @GL_UNSIGNED_BYTE
	.no_dead_strip	_gl_core_slow_readback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_core_slow_readback
_gl_core_slow_readback:                 ; @gl_core_slow_readback
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GL_PACK_ALIGNMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GL_PACK_ALIGNMENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_glPixelStorei
Lloh3:
	adrp	x8, _GL_PACK_ROW_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_PACK_ROW_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_glPixelStorei
Lloh6:
	adrp	x8, _GL_PIXEL_PACK_BUFFER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_PIXEL_PACK_BUFFER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_glBindBuffer
Lloh9:
	adrp	x8, _GL_BACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GL_BACK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_glReadBuffer
	ldp	w1, w0, [x20, #8]
Lloh12:
	adrp	x8, _GL_RGBA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GL_RGBA@GOTPAGEOFF]
	ldp	w3, w2, [x20]
Lloh14:
	ldr	w4, [x8]
Lloh15:
	adrp	x8, _GL_UNSIGNED_BYTE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GL_UNSIGNED_BYTE@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	mov	x6, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_glReadPixels
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_PACK_ALIGNMENT,4,2          ; @GL_PACK_ALIGNMENT
	.comm	_GL_PACK_ROW_LENGTH,4,2         ; @GL_PACK_ROW_LENGTH
	.comm	_GL_PIXEL_PACK_BUFFER,4,2       ; @GL_PIXEL_PACK_BUFFER
	.comm	_GL_BACK,4,2                    ; @GL_BACK
	.comm	_GL_RGBA,4,2                    ; @GL_RGBA
	.comm	_GL_UNSIGNED_BYTE,4,2           ; @GL_UNSIGNED_BYTE
	.no_dead_strip	_gl_core_slow_readback
.subsections_via_symbols
