	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_prev                        ## -- Begin function ex_prev
	.p2align	4, 0x90
_ex_prev:                               ## @ex_prev
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	_E_NEWSCREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%r13), %rax
	movl	-4(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	1(%rax), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_CHAR2INT
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_argv_exp0
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ex_edit                        ## TAILCALL
LBB0_1:
	movq	_M_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_msgq
	movl	$1, %r15d
	jmp	LBB0_11
LBB0_5:
	movl	(%r14), %edi
	movq	_E_C_FORCE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_FL_ISSET
	movq	_FS_ALL@GOTPCREL(%rip), %rcx
	movq	_FS_POSSIBLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_file_m1
	movl	$1, %r15d
	testq	%rax, %rax
	je	LBB0_6
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r13), %rax
	movl	-4(%rax), %esi
	movq	%r13, %rdi
	callq	_file_add
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	%rax, %r12
	movq	_FS_SETALT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_FL_ISSET
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_FS_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_9:
	orl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_file_init
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	addq	$-4, (%r13)
	movq	_SC_FSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_SET
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_M_ERR,4,2                      ## @M_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"112|No previous files to edit"

	.comm	_E_NEWSCREEN,4,2                ## @E_NEWSCREEN
	.comm	_E_C_FORCE,4,2                  ## @E_C_FORCE
	.comm	_FS_ALL,4,2                     ## @FS_ALL
	.comm	_FS_POSSIBLE,4,2                ## @FS_POSSIBLE
	.comm	_FS_SETALT,4,2                  ## @FS_SETALT
	.comm	_FS_FORCE,4,2                   ## @FS_FORCE
	.comm	_SC_FSWITCH,4,2                 ## @SC_FSWITCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_prev                        ; -- Begin function ex_prev
	.p2align	2
_ex_prev:                               ; @ex_prev
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x1
Lloh0:
	adrp	x8, _E_NEWSCREEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_NEWSCREEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_ISSET
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	ldur	w21, [x8, #-4]
	mov	x0, x21
	bl	_strlen
	add	x2, x0, #1
	mov	x0, x19
	mov	x1, x21
	bl	_CHAR2INT
	mov	x0, x19
	mov	x1, x20
	bl	_argv_exp0
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ex_edit
LBB0_4:
Lloh3:
	adrp	x8, _M_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_msgq
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20]
Lloh8:
	adrp	x22, _E_C_FORCE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _E_C_FORCE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_FL_ISSET
	mov	x1, x0
Lloh10:
	adrp	x8, _FS_ALL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FS_ALL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _FS_POSSIBLE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FS_POSSIBLE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_file_m1
	cbz	x0, LBB0_8
LBB0_6:
	mov	w0, #1
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x19]
	ldur	w1, [x8, #-4]
	mov	x0, x19
	bl	_file_add
	cbz	x0, LBB0_6
; %bb.9:
	mov	x21, x0
Lloh16:
	adrp	x8, _FS_SETALT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FS_SETALT@GOTPAGEOFF]
Lloh18:
	ldr	w23, [x8]
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_FL_ISSET
Lloh19:
	adrp	x8, _FS_FORCE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FS_FORCE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w3, w8, w23
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	bl	_file_init
	cbnz	x0, LBB0_6
; %bb.10:
	ldr	x8, [x19]
	sub	x8, x8, #4
	str	x8, [x19]
Lloh22:
	adrp	x8, _SC_FSWITCH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SC_FSWITCH@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_M_ERR,4,2                      ; @M_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"112|No previous files to edit"

	.comm	_E_NEWSCREEN,4,2                ; @E_NEWSCREEN
	.comm	_E_C_FORCE,4,2                  ; @E_C_FORCE
	.comm	_FS_ALL,4,2                     ; @FS_ALL
	.comm	_FS_POSSIBLE,4,2                ; @FS_POSSIBLE
	.comm	_FS_SETALT,4,2                  ; @FS_SETALT
	.comm	_FS_FORCE,4,2                   ; @FS_FORCE
	.comm	_SC_FSWITCH,4,2                 ; @SC_FSWITCH
.subsections_via_symbols
