	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsync_step
_fsync_step:                            ## @fsync_step
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_binlog_disabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	callq	_get_aio_inprogress
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_now@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_last_fsync_step_time@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	movq	_fsync_step_delay@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jl	LBB0_7
## %bb.3:
	movq	%rax, (%rcx)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_dirty_binlog_queue_pop
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	js	LBB0_4
## %bb.6:
	movq	_aio_fsync_cbp@GOTPCREL(%rip), %rsi
	movq	%rax, (%rsi)
	movq	_SIGEV_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rsi)
	movq	_O_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_aio_fsync
	movq	_tot_aio_fsync_queries@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_last_fsync_binlog_file@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_binlog_disabled,8,3            ## @binlog_disabled
	.comm	_now,8,3                        ## @now
	.comm	_last_fsync_step_time,8,3       ## @last_fsync_step_time
	.comm	_fsync_step_delay,8,3           ## @fsync_step_delay
	.comm	_aio_fsync_cbp,16,3             ## @aio_fsync_cbp
	.comm	_SIGEV_NONE,4,2                 ## @SIGEV_NONE
	.comm	_O_SYNC,4,2                     ## @O_SYNC
	.comm	_tot_aio_fsync_queries,4,2      ## @tot_aio_fsync_queries
	.comm	_last_fsync_binlog_file,8,3     ## @last_fsync_binlog_file
	.no_dead_strip	_fsync_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsync_step
_fsync_step:                            ; @fsync_step
	.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
Lloh0:
	adrp	x8, _binlog_disabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _binlog_disabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_7
; %bb.1:
	bl	_get_aio_inprogress
	cbnz	x0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _now@GOTPAGE
Lloh4:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _last_fsync_step_time@GOTPAGE
Lloh7:
	ldr	x9, [x9, _last_fsync_step_time@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh8:
	adrp	x11, _fsync_step_delay@GOTPAGE
Lloh9:
	ldr	x11, [x11, _fsync_step_delay@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	sub	x10, x8, x10
	cmp	x10, x11
	b.lt	LBB0_7
; %bb.3:
	str	x8, [x9]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_dirty_binlog_queue_pop
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x0
	ldr	x8, [x0]
	tbnz	x8, #63, LBB0_4
; %bb.6:
Lloh11:
	adrp	x1, _aio_fsync_cbp@GOTPAGE
Lloh12:
	ldr	x1, [x1, _aio_fsync_cbp@GOTPAGEOFF]
Lloh13:
	adrp	x9, _SIGEV_NONE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SIGEV_NONE@GOTPAGEOFF]
	str	x8, [x1]
Lloh15:
	ldr	w8, [x9]
	str	w8, [x1, #8]
Lloh16:
	adrp	x8, _O_SYNC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _O_SYNC@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_aio_fsync
Lloh19:
	adrp	x8, _tot_aio_fsync_queries@GOTPAGE
Lloh20:
	ldr	x8, [x8, _tot_aio_fsync_queries@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh21:
	adrp	x8, _last_fsync_binlog_file@GOTPAGE
Lloh22:
	ldr	x8, [x8, _last_fsync_binlog_file@GOTPAGEOFF]
Lloh23:
	str	x19, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_binlog_disabled,8,3            ; @binlog_disabled
	.comm	_now,8,3                        ; @now
	.comm	_last_fsync_step_time,8,3       ; @last_fsync_step_time
	.comm	_fsync_step_delay,8,3           ; @fsync_step_delay
	.comm	_aio_fsync_cbp,16,3             ; @aio_fsync_cbp
	.comm	_SIGEV_NONE,4,2                 ; @SIGEV_NONE
	.comm	_O_SYNC,4,2                     ; @O_SYNC
	.comm	_tot_aio_fsync_queries,4,2      ; @tot_aio_fsync_queries
	.comm	_last_fsync_binlog_file,8,3     ; @last_fsync_binlog_file
	.no_dead_strip	_fsync_step
.subsections_via_symbols
