	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QTNCopy                        ## -- Begin function QTNCopy
	.p2align	4, 0x90
_QTNCopy:                               ## @QTNCopy
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_check_stack_depth
	movl	$40, %edi
	callq	_palloc
	movq	%rax, %r14
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	%xmm0, (%rax)
	movups	%xmm1, 16(%rax)
	movq	32(%r15), %rax
	movq	%rax, 32(%r14)
	movl	$16, %edi
	callq	_palloc
	movq	%rax, 32(%r14)
	movq	32(%r15), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rax)
	movq	_QTN_NEEDFREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
	movq	32(%r15), %rax
	movq	(%rax), %rcx
	movq	_QI_VAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	8(%rax), %edi
	incl	%edi
	callq	_palloc
	movq	%rax, (%r14)
	movq	(%r15), %rsi
	movq	32(%r15), %rcx
	movl	8(%rcx), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%r14), %rax
	movq	32(%r15), %rcx
	movslq	8(%rcx), %rcx
	movb	$0, (%rax,%rcx)
	movq	_QTN_WORDFREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r14)
	jmp	LBB0_5
LBB0_2:
	movl	8(%r15), %edi
	shll	$3, %edi
	callq	_palloc
	movq	%rax, 16(%r14)
	cmpl	$0, 8(%r15)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_QTNCopy
	movq	16(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QTN_NEEDFREE,4,2               ## @QTN_NEEDFREE
	.comm	_QI_VAL,8,3                     ## @QI_VAL
	.comm	_QTN_WORDFREE,4,2               ## @QTN_WORDFREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QTNCopy                        ; -- Begin function QTNCopy
	.p2align	2
_QTNCopy:                               ; @QTNCopy
	.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	x20, x0
	bl	_check_stack_depth
	mov	w0, #40
	bl	_palloc
	mov	x19, x0
	ldr	x8, [x20, #32]
	ldp	q1, q0, [x20]
	stp	q1, q0, [x0]
	str	x8, [x0, #32]
	mov	w0, #16
	bl	_palloc
	str	x0, [x19, #32]
	ldr	x8, [x20, #32]
	ldr	q0, [x8]
	str	q0, [x0]
Lloh0:
	adrp	x8, _QTN_NEEDFREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QTN_NEEDFREE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
	ldr	x8, [x20, #32]
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _QI_VAL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QI_VAL@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x8, #8]
	add	w0, w8, #1
	bl	_palloc
	str	x0, [x19]
	ldr	x1, [x20]
	ldr	x8, [x20, #32]
	ldr	w2, [x8, #8]
	bl	_memcpy
	ldr	x8, [x19]
	ldr	x9, [x20, #32]
	ldrsw	x9, [x9, #8]
	strb	wzr, [x8, x9]
Lloh6:
	adrp	x8, _QTN_WORDFREE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QTN_WORDFREE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
	b	LBB0_5
LBB0_2:
	ldr	w8, [x20, #8]
	lsl	w0, w8, #3
	bl	_palloc
	str	x0, [x19, #16]
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	lsl	x22, x21, #3
	ldr	x0, [x8, x22]
	bl	_QTNCopy
	ldr	x8, [x19, #16]
	str	x0, [x8, x22]
	add	x21, x21, #1
	ldrsw	x8, [x20, #8]
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, 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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QTN_NEEDFREE,4,2               ; @QTN_NEEDFREE
	.comm	_QI_VAL,8,3                     ; @QI_VAL
	.comm	_QTN_WORDFREE,4,2               ; @QTN_WORDFREE
.subsections_via_symbols
