	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdf_read_user_stream           ## -- Begin function cdf_read_user_stream
	.p2align	4, 0x90
_cdf_read_user_stream:                  ## @cdf_read_user_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	%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	%r9, %r15
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	24(%rbp), %rbx
	movq	16(%rbp), %rsi
	movq	_CDF_DIR_TYPE_USER_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r9, %rdi
	callq	_cdf_find_stream
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.3:
	movq	(%r15), %rcx
	decl	%eax
	movq	%rbx, %r10
	movl	(%rcx,%rax,8), %ebx
	movl	4(%rcx,%rax,8), %r9d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	pushq	%r10
	pushq	%rbx
	callq	_cdf_read_sector_chain
	addq	$40, %rsp
	jmp	LBB0_2
LBB0_1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$-1, %eax
	addq	$24, %rsp
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CDF_DIR_TYPE_USER_STREAM,4,2   ## @CDF_DIR_TYPE_USER_STREAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdf_read_user_stream           ; -- Begin function cdf_read_user_stream
	.p2align	2
_cdf_read_user_stream:                  ; @cdf_read_user_stream
	.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
	mov	x19, x7
	mov	x25, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _CDF_DIR_TYPE_USER_STREAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CDF_DIR_TYPE_USER_STREAM@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x5
	mov	x1, x6
	bl	_cdf_find_stream
	cmp	w0, #0
	b.le	LBB0_2
; %bb.1:
	ldr	x8, [x25]
	sub	w9, w0, #1
	add	x8, x8, w9, uxtw #3
	ldp	w6, w5, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x7, x19
	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	_cdf_read_sector_chain
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #-1
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CDF_DIR_TYPE_USER_STREAM,4,2   ; @CDF_DIR_TYPE_USER_STREAM
.subsections_via_symbols
