	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_ll_wakeup                   ## -- Begin function st_ll_wakeup
	.p2align	4, 0x90
_st_ll_wakeup:                          ## @st_ll_wakeup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ST_LL_AWAKE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_LL_WAKE_UP_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_send_ll_cmd
	movq	_ST_LL_ASLEEP_TO_AWAKE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_LL_AWAKE,8,3                ## @ST_LL_AWAKE
	.comm	_LL_WAKE_UP_IND,4,2             ## @LL_WAKE_UP_IND
	.comm	_ST_LL_ASLEEP_TO_AWAKE,8,3      ## @ST_LL_ASLEEP_TO_AWAKE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" Chip already AWAKE "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_ll_wakeup                   ; -- Begin function st_ll_wakeup
	.p2align	2
_st_ll_wakeup:                          ; @st_ll_wakeup
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ST_LL_AWAKE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ST_LL_AWAKE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _LL_WAKE_UP_IND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LL_WAKE_UP_IND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_ll_cmd
Lloh6:
	adrp	x8, _ST_LL_ASLEEP_TO_AWAKE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ST_LL_ASLEEP_TO_AWAKE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_LL_AWAKE,8,3                ; @ST_LL_AWAKE
	.comm	_LL_WAKE_UP_IND,4,2             ; @LL_WAKE_UP_IND
	.comm	_ST_LL_ASLEEP_TO_AWAKE,8,3      ; @ST_LL_ASLEEP_TO_AWAKE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" Chip already AWAKE "

.subsections_via_symbols
