	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ex_N_next
_ex_N_next:                             ## @ex_N_next
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_screen_init
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_vs_split
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	(%rax), %rdx
	incq	%rdx
	movq	%rbx, %rdi
	callq	_INT2CHAR
	movq	-48(%rbp), %rdi
	callq	_file_add
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r12
	movq	-48(%rbp), %r13
	movl	(%r15), %edi
	movq	_E_C_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FL_ISSET
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_FS_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_6:
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_file_init
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_vs_discard
LBB0_2:
	movq	-48(%rbp), %rdi
	callq	_screen_end
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ex_buildargv
	movq	-48(%rbp), %rdi
	movl	%eax, 8(%rdi)
	movl	%eax, 12(%rdi)
	movq	_SC_STATUS_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_SET
	movq	-48(%rbp), %rax
	movq	%rax, (%rbx)
	movq	_SC_SSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_SET
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_E_C_FORCE,4,2                  ## @E_C_FORCE
	.comm	_FS_FORCE,4,2                   ## @FS_FORCE
	.comm	_SC_STATUS_CNT,4,2              ## @SC_STATUS_CNT
	.comm	_SC_SSWITCH,4,2                 ## @SC_SSWITCH
	.no_dead_strip	_ex_N_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ex_N_next
_ex_N_next:                             ; @ex_N_next
	.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
	ldr	w0, [x0, #16]
	add	x2, sp, #8
	mov	x1, x19
	bl	_screen_init
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_vs_split
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w1, [x8, #8]
	ldr	x8, [x8]
	add	x2, x8, #1
	mov	x0, x19
	bl	_INT2CHAR
	ldr	x0, [sp, #8]
	bl	_file_add
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldr	x22, [sp, #8]
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _E_C_FORCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_C_FORCE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_FL_ISSET
Lloh3:
	adrp	x8, _FS_FORCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FS_FORCE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w3, wzr, w8, eq
	mov	x0, x22
	mov	x1, x21
	mov	x2, #0
	bl	_file_init
	cbz	x0, LBB0_8
LBB0_4:
	ldr	x0, [sp, #8]
	mov	x1, #0
	bl	_vs_discard
LBB0_5:
	ldr	x0, [sp, #8]
	bl	_screen_end
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
	add	sp, sp, #64
	ret
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_ex_buildargv
	ldr	x8, [sp, #8]
	stp	w0, w0, [x8, #8]
Lloh6:
	adrp	x9, _SC_STATUS_CNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SC_STATUS_CNT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_F_SET
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh9:
	adrp	x8, _SC_SSWITCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SC_SSWITCH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_E_C_FORCE,4,2                  ; @E_C_FORCE
	.comm	_FS_FORCE,4,2                   ; @FS_FORCE
	.comm	_SC_STATUS_CNT,4,2              ; @SC_STATUS_CNT
	.comm	_SC_SSWITCH,4,2                 ; @SC_SSWITCH
	.no_dead_strip	_ex_N_next
.subsections_via_symbols
