	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdf_read_short_stream          ## -- Begin function cdf_read_short_stream
	.p2align	4, 0x90
_cdf_read_short_stream:                 ## @cdf_read_short_stream
	.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	%r8, %r14
	movq	$0, (%r9)
	movq	(%rcx), %r10
	testq	%r10, %r10
	je	LBB0_1
## %bb.4:
	movq	8(%rcx), %rbx
	movq	_CDF_DIR_TYPE_ROOT_STORAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	xorl	%eax, %eax
	leaq	L_.str(%rip), %r8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r11, (%rbx)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	addq	$24, %rbx
	cmpq	%rax, %r10
	jne	LBB0_5
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	cmpq	%r10, %rax
	jne	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %r8
	jmp	LBB0_9
LBB0_7:
	movq	8(%rcx), %rbx
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,8), %rcx
	movq	%rcx, (%r9)
	movq	8(%rbx,%rax,8), %rcx
	testq	%rcx, %rcx
	js	LBB0_8
## %bb.10:
	movl	16(%rbx,%rax,8), %r8d
	movq	%r14, %r9
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cdf_read_long_sector_chain     ## TAILCALL
LBB0_8:
	leaq	L_.str.1(%rip), %r8
LBB0_9:
	movq	%r8, %rdi
	callq	_DPRINTF
	movq	$0, (%r14)
	movq	%r14, %rdi
	callq	_cdf_zero_stream
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CDF_DIR_TYPE_ROOT_STORAGE,8,3  ## @CDF_DIR_TYPE_ROOT_STORAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot find root storage dir\n"

L_.str.1:                               ## @.str.1
	.asciz	"No first secror in dir\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdf_read_short_stream          ; -- Begin function cdf_read_short_stream
	.p2align	2
_cdf_read_short_stream:                 ; @cdf_read_short_stream
	.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, x4
	str	xzr, [x5]
	ldr	x10, [x3]
	cbz	x10, LBB0_4
; %bb.1:
	mov	x9, #0
	ldr	x11, [x3, #8]
Lloh0:
	adrp	x8, _CDF_DIR_TYPE_ROOT_STORAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CDF_DIR_TYPE_ROOT_STORAGE@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x8]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	cmp	x13, x12
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	x11, x11, #24
	cmp	x10, x9
	b.ne	LBB0_2
	b	LBB0_10
LBB0_4:
	mov	x9, #0
LBB0_5:
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
	ldr	x8, [x3, #8]
	mov	w10, #24
	madd	x10, x9, x10, x8
	str	x10, [x5]
	ldr	x3, [x10, #8]
	tbnz	x3, #63, LBB0_9
; %bb.8:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w4, [x8, #16]
	mov	x5, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cdf_read_long_sector_chain
LBB0_9:
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x8
	bl	_DPRINTF
	str	xzr, [x19]
	mov	x0, x19
	bl	_cdf_zero_stream
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CDF_DIR_TYPE_ROOT_STORAGE,8,3  ; @CDF_DIR_TYPE_ROOT_STORAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot find root storage dir\n"

l_.str.1:                               ; @.str.1
	.asciz	"No first secror in dir\n"

.subsections_via_symbols
