	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function request_pixel_observations
_request_pixel_observations:            ## @request_pixel_observations
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_use_pbo_rendering
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	callq	_create_update_pbo_or_die
	cmpl	$130, %r14d
	je	LBB0_5
## %bb.2:
	cmpl	$129, %r14d
	je	LBB0_6
## %bb.3:
	cmpl	$128, %r14d
	jne	LBB0_8
## %bb.4:
	leaq	12(%rbx), %rax
	movq	_GL_RGB@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	12(%rbx), %rax
	movq	_GL_BGR_EXT@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_6:
	leaq	8(%rbx), %rax
	movq	_GL_DEPTH_COMPONENT@GOTPCREL(%rip), %r14
LBB0_7:
	movq	_GL_PIXEL_PACK_BUFFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_qglBindBuffer
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movl	(%r14), %r8d
	movq	_GL_UNSIGNED_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_qglReadPixels
LBB0_8:
	movq	_GL_PIXEL_PACK_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qglBindBuffer                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GL_PIXEL_PACK_BUFFER,4,2       ## @GL_PIXEL_PACK_BUFFER
	.comm	_GL_RGB,4,2                     ## @GL_RGB
	.comm	_GL_UNSIGNED_BYTE,4,2           ## @GL_UNSIGNED_BYTE
	.comm	_GL_BGR_EXT,4,2                 ## @GL_BGR_EXT
	.comm	_GL_DEPTH_COMPONENT,4,2         ## @GL_DEPTH_COMPONENT
	.no_dead_strip	_request_pixel_observations
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function request_pixel_observations
_request_pixel_observations:            ; @request_pixel_observations
	.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	x20, x1
	mov	x19, x0
	bl	_use_pbo_rendering
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_create_update_pbo_or_die
Lloh0:
	adrp	x21, _GL_PIXEL_PACK_BUFFER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GL_PIXEL_PACK_BUFFER@GOTPAGEOFF]
	cmp	w20, #130
	b.eq	LBB0_6
; %bb.2:
	cmp	w20, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w20, #128
	b.ne	LBB0_9
; %bb.4:
	add	x8, x19, #12
Lloh2:
	adrp	x20, _GL_RGB@GOTPAGE
Lloh3:
	ldr	x20, [x20, _GL_RGB@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	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
LBB0_6:
	add	x8, x19, #12
Lloh4:
	adrp	x20, _GL_BGR_EXT@GOTPAGE
Lloh5:
	ldr	x20, [x20, _GL_BGR_EXT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	add	x8, x19, #8
Lloh6:
	adrp	x20, _GL_DEPTH_COMPONENT@GOTPAGE
Lloh7:
	ldr	x20, [x20, _GL_DEPTH_COMPONENT@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x21]
	ldr	w1, [x8]
	bl	_qglBindBuffer
	ldp	w3, w2, [x19]
	ldr	w4, [x20]
Lloh8:
	adrp	x8, _GL_UNSIGNED_BYTE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GL_UNSIGNED_BYTE@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	w0, #0
	mov	w1, #0
	mov	w6, #0
	bl	_qglReadPixels
LBB0_9:
	ldr	w0, [x21]
	mov	w1, #0
	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
	b	_qglBindBuffer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GL_PIXEL_PACK_BUFFER,4,2       ; @GL_PIXEL_PACK_BUFFER
	.comm	_GL_RGB,4,2                     ; @GL_RGB
	.comm	_GL_UNSIGNED_BYTE,4,2           ; @GL_UNSIGNED_BYTE
	.comm	_GL_BGR_EXT,4,2                 ; @GL_BGR_EXT
	.comm	_GL_DEPTH_COMPONENT,4,2         ; @GL_DEPTH_COMPONENT
	.no_dead_strip	_request_pixel_observations
.subsections_via_symbols
