	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function safe_delay_store
_safe_delay_store:                      ## @safe_delay_store
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	%rdi, %r14
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	movl	$3, %edx
	callq	_strict_strtoul_scaled
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r14), %rcx
	movq	_HZ@GOTPCREL(%rip), %rdx
	imulq	(%rdx), %rax
	movl	$1, %edx
	cmpq	$1000, %rax                     ## imm = 0x3E8
	jb	LBB0_6
## %bb.5:
	shrq	$3, %rax
	movabsq	$2361183241434822607, %rdx      ## imm = 0x20C49BA5E353F7CF
	mulq	%rdx
	shrq	$4, %rdx
LBB0_6:
	movq	%rdx, (%r14)
	cmpq	%rcx, %rdx
	jae	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_md_safemode_timeout
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_8
LBB0_3:
	movq	$0, (%r14)
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_HZ,8,3                         ## @HZ
	.no_dead_strip	_safe_delay_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function safe_delay_store
_safe_delay_store:                      ; @safe_delay_store
	.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, x2
	mov	x8, x1
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x8
	mov	w2, #3
	bl	_strict_strtoul_scaled
	tbnz	x0, #63, LBB0_4
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _HZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mul	x8, x10, x8
	lsr	x10, x8, #3
	mov	x11, #63439
	movk	x11, #58195, lsl #16
	movk	x11, #39845, lsl #32
	movk	x11, #8388, lsl #48
	umulh	x10, x10, x11
	lsr	x10, x10, #4
	cmp	x8, #1000
	csinc	x8, x10, xzr, hs
	str	x8, [x20]
	cmp	x8, x9
	b.hs	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_md_safemode_timeout
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_6
LBB0_5:
	str	xzr, [x20]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_HZ,8,3                         ; @HZ
	.no_dead_strip	_safe_delay_store
.subsections_via_symbols
