	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_Read                        ## -- Begin function FS_Read
	.p2align	4, 0x90
_FS_Read:                               ## @FS_Read
	.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	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_fs_searchpaths@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_2:
	xorl	%eax, %eax
	testq	%r15, %r15
	je	LBB0_10
## %bb.3:
	movq	_fs_readCount@GOTPCREL(%rip), %rcx
	addl	%ebx, (%rcx)
	movq	_fsh@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %r15
	movq	(%rcx,%r15), %rdx
	movq	_qfalse@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_15
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.5:
	xorl	%r14d, %r14d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%rcx,%r15), %ecx
	movq	%r13, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_fread
	movl	%eax, %r12d
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	movl	$1, %r14d
	je	LBB0_12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	subl	%r12d, %ebx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movslq	%r12d, %rax
	leaq	(%r13,%rax,4), %r13
	movq	_fsh@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_6
LBB0_15:
	movl	8(%rcx,%r15), %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unzReadCurrentFile             ## TAILCALL
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%ebx, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_fs_readCount,4,2               ## @fs_readCount
	.comm	_fsh,8,3                        ## @fsh
	.comm	_qfalse,8,3                     ## @qfalse
L_.str.1:                               ## @.str.1
	.asciz	"FS_Read: -1 bytes read"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_Read                        ; -- Begin function FS_Read
	.p2align	2
_FS_Read:                               ; @FS_Read
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _fs_searchpaths@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fs_searchpaths@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.1:
	cbz	x21, LBB0_13
LBB0_2:
Lloh3:
	adrp	x8, _fs_readCount@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fs_readCount@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w19
	str	w9, [x8]
Lloh5:
	adrp	x25, _fsh@GOTPAGE
Lloh6:
	ldr	x25, [x25, _fsh@GOTPAGEOFF]
	ldr	x8, [x25]
	lsl	x9, x21, #4
	ldr	x9, [x8, x9]
Lloh7:
	adrp	x10, _qfalse@GOTPAGE
Lloh8:
	ldr	x10, [x10, _qfalse@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.3:
	cbz	w19, LBB0_14
; %bb.4:
	mov	w26, #0
Lloh10:
	adrp	x27, _ERR_FATAL@GOTPAGE
Lloh11:
	ldr	x27, [x27, _ERR_FATAL@GOTPAGEOFF]
	mov	x22, x19
Lloh12:
	adrp	x23, l_.str.1@PAGE
Lloh13:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x21, lsl #4
	ldr	w3, [x8, #12]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x22
	bl	_fread
	mov	x24, x0
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w24, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w26, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	mov	x1, x23
	bl	_Com_Error
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	w22, w22, w24
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, w24, sxtw #2
	ldr	x8, [x25]
	b	LBB0_5
LBB0_12:
Lloh14:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	cbnz	x21, LBB0_2
LBB0_13:
	mov	w19, #0
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	add	x8, x8, x21, lsl #4
	ldr	w0, [x8, #8]
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_unzReadCurrentFile
LBB0_16:
	sub	w19, w19, w22
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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	_fs_readCount,4,2               ; @fs_readCount
	.comm	_fsh,8,3                        ; @fsh
	.comm	_qfalse,8,3                     ; @qfalse
l_.str.1:                               ; @.str.1
	.asciz	"FS_Read: -1 bytes read"

.subsections_via_symbols
