	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_nanosleep                  ## -- Begin function sys_nanosleep
	.p2align	4, 0x90
_sys_nanosleep:                         ## @sys_nanosleep
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	xorl	%esi, %esi
	callq	_user_get
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %ecx
	callq	_STRACE
	leaq	-24(%rbp), %rdi
	leaq	-16(%rbp), %rsi
	callq	_nanosleep
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movq	-16(%rbp), %rsi
	movl	%ebx, %edi
	callq	_user_put
	testq	%rax, %rax
	jne	LBB0_1
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	callq	_errno_map
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	__EFAULT,4,2                    ## @_EFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nanosleep({%d, %d}, 0x%x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_nanosleep                  ; -- Begin function sys_nanosleep
	.p2align	2
_sys_nanosleep:                         ; @sys_nanosleep
	.cfi_startproc
; %bb.0:
	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, x1
	mov	x1, #0
	bl	_user_get
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, __EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x19
	bl	_STRACE
	add	x0, sp, #8
	mov	x1, sp
	bl	_nanosleep
	tbnz	x0, #63, LBB0_7
; %bb.4:
	cbz	w19, LBB0_6
; %bb.5:
	ldr	x1, [sp]
	mov	x0, x19
	bl	_user_put
	cbnz	x0, LBB0_1
LBB0_6:
	mov	w0, #0
	b	LBB0_2
LBB0_7:
	bl	_errno_map
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__EFAULT,4,2                    ; @_EFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nanosleep({%d, %d}, 0x%x"

.subsections_via_symbols
