	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function writesym
_writesym:                              ## @writesym
	.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, %r12
	movq	(%rdi), %r13
	movl	$1, %r11d
	leaq	L_.str(%rip), %rbx
	movb	$49, %r14b
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_strlen
	cmpl	$15, %eax
	jle	LBB0_3
## %bb.2:
	movl	$16, %r11d
	movb	$48, %r14b
	movq	%r15, %rbx
	jmp	LBB0_5
LBB0_3:
	testl	%eax, %eax
	movl	$1, %r11d
	je	LBB0_5
## %bb.4:
	movq	_digs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %rdx
	movb	(%rcx,%rdx,4), %r14b
	movq	%r15, %rbx
	movl	%eax, %r11d
LBB0_5:
	movb	%r14b, (%r13)
	leaq	1(%r13), %rax
	leal	-1(%r11), %r9d
	cmpl	$31, %r9d
	jb	LBB0_16
## %bb.6:
	movq	%r13, %rcx
	subq	%rbx, %rcx
	incq	%rcx
	cmpq	$32, %rcx
	jb	LBB0_16
## %bb.7:
	incq	%r9
	movq	%r9, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rcx
	movq	%rcx, %rsi
	shrq	$5, %rsi
	incq	%rsi
	movl	%esi, %r10d
	andl	$3, %r10d
	cmpq	$96, %rcx
	jae	LBB0_9
## %bb.8:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_9:
	andq	$-4, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdx), %xmm0
	movups	16(%rbx,%rdx), %xmm1
	movups	%xmm0, 1(%r13,%rdx)
	movups	%xmm1, 17(%r13,%rdx)
	movups	32(%rbx,%rdx), %xmm0
	movups	48(%rbx,%rdx), %xmm1
	movups	%xmm0, 33(%r13,%rdx)
	movups	%xmm1, 49(%r13,%rdx)
	movups	64(%rbx,%rdx), %xmm0
	movups	80(%rbx,%rdx), %xmm1
	movups	%xmm0, 65(%r13,%rdx)
	movups	%xmm1, 81(%r13,%rdx)
	movups	96(%rbx,%rdx), %xmm0
	movups	112(%rbx,%rdx), %xmm1
	movups	%xmm0, 97(%r13,%rdx)
	movups	%xmm1, 113(%r13,%rdx)
	subq	$-128, %rdx
	addq	$-4, %rsi
	jne	LBB0_10
LBB0_11:
	testq	%r10, %r10
	je	LBB0_14
## %bb.12:
	leaq	(%rdx,%rbx), %rsi
	addq	$16, %rsi
	addq	%r13, %rdx
	addq	$17, %rdx
	shlq	$5, %r10
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rcx), %xmm0
	movups	(%rsi,%rcx), %xmm1
	movups	%xmm0, -16(%rdx,%rcx)
	movups	%xmm1, (%rdx,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_13
LBB0_14:
	addq	%r8, %rax
	cmpq	%r8, %r9
	je	LBB0_24
## %bb.15:
	subl	%r8d, %r11d
	addq	%r8, %rbx
LBB0_16:
	leal	-1(%r11), %r8d
	testb	$7, %r11b
	je	LBB0_20
## %bb.17:
	movl	%r11d, %esi
	andl	$7, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdx), %ecx
	movb	%cl, (%rax,%rdx)
	incq	%rdx
	cmpl	%edx, %esi
	jne	LBB0_18
## %bb.19:
	addq	%rdx, %rax
	subl	%edx, %r11d
	addq	%rdx, %rbx
LBB0_20:
	cmpl	$7, %r8d
	jb	LBB0_24
## %bb.21:
	movl	%r11d, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rcx), %edx
	movb	%dl, (%rax,%rcx)
	movzbl	1(%rbx,%rcx), %edx
	movb	%dl, 1(%rax,%rcx)
	movzbl	2(%rbx,%rcx), %edx
	movb	%dl, 2(%rax,%rcx)
	movzbl	3(%rbx,%rcx), %edx
	movb	%dl, 3(%rax,%rcx)
	movzbl	4(%rbx,%rcx), %edx
	movb	%dl, 4(%rax,%rcx)
	movzbl	5(%rbx,%rcx), %edx
	movb	%dl, 5(%rax,%rcx)
	movzbl	6(%rbx,%rcx), %edx
	movb	%dl, 6(%rax,%rcx)
	movzbl	7(%rbx,%rcx), %edx
	movb	%dl, 7(%rax,%rcx)
	addq	$8, %rcx
	cmpl	%ecx, %esi
	jne	LBB0_22
## %bb.23:
	addq	%rcx, %rax
LBB0_24:
	movq	%rax, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$"

	.comm	_digs,8,3                       ## @digs
	.no_dead_strip	_writesym
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function writesym
_writesym:                              ; @writesym
	.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	x19, x0
	ldr	x22, [x0]
	mov	x21, x22
	cbz	x1, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x0, x1
	bl	_strlen
	cmp	w0, #15
	b.le	LBB0_3
; %bb.2:
	mov	w0, #16
	mov	w8, #48
	b	LBB0_6
LBB0_3:
	cbz	w0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _digs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _digs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
	b	LBB0_6
LBB0_5:
	mov	w0, #1
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
	mov	w8, #49
LBB0_6:
	strb	w8, [x21], #1
	sub	w8, w0, #1
	cmp	w8, #63
	b.hs	LBB0_8
; %bb.7:
	mov	x8, x20
	b	LBB0_13
LBB0_8:
	sub	x9, x22, x20
	add	x9, x9, #1
	cmp	x9, #64
	b.hs	LBB0_10
; %bb.9:
	mov	x8, x20
	b	LBB0_13
LBB0_10:
	add	x9, x8, #1
	and	x10, x9, #0x1ffffffc0
	add	x21, x21, x10
	sub	w0, w0, w10
	add	x8, x20, x10
	add	x11, x22, #33
	add	x12, x20, #32
	mov	x13, x10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #64
	b.ne	LBB0_11
; %bb.12:
	cmp	x9, x10
	b.eq	LBB0_14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8], #1
	strb	w9, [x21], #1
	subs	w0, w0, #1
	b.ne	LBB0_13
LBB0_14:
	str	x21, [x19]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$"

	.comm	_digs,8,3                       ; @digs
	.no_dead_strip	_writesym
.subsections_via_symbols
