	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_path_data                ## -- Begin function write_path_data
	.p2align	4, 0x90
_write_path_data:                       ## @write_path_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_is_integer_path
	movq	%rax, %r14
	movl	(%r15), %r12d
	testq	%rbx, %rbx
	je	LBB0_40
## %bb.1:
	leaq	12(%rbx), %r8
	xorl	%eax, %eax
	movq	_VERSION_MAGIC2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	%r12d, (%rbx)
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	_FLAGS_INTPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, 4(%rbx)
	je	LBB0_7
## %bb.4:
	testl	%r12d, %r12d
	jle	LBB0_10
## %bb.5:
	movq	16(%r15), %rcx
	cmpl	$8, %r12d
	jb	LBB0_6
## %bb.12:
	leaq	(%rcx,%r12,4), %rax
	cmpq	%rax, %r8
	jae	LBB0_26
## %bb.13:
	leaq	(%rbx,%r12,4), %rax
	addq	$12, %rax
	cmpq	%rcx, %rax
	jbe	LBB0_26
LBB0_6:
	xorl	%edx, %edx
LBB0_32:
	movq	%rdx, %rax
	notq	%rax
	testb	$1, %r12b
	je	LBB0_34
## %bb.33:
	movzwl	(%rcx,%rdx,4), %esi
	movw	%si, (%r8,%rdx,4)
	movzwl	2(%rcx,%rdx,4), %esi
	movw	%si, 2(%r8,%rdx,4)
	orq	$1, %rdx
