	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_binlog_pos              ## -- Begin function delete_binlog_pos
	.p2align	4, 0x90
_delete_binlog_pos:                     ## @delete_binlog_pos
	.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	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	_binlog_pos_tree@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-48(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	callq	_tree_delete_binlog_pos
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %edi
	callq	_tree_get_min_binlog_pos
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_assert
	movups	(%rbx), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -32(%rbp)
	jmp	LBB0_3
LBB0_1:
	leaq	-72(%rbp), %rdi
	movl	%r14d, %esi
	callq	_get_cur_binlog_position
	movq	-56(%rbp), %rax
	movq	%rax, -32(%rbp)
	movups	-72(%rbp), %xmm0
	movaps	%xmm0, -48(%rbp)
LBB0_3:
	movq	-32(%rbp), %rsi
	movq	-48(%rbp), %rdi
	movq	-40(%rbp), %rdx
	callq	_update_index
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_binlog_pos_tree,4,2            ## @binlog_pos_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_binlog_pos              ; -- Begin function delete_binlog_pos
	.p2align	2
_delete_binlog_pos:                     ; @delete_binlog_pos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x20, _binlog_pos_tree@GOTPAGE
Lloh1:
	ldr	x20, [x20, _binlog_pos_tree@GOTPAGEOFF]
	ldr	w8, [x20]
	stp	xzr, xzr, [sp, #16]
	str	x0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x8
	bl	_tree_delete_binlog_pos
	str	w0, [x20]
	cbz	w0, LBB0_2
; %bb.1:
	bl	_tree_get_min_binlog_pos
	mov	x19, x0
	bl	_assert
	ldp	x0, x2, [x19]
	ldr	x1, [x19, #16]
	b	LBB0_3
LBB0_2:
	add	x8, sp, #8
	mov	x0, x19
	bl	_get_cur_binlog_position
	ldp	x0, x2, [sp, #8]
	ldr	x1, [sp, #24]
LBB0_3:
	bl	_update_index
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_binlog_pos_tree,4,2            ; @binlog_pos_tree
.subsections_via_symbols
