	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_z                           ## -- Begin function ex_z
	.p2align	4, 0x90
_ex_z:                                  ## @ex_z
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_NEEDFILE
	movl	12(%rbx), %edi
	movq	_E_C_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FL_ISSET
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %r15d
	jmp	LBB0_3
LBB0_2:
	movq	_O_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_O_VAL
	movl	%eax, %r15d
	decl	%r15d
LBB0_3:
	movl	8(%rbx), %r12d
	movl	%r12d, -44(%rbp)
	movl	12(%rbx), %edi
	movl	$135, %esi
	callq	_FL_ISSET
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movl	%r15d, %eax
	decl	%eax
	shrl	$31, %eax
	leal	(%r15,%rax), %r13d
	decl	%r13d
	sarl	%r13d
	movl	%r12d, %eax
	subl	%r13d, %eax
	movl	$1, %r15d
	cmovlel	%r15d, %eax
	movl	%eax, 8(%rbx)
	leal	-1(%r12), %eax
	movl	%eax, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ex_pr
	testq	%rax, %rax
	jne	LBB0_21
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ex_puts
	movl	%r12d, 8(%rbx)
	movl	%r12d, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ex_pr
	testq	%rax, %rax
	jne	LBB0_21
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ex_puts
	leal	1(%r12), %eax
	movl	%eax, 8(%rbx)
	leal	(%r12,%r13), %eax
	decl	%eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_15
LBB0_10:
	movq	_E_ADDR_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	incl	%r12d
	movl	%r12d, -44(%rbp)
LBB0_12:
	movl	%r12d, 8(%rbx)
	leal	(%r15,%r12), %eax
	decl	%eax
	jmp	LBB0_13
LBB0_6:
	movl	%r15d, %eax
	decl	%eax
	shrl	$31, %eax
	addl	%r15d, %eax
	decl	%eax
	sarl	%eax
	movl	%r12d, %ecx
	subl	%eax, %ecx
	movl	$1, %edx
	cmovlel	%edx, %ecx
	movl	%ecx, 8(%rbx)
	addl	%r12d, %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, -56(%rbp)
	movl	4(%r14), %eax
	movl	%eax, -52(%rbp)
	movq	_ABSMARK1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_mark_set
	jmp	LBB0_14
LBB0_22:
	movl	%r12d, %eax
	subl	%r15d, %eax
	leal	1(%rax), %eax
	movl	$1, %ecx
	cmovgl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	movl	%r12d, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ex_pr
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	jmp	LBB0_21
LBB0_5:
	leal	(%r15,%r15), %eax
	subl	%eax, %r12d
	leal	1(%r12), %eax
	movl	$1, %ecx
	cmovgl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	leal	(%r15,%rcx), %eax
	decl	%eax
LBB0_13:
	movl	%eax, 4(%rbx)
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_db_last
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_21
## %bb.16:
	movl	-44(%rbp), %eax
	cmpl	%eax, 4(%rbx)
	jle	LBB0_18
## %bb.17:
	movl	%eax, 4(%rbx)
LBB0_18:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ex_pr
	testq	%rax, %rax
	jne	LBB0_21
## %bb.19:
	xorl	%r15d, %r15d
	testl	%r12d, %r12d
	je	LBB0_21
## %bb.20:
	movl	%r12d, (%r14)
LBB0_21:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_22
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_E_C_COUNT,4,2                  ## @E_C_COUNT
	.comm	_O_WINDOW,4,2                   ## @O_WINDOW
	.comm	_ABSMARK1,4,2                   ## @ABSMARK1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"----------------------------------------\n"

	.comm	_E_ADDR_DEF,4,2                 ## @E_ADDR_DEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_z                           ; -- Begin function ex_z
	.p2align	2
_ex_z:                                  ; @ex_z
	.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, #12]
Lloh0:
	adrp	x8, _E_C_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_C_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_FL_ISSET
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w22, [x20]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _O_WINDOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_WINDOW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_O_VAL
	sub	w22, w0, #1
LBB0_3:
	ldp	w21, w0, [x20, #8]
	str	w21, [sp, #4]
	mov	w1, #135
	bl	_FL_ISSET
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.4:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	sub	w8, w22, #1
	cmp	w8, #0
	csel	w8, w22, w8, lt
	asr	w22, w8, #1
	subs	w8, w21, w22
	csinc	w8, w8, wzr, gt
	sub	w9, w21, #1
	stp	w9, w8, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_ex_pr
	cbnz	x0, LBB0_19
; %bb.6:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ex_puts
	stp	w21, w21, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_ex_pr
	cbnz	x0, LBB0_19
; %bb.7:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ex_puts
	sub	w8, w22, #1
	movi.2s	v0, #1
	mov.s	v0[0], w8
	dup.2s	v1, w21
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
	b	LBB0_15
LBB0_8:
Lloh12:
	adrp	x8, _E_ADDR_DEF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _E_ADDR_DEF@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_ISSET
	cbz	w0, LBB0_10
; %bb.9:
	add	w21, w21, #1
	str	w21, [sp, #4]
LBB0_10:
	add	w8, w22, w21
	sub	w8, w8, #1
	stp	w8, w21, [x20, #4]
	b	LBB0_14
LBB0_11:
	sub	w8, w22, #1
	cmp	w8, #0
	csel	w8, w22, w8, lt
	asr	w8, w8, #1
	subs	w9, w21, w8
	csinc	w9, w9, wzr, gt
	add	w8, w21, w8
	stp	w8, w9, [x20, #4]
	ldr	d0, [x19]
	str	d0, [sp, #8]
Lloh15:
	adrp	x8, _ABSMARK1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ABSMARK1@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #1
	bl	_mark_set
	b	LBB0_14
LBB0_12:
	subs	w8, w21, w22
	mov	w9, #1
	csinc	w8, w9, w8, le
	stp	w21, w8, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_ex_pr
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_20
LBB0_13:
	lsl	w8, w22, #1
	subs	w8, w21, w8
	mov	w9, #1
	csinc	w8, w9, w8, le
	add	w9, w22, w8
	sub	w9, w9, #1
	stp	w9, w8, [x20, #4]
LBB0_14:
	mov	w21, #0
LBB0_15:
	add	x1, sp, #4
	mov	x0, x19
	bl	_db_last
	cbnz	x0, LBB0_19
; %bb.16:
	ldr	w9, [x20, #4]
	ldr	w8, [sp, #4]
	cmp	w9, w8
	b.le	LBB0_18
; %bb.17:
	str	w8, [x20, #4]
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_ex_pr
	cbz	x0, LBB0_21
LBB0_19:
	mov	w0, #1
LBB0_20:
	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
LBB0_21:
	mov	w0, #0
	cbz	w21, LBB0_20
; %bb.22:
	str	w21, [x19]
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
                                        ; -- End function
	.comm	_E_C_COUNT,4,2                  ; @E_C_COUNT
	.comm	_O_WINDOW,4,2                   ; @O_WINDOW
	.comm	_ABSMARK1,4,2                   ; @ABSMARK1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"----------------------------------------\n"

	.comm	_E_ADDR_DEF,4,2                 ; @E_ADDR_DEF
.subsections_via_symbols