LBB0_34:
	addq	%r12, %rax
	je	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rcx,%rdx,4), %eax
	movw	%ax, 12(%rbx,%rdx,4)
	movzwl	2(%rcx,%rdx,4), %eax
	movw	%ax, 14(%rbx,%rdx,4)
	movzwl	4(%rcx,%rdx,4), %eax
	movw	%ax, 16(%rbx,%rdx,4)
	movzwl	6(%rcx,%rdx,4), %eax
	movw	%ax, 18(%rbx,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r12
	jne	LBB0_35
	jmp	LBB0_36
LBB0_7:
	testl	%r12d, %r12d
	jle	LBB0_15
## %bb.8:
	movq	16(%r15), %rcx
	cmpl	$1, %r12d
	jne	LBB0_16
## %bb.9:
	xorl	%edx, %edx
	jmp	LBB0_22
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_16:
	movl	%r12d, %edx
	andl	$-2, %edx
	leaq	-2(%rdx), %rsi
	movq	%rsi, %rax
	shrq	%rax
	incq	%rax
	testq	%rsi, %rsi
	je	LBB0_41
## %bb.17:
	movq	%rax, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero
	pshuflw	$232, %xmm0, %xmm1              ## xmm1 = xmm0[0,2,2,3,4,5,6,7]
	pshuflw	$237, %xmm0, %xmm0              ## xmm0 = xmm0[1,3,2,3,4,5,6,7]
	pmovsxwd	%xmm1, %xmm1
	cvtdq2ps	%xmm1, %xmm1
	pmovsxwd	%xmm0, %xmm0
	cvtdq2ps	%xmm0, %xmm0
	unpcklps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
	movups	%xmm1, 12(%rbx,%rsi,8)
	movq	8(%rcx,%rsi,4), %xmm0           ## xmm0 = mem[0],zero
	pshuflw	$232, %xmm0, %xmm1              ## xmm1 = xmm0[0,2,2,3,4,5,6,7]
	pshuflw	$237, %xmm0, %xmm0              ## xmm0 = xmm0[1,3,2,3,4,5,6,7]
	pmovsxwd	%xmm1, %xmm1
	cvtdq2ps	%xmm1, %xmm1
	pmovsxwd	%xmm0, %xmm0
	cvtdq2ps	%xmm0, %xmm0
	unpcklps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
	movups	%xmm1, 28(%rbx,%rsi,8)
	addq	$4, %rsi
	addq	$-2, %rdi
	jne	LBB0_18
## %bb.19:
	testb	$1, %al
	je	LBB0_21
LBB0_20:
	movq	(%rcx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero
	pshuflw	$232, %xmm0, %xmm1              ## xmm1 = xmm0[0,2,2,3,4,5,6,7]
	pshuflw	$237, %xmm0, %xmm0              ## xmm0 = xmm0[1,3,2,3,4,5,6,7]
	pmovsxwd	%xmm1, %xmm1
	cvtdq2ps	%xmm1, %xmm1
	pmovsxwd	%xmm0, %xmm0
	cvtdq2ps	%xmm0, %xmm0
	unpcklps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
	movups	%xmm1, 12(%rbx,%rsi,8)
LBB0_21:
	cmpq	%r12, %rdx
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movswl	(%rcx,%rdx,4), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, 12(%rbx,%rdx,8)
	movswl	2(%rcx,%rdx,4), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, 16(%rbx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_22
LBB0_23:
	leal	(%r12,%r12), %eax
LBB0_24:
	leaq	(%r8,%rax,4), %rax
	testl	%r12d, %r12d
	jg	LBB0_37
LBB0_25:
	xorl	%ecx, %ecx
	movl	%r12d, %esi
	jmp	LBB0_39
LBB0_26:
	movl	%r12d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rax
	movq	%rax, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rax, %rax
	je	LBB0_42
## %bb.27:
	movq	%rsi, %rax
	andq	$-2, %rax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rdi,4), %xmm0
	movups	16(%rcx,%rdi,4), %xmm1
	movups	%xmm0, 12(%rbx,%rdi,4)
	movups	%xmm1, 28(%rbx,%rdi,4)
	movups	32(%rcx,%rdi,4), %xmm0
	movups	48(%rcx,%rdi,4), %xmm1
	movups	%xmm0, 44(%rbx,%rdi,4)
	movups	%xmm1, 60(%rbx,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rax
	jne	LBB0_28
## %bb.29:
	testb	$1, %sil
	je	LBB0_31
LBB0_30:
	leaq	(,%rdi,4), %rax
	orq	$16, %rax
	movups	(%rcx,%rdi,4), %xmm0
	movups	(%rcx,%rax), %xmm1
	movups	%xmm0, 12(%rbx,%rdi,4)
	movups	%xmm1, 12(%rbx,%rax)
LBB0_31:
	cmpq	%r12, %rdx
	jne	LBB0_32
LBB0_36:
	leal	(%r12,%r12), %eax
LBB0_11:
	leaq	(%r8,%rax,2), %rax
	testl	%r12d, %r12d
	jle	LBB0_25
LBB0_37:
	movq	8(%r15), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rcx,4), %esi
	movl	%esi, (%rax,%rcx,4)
	incq	%rcx
	movslq	(%r15), %rsi
	cmpq	%rsi, %rcx
	jl	LBB0_38
LBB0_39:
	leaq	(%rax,%rcx,4), %rdi
	leal	3(%rsi), %edx
	andl	$-4, %edx
	subl	%esi, %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_40:
	testq	%r14, %r14
	sete	%cl
	orb	$2, %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	addl	%r12d, %eax
	addl	$15, %eax
	andl	$-4, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	xorl	%esi, %esi
	testb	$1, %al
	jne	LBB0_20
	jmp	LBB0_21
LBB0_42:
	xorl	%edi, %edi
	testb	$1, %sil
	jne	LBB0_30
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_VERSION_MAGIC2,4,2             ## @VERSION_MAGIC2
	.comm	_FLAGS_INTPATH,4,2              ## @FLAGS_INTPATH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_path_data                ; -- Begin function write_path_data
	.p2align	2
_write_path_data:                       ; @write_path_data
	.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, x1
	mov	x20, x0
	bl	_is_integer_path
	mov	x19, x0
	ldr	w22, [x20]
	cbz	x21, LBB0_28
; %bb.1:
Lloh0:
	adrp	x8, _VERSION_MAGIC2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERSION_MAGIC2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w22, [x21]
Lloh3:
	adrp	x9, _FLAGS_INTPATH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLAGS_INTPATH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x19, #0
	csel	w9, wzr, w9, eq
	stp	w9, w8, [x21, #4]
	add	x8, x21, #12
	cmp	w22, #1
	cbz	x19, LBB0_8
; %bb.2:
	b.lt	LBB0_17
; %bb.3:
	ldr	x9, [x20, #16]
	cmp	w22, #16
	b.lo	LBB0_11
; %bb.4:
	lsl	x10, x22, #2
	add	x11, x10, x21
	add	x11, x11, #12
	add	x10, x9, x10
	cmp	x8, x10
	ccmp	x11, x9, #0, lo
	b.hi	LBB0_11
; %bb.5:
	and	x10, x22, #0xfffffff0
	add	x11, x9, #32
	add	x12, x21, #44
	mov	x13, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q0, [x11, #-32]
	ldp	q3, q2, [x11], #64
	stp	q1, q0, [x12, #-32]
	stp	q3, q2, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x10, x22
	b.ne	LBB0_12
	b	LBB0_14
LBB0_8:
	b.lt	LBB0_18
; %bb.9:
	ldr	x9, [x20, #16]
	cmp	w22, #8
	b.hs	LBB0_19
; %bb.10:
	mov	x10, #0
	b	LBB0_22
LBB0_11:
	mov	x10, #0
LBB0_12:
	lsl	x11, x10, #2
	add	x9, x9, x11
	add	x9, x9, #2
	add	x11, x11, x21
	add	x11, x11, #14
	sub	x10, x22, x10
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldurh	w12, [x9, #-2]
	sturh	w12, [x11, #-2]
	ldrh	w12, [x9], #4
	strh	w12, [x11], #4
	subs	x10, x10, #1
	b.ne	LBB0_13
LBB0_14:
	lsl	w9, w22, #1
	add	x8, x8, x9, lsl #1
	cmp	w22, #1
	b.lt	LBB0_26
LBB0_15:
	mov	x9, #0
	ldr	x10, [x20, #8]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x10, x11]
	str	w12, [x8, x11]
	add	x9, x9, #1
	ldrsw	x11, [x20]
	cmp	x9, x11
	b.lt	LBB0_16
	b	LBB0_27
LBB0_17:
	mov	x9, #0
	add	x8, x8, xzr, lsl #1
	cmp	w22, #1
	b.ge	LBB0_15
	b	LBB0_26
LBB0_18:
	mov	x9, #0
	b	LBB0_25
LBB0_19:
	and	x10, x22, #0xfffffff8
	add	x11, x9, #16
	add	x12, x21, #44
	mov	x13, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	sub	x14, x11, #16
	ld2.4h	{ v0, v1 }, [x14]
	ld2.4h	{ v2, v3 }, [x11]
	sshll.4s	v4, v0, #0
	scvtf.4s	v4, v4
	sshll.4s	v0, v1, #0
	scvtf.4s	v5, v0
	sshll.4s	v0, v2, #0
	scvtf.4s	v0, v0
	sub	x14, x12, #32
	st2.4s	{ v4, v5 }, [x14]
	sshll.4s	v2, v3, #0
	scvtf.4s	v1, v2
	st2.4s	{ v0, v1 }, [x12]
	add	x11, x11, #32
	add	x12, x12, #64
	subs	x13, x13, #8
	b.ne	LBB0_20
; %bb.21:
	cmp	x10, x22
	b.eq	LBB0_24
LBB0_22:
	sub	x11, x22, x10
	add	x9, x9, x10, lsl #2
	add	x9, x9, #2
	add	x10, x21, x10, lsl #3
	add	x10, x10, #16
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldur	h0, [x9, #-2]
	sshll.4s	v0, v0, #0
	scvtf	s0, s0
	stur	s0, [x10, #-4]
	ldr	h0, [x9]
	sshll.4s	v0, v0, #0
	scvtf	s0, s0
	str	s0, [x10], #8
	add	x9, x9, #4
	subs	x11, x11, #1
	b.ne	LBB0_23
LBB0_24:
	lsl	w9, w22, #1
LBB0_25:
	add	x8, x8, x9, lsl #2
	cmp	w22, #1
	b.ge	LBB0_15
LBB0_26:
	mov	x9, #0
	mov	x11, x22
LBB0_27:
	add	x0, x8, x9, lsl #2
	add	w8, w11, #3
	and	w8, w8, #0xfffffffc
	sub	w2, w8, w11
	mov	w1, #0
	bl	_memset
LBB0_28:
	cmp	x19, #0
	mov	w8, #2
	cinc	w8, w8, eq
	lsl	w8, w22, w8
	add	w8, w22, w8
	add	w8, w8, #15
	and	w0, w8, #0xfffffffc
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_VERSION_MAGIC2,4,2             ; @VERSION_MAGIC2
	.comm	_FLAGS_INTPATH,4,2              ; @FLAGS_INTPATH
.subsections_via_symbols
