	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FS_FileForHandle
_FS_FileForHandle:                      ## @FS_FileForHandle
	.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	%rdi, %rbx
	movq	_MAX_FILE_HANDLES@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jae	LBB0_2
## %bb.1:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
LBB0_2:
	movq	_fsh@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rcx
	movq	_qtrue@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_Com_Error
	movq	(%r14), %rax
LBB0_4:
	movq	8(%rax,%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_Com_Error
	movq	(%r14), %rax
	movq	8(%rax,%rbx), %rax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_FILE_HANDLES,8,3           ## @MAX_FILE_HANDLES
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FS_FileForHandle: out of reange"

	.comm	_fsh,8,3                        ## @fsh
	.comm	_qtrue,8,3                      ## @qtrue
L_.str.1:                               ## @.str.1
	.asciz	"FS_FileForHandle: can't get FILE on zip file"

L_.str.2:                               ## @.str.2
	.asciz	"FS_FileForHandle: NULL"

	.no_dead_strip	_FS_FileForHandle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FS_FileForHandle
_FS_FileForHandle:                      ; @FS_FileForHandle
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_FILE_HANDLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_FILE_HANDLES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_2:
Lloh8:
	adrp	x20, _fsh@GOTPAGE
Lloh9:
	ldr	x20, [x20, _fsh@GOTPAGEOFF]
	ldr	x8, [x20]
	lsl	x9, x19, #4
	ldr	x9, [x8, x9]
Lloh10:
	adrp	x10, _qtrue@GOTPAGE
Lloh11:
	ldr	x10, [x10, _qtrue@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
	ldr	x8, [x20]
LBB0_4:
	add	x8, x8, x19, lsl #4
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_Com_Error
	ldr	x8, [x20]
	add	x8, x8, x19, lsl #4
	ldr	x0, [x8, #8]
LBB0_6:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_FILE_HANDLES,8,3           ; @MAX_FILE_HANDLES
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FS_FileForHandle: out of reange"

	.comm	_fsh,8,3                        ; @fsh
	.comm	_qtrue,8,3                      ; @qtrue
l_.str.1:                               ; @.str.1
	.asciz	"FS_FileForHandle: can't get FILE on zip file"

l_.str.2:                               ; @.str.2
	.asciz	"FS_FileForHandle: NULL"

	.no_dead_strip	_FS_FileForHandle
.subsections_via_symbols
