	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rarch_perf_log                 ## -- Begin function rarch_perf_log
	.p2align	4, 0x90
_rarch_perf_log:                        ## @rarch_perf_log
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RARCH_CTL_IS_PERFCNT_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_RARCH_LOG
	movq	_perf_counters_rarch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_perf_ptr_rarch@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_log_counters                   ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_CTL_IS_PERFCNT_ENABLE,4,2 ## @RARCH_CTL_IS_PERFCNT_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[PERF]: Performance counters (RetroArch):\n"

	.comm	_perf_counters_rarch,4,2        ## @perf_counters_rarch
	.comm	_perf_ptr_rarch,4,2             ## @perf_ptr_rarch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rarch_perf_log                 ; -- Begin function rarch_perf_log
	.p2align	2
_rarch_perf_log:                        ; @rarch_perf_log
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _RARCH_CTL_IS_PERFCNT_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_CTL_IS_PERFCNT_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
Lloh5:
	adrp	x8, _perf_counters_rarch@GOTPAGE
Lloh6:
	ldr	x8, [x8, _perf_counters_rarch@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _perf_ptr_rarch@GOTPAGE
Lloh9:
	ldr	x8, [x8, _perf_ptr_rarch@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_log_counters
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_CTL_IS_PERFCNT_ENABLE,4,2 ; @RARCH_CTL_IS_PERFCNT_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[PERF]: Performance counters (RetroArch):\n"

	.comm	_perf_counters_rarch,4,2        ; @perf_counters_rarch
	.comm	_perf_ptr_rarch,4,2             ; @perf_ptr_rarch
.subsections_via_symbols
