	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msp_sleep                      ## -- Begin function msp_sleep
	.p2align	4, 0x90
_msp_sleep:                             ## @msp_sleep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_wait@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DECLARE_WAITQUEUE
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_add_wait_queue
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	js	LBB0_2
## %bb.3:
	movl	%r15d, %edi
	callq	_msecs_to_jiffies
	movl	%eax, %edi
	callq	_schedule_timeout_interruptible
	jmp	LBB0_4
LBB0_2:
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	xorl	%eax, %eax
	callq	_schedule
LBB0_4:
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_remove_wait_queue
	xorl	%eax, %eax
	callq	_try_to_freeze
	movl	(%r14), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_current,4,2                    ## @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msp_sleep                      ; -- Begin function msp_sleep
	.p2align	2
_msp_sleep:                             ; @msp_sleep
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _wait@GOTPAGE
Lloh1:
	ldr	x22, [x22, _wait@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _current@GOTPAGE
Lloh3:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_DECLARE_WAITQUEUE
	add	x20, x19, #4
	mov	x0, x20
	mov	x1, x22
	bl	_add_wait_queue
	bl	_kthread_should_stop
	cbnz	w0, LBB0_4
; %bb.1:
	tbnz	w21, #31, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_msecs_to_jiffies
	bl	_schedule_timeout_interruptible
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_set_current_state
	bl	_schedule
LBB0_4:
Lloh8:
	adrp	x1, _wait@GOTPAGE
Lloh9:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x20
	bl	_remove_wait_queue
	bl	_try_to_freeze
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_current,4,2                    ; @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
.subsections_via_symbols
