	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _archive_write_disk_data_block
__archive_write_disk_data_block:        ## @_archive_write_disk_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	_ARCHIVE_WRITE_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_archive_check_magic
	movl	%r13d, 20(%rbx)
	movq	_TODO_HFS_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_hfs_write_data_block
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_write_data_block
LBB0_3:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_5
## %bb.4:
	movq	%rax, %rcx
	jmp	LBB0_7
LBB0_5:
	cmpq	%r15, %rax
	jae	LBB0_7
## %bb.6:
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
LBB0_7:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ## @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_DATA,4,2         ## @ARCHIVE_STATE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_write_data_block"

	.comm	_TODO_HFS_COMPRESSION,4,2       ## @TODO_HFS_COMPRESSION
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
L_.str.1:                               ## @.str.1
	.asciz	"Too much data: Truncating file at %ju bytes"

	.comm	_ARCHIVE_WARN,8,3               ## @ARCHIVE_WARN
	.no_dead_strip	__archive_write_disk_data_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _archive_write_disk_data_block
__archive_write_disk_data_block:        ; @_archive_write_disk_data_block
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	add	x19, x0, #16
Lloh0:
	adrp	x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_WRITE_DISK_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ARCHIVE_STATE_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_STATE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_archive_check_magic
	str	w23, [x20, #20]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _TODO_HFS_COMPRESSION@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TODO_HFS_COMPRESSION@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_hfs_write_data_block
	b	LBB0_3
LBB0_2:
	bl	_write_data_block
LBB0_3:
Lloh11:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_6
; %bb.4:
	cmp	x0, x21
	mov	x0, x8
	b.hs	LBB0_6
; %bb.5:
	ldr	w3, [x20, #8]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_archive_set_error
Lloh16:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WRITE_DISK_MAGIC,4,2   ; @ARCHIVE_WRITE_DISK_MAGIC
	.comm	_ARCHIVE_STATE_DATA,4,2         ; @ARCHIVE_STATE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_write_data_block"

	.comm	_TODO_HFS_COMPRESSION,4,2       ; @TODO_HFS_COMPRESSION
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
l_.str.1:                               ; @.str.1
	.asciz	"Too much data: Truncating file at %ju bytes"

	.comm	_ARCHIVE_WARN,8,3               ; @ARCHIVE_WARN
	.no_dead_strip	__archive_write_disk_data_block
.subsections_via_symbols
