	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_setitimer                  ## -- Begin function sys_setitimer
	.p2align	4, 0x90
_sys_setitimer:                         ## @sys_setitimer
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%edi, %ebx
	movl	%esi, %edi
	xorl	%esi, %esi
	callq	_user_get
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r14d, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%r8d, %r8d
	callq	_STRACE
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_lock
	leaq	-40(%rbp), %r8
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_itimer_set
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_unlock
	testl	%ebx, %ebx
	js	LBB0_6
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	movl	-36(%rbp), %eax
	movl	-28(%rbp), %ecx
	shlq	$32, %rcx
	movslq	-32(%rbp), %rdx
	imulq	$274877907, %rdx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rdx
	addl	%esi, %edx
	orq	%rcx, %rdx
	movslq	-40(%rbp), %rcx
	imulq	$274877907, %rcx, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$38, %rsi
	addl	%ecx, %esi
	shlq	$32, %rax
	orq	%rax, %rsi
	movl	%r14d, %edi
	callq	_user_put
	testq	%rax, %rax
	jne	LBB0_1
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	__EFAULT,4,2                    ## @_EFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setitimer(%d, {%ds %dus, %ds %dus}, 0x%x)"

	.comm	_current,8,3                    ## @current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_setitimer                  ; -- Begin function sys_setitimer
	.p2align	2
_sys_setitimer:                         ; @sys_setitimer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x0
	mov	x0, 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	w20, [x8]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	w4, #0
	mov	x6, x19
	bl	_STRACE
Lloh5:
	adrp	x8, _current@GOTPAGE
Lloh6:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x21, [x8]
	mov	x0, x21
	bl	_lock
	mov	x4, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	bl	_itimer_set
	mov	x20, x0
	mov	x0, x21
	bl	_unlock
	tbnz	w20, #31, LBB0_2
; %bb.4:
	cbz	w19, LBB0_6
; %bb.5:
	ldp	w9, w8, [sp, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x11, x9, #32
	lsr	x9, x9, #63
	add	w2, w9, w11, asr #6
	bfi	x2, x8, #32, #32
	ldp	w8, w9, [sp]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	mul	x8, x8, x10
	lsr	x10, x8, #32
	lsr	x8, x8, #63
	add	w1, w8, w10, asr #6
	bfi	x1, x9, #32, #32
	mov	x0, x19
	bl	_user_put
	cbnz	x0, LBB0_1
LBB0_6:
	mov	w20, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__EFAULT,4,2                    ; @_EFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setitimer(%d, {%ds %dus, %ds %dus}, 0x%x)"

	.comm	_current,8,3                    ; @current
.subsections_via_symbols
