	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_unstore_file
_do_unstore_file:                       ## @do_unstore_file
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_1
## %bb.11:
	cmpq	$0, 32(%r12)
	jle	LBB0_19
## %bb.12:
	cmpq	$0, 24(%r12)
	jle	LBB0_19
## %bb.13:
	movl	$1, (%r12)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_advance_multivolume
	movl	$0, (%r12)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.14:
	movq	16(%r12), %rdi
	jmp	LBB0_1
LBB0_19:
	xorl	%edi, %edi
LBB0_1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	$65536, %esi                    ## imm = 0x10000
	callq	_rar5_min
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:
	movq	%rax, %r14
	leaq	-56(%rbp), %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_read_ahead
	testl	%eax, %eax
	je	LBB0_15
## %bb.3:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	movq	%rbx, %rdi
	movl	(%r13), %ebx
	movq	%r14, %rsi
	callq	_consume
	cmpl	%eax, %ebx
	jne	LBB0_16
## %bb.4:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rax
	movq	%rax, (%rcx)
LBB0_6:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_8
## %bb.7:
	movq	%r14, (%rbx)
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	8(%r12), %rax
	movq	%rax, (%rcx)
LBB0_10:
	subq	%r14, 16(%r12)
	addq	%r14, 8(%r12)
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_update_crc
	movq	%r13, %r15
	jmp	LBB0_16
LBB0_15:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r15
LBB0_16:
	movl	(%r15), %eax
LBB0_17:
	addq	$40, %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
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I/O error when unstoring file"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_do_unstore_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_unstore_file
_do_unstore_file:                       ; @do_unstore_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x0, [x1, #16]
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #32]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x8, [x19, #24]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x23
	bl	_advance_multivolume
	str	wzr, [x19]
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.4:
	ldr	x0, [x19, #16]
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	mov	w1, #65536
	bl	_rar5_min
	cbz	x0, LBB0_16
; %bb.7:
	mov	x24, x0
	add	x2, sp, #8
	mov	x0, x23
	mov	x1, x24
	bl	_read_ahead
	cbz	w0, LBB0_17
; %bb.8:
Lloh3:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x0, x23
	mov	x1, x24
	bl	_consume
	cmp	w25, w0
	b.ne	LBB0_16
; %bb.9:
	cbz	x22, LBB0_11
; %bb.10:
	ldr	x8, [sp, #8]
	str	x8, [x22]
LBB0_11:
	cbz	x21, LBB0_13
; %bb.12:
	str	x24, [x21]
LBB0_13:
	cbz	x20, LBB0_15
; %bb.14:
	ldr	x8, [x19, #8]
	str	x8, [x20]
LBB0_15:
	ldp	x9, x8, [x19, #8]
	sub	x8, x8, x24
	add	x9, x9, x24
	stp	x9, x8, [x19, #8]
	ldr	x1, [sp, #8]
	mov	x0, x19
	mov	x2, x24
	bl	_update_crc
Lloh6:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh8:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh10:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	bl	_archive_set_error
Lloh15:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I/O error when unstoring file"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_do_unstore_file
.subsections_via_symbols
