	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function seek_pack
LCPI0_0:
	.quad	-1                              ## 0xffffffffffffffff
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_seek_pack:                             ## @seek_pack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_3
## %bb.1:
	movq	40(%rbx), %rdx
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rsi
	movl	(%rdx,%rcx,4), %edx
	movl	%edx, 48(%rbx)
	movq	32(%rbx), %rdx
	movq	(%rdx,%rcx,8), %r14
	cmpq	%r14, %rsi
	jne	LBB0_4
## %bb.2:
	movq	%rax, %xmm0
	movq	%rcx, %xmm1
	punpcklqdq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]
	jmp	LBB0_6
LBB0_3:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_archive_set_error
	jmp	LBB0_7
LBB0_4:
	movq	24(%rbx), %rsi
	addq	%r14, %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	___archive_read_seek
	testq	%rax, %rax
	js	LBB0_7
## %bb.5:
	movq	%r14, 16(%rbx)
	movdqu	(%rbx), %xmm0
LBB0_6:
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, (%rbx)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Damaged 7-Zip archive"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_seek_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seek_pack
_seek_pack:                             ; @seek_pack
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	ldr	x8, [x19]
	cmp	x8, #0
	b.le	LBB0_5
; %bb.1:
	ldp	x11, x10, [x19, #32]
	ldp	x9, x12, [x19, #8]
	ldr	w10, [x10, x9, lsl #2]
	str	w10, [x19, #48]
	ldr	x20, [x11, x9, lsl #3]
	cmp	x12, x20
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	add	x1, x8, x20
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	___archive_read_seek
	tbnz	x0, #63, LBB0_6
; %bb.3:
	str	x20, [x19, #16]
	ldp	x8, x9, [x19]
LBB0_4:
	add	x9, x9, #1
	sub	x8, x8, #1
	stp	x8, x9, [x19]
Lloh3:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
LBB0_6:
Lloh10:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Damaged 7-Zip archive"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_seek_pack
.subsections_via_symbols
