	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_msleep                     ## -- Begin function sys_msleep
	.p2align	4, 0x90
_sys_msleep:                            ## @sys_msleep
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	jle	LBB0_4
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rdi
	xorl	%esi, %esi
	callq	_sys_sem_new
	movq	_ERR_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	-20(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sys_arch_sem_wait
	movq	%r14, %rdi
	callq	_sys_sem_free
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_4:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_OK,8,3                     ## @ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_msleep                     ; -- Begin function sys_msleep
	.p2align	2
_sys_msleep:                            ; @sys_msleep
	.cfi_startproc
; %bb.0:
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.1:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x0, sp, #12
	mov	w1, #0
	bl	_sys_sem_new
Lloh0:
	adrp	x8, _ERR_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	add	x0, sp, #12
	mov	x1, x19
	bl	_sys_arch_sem_wait
	add	x0, sp, #12
	bl	_sys_sem_free
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_OK,8,3                     ; @ERR_OK
.subsections_via_symbols
