	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seekcompresszip                ## -- Begin function seekcompresszip
	.p2align	4, 0x90
_seekcompresszip:                       ## @seekcompresszip
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ZIPNAME@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	4(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_revivezip
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movl	4(%rbx), %edi
LBB0_3:
	movq	(%r14), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_fseek
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERROR_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_5:
	movl	(%r13), %esi
	movl	4(%rbx), %ecx
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_fread
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.6:
	movq	_ZIPFNLN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r15, %rdi
	callq	_read_word
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_ZIPXTRALN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	%r15, %rdi
	callq	_read_word
	movslq	(%r13), %rcx
	movslq	-52(%rbp), %rsi                 ## 4-byte Folded Reload
	cltq
	addq	(%r14), %rsi
	addq	%rax, %rsi
	addq	%rcx, %rsi
	movl	4(%rbx), %edi
	movl	(%r12), %edx
	callq	_fseek
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ERROR_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	callq	_errormsg
LBB0_8:
	xorl	%eax, %eax
	negq	%r14
	sbbl	%eax, %eax
	jmp	LBB0_12
LBB0_9:
	movq	_ERROR_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	callq	_errormsg
LBB0_11:
	movl	$-1, %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_15
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIPNAME,4,2                    ## @ZIPNAME
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Seeking to header"

	.comm	_ERROR_CORRUPT,4,2              ## @ERROR_CORRUPT
L_.str.1:                               ## @.str.1
	.asciz	"Reading header"

	.comm	_ZIPFNLN,4,2                    ## @ZIPFNLN
	.comm	_ZIPXTRALN,4,2                  ## @ZIPXTRALN
L_.str.2:                               ## @.str.2
	.asciz	"Seeking to compressed data"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seekcompresszip                ; -- Begin function seekcompresszip
	.p2align	2
_seekcompresszip:                       ; @seekcompresszip
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _ZIPNAME@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ZIPNAME@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w0, [x0, #4]
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_revivezip
	cbz	w0, LBB0_11
; %bb.2:
	ldr	w0, [x19, #4]
LBB0_3:
	ldr	x1, [x20]
Lloh7:
	adrp	x24, _SEEK_SET@GOTPAGE
Lloh8:
	ldr	x24, [x24, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_fseek
	cbz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _ERROR_CORRUPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR_CORRUPT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_5:
	ldr	w1, [x23]
	ldr	w3, [x19, #4]
	mov	x0, x21
	mov	w2, #1
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_9
; %bb.6:
Lloh14:
	adrp	x8, _ZIPFNLN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ZIPFNLN@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	add	x0, x21, x8
	bl	_read_word
	mov	x22, x0
Lloh17:
	adrp	x8, _ZIPXTRALN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ZIPXTRALN@GOTPAGEOFF]
Lloh19:
	ldrsw	x8, [x8]
	add	x0, x21, x8
	bl	_read_word
	ldr	x8, [x20]
	ldrsw	x9, [x23]
	add	x8, x8, w22, sxtw
	add	x8, x8, w0, sxtw
	add	x1, x8, x9
	ldr	w0, [x19, #4]
	ldr	w2, [x24]
	bl	_fseek
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.7:
Lloh20:
	adrp	x8, _ERROR_CORRUPT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERROR_CORRUPT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errormsg
LBB0_8:
	cmp	x20, #0
	csetm	w0, ne
	b	LBB0_12
LBB0_9:
Lloh25:
	adrp	x8, _ERROR_CORRUPT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR_CORRUPT@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_errormsg
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIPNAME,4,2                    ; @ZIPNAME
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Seeking to header"

	.comm	_ERROR_CORRUPT,4,2              ; @ERROR_CORRUPT
l_.str.1:                               ; @.str.1
	.asciz	"Reading header"

	.comm	_ZIPFNLN,4,2                    ; @ZIPFNLN
	.comm	_ZIPXTRALN,4,2                  ; @ZIPXTRALN
l_.str.2:                               ; @.str.2
	.asciz	"Seeking to compressed data"

.subsections_via_symbols
