	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_name_table_string
_copy_name_table_string:                ## @copy_name_table_string
	.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, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_GET_BE_WORD
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_GET_BE_WORD
	cmpl	$130, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_8
LBB0_3:
	movl	%r15d, %r12d
	shrl	$31, %r12d
	addl	%r15d, %r12d
	sarl	%r12d
	leal	4(,%r12,4), %edi
	callq	_heap_alloc
	movq	%rax, %r14
	cmpl	$2, %r15d
	jl	LBB0_9
## %bb.4:
	movl	%r12d, %eax
	cmpl	$8, %r12d
	jb	LBB0_5
## %bb.10:
	leaq	(%rbx,%rax,8), %rcx
	cmpq	%rcx, %r14
	jae	LBB0_13
## %bb.11:
	leaq	(%r14,%rax,4), %rcx
	cmpq	%rbx, %rcx
	jbe	LBB0_13
LBB0_5:
	xorl	%ecx, %ecx
LBB0_16:
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %al
	je	LBB0_18
## %bb.17:
	movl	(%rbx,%rcx,8), %esi
	shll	$8, %esi
	orl	4(%rbx,%rcx,8), %esi
	movl	%esi, (%r14,%rcx,4)
	orq	$1, %rcx
LBB0_18:
	addq	%rax, %rdx
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,8), %edx
	shll	$8, %edx
	orl	4(%rbx,%rcx,8), %edx
	movl	%edx, (%r14,%rcx,4)
	movl	8(%rbx,%rcx,8), %edx
	shll	$8, %edx
	orl	12(%rbx,%rcx,8), %edx
	movl	%edx, 4(%r14,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_19
	jmp	LBB0_20
LBB0_6:
	movq	%r14, %rdi
	callq	_get_mac_code_page
	movl	%eax, %r12d
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_MultiByteToWideChar
	movl	%eax, %edi
	incl	%edi
	je	LBB0_21
## %bb.7:
	movl	%eax, %r13d
	shll	$2, %edi
	callq	_heap_alloc
	movq	%rax, %r14
	movl	%r12d, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	movq	%rax, %r8
	movl	%r13d, %r9d
	callq	_MultiByteToWideChar
	cltq
	jmp	LBB0_20
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_9:
	xorl	%eax, %eax
LBB0_20:
	leaq	(%r14,%rax,4), %rax
	movl	$0, (%rax)
LBB0_21:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	(,%rax,4), %rdx
	andq	$-32, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi,2), %xmm0
	movups	16(%rbx,%rsi,2), %xmm1
	movups	32(%rbx,%rsi,2), %xmm2
	movups	48(%rbx,%rsi,2), %xmm3
	movaps	%xmm0, %xmm4
	shufps	$136, %xmm1, %xmm4              ## xmm4 = xmm4[0,2],xmm1[0,2]
	movaps	%xmm2, %xmm5
	shufps	$136, %xmm3, %xmm5              ## xmm5 = xmm5[0,2],xmm3[0,2]
	shufps	$221, %xmm1, %xmm0              ## xmm0 = xmm0[1,3],xmm1[1,3]
	shufps	$221, %xmm3, %xmm2              ## xmm2 = xmm2[1,3],xmm3[1,3]
	pslld	$8, %xmm4
	por	%xmm0, %xmm4
	pslld	$8, %xmm5
	por	%xmm2, %xmm5
	movdqu	%xmm4, (%r14,%rsi)
	movdqu	%xmm5, 16(%r14,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_14
## %bb.15:
	cmpq	%rax, %rcx
	je	LBB0_20
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_name_table_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_name_table_string
_copy_name_table_string:                ; @copy_name_table_string
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_GET_BE_WORD
	mov	x21, x0
	ldr	w0, [x19]
	bl	_GET_BE_WORD
	cmp	w0, #130
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_11
LBB0_3:
	cmp	w21, #0
	cinc	w8, w21, lt
	asr	w22, w8, #1
	lsl	w8, w22, #2
	add	w0, w8, #4
	bl	_heap_alloc
	mov	x19, x0
	cmp	w21, #2
	b.lt	LBB0_12
; %bb.4:
	cmp	w22, #16
	b.lo	LBB0_13
; %bb.5:
	add	x8, x19, x22, lsl #2
	add	x9, x20, x22, lsl #3
	cmp	x19, x9
	ccmp	x8, x20, #0, lo
	b.hi	LBB0_13
; %bb.6:
	and	x8, x22, #0xfffffff0
	add	x9, x19, #32
	add	x10, x20, #64
	mov	x11, x8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x12, x10, #64
	ld2.4s	{ v0, v1 }, [x12]
	sub	x12, x10, #32
	ld2.4s	{ v2, v3 }, [x12]
	mov	x12, x10
	ld2.4s	{ v4, v5 }, [x12], #32
	ld2.4s	{ v6, v7 }, [x12]
	shl.4s	v16, v0, #8
	shl.4s	v17, v2, #8
	shl.4s	v18, v4, #8
	shl.4s	v19, v6, #8
	orr.16b	v0, v16, v1
	orr.16b	v1, v17, v3
	orr.16b	v2, v18, v5
	stp	q0, q1, [x9, #-32]
	orr.16b	v0, v19, v7
	stp	q2, q0, [x9], #64
	add	x10, x10, #128
	subs	x11, x11, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x8, x22
	b.ne	LBB0_14
	b	LBB0_16
LBB0_9:
	mov	x0, x19
	bl	_get_mac_code_page
	mov	x22, x0
	mov	w1, #0
	mov	x2, x20
	mov	x3, x21
	mov	x4, #0
	mov	w5, #0
	bl	_MultiByteToWideChar
	mov	x19, #0
	adds	w8, w0, #1
	b.hs	LBB0_18
; %bb.10:
	mov	x23, x0
	lsl	w0, w8, #2
	bl	_heap_alloc
	mov	x19, x0
	mov	x0, x22
	mov	w1, #0
	mov	x2, x20
	mov	x3, x21
	mov	x4, x19
	mov	x5, x23
	bl	_MultiByteToWideChar
	add	x8, x19, w0, sxtw #2
	b	LBB0_17
LBB0_11:
	mov	x19, #0
	b	LBB0_18
LBB0_12:
	mov	x22, #0
	add	x8, x19, xzr, lsl #2
	b	LBB0_17
LBB0_13:
	mov	x8, #0
LBB0_14:
	add	x9, x20, x8, lsl #3
	add	x9, x9, #4
	add	x10, x19, x8, lsl #2
	sub	x8, x22, x8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	w11, w12, [x9, #-4]
	orr	w11, w12, w11, lsl #8
	str	w11, [x10], #4
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
	add	x8, x19, x22, lsl #2
LBB0_17:
	str	wzr, [x8]
LBB0_18:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_name_table_string
.subsections_via_symbols
