	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_uncompressed_data
_get_uncompressed_data:                 ## @get_uncompressed_data
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	movq	__7Z_COPY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_9
## %bb.1:
	cmpq	$-1, 8(%rbx)
	je	LBB0_2
LBB0_9:
	movq	24(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.11:
	movq	16(%rbx), %rax
	cmpq	%rcx, %rax
	jae	LBB0_14
## %bb.12:
	movq	%r15, %rdi
	movq	%rcx, %rsi
	callq	_extract_pack_stream
	testq	%rax, %rax
	js	LBB0_5
## %bb.13:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rdx
LBB0_14:
	cmpq	%r12, %rax
	cmovbq	%rax, %r12
	movq	%rdx, (%r14)
	addq	%r12, 24(%rbx)
	jmp	LBB0_15
LBB0_10:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	%r15, %rdi
	callq	_archive_set_error
LBB0_5:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_16
LBB0_2:
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rcx, %rsi
	callq	___archive_read_ahead
	movq	%rax, (%r14)
	movq	-40(%rbp), %rcx
	testq	%rcx, %rcx
	jle	LBB0_3
## %bb.6:
	movq	16(%rbx), %rax
	cmpq	%rax, %rcx
	jbe	LBB0_8
## %bb.7:
	movq	%rax, -40(%rbp)
	movq	%rax, %rcx
LBB0_8:
	cmpq	%r12, %rcx
	cmovbq	%rcx, %r12
	movq	%r12, 32(%rbx)
LBB0_15:
	subq	%r12, %rax
	movq	%rax, 16(%rbx)
LBB0_16:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	__7Z_COPY,8,3                   ## @_7Z_COPY
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncated 7-Zip file data"

	.comm	_ARCHIVE_FATAL,8,3              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.1:                               ## @.str.1
	.asciz	"Damaged 7-Zip archive"

	.no_dead_strip	_get_uncompressed_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_uncompressed_data
_get_uncompressed_data:                 ; @get_uncompressed_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	ldr	x8, [x22]
Lloh0:
	adrp	x9, __7Z_COPY@GOTPAGE
Lloh1:
	ldr	x9, [x9, __7Z_COPY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x22, #8]
	cmn	x8, #1
	b.eq	LBB0_10
LBB0_2:
	ldr	x9, [x22, #24]
	cbz	x9, LBB0_7
; %bb.3:
	ldr	x8, [x22, #16]
	cmp	x8, x3
	b.hs	LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, x3
	bl	_extract_pack_stream
	tbnz	x0, #63, LBB0_9
; %bb.5:
	ldp	x8, x9, [x22, #16]
LBB0_6:
	cmp	x8, x19
	csel	x0, x8, x19, lo
	str	x9, [x20]
	ldr	x9, [x22, #24]
	add	x9, x9, x0
	str	x9, [x22, #24]
	b	LBB0_14
LBB0_7:
Lloh3:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x21
	bl	_archive_set_error
LBB0_9:
Lloh8:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	b	LBB0_15
LBB0_10:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x3
	bl	___archive_read_ahead
	str	x0, [x20]
	ldr	x9, [sp, #8]
	cmp	x9, #0
	b.le	LBB0_16
; %bb.11:
	ldr	x8, [x22, #16]
	cmp	x9, x8
	b.ls	LBB0_13
; %bb.12:
	str	x8, [sp, #8]
	mov	x9, x8
LBB0_13:
	cmp	x9, x19
	csel	x0, x9, x19, lo
	str	x0, [x22, #32]
LBB0_14:
	sub	x8, x8, x0
	str	x8, [x22, #16]
LBB0_15:
	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
	add	sp, sp, #64
	ret
LBB0_16:
Lloh11:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	__7Z_COPY,8,3                   ; @_7Z_COPY
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncated 7-Zip file data"

	.comm	_ARCHIVE_FATAL,8,3              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.1:                               ; @.str.1
	.asciz	"Damaged 7-Zip archive"

	.no_dead_strip	_get_uncompressed_data
.subsections_via_symbols
