	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sm_pm_get_ls                   ## -- Begin function sm_pm_get_ls
	.p2align	4, 0x90
_sm_pm_get_ls:                          ## @sm_pm_get_ls
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edi
	movq	_PL_STATUS_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PLC
	movl	%eax, %edi
	callq	_inpw
	movq	_PL_LINE_ST@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.sm_pm_get_ls(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PC_LS_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PL_STATUS_A,4,2                ## @PL_STATUS_A
	.comm	_PL_LINE_ST,4,2                 ## @PL_LINE_ST
	.comm	_PC_QLS,4,2                     ## @PC_QLS
	.comm	_PC_MLS,4,2                     ## @PC_MLS
	.comm	_PC_HLS,4,2                     ## @PC_HLS
	.comm	_PC_ILS,4,2                     ## @PC_ILS
	.comm	_PC_LS_PDR,4,2                  ## @PC_LS_PDR
	.comm	_PC_LS_NONE,4,2                 ## @PC_LS_NONE
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sm_pm_get_ls
l_switch.table.sm_pm_get_ls:
	.quad	_PC_QLS
	.quad	_PC_MLS
	.quad	_PC_ILS
	.quad	_PC_ILS
	.quad	_PC_HLS
	.quad	_PC_LS_PDR

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sm_pm_get_ls                   ; -- Begin function sm_pm_get_ls
	.p2align	2
_sm_pm_get_ls:                          ; @sm_pm_get_ls
	.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
	mov	x0, x1
Lloh0:
	adrp	x8, _PL_STATUS_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PL_STATUS_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_PLC
	bl	_inpw
Lloh3:
	adrp	x8, _PL_LINE_ST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PL_LINE_ST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table.sm_pm_get_ls@PAGE
Lloh7:
	add	x9, x9, l_switch.table.sm_pm_get_ls@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _PC_LS_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PC_LS_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PL_STATUS_A,4,2                ; @PL_STATUS_A
	.comm	_PL_LINE_ST,4,2                 ; @PL_LINE_ST
	.comm	_PC_QLS,4,2                     ; @PC_QLS
	.comm	_PC_MLS,4,2                     ; @PC_MLS
	.comm	_PC_HLS,4,2                     ; @PC_HLS
	.comm	_PC_ILS,4,2                     ; @PC_ILS
	.comm	_PC_LS_PDR,4,2                  ; @PC_LS_PDR
	.comm	_PC_LS_NONE,4,2                 ; @PC_LS_NONE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sm_pm_get_ls
l_switch.table.sm_pm_get_ls:
	.quad	_PC_QLS
	.quad	_PC_MLS
	.quad	_PC_ILS
	.quad	_PC_ILS
	.quad	_PC_HLS
	.quad	_PC_LS_PDR

.subsections_via_symbols
