	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function schedule_copy
_schedule_copy:                         ## @schedule_copy
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_get_next_mapping
	movq	%rax, %rbx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, 32(%rax)
	movl	%r14d, (%rax)
	incl	%r14d
	movl	%r14d, 4(%rax)
	movl	%r15d, %r14d
	movl	%r15d, 8(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	leaq	12(%rbx), %r15
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_atomic_set
	movl	20(%r12), %edi
	movq	%rbx, %rsi
	addq	$16, %rsi
	callq	_dm_deferred_set_add_work
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_complete_mapping_preparation
LBB0_2:
	movq	%r12, %rdi
	movq	16(%rbp), %r13
	movq	%r13, %rsi
	callq	_io_overwrites_block
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	callq	_remap_and_issue_overwrite
	jmp	LBB0_7
LBB0_4:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r15d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movl	(%r12), %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	imull	%eax, %ecx
	movl	%ecx, -96(%rbp)
	movl	%r15d, -92(%rbp)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -72(%rbp)
	imull	%r14d, %eax
	movl	%eax, -80(%rbp)
	movl	%r15d, -76(%rbp)
	movl	16(%r12), %edi
	movq	_copy_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, (%rsp)
	leaq	-96(%rbp), %rsi
	leaq	-80(%rbp), %rcx
	movl	$1, %edx
	xorl	%r8d, %r8d
	callq	_dm_kcopyd_copy
	cmpl	%r15d, (%r12)
	jle	LBB0_7
## %bb.5:
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_inc
	movl	(%r12), %eax
	movl	%eax, %edx
	imull	%r14d, %edx
	addl	%r15d, %edx
	incl	%r14d
	imull	%eax, %r14d
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_ll_zero
LBB0_7:
	movq	%rbx, %rdi
	callq	_complete_mapping_preparation
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_copy_complete,4,2              ## @copy_complete
	.no_dead_strip	_schedule_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function schedule_copy
_schedule_copy:                         ; @schedule_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x25, x6
	mov	x28, x5
	mov	x20, x4
	mov	x26, x3
	mov	x27, x2
	mov	x24, x1
	mov	x22, x0
	ldr	x23, [x0, #8]
	mov	x0, x23
	bl	_get_next_mapping
	mov	x19, x0
	add	w8, w24, #1
	stp	w24, w8, [x0]
	str	w20, [x0, #8]
	add	x24, x0, #12
	stp	x28, x22, [x0, #24]
	mov	x0, x24
	mov	w1, #3
	bl	_atomic_set
	ldr	w0, [x23, #20]
	add	x1, x19, #16
	bl	_dm_deferred_set_add_work
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_complete_mapping_preparation
LBB0_2:
	mov	x0, x23
	mov	x1, x25
	bl	_io_overwrites_block
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x25
	mov	x2, x20
	mov	x3, x19
	bl	_remap_and_issue_overwrite
	b	LBB0_7
LBB0_4:
	ldr	w8, [x27]
	str	w8, [sp, #24]
	ldr	w8, [x23]
	mul	w9, w8, w26
	stp	w9, w21, [sp, #16]
	ldr	x9, [x22]
	ldr	w9, [x9]
	stp	w21, w9, [sp, #4]
	mul	w8, w8, w20
	str	w8, [sp]
	ldr	w0, [x23, #16]
Lloh0:
	adrp	x8, _copy_complete@GOTPAGE
Lloh1:
	ldr	x8, [x8, _copy_complete@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	add	x1, sp, #16
	mov	x3, sp
	mov	w2, #1
	mov	w4, #0
	mov	x6, x19
	bl	_dm_kcopyd_copy
	ldr	w8, [x23]
	cmp	w8, w21
	b.le	LBB0_7
; %bb.5:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x24
	bl	_atomic_inc
	ldr	w8, [x23]
	mul	w9, w8, w20
	add	w2, w9, w21
	add	w3, w8, w9
	mov	x0, x22
	mov	x1, x19
	bl	_ll_zero
LBB0_7:
	mov	x0, x19
	bl	_complete_mapping_preparation
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_copy_complete,4,2              ; @copy_complete
	.no_dead_strip	_schedule_copy
.subsections_via_symbols
