	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_get_message_name           ## -- Begin function smu_get_message_name
	.p2align	4, 0x90
_smu_get_message_name:                  ## @smu_get_message_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SMU_MSG_MAX_COUNT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_1
## %bb.2:
	movq	___smu_message_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU_MSG_MAX_COUNT,4,2          ## @SMU_MSG_MAX_COUNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown smu message"

	.comm	___smu_message_names,8,3        ## @__smu_message_names
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu_get_message_name           ; -- Begin function smu_get_message_name
	.p2align	2
_smu_get_message_name:                  ; @smu_get_message_name
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SMU_MSG_MAX_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMU_MSG_MAX_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, ___smu_message_names@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___smu_message_names@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x8, w1, uxtw #3]
	ret
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU_MSG_MAX_COUNT,4,2          ; @SMU_MSG_MAX_COUNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown smu message"

	.comm	___smu_message_names,8,3        ; @__smu_message_names
.subsections_via_symbols
