	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_v12_0_check_fw_version
_smu_v12_0_check_fw_version:            ## @smu_v12_0_check_fw_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$255, -24(%rbp)
	movl	$255, -20(%rbp)
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_smu_get_smc_version
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	-24(%rbp), %edx
	movl	(%rbx), %esi
	cmpl	%esi, %edx
	je	LBB0_3
## %bb.2:
	movl	-20(%rbp), %ecx
	movzbl	%cl, %edi
	movzbl	%ch, %ebx
	movl	%ecx, %eax
	shrl	$16, %eax
	movl	%edi, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %r8d
	movl	%ebx, %r9d
	callq	_pr_info
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_warn
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smu driver if version = 0x%08x, smu fw if version = 0x%08x, smu fw version = 0x%08x (%d.%d.%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"SMU driver if version not matched\n"

	.no_dead_strip	_smu_v12_0_check_fw_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_v12_0_check_fw_version
_smu_v12_0_check_fw_version:            ; @smu_v12_0_check_fw_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w8, #255
	stp	w8, w8, [sp, #8]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_smu_get_smc_version
	mov	x19, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w2, [sp, #12]
	ldr	w1, [x20]
	cmp	w2, w1
	b.eq	LBB0_3
; %bb.2:
	ldr	w3, [sp, #8]
	and	w6, w3, #0xff
	ubfx	w5, w3, #8, #8
	lsr	w4, w3, #16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_warn
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smu driver if version = 0x%08x, smu fw if version = 0x%08x, smu fw version = 0x%08x (%d.%d.%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"SMU driver if version not matched\n"

	.no_dead_strip	_smu_v12_0_check_fw_version
.subsections_via_symbols
