	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_flush
_next_flush:                            ## @next_flush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	movq	_LARGE_FLUSH@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jg	LBB0_2
## %bb.6:
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,2), %eax
	cltq
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_4:
	movq	_PIPESAFE_FLUSH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%eax, %ecx
	jle	LBB0_7
LBB0_2:
	addl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	addl	%eax, %ecx
	movl	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LARGE_FLUSH,4,2                ## @LARGE_FLUSH
	.comm	_PIPESAFE_FLUSH,4,2             ## @PIPESAFE_FLUSH
	.no_dead_strip	_next_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_flush
_next_flush:                            ; @next_flush
	.cfi_startproc
; %bb.0:
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LARGE_FLUSH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LARGE_FLUSH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #11
	mul	w9, w1, w9
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _PIPESAFE_FLUSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PIPESAFE_FLUSH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w9, w8, w1
LBB0_3:
	lsl	w10, w1, #1
	cmp	w8, w1
	csel	w0, w9, w10, le
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LARGE_FLUSH,4,2                ; @LARGE_FLUSH
	.comm	_PIPESAFE_FLUSH,4,2             ; @PIPESAFE_FLUSH
	.no_dead_strip	_next_flush
.subsections_via_symbols
