	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_file_data_block
_copy_file_data_block:                  ## @copy_file_data_block
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rax
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_archive_read_data_block
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	xorl	%eax, %eax
	callq	_need_report
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_report_write
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %r12
	subq	%r13, %r12
	jle	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r14, %r14
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	jg	LBB0_9
	jmp	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	8(%rax), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	testq	%r12, %r12
	jle	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r15
	cmpq	%r15, %r12
	cmovlq	%r12, %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_archive_write_data
	testq	%rax, %rax
	js	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpq	%r15, %rax
	jb	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	addq	%rax, %r13
	subq	%rax, %r12
	jg	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_archive_write_data
	testq	%rax, %rax
	js	LBB0_10
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-56(%rbp), %rax
	jb	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rax, %r13
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	callq	_archive_read_data_block
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
LBB0_19:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpl	(%rcx), %eax
	jge	LBB0_22
## %bb.20:
	movq	%rbx, %rdi
	callq	_archive_errno
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_archive_error_string
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	jmp	LBB0_21
LBB0_10:
	movq	%rbx, %rdi
	callq	_archive_error_string
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
LBB0_21:
	movl	%eax, %edx
	callq	_lafe_warnc
	movl	$-1, %r14d
	jmp	LBB0_22
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_17:
	movq	%r15, %rdi
LBB0_18:
	callq	_archive_entry_pathname
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movl	%eax, %edx
	callq	_lafe_warnc
LBB0_22:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Truncated write; file may have grown while being archived."

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_copy_file_data_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_file_data_block
_copy_file_data_block:                  ; @copy_file_data_block
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	add	x1, sp, #8
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x21
	bl	_archive_read_data_block
Lloh0:
	adrp	x26, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.1:
	mov	x24, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	bl	_need_report
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	mov	x3, x23
	bl	_report_write
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #16]
	subs	x27, x8, x23
	b.le	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x24, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x27, #1
	b.lt	LBB0_10
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22, #8]
	cmp	x27, x8
	csel	x25, x27, x8, lt
	mov	x0, x19
	mov	x1, x24
	mov	x2, x25
	bl	_archive_write_data
	tbnz	x0, #63, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x0, x25
	b.lo	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x23, x0, x23
	sub	x27, x27, x0
	cmp	x27, #0
	b.gt	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #8]
	ldr	x2, [sp, #24]
	mov	x0, x19
	bl	_archive_write_data
	tbnz	x0, #63, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #24]
	cmp	x0, x8
	b.lo	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x0, x23
	add	x1, sp, #8
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x21
	bl	_archive_read_data_block
	ldr	w8, [x26]
	cmp	w0, w8
	b.eq	LBB0_2
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x24, x2, [x22]
	mov	x0, x24
	mov	w1, #0
	bl	_memset
	cmp	x27, #1
	b.ge	LBB0_7
	b	LBB0_10
LBB0_14:
Lloh2:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_19
; %bb.15:
	mov	x0, x19
	bl	_archive_errno
	mov	x20, x0
	mov	x0, x19
	bl	_archive_error_string
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	b	LBB0_17
LBB0_16:
	mov	x0, x19
	bl	_archive_error_string
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
LBB0_17:
	bl	_lafe_warnc
	mov	w0, #-1
	b	LBB0_20
LBB0_18:
	mov	x0, x20
	bl	_archive_entry_pathname
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #0
	bl	_lafe_warnc
LBB0_19:
	mov	w0, #0
LBB0_20:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Truncated write; file may have grown while being archived."

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_copy_file_data_block
.subsections_via_symbols
