	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _PrepParallelRestore
__PrepParallelRestore:                  ## @_PrepParallelRestore
	.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	8(%rdi), %rax
	movq	16(%rax), %rdx
	cmpq	%rax, %rdx
	je	LBB0_15
## %bb.1:
	movq	%rdi, %r14
	movq	16(%rdi), %r8
	xorl	%ebx, %ebx
	movq	_K_OFFSET_POS_SET@GOTPCREL(%rip), %r9
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rdx), %rdx
	cmpq	%rax, %rdx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	8(%rdx), %rcx
	movq	(%rcx), %rsi
	cmpq	(%r9), %rsi
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx), %rsi
	movq	%rdx, %rbx
	subq	8(%r15), %rsi
	movq	%rcx, %r15
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, (%rdi)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %r15
	movq	%rdx, %rbx
	jmp	LBB0_8
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:
	cmpq	$0, (%r8)
	je	LBB0_15
## %bb.11:
	movl	(%r14), %edi
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_fseeko
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rdi
	callq	_fatal
LBB0_13:
	movl	(%r14), %edi
	callq	_ftello
	subq	8(%r15), %rax
	jle	LBB0_15
## %bb.14:
	movq	%rax, (%rbx)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_K_OFFSET_POS_SET,8,3           ## @K_OFFSET_POS_SET
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error during file seek: %m"

	.no_dead_strip	__PrepParallelRestore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _PrepParallelRestore
__PrepParallelRestore:                  ; @_PrepParallelRestore
	.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
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #16]
	cmp	x9, x8
	b.eq	LBB0_15
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	x20, #0
	ldr	x10, [x0, #16]
Lloh0:
	adrp	x11, _K_OFFSET_POS_SET@GOTPAGE
Lloh1:
	ldr	x11, [x11, _K_OFFSET_POS_SET@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x9, #16]
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x21
	ldr	x13, [x9, #8]
	ldr	x14, [x13]
	ldr	x15, [x11]
	cmp	x14, x15
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x12, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x14, [x13, #8]
	ldr	x15, [x20, #8]
	mov	x20, x13
	mov	x21, x9
	subs	x14, x14, x15
	b.le	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x14, [x12]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x13
	mov	x21, x9
	b	LBB0_3
LBB0_9:
	cbz	x21, LBB0_15
; %bb.10:
	ldr	x8, [x10]
	cbz	x8, LBB0_15
; %bb.11:
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_fseeko
	cbz	x0, LBB0_13
; %bb.12:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_13:
	ldr	w0, [x19]
	bl	_ftello
	ldr	x8, [x20, #8]
	subs	x8, x0, x8
	b.le	LBB0_15
; %bb.14:
	str	x8, [x21]
LBB0_15:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_K_OFFSET_POS_SET,8,3           ; @K_OFFSET_POS_SET
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error during file seek: %m"

	.no_dead_strip	__PrepParallelRestore
.subsections_via_symbols
