	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_delete                      ## -- Begin function ex_delete
	.p2align	4, 0x90
_ex_delete:                             ## @ex_delete
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_NEEDFILE
	movl	16(%rbx), %edi
	movq	_E_C_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FL_ISSET
	leaq	12(%rbx), %rsi
	testq	%rax, %rax
	cmoveq	%rax, %rsi
	leaq	8(%rbx), %r12
	movq	_CUT_LINEMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_cut
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movl	$1, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_del
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_db_last
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	-40(%rbp), %rax
	xorl	%r15d, %r15d
	cmpq	%rax, (%r14)
	jle	LBB0_5
## %bb.4:
	movq	%rax, (%r14)
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_C_BUFFER,4,2                 ## @E_C_BUFFER
	.comm	_CUT_LINEMODE,4,2               ## @CUT_LINEMODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_delete                      ; -- Begin function ex_delete
	.p2align	2
_ex_delete:                             ; @ex_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	bl	_NEEDFILE
	ldr	w0, [x20, #16]
Lloh0:
	adrp	x8, _E_C_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_C_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_FL_ISSET
	add	x8, x20, #12
	cmp	x0, #0
	csel	x1, xzr, x8, eq
	add	x22, x20, #8
Lloh3:
	adrp	x8, _CUT_LINEMODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CUT_LINEMODE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	bl	_cut
	mov	w21, #1
	cbnz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	w3, #1
	bl	_del
	cbnz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x20]
	str	x8, [x19]
	add	x1, sp, #8
	mov	x0, x19
	bl	_db_last
	cbz	x0, LBB0_4
; %bb.3:
	mov	w21, #1
	b	LBB0_7
LBB0_4:
	ldr	x9, [x19]
	ldr	x8, [sp, #8]
	cmp	x9, x8
	b.le	LBB0_6
; %bb.5:
	mov	w21, #0
	str	x8, [x19]
	b	LBB0_7
LBB0_6:
	mov	w21, #0
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_E_C_BUFFER,4,2                 ; @E_C_BUFFER
	.comm	_CUT_LINEMODE,4,2               ; @CUT_LINEMODE
.subsections_via_symbols
