	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_Seek                        ## -- Begin function FS_Seek
	.p2align	4, 0x90
_FS_Seek:                               ## @FS_Seek
	.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
	movl	$65544, %eax                    ## imm = 0x10008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_fs_searchpaths@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_fsh@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	(%rdi,%rdi,2), %rbx
	cmpq	$0, 16(%rax,%rbx,8)
	je	LBB0_5
## %bb.4:
	leaq	(%rax,%rbx,8), %rax
	addq	$16, %rax
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_Sys_StreamSeek
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%r12), %rax
	movq	%rcx, 16(%rax,%rbx,8)
LBB0_5:
	movq	(%rax,%rbx,8), %rcx
	movq	_qtrue@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.6:
	testq	%r14, %r14
	jne	LBB0_10
## %bb.7:
	cmpl	$128, %r15d
	jne	LBB0_10
## %bb.8:
	shlq	$3, %r13
	leaq	(,%r13,2), %rbx
	addq	%r13, %rbx
	movl	8(%rax,%rbx), %edi
	movl	12(%rax,%rbx), %esi
	callq	_unzSetCurrentFileInfoPosition
	movq	(%r12), %rax
	movl	8(%rax,%rbx), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.9:
	addq	$65544, %rsp                    ## imm = 0x10008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unzOpenCurrentFile             ## TAILCALL
LBB0_1:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	callq	_Com_Error
	movl	$-1, %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_24
## %bb.13:
	addq	$65544, %rsp                    ## imm = 0x10008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	%r13, %rdi
	callq	_FS_FileForHandle
	movq	%rax, %r12
	cmpl	$128, %r15d
	je	LBB0_20
## %bb.16:
	cmpl	$129, %r15d
	je	LBB0_19
## %bb.17:
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	cmpl	$130, %r15d
	jne	LBB0_21
## %bb.18:
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_10:
	cmpq	$65535, %r14                    ## imm = 0xFFFF
	jg	LBB0_14
## %bb.11:
	leaq	(,%r13,8), %rcx
	leaq	(%rcx,%rcx,2), %rbx
	movl	8(%rax,%rbx), %edi
	movl	12(%rax,%rbx), %esi
	callq	_unzSetCurrentFileInfoPosition
	movq	(%r12), %rax
	movl	8(%rax,%rbx), %edi
	callq	_unzOpenCurrentFile
	leaq	-65584(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_FS_Read
	jmp	LBB0_12
LBB0_19:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_14:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_20:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_22
LBB0_21:
	movl	(%rax), %ebx
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_Com_Error
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	addq	$65544, %rsp                    ## imm = 0x10008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fseek                          ## TAILCALL
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_fs_searchpaths,4,2             ## @fs_searchpaths
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Filesystem call made without initialization\n"

	.comm	_fsh,8,3                        ## @fsh
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_qtrue,8,3                      ## @qtrue
L_.str.1:                               ## @.str.1
	.asciz	"ZIP FILE FSEEK NOT YET IMPLEMENTED\n"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.2:                               ## @.str.2
	.asciz	"Bad origin in FS_Seek\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_Seek                        ; -- Begin function FS_Seek
	.p2align	2
_FS_Seek:                               ; @FS_Seek
	.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
	mov	w9, #16
	movk	w9, #1, lsl #16
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #16, lsl #12            ; =65536
	sub	sp, sp, #16
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x8, _fs_searchpaths@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fs_searchpaths@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh8:
	adrp	x22, _fsh@GOTPAGE
Lloh9:
	ldr	x22, [x22, _fsh@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	w9, #24
	madd	x9, x0, x9, x8
	ldr	x10, [x9, #16]!
Lloh10:
	adrp	x23, _qtrue@GOTPAGE
Lloh11:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	cbz	x10, LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _qfalse@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x9]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_Sys_StreamSeek
	ldr	x9, [x23]
	ldr	x8, [x22]
	mov	w10, #24
	madd	x10, x20, x10, x8
	str	x9, [x10, #16]
LBB0_3:
	mov	w9, #24
	mul	x9, x20, x9
	ldr	x9, [x8, x9]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.4:
	cbnz	x19, LBB0_16
; %bb.5:
	cmp	w21, #128
	b.ne	LBB0_16
; %bb.6:
	add	x9, x20, x20, lsl #1
	lsl	x19, x9, #3
	add	x8, x8, x19
	ldp	w0, w1, [x8, #8]
	bl	_unzSetCurrentFileInfoPosition
	ldr	x8, [x22]
	add	x8, x8, x19
	ldr	w0, [x8, #8]
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.7:
	add	sp, sp, #16, lsl #12            ; =65536
	add	sp, sp, #16
	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
	b	_unzOpenCurrentFile
LBB0_8:
Lloh18:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	bl	_Com_Error
	mov	w0, #-1
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.11:
	add	sp, sp, #16, lsl #12            ; =65536
	add	sp, sp, #16
	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_12:
	mov	x0, x20
	bl	_FS_FileForHandle
	mov	x20, x0
	cmp	w21, #128
	b.eq	LBB0_20
; %bb.13:
	cmp	w21, #129
	b.eq	LBB0_18
; %bb.14:
Lloh26:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
	cmp	w21, #130
	b.ne	LBB0_21
; %bb.15:
	ldr	w21, [x8]
	b	LBB0_22
LBB0_16:
	cmp	x19, #16, lsl #12               ; =65536
	b.ge	LBB0_19
; %bb.17:
	add	x9, x20, x20, lsl #1
	lsl	x21, x9, #3
	add	x8, x8, x21
	ldp	w0, w1, [x8, #8]
	bl	_unzSetCurrentFileInfoPosition
	ldr	x8, [x22]
	add	x8, x8, x21
	ldr	w0, [x8, #8]
	bl	_unzOpenCurrentFile
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	bl	_FS_Read
	b	LBB0_10
LBB0_18:
Lloh28:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh30:
	ldr	w21, [x8]
	b	LBB0_22
LBB0_19:
Lloh31:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_20:
Lloh36:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
	b	LBB0_22
LBB0_21:
	ldr	w21, [x8]
Lloh39:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Com_Error
LBB0_22:
	ldur	x8, [x29, #-56]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	add	sp, sp, #16, lsl #12            ; =65536
	add	sp, sp, #16
	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
	b	_fseek
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_fs_searchpaths,4,2             ; @fs_searchpaths
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Filesystem call made without initialization\n"

	.comm	_fsh,8,3                        ; @fsh
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_qtrue,8,3                      ; @qtrue
l_.str.1:                               ; @.str.1
	.asciz	"ZIP FILE FSEEK NOT YET IMPLEMENTED\n"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.2:                               ; @.str.2
	.asciz	"Bad origin in FS_Seek\n"

.subsections_via_symbols
