	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_timerfd_create             ## -- Begin function sys_timerfd_create
	.p2align	4, 0x90
_sys_timerfd_create:                    ## @sys_timerfd_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_STRACE
	movq	_ITIMER_REAL_@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_timerfd_ops@GOTPCREL(%rip), %rdi
	callq	_adhoc_fd_create
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	_timerfd_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_timer_new
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_f_install                      ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_FIXME
	movq	__EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	__ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timerfd_create(%d, %#x)"

	.comm	_ITIMER_REAL_,8,3               ## @ITIMER_REAL_
L_.str.1:                               ## @.str.1
	.asciz	"timerfd %d"

	.comm	__EINVAL,4,2                    ## @_EINVAL
	.comm	_timerfd_ops,4,2                ## @timerfd_ops
	.comm	__ENOMEM,4,2                    ## @_ENOMEM
	.comm	_timerfd_callback,8,3           ## @timerfd_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_timerfd_create             ; -- Begin function sys_timerfd_create
	.p2align	2
_sys_timerfd_create:                    ; @sys_timerfd_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_STRACE
Lloh2:
	adrp	x8, _ITIMER_REAL_@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ITIMER_REAL_@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x0, _timerfd_ops@GOTPAGE
Lloh6:
	ldr	x0, [x0, _timerfd_ops@GOTPAGEOFF]
	bl	_adhoc_fd_create
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
Lloh7:
	adrp	x8, _timerfd_callback@GOTPAGE
Lloh8:
	ldr	x8, [x8, _timerfd_callback@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_timer_new
	str	w0, [x20]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_f_install
LBB0_3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_FIXME
Lloh12:
	adrp	x8, __EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, __ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, __ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timerfd_create(%d, %#x)"

	.comm	_ITIMER_REAL_,8,3               ; @ITIMER_REAL_
l_.str.1:                               ; @.str.1
	.asciz	"timerfd %d"

	.comm	__EINVAL,4,2                    ; @_EINVAL
	.comm	_timerfd_ops,4,2                ; @timerfd_ops
	.comm	__ENOMEM,4,2                    ; @_ENOMEM
	.comm	_timerfd_callback,8,3           ; @timerfd_callback
.subsections_via_symbols
