	.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
	subq	$24, %rsp
	.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_5
## %bb.1:
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_fsh@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rdi,%rdi,2), %r14
	movq	(%rax,%r14,8), %rax
	movq	_qtrue@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_PK3_SEEK_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r12, %rdi
	callq	_FS_FTell
                                        ## kill: def $eax killed $eax def $rax
	testq	%rbx, %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	js	LBB0_9
## %bb.3:
	cmpl	$129, %r13d
	jne	LBB0_12
## %bb.4:
	movq	_fsh@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
                                        ## kill: def $ebx killed $ebx killed $rbx
	subl	%eax, %ebx
	addl	8(%rcx,%r14,8), %ebx
	jmp	LBB0_19
LBB0_5:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movl	$-1, %eax
	jmp	LBB0_24
LBB0_6:
	movq	%r12, %rdi
	callq	_FS_FileForHandle
	addl	$-128, %r13d
	cmpl	$3, %r13d
	jae	LBB0_27
## %bb.7:
	movslq	%r13d, %rcx
	leaq	l_switch.table.FS_Seek(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	(%rcx), %edx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.8:
	movq	%rax, %rdi
	movq	%rbx, %rsi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fseek                          ## TAILCALL
LBB0_9:
	cmpl	$130, %r13d
	je	LBB0_15
## %bb.10:
	xorl	%ecx, %ecx
	cmpl	$129, %r13d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_16
## %bb.11:
	movq	_fsh@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	8(%rcx,%r14,8), %ecx
	addl	%ebx, %ecx
	jmp	LBB0_16
LBB0_12:
                                        ## kill: def $ebx killed $ebx killed $rbx
	cmpl	$130, %r13d
	je	LBB0_19
## %bb.13:
	cmpl	$128, %r13d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_17
## %bb.14:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
	movl	$-1, %eax
	movq	%r13, %rsp
	jmp	LBB0_24
LBB0_19:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_15:
	leal	(%rax,%rbx), %ecx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_16:
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	cmovgl	%ecx, %ebx
LBB0_17:
	cmpl	%eax, %ebx
	je	LBB0_23
## %bb.18:
	movq	_fsh@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%r12,8), %rcx
	leaq	(%rcx,%rcx,2), %r14
	movl	16(%rax,%r14), %edi
	movl	20(%rax,%r14), %esi
	callq	_unzSetOffset
	movq	_fsh@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	16(%rax,%r14), %edi
	callq	_unzOpenCurrentFile
LBB0_20:
	movq	_PK3_SEEK_BUFFER_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	cmpl	%esi, %ebx
	jle	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_FS_Read
	movl	(%r14), %esi
	subl	%esi, %ebx
	cmpl	%esi, %ebx
	jg	LBB0_21
LBB0_22:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_FS_Read
LBB0_23:
	movq	%r13, %rsp
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.25:
                                        ## kill: def $eax killed $eax killed $rax
LBB0_26:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	callq	_FS_Seek.cold.1
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function FS_Seek.cold.1
_FS_Seek.cold.1:                        ## @FS_Seek.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
	ud2
	.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"

	.comm	_fsh,8,3                        ## @fsh
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_PK3_SEEK_BUFFER_SIZE,4,2       ## @PK3_SEEK_BUFFER_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Bad origin in FS_Seek"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.FS_Seek
l_switch.table.FS_Seek:
	.quad	_SEEK_SET
	.quad	_SEEK_END
	.quad	_SEEK_CUR

.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _fs_searchpaths@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fs_searchpaths@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh6:
	adrp	x26, _fsh@GOTPAGE
Lloh7:
	ldr	x26, [x26, _fsh@GOTPAGEOFF]
	ldr	x8, [x26]
	mov	w9, #24
	mul	x9, x0, x9
	ldr	x8, [x8, x9]
Lloh8:
	adrp	x9, _qtrue@GOTPAGE
Lloh9:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	mov	x24, sp
Lloh11:
	adrp	x25, _PK3_SEEK_BUFFER_SIZE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _PK3_SEEK_BUFFER_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x0, x20
	bl	_FS_FTell
	tbnz	x19, #63, LBB0_9
; %bb.3:
	cmp	w23, #129
	b.ne	LBB0_12
; %bb.4:
	ldr	x8, [x26]
	mov	w9, #24
	madd	x8, x20, x9, x8
	ldr	w8, [x8, #8]
	sub	w9, w19, w0
	add	w22, w9, w8
	ldr	w1, [x25]
	b	LBB0_22
LBB0_5:
Lloh15:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	mov	w19, #-1
	b	LBB0_25
LBB0_6:
	mov	x0, x20
	bl	_FS_FileForHandle
	sub	w8, w23, #128
	cmp	w8, #3
	b.hs	LBB0_28
; %bb.7:
Lloh20:
	adrp	x9, l_switch.table.FS_Seek@PAGE
Lloh21:
	add	x9, x9, l_switch.table.FS_Seek@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w2, [x8]
	ldur	x8, [x29, #-72]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.8:
	mov	x1, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_fseek
LBB0_9:
	cmp	w23, #130
	b.eq	LBB0_15
; %bb.10:
	cmp	w23, #129
	b.ne	LBB0_16
; %bb.11:
	ldr	x8, [x26]
	mov	w9, #24
	madd	x8, x20, x9, x8
	ldr	w8, [x8, #8]
	add	w8, w8, w19
	b	LBB0_17
LBB0_12:
	mov	x22, x19
	cmp	w23, #130
	b.eq	LBB0_20
; %bb.13:
	cmp	w23, #128
	b.eq	LBB0_18
; %bb.14:
Lloh25:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
	mov	w19, #-1
	b	LBB0_24
LBB0_15:
	add	w8, w0, w19
	b	LBB0_17
LBB0_16:
	mov	w8, #0
LBB0_17:
	cmp	w8, #0
	csel	w22, w8, wzr, gt
LBB0_18:
	cmp	w22, w0
	b.eq	LBB0_24
; %bb.19:
	ldr	x8, [x26]
	add	x9, x20, x20, lsl #1
	lsl	x23, x9, #3
	add	x8, x8, x23
	ldp	w0, w1, [x8, #16]
	bl	_unzSetOffset
	ldr	x8, [x26]
	add	x8, x8, x23
	ldr	w0, [x8, #16]
	bl	_unzOpenCurrentFile
LBB0_20:
	ldr	w1, [x25]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x21
	mov	x2, x20
	bl	_FS_Read
	ldr	w1, [x25]
	sub	w22, w22, w1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	cmp	w22, w1
	b.gt	LBB0_21
; %bb.23:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_FS_Read
LBB0_24:
	mov	sp, x24
LBB0_25:
	ldur	x8, [x29, #-72]
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_27
; %bb.26:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
LBB0_28:
	bl	_FS_Seek.cold.1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function FS_Seek.cold.1
_FS_Seek.cold.1:                        ; @FS_Seek.cold.1
	.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
Lloh33:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.1@PAGE
Lloh37:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
	brk	#0x1
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.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"

	.comm	_fsh,8,3                        ; @fsh
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_PK3_SEEK_BUFFER_SIZE,4,2       ; @PK3_SEEK_BUFFER_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Bad origin in FS_Seek"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.FS_Seek
l_switch.table.FS_Seek:
	.quad	_SEEK_SET
	.quad	_SEEK_END
	.quad	_SEEK_CUR

.subsections_via_symbols
