	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_query_result64
_get_query_result64:                    ## @get_query_result64
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rsi), %rax
	movq	_ARB_TIMER_QUERY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_2
## %bb.1:
	movq	_GL_QUERY_RESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	callq	_glGetQueryObjectui64v
	movl	%eax, %edi
	callq	_GL_EXTCALL
	movl	-8(%rbp), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_GL_QUERY_RESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_glGetQueryObjectuiv
	movl	%eax, %edi
	callq	_GL_EXTCALL
	movl	-4(%rbp), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARB_TIMER_QUERY,8,3            ## @ARB_TIMER_QUERY
	.comm	_GL_QUERY_RESULT,4,2            ## @GL_QUERY_RESULT
	.no_dead_strip	_get_query_result64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_query_result64
_get_query_result64:                    ; @get_query_result64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _ARB_TIMER_QUERY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARB_TIMER_QUERY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GL_QUERY_RESULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GL_QUERY_RESULT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_glGetQueryObjectui64v
	bl	_GL_EXTCALL
	ldur	w0, [x29, #-4]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _GL_QUERY_RESULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GL_QUERY_RESULT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_glGetQueryObjectuiv
	bl	_GL_EXTCALL
	ldr	w0, [sp, #8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ARB_TIMER_QUERY,8,3            ; @ARB_TIMER_QUERY
	.comm	_GL_QUERY_RESULT,4,2            ; @GL_QUERY_RESULT
	.no_dead_strip	_get_query_result64
.subsections_via_symbols
