	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skip_stream
_skip_stream:                           ## @skip_stream
	.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
	movq	%rsi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	cmpq	$0, (%r13)
	je	LBB0_3
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	movq	%rdi, %r12
	leaq	-48(%rbp), %r15
	movq	%r14, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_read_stream
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	subq	%rax, %rbx
	cmpq	$0, 8(%r13)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_read_consume
	jmp	LBB0_9
LBB0_3:
	movq	16(%r13), %rax
	movq	24(%r13), %rcx
	movq	(%rax), %rax
	addq	%r14, (%rcx,%rax,8)
	jmp	LBB0_10
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_6:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_10:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	"Truncated 7-Zip file body"

	.comm	_ARCHIVE_FATAL,8,3              ## @ARCHIVE_FATAL
	.no_dead_strip	_skip_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skip_stream
_skip_stream:                           ; @skip_stream
	.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, x1
	ldr	x8, [x0, #8]
	ldr	x22, [x8]
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.1:
	cbz	x19, LBB0_9
; %bb.2:
	mov	x20, x0
	mov	x21, x19
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x21, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	w3, #0
	bl	_read_stream
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x21, x21, x0
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_read_consume
	b	LBB0_3
LBB0_7:
	ldp	x9, x8, [x22, #16]
	ldr	x9, [x9]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	add	x10, x10, x19
	str	x10, [x8, x9]
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
Lloh5:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh7:
	ldr	x19, [x8]
LBB0_9:
	mov	x0, x19
	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
	.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	"Truncated 7-Zip file body"

	.comm	_ARCHIVE_FATAL,8,3              ; @ARCHIVE_FATAL
	.no_dead_strip	_skip_stream
.subsections_via_symbols
