	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_timerfd_settime            ## -- Begin function sys_timerfd_settime
	.p2align	4, 0x90
_sys_timerfd_settime:                   ## @sys_timerfd_settime
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %edx
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_STRACE
	movl	%ebx, %edi
	callq	_f_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	cmpq	_timerfd_ops@GOTPCREL(%rip), %rax
	je	LBB0_4
## %bb.2:
	movq	__EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	__EBADF@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_user_get
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	movq	__EFAULT@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	callq	_lock
	movl	4(%rbx), %edi
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_timer_set
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_unlock
	testl	%r15d, %r15d
	js	LBB0_7
## %bb.9:
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movq	-40(%rbp), %rsi
	movq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_user_put
	testq	%rax, %rax
	jne	LBB0_5
LBB0_11:
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timerfd_settime(%d, %d, %#x, %#x)"

	.comm	__EBADF,4,2                     ## @_EBADF
	.comm	_timerfd_ops,4,2                ## @timerfd_ops
	.comm	__EINVAL,4,2                    ## @_EINVAL
	.comm	__EFAULT,4,2                    ## @_EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_timerfd_settime            ; -- Begin function sys_timerfd_settime
	.p2align	2
_sys_timerfd_settime:                   ; @sys_timerfd_settime
	.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, x3
	mov	x21, x2
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x3, x21
	mov	x4, x19
	bl	_STRACE
	mov	x0, x20
	bl	_f_get
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
Lloh2:
	adrp	x9, _timerfd_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _timerfd_ops@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.2:
Lloh4:
	adrp	x8, __EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, __EBADF@GOTPAGE
Lloh7:
	ldr	x8, [x8, __EBADF@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x0, x21
	mov	x1, #0
	bl	_user_get
	cbz	x0, LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, __EFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
LBB0_6:
	ldr	w21, [x8]
LBB0_7:
	mov	x0, x21
	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_8:
	mov	x0, x20
	bl	_lock
	ldr	w0, [x20, #4]
	mov	x3, sp
	mov	x1, #0
	mov	x2, #0
	bl	_timer_set
	mov	x21, x0
	mov	x0, x20
	bl	_unlock
	tbnz	w21, #31, LBB0_7
; %bb.9:
	cbz	x19, LBB0_11
; %bb.10:
	ldp	x1, x2, [sp]
	mov	x0, x19
	bl	_user_put
	cbnz	x0, LBB0_5
LBB0_11:
	mov	w21, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timerfd_settime(%d, %d, %#x, %#x)"

	.comm	__EBADF,4,2                     ; @_EBADF
	.comm	_timerfd_ops,4,2                ; @timerfd_ops
	.comm	__EINVAL,4,2                    ; @_EINVAL
	.comm	__EFAULT,4,2                    ; @_EFAULT
.subsections_via_symbols
