	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu10_get_mem_latency
_smu10_get_mem_latency:                 ## @smu10_get_mem_latency
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MEM_FREQ_LOW_LATENCY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MEM_FREQ_HIGH_LATENCY@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	jle	LBB0_1
## %bb.2:
	movq	_MEM_LATENCY_ERR@GOTPCREL(%rip), %rcx
	movq	_MEM_LATENCY_HIGH@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_MEM_LATENCY_LOW@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
LBB0_3:
	cmpq	%rsi, %rax
	cmovleq	%rdx, %rcx
	movq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_FREQ_LOW_LATENCY,8,3       ## @MEM_FREQ_LOW_LATENCY
	.comm	_MEM_FREQ_HIGH_LATENCY,8,3      ## @MEM_FREQ_HIGH_LATENCY
	.comm	_MEM_LATENCY_HIGH,8,3           ## @MEM_LATENCY_HIGH
	.comm	_MEM_LATENCY_LOW,8,3            ## @MEM_LATENCY_LOW
	.comm	_MEM_LATENCY_ERR,8,3            ## @MEM_LATENCY_ERR
	.no_dead_strip	_smu10_get_mem_latency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu10_get_mem_latency
_smu10_get_mem_latency:                 ; @smu10_get_mem_latency
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MEM_FREQ_HIGH_LATENCY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEM_FREQ_HIGH_LATENCY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MEM_LATENCY_ERR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MEM_LATENCY_ERR@GOTPAGEOFF]
Lloh4:
	adrp	x10, _MEM_LATENCY_LOW@GOTPAGE
Lloh5:
	ldr	x10, [x10, _MEM_LATENCY_LOW@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, x1
	csel	x8, x9, x10, gt
Lloh7:
	adrp	x9, _MEM_FREQ_LOW_LATENCY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MEM_FREQ_LOW_LATENCY@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ccmp	x9, x1, #0, gt
Lloh10:
	adrp	x9, _MEM_LATENCY_HIGH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MEM_LATENCY_HIGH@GOTPAGEOFF]
	csel	x8, x9, x8, le
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_FREQ_LOW_LATENCY,8,3       ; @MEM_FREQ_LOW_LATENCY
	.comm	_MEM_FREQ_HIGH_LATENCY,8,3      ; @MEM_FREQ_HIGH_LATENCY
	.comm	_MEM_LATENCY_HIGH,8,3           ; @MEM_LATENCY_HIGH
	.comm	_MEM_LATENCY_LOW,8,3            ; @MEM_LATENCY_LOW
	.comm	_MEM_LATENCY_ERR,8,3            ; @MEM_LATENCY_ERR
	.no_dead_strip	_smu10_get_mem_latency
.subsections_via_symbols
