	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vega10_fan_ctrl_get_fan_speed_info ## -- Begin function vega10_fan_ctrl_get_fan_speed_info
	.p2align	4, 0x90
_vega10_fan_ctrl_get_fan_speed_info:    ## @vega10_fan_ctrl_get_fan_speed_info
	.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
	cmpq	$0, 24(%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movabsq	$4294967297, %r15               ## imm = 0x100000001
	movq	%r15, (%rsi)
	movq	$0, 40(%rsi)
	movl	$100, 8(%rsi)
	movq	_PHM_PlatformCaps_FanSpeedInTableIsRPM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.3:
	movq	%r15, 12(%rbx)
	movups	(%r14), %xmm0
	jmp	LBB0_5
LBB0_4:
	xorps	%xmm0, %xmm0
LBB0_5:
	movups	%xmm0, 24(%rbx)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHM_PlatformCaps_FanSpeedInTableIsRPM,4,2 ## @PHM_PlatformCaps_FanSpeedInTableIsRPM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vega10_fan_ctrl_get_fan_speed_info ; -- Begin function vega10_fan_ctrl_get_fan_speed_info
	.p2align	2
_vega10_fan_ctrl_get_fan_speed_info:    ; @vega10_fan_ctrl_get_fan_speed_info
	.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
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	movi.2s	v0, #1
	str	d0, [x1]
	str	xzr, [x1, #40]
	mov	w8, #100
	str	w8, [x1, #8]
Lloh0:
	adrp	x8, _PHM_PlatformCaps_FanSpeedInTableIsRPM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHM_PlatformCaps_FanSpeedInTableIsRPM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	movi.2s	v0, #1
	stur	d0, [x19, #12]
	ldr	q0, [x20]
	stur	q0, [x19, #24]
	b	LBB0_5
LBB0_4:
	stp	xzr, xzr, [x19, #24]
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHM_PlatformCaps_FanSpeedInTableIsRPM,4,2 ; @PHM_PlatformCaps_FanSpeedInTableIsRPM
.subsections_via_symbols
