	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_unpack
_do_unpack:                             ## @do_unpack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 8(%rsi)
	jle	LBB0_1
## %bb.6:
	popq	%rbp
	jmp	_do_unstore_file                ## TAILCALL
LBB0_1:
	movl	(%rsi), %r9d
	leal	-1(%r9), %eax
	cmpl	$5, %eax
	jae	LBB0_2
## %bb.4:
	popq	%rbp
	jmp	_uncompress_file                ## TAILCALL
LBB0_2:
	testl	%r9d, %r9d
	jne	LBB0_5
## %bb.3:
	popq	%rbp
	jmp	_do_unstore_file                ## TAILCALL
LBB0_5:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r9d, %ecx
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Compression method not supported: 0x%x"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_do_unpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_unpack
_do_unpack:                             ; @do_unpack
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1, #8]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_do_unstore_file
LBB0_2:
	ldr	w8, [x1]
	sub	w9, w8, #1
	cmp	w9, #5
	b.hs	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_uncompress_file
LBB0_4:
	cbnz	w8, LBB0_6
; %bb.5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_do_unstore_file
LBB0_6:
Lloh0:
	adrp	x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x8
	bl	_archive_set_error
Lloh5:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Compression method not supported: 0x%x"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_do_unpack
.subsections_via_symbols
