	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_timer
_create_timer:                          ## @create_timer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movq	_NUM_OF_TRIES@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	cltq
	imulq	$274877907, %rax, %rbx          ## imm = 0x10624DD3
	movq	%rbx, %rcx
	shrq	$63, %rcx
	sarq	$38, %rbx
	addl	%ecx, %ebx
	imull	$1000, %ebx, %ecx               ## imm = 0x3E8
	subl	%ecx, %eax
	imull	$1000000, %eax, %r12d           ## imm = 0xF4240
	movq	$0, -56(%rbp)
	movl	%ebx, -48(%rbp)
	movl	%r12d, -44(%rbp)
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TFD_NONBLOCK@GOTPCREL(%rip), %rax
	movq	_TFD_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_timerfd_create
	movl	$-1, %r14d
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.1:
	movl	%eax, %r13d
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.2:
	movq	_NUM_OF_TRIES@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jg	LBB0_5
## %bb.3:
	leaq	-56(%rbp), %rdi
	movl	$8, %esi
	callq	_bzero
	jmp	LBB0_6
LBB0_5:
	movl	%ebx, -56(%rbp)
	movl	%r12d, -52(%rbp)
LBB0_6:
	leaq	-56(%rbp), %rdx
	movl	%r13d, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_timerfd_settime
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r13d, %edi
	callq	_close
	jmp	LBB0_9
LBB0_8:
	movl	%r13d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_OF_TRIES,4,2               ## @NUM_OF_TRIES
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_TFD_NONBLOCK,4,2               ## @TFD_NONBLOCK
	.comm	_TFD_CLOEXEC,4,2                ## @TFD_CLOEXEC
	.no_dead_strip	_create_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_timer
_create_timer:                          ; @create_timer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _NUM_OF_TRIES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NUM_OF_TRIES@GOTPAGEOFF]
	ldr	w9, [x21]
	sdiv	w8, w8, w9
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w22, w9, w10
	mov	w9, #1000
	msub	w8, w22, w9, w8
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	w23, w8, w9
	str	xzr, [sp]
	stp	w22, w23, [sp, #8]
Lloh2:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh4:
	adrp	x9, _TFD_NONBLOCK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TFD_NONBLOCK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _TFD_CLOEXEC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TFD_CLOEXEC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_timerfd_create
	mov	x19, x0
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	ldr	w8, [x20]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	w8, [x21]
	cmp	w8, #1
	b.gt	LBB0_4
; %bb.3:
	mov	x0, sp
	mov	w1, #8
	bl	_bzero
	b	LBB0_5
LBB0_4:
	stp	w22, w23, [sp]
LBB0_5:
	mov	x2, sp
	mov	x0, x19
	mov	w1, #0
	mov	x3, #0
	bl	_timerfd_settime
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_close
	mov	w19, #-1
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_OF_TRIES,4,2               ; @NUM_OF_TRIES
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_TFD_NONBLOCK,4,2               ; @TFD_NONBLOCK
	.comm	_TFD_CLOEXEC,4,2                ; @TFD_CLOEXEC
	.no_dead_strip	_create_timer
.subsections_via_symbols
