	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_svis
_do_svis:                               ## @do_svis
	.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
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	%r8, %rdi
	callq	_wcschr
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%r14b
	je	LBB0_1
LBB0_5:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movb	%r14b, %bl
	movq	_NBBY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	leal	(%rax,%rax,2), %ecx
	movl	$255, %r14d
	movl	$255, %r15d
	shll	%cl, %r15d
	movl	%r15d, %esi
	andl	%r12d, %esi
	je	LBB0_7
## %bb.6:
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	movq	%r13, %rdi
	movq	%rdx, %r13
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_do_mbyte
	movq	%r13, %rdx
	movq	%rax, %r13
	movl	(%rdx), %eax
LBB0_7:
	leal	(%rax,%rax), %ecx
	shll	%cl, %r14d
	orl	%r14d, %r15d
	testl	%r12d, %r15d
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_8
## %bb.9:
	andl	%r12d, %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%ebx, %r8d
	movq	%rdx, %rbx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	callq	_do_mbyte
	movq	%rax, %r13
	movl	(%rbx), %eax
	jmp	LBB0_10
LBB0_1:
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_ISGRAPH
	testq	%rax, %rax
	jne	LBB0_14
## %bb.2:
	movl	%r12d, %edi
	callq	_iswwhite
	testq	%rax, %rax
	je	LBB0_3
LBB0_14:
	movl	%r12d, (%r13)
	addq	$4, %r13
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
LBB0_10:
	movl	$255, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	orl	%esi, %r15d
	testl	%r12d, %r15d
	je	LBB0_11
## %bb.12:
	andl	%r12d, %esi
	movl	%eax, %ecx
	sarl	%cl, %esi
	movq	%r13, %rdi
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_do_mbyte
	movq	%rax, %r13
	jmp	LBB0_13
LBB0_11:
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_13:
	movzbl	%r12b, %esi
	movq	%r13, %rdi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_mbyte                       ## TAILCALL
LBB0_3:
	movq	_VIS_SAFE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.4:
	movl	%r12d, %edi
	callq	_iswsafe
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_VIS_SAFE,4,2                   ## @VIS_SAFE
	.comm	_NBBY,4,2                       ## @NBBY
	.no_dead_strip	_do_svis
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_svis
_do_svis:                               ; @do_svis
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	mov	x0, x4
	bl	_wcschr
	cmp	x0, #0
	cset	w22, ne
	cbz	x0, LBB0_8
LBB0_1:
Lloh0:
	adrp	x24, _NBBY@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NBBY@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w9, w8, w8, lsl #1
	mov	w25, #255
	lsl	w26, w25, w9
	ands	w10, w26, w21
	b.eq	LBB0_3
; %bb.2:
	asr	w1, w10, w9
	mov	x0, x23
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	bl	_do_mbyte
	mov	x23, x0
	ldr	w8, [x24]
LBB0_3:
	lsl	w9, w8, #1
	lsl	w10, w25, w9
	orr	w25, w10, w26
	tst	w25, w21
	b.eq	LBB0_5
; %bb.4:
	and	w8, w10, w21
	asr	w1, w8, w9
	mov	x0, x23
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	bl	_do_mbyte
	mov	x23, x0
	ldr	w8, [x24]
LBB0_5:
	mov	w9, #255
	lsl	w9, w9, w8
	orr	w10, w9, w25
	tst	w10, w21
	b.eq	LBB0_7
; %bb.6:
	and	w9, w9, w21
	asr	w1, w9, w8
	mov	x0, x23
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	bl	_do_mbyte
	mov	x23, x0
LBB0_7:
	and	w1, w21, #0xff
	mov	x0, x23
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_do_mbyte
LBB0_8:
	mov	x0, x20
	mov	x1, x21
	bl	_ISGRAPH
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_iswwhite
	cbz	x0, LBB0_11
LBB0_10:
	str	w21, [x23], #4
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh2:
	adrp	x8, _VIS_SAFE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VIS_SAFE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_1
; %bb.12:
	mov	x0, x21
	bl	_iswsafe
	cbnz	x0, LBB0_10
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_VIS_SAFE,4,2                   ; @VIS_SAFE
	.comm	_NBBY,4,2                       ; @NBBY
	.no_dead_strip	_do_svis
.subsections_via_symbols
