	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ex_tag_nswitch                 ## -- Begin function ex_tag_nswitch
	.p2align	4, 0x90
_ex_tag_nswitch:                        ## @ex_tag_nswitch
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_file_add
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	cmpq	(%r14), %rax
	je	LBB0_7
## %bb.4:
	movq	_FS_ALL@GOTPCREL(%rip), %rax
	movq	_FS_POSSIBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_file_m1
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	(%rbx), %rsi
	movq	_FS_SETALT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_file_init
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	_SC_SCR_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_CLR
	movq	_SC_SCR_CENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_SET
	movq	_SC_FSWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_SET
LBB0_7:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_2:
	movl	$1, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FS_ALL,4,2                     ## @FS_ALL
	.comm	_FS_POSSIBLE,4,2                ## @FS_POSSIBLE
	.comm	_FS_SETALT,4,2                  ## @FS_SETALT
	.comm	_SC_SCR_TOP,4,2                 ## @SC_SCR_TOP
	.comm	_SC_SCR_CENTER,4,2              ## @SC_SCR_CENTER
	.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_tag_nswitch                 ; -- Begin function ex_tag_nswitch
	.p2align	2
_ex_tag_nswitch:                        ; @ex_tag_nswitch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_file_add
	str	x0, [x20]
	cbz	x0, LBB0_5
LBB0_2:
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _FS_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FS_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FS_POSSIBLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FS_POSSIBLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x21
	bl	_file_m1
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x1, [x20]
Lloh6:
	adrp	x8, _FS_SETALT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FS_SETALT@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_file_init
	cbz	x0, LBB0_6
LBB0_5:
	mov	w0, #1
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _SC_SCR_TOP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SC_SCR_TOP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_CLR
Lloh12:
	adrp	x8, _SC_SCR_CENTER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SC_SCR_CENTER@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
Lloh15:
	adrp	x8, _SC_FSWITCH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SC_FSWITCH@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_SET
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FS_ALL,4,2                     ; @FS_ALL
	.comm	_FS_POSSIBLE,4,2                ; @FS_POSSIBLE
	.comm	_FS_SETALT,4,2                  ; @FS_SETALT
	.comm	_SC_SCR_TOP,4,2                 ; @SC_SCR_TOP
	.comm	_SC_SCR_CENTER,4,2              ; @SC_SCR_CENTER
	.comm	_SC_FSWITCH,4,2                 ; @SC_FSWITCH
.subsections_via_symbols
