	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_ll_sleep_state              ## -- Begin function st_ll_sleep_state
	.p2align	4, 0x90
_st_ll_sleep_state:                     ## @st_ll_sleep_state
	.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
	addb	$-128, %sil
	cmpb	$3, %sil
	ja	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movzbl	%sil, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_ll_device_want_to_wakeup
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str.4(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subq	(%rcx), %rax
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	callq	_pr_debug
	movq	_ST_LL_AWAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_ll_device_want_to_sleep
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sleep indication recvd"

L_.str.1:                               ## @.str.1
	.asciz	"sleep ack rcvd: host shouldn't"

L_.str.2:                               ## @.str.2
	.asciz	"wake indication recvd"

L_.str.3:                               ## @.str.3
	.asciz	"wake ack rcvd"

	.comm	_ST_LL_AWAKE,4,2                ## @ST_LL_AWAKE
L_.str.4:                               ## @.str.4
	.asciz	" unknown input/state "

	.comm	_EINVAL,8,3                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_ll_sleep_state              ; -- Begin function st_ll_sleep_state
	.p2align	2
_st_ll_sleep_state:                     ; @st_ll_sleep_state
	.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
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_ll_device_want_to_wakeup
	b	LBB0_7
LBB0_3:
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_err
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	neg	x0, x8
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
	mov	x0, #0
Lloh11:
	adrp	x8, _ST_LL_AWAKE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ST_LL_AWAKE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	mov	x0, x19
	bl	_ll_device_want_to_sleep
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
LBB0_7:
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sleep indication recvd"

l_.str.1:                               ; @.str.1
	.asciz	"sleep ack rcvd: host shouldn't"

l_.str.2:                               ; @.str.2
	.asciz	"wake indication recvd"

l_.str.3:                               ; @.str.3
	.asciz	"wake ack rcvd"

	.comm	_ST_LL_AWAKE,4,2                ; @ST_LL_AWAKE
l_.str.4:                               ; @.str.4
	.asciz	" unknown input/state "

	.comm	_EINVAL,8,3                     ; @EINVAL
.subsections_via_symbols
