	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si_get_gpu_clock_counter       ## -- Begin function si_get_gpu_clock_counter
	.p2align	4, 0x90
_si_get_gpu_clock_counter:              ## @si_get_gpu_clock_counter
	.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	%rdi, %r14
	callq	_mutex_lock
	movq	_RLC_CAPTURE_GPU_CLOCK_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_WREG32
	movq	_RLC_GPU_CLOCK_COUNT_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	%rax, %r15
	movq	_RLC_GPU_CLOCK_COUNT_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	%rax, %rbx
	shlq	$32, %rbx
	orq	%r15, %rbx
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RLC_CAPTURE_GPU_CLOCK_COUNT,4,2 ## @RLC_CAPTURE_GPU_CLOCK_COUNT
	.comm	_RLC_GPU_CLOCK_COUNT_LSB,4,2    ## @RLC_GPU_CLOCK_COUNT_LSB
	.comm	_RLC_GPU_CLOCK_COUNT_MSB,4,2    ## @RLC_GPU_CLOCK_COUNT_MSB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si_get_gpu_clock_counter       ; -- Begin function si_get_gpu_clock_counter
	.p2align	2
_si_get_gpu_clock_counter:              ; @si_get_gpu_clock_counter
	.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, x0
	bl	_mutex_lock
Lloh0:
	adrp	x8, _RLC_CAPTURE_GPU_CLOCK_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RLC_CAPTURE_GPU_CLOCK_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_WREG32
Lloh3:
	adrp	x8, _RLC_GPU_CLOCK_COUNT_LSB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RLC_GPU_CLOCK_COUNT_LSB@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_RREG32
	mov	x20, x0
Lloh6:
	adrp	x8, _RLC_GPU_CLOCK_COUNT_MSB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RLC_GPU_CLOCK_COUNT_MSB@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_RREG32
	orr	x20, x20, x0, lsl #32
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RLC_CAPTURE_GPU_CLOCK_COUNT,4,2 ; @RLC_CAPTURE_GPU_CLOCK_COUNT
	.comm	_RLC_GPU_CLOCK_COUNT_LSB,4,2    ; @RLC_GPU_CLOCK_COUNT_LSB
	.comm	_RLC_GPU_CLOCK_COUNT_MSB,4,2    ; @RLC_GPU_CLOCK_COUNT_MSB
.subsections_via_symbols
