	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copytup_cluster
_copytup_cluster:                       ## @copytup_cluster
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	32(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_heap_copytuple
	movq	%rax, %r15
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_GetMemoryChunkSpace
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_USEMEM
	movl	%r12d, %edi
	callq	_MemoryContextSwitchTo
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_9
## %bb.1:
	movl	4(%r13), %edx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_heap_getattr
	movq	%rax, %r15
	movq	24(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	cmpl	$0, (%r14)
	je	LBB0_3
LBB0_5:
	movq	%r15, 8(%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r13, %rdi
	callq	_consider_abort_common
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	%r15, 8(%r14)
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %r15
	leaq	(%r15,%rbx), %rcx
	movq	16(%r15,%rbx), %rdi
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	4(%r13), %edx
	callq	_heap_getattr
	movq	%rax, 8(%r15,%rbx)
	incq	%r14
	movslq	(%r13), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	jl	LBB0_8
	jmp	LBB0_9
LBB0_4:
	movq	24(%r13), %rsi
	movq	%r15, %rdi
	callq	*(%rsi)
	movq	%rax, %r15
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copytup_cluster
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copytup_cluster
_copytup_cluster:                       ; @copytup_cluster
	.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, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #32]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
	mov	x0, x21
	bl	_heap_copytuple
	mov	x21, x0
	str	x0, [x20, #16]
	bl	_GetMemoryChunkSpace
	mov	x1, x0
	mov	x0, x19
	bl	_USEMEM
	mov	x0, x22
	bl	_MemoryContextSwitchTo
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x8]
	cbz	w1, LBB0_4
; %bb.1:
	ldr	w2, [x19, #4]
	mov	x0, x21
	mov	x3, x20
	bl	_heap_getattr
	mov	x21, x0
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w8, [x20]
	cbz	w8, LBB0_5
LBB0_3:
	str	x21, [x20, #8]
LBB0_4:
	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
LBB0_5:
	mov	x0, x19
	bl	_consider_abort_common
	cbz	w0, LBB0_9
; %bb.6:
	str	x21, [x20, #8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.7:
	mov	x21, #0
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #8]
	add	x20, x8, x21
	ldr	x0, [x20, #16]
	ldr	x8, [x9]
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x3, x20
	bl	_heap_getattr
	str	x0, [x20, #8]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #24
	cmp	x22, x8
	b.lt	LBB0_8
	b	LBB0_4
LBB0_9:
	ldr	x1, [x19, #24]
	ldr	x8, [x1]
	mov	x0, x21
	blr	x8
	mov	x21, x0
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copytup_cluster
.subsections_via_symbols
