	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cp_to_buf
_cp_to_buf:                             ## @cp_to_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	_PMAD_LANCE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_memcpy
LBB0_22:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_iob                            ## TAILCALL
LBB0_2:
	movq	_PMAX_LANCE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_12
## %bb.3:
	movl	%ecx, %r10d
	shrl	%r10d
	testw	%r10w, %r10w
	je	LBB0_10
## %bb.4:
	leal	-1(%r10), %r8d
	movl	%r10d, %r9d
	andw	$7, %r9w
	je	LBB0_8
## %bb.5:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	(%rdx), %eax
	addq	$2, %rdx
	movw	%ax, (%rsi)
	addq	$4, %rsi
	incl	%edi
	cmpw	%di, %r9w
	jne	LBB0_6
## %bb.7:
	subl	%edi, %r10d
LBB0_8:
	cmpw	$7, %r8w
	jb	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	(%rdx), %eax
	movw	%ax, (%rsi)
	movzwl	2(%rdx), %eax
	movw	%ax, 4(%rsi)
	movzwl	4(%rdx), %eax
	movw	%ax, 8(%rsi)
	movzwl	6(%rdx), %eax
	movw	%ax, 12(%rsi)
	movzwl	8(%rdx), %eax
	movw	%ax, 16(%rsi)
	movzwl	10(%rdx), %eax
	movw	%ax, 20(%rsi)
	movzwl	12(%rdx), %eax
	movw	%ax, 24(%rsi)
	movzwl	14(%rdx), %eax
	addq	$16, %rdx
	movw	%ax, 28(%rsi)
	addq	$32, %rsi
	addw	$-8, %r10w
	jne	LBB0_9
LBB0_10:
	testb	$1, %cl
	je	LBB0_22
## %bb.11:
	movb	(%rdx), %al
	movb	%al, (%rsi)
	jmp	LBB0_22
LBB0_12:
	movl	%ecx, %eax
	shrl	$4, %eax
	testw	%ax, %ax
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rdx), %edi
	movw	%di, (%rsi)
	movzwl	2(%rdx), %edi
	movw	%di, 2(%rsi)
	movzwl	4(%rdx), %edi
	movw	%di, 4(%rsi)
	movzwl	6(%rdx), %edi
	movw	%di, 6(%rsi)
	movzwl	8(%rdx), %edi
	movw	%di, 8(%rsi)
	movzwl	10(%rdx), %edi
	movw	%di, 10(%rsi)
	movzwl	12(%rdx), %edi
	movw	%di, 12(%rsi)
	movzwl	14(%rdx), %edi
	addq	$16, %rdx
	movw	%di, 14(%rsi)
	addq	$32, %rsi
	decw	%ax
	jne	LBB0_13
LBB0_14:
	movl	%ecx, %edi
	andw	$15, %di
	je	LBB0_22
## %bb.15:
	movzwl	%di, %r8d
	decl	%r8d
	testb	$7, %cl
	je	LBB0_19
## %bb.16:
	movl	%ecx, %r9d
	andl	$7, %r9d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx,%rdi), %eax
	movb	%al, (%rsi,%rdi)
	incq	%rdi
	cmpw	%di, %r9w
	jne	LBB0_17
## %bb.18:
	addq	%rdi, %rdx
	addq	%rdi, %rsi
	andl	$15, %ecx
	subl	%edi, %ecx
	movl	%ecx, %edi
LBB0_19:
	cmpw	$7, %r8w
	jb	LBB0_22
## %bb.20:
	movzwl	%di, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx,%rcx), %eax
	movb	%al, (%rsi,%rcx)
	movzbl	1(%rdx,%rcx), %eax
	movb	%al, 1(%rsi,%rcx)
	movzbl	2(%rdx,%rcx), %eax
	movb	%al, 2(%rsi,%rcx)
	movzbl	3(%rdx,%rcx), %eax
	movb	%al, 3(%rsi,%rcx)
	movzbl	4(%rdx,%rcx), %eax
	movb	%al, 4(%rsi,%rcx)
	movzbl	5(%rdx,%rcx), %eax
	movb	%al, 5(%rsi,%rcx)
	movzbl	6(%rdx,%rcx), %eax
	movb	%al, 6(%rsi,%rcx)
	movzbl	7(%rdx,%rcx), %eax
	movb	%al, 7(%rsi,%rcx)
	addq	$8, %rcx
	cmpw	%cx, %di
	jne	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_PMAD_LANCE,4,2                 ## @PMAD_LANCE
	.comm	_PMAX_LANCE,4,2                 ## @PMAX_LANCE
	.no_dead_strip	_cp_to_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cp_to_buf
_cp_to_buf:                             ; @cp_to_buf
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _PMAD_LANCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMAD_LANCE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_memcpy
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_iob
LBB0_2:
Lloh3:
	adrp	x8, _PMAX_LANCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMAX_LANCE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_8
; %bb.3:
	ubfx	w8, w3, #1, #16
	cbz	w8, LBB0_6
; %bb.4:
	lsr	w8, w3, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	ldrh	w9, [x2], #2
	strh	w9, [x1], #4
	tst	w8, #0xffff
	b.ne	LBB0_5
LBB0_6:
	tbz	w3, #0, LBB0_14
; %bb.7:
	ldrb	w8, [x2]
	strb	w8, [x1]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_iob
LBB0_8:
	ubfx	w8, w3, #4, #16
	cbz	w8, LBB0_12
; %bb.9:
	lsr	w8, w3, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	ldrh	w9, [x2]
	strh	w9, [x1]
	ldrh	w9, [x2, #2]
	strh	w9, [x1, #2]
	ldrh	w9, [x2, #4]
	strh	w9, [x1, #4]
	ldrh	w9, [x2, #6]
	strh	w9, [x1, #6]
	ldrh	w9, [x2, #8]
	strh	w9, [x1, #8]
	ldrh	w9, [x2, #10]
	strh	w9, [x1, #10]
	ldrh	w9, [x2, #12]
	strh	w9, [x1, #12]
	add	x9, x2, #16
	ldrh	w10, [x2, #14]
	strh	w10, [x1, #14]
	add	x1, x1, #32
	mov	x2, x9
	tst	w8, #0xffff
	b.ne	LBB0_10
; %bb.11:
	mov	x2, x9
LBB0_12:
	ands	w8, w3, #0xf
	b.eq	LBB0_14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	sub	w8, w8, #1
	ldrb	w9, [x2], #1
	strb	w9, [x1], #1
	tst	w8, #0xffff
	b.ne	LBB0_13
LBB0_14:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_iob
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PMAD_LANCE,4,2                 ; @PMAD_LANCE
	.comm	_PMAX_LANCE,4,2                 ; @PMAX_LANCE
	.no_dead_strip	_cp_to_buf
.subsections_via_symbols
