	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitreader_read_from_client_
_bitreader_read_from_client_:           ## @bitreader_read_from_client_
	.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	%rdi, %r13
	movl	(%rdi), %ebx
	movl	4(%rdi), %edx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	24(%r13), %rdi
	leaq	(%rdi,%rbx,8), %rsi
	movq	_FLAC__BYTES_PER_WORD@GOTPCREL(%rip), %rax
	subl	%ebx, %edx
	cmpq	$1, 8(%r13)
	sbbl	$-1, %edx
	imull	(%rax), %edx
	callq	_memmove
	movl	4(%r13), %edx
	subl	%ebx, %edx
	movl	%edx, 4(%r13)
	movl	$0, (%r13)
LBB0_2:
	movl	16(%r13), %ecx
	subl	%edx, %ecx
	movq	_FLAC__BYTES_PER_WORD@GOTPCREL(%rip), %r12
	imull	(%r12), %ecx
	movq	8(%r13), %rax
	xorl	%r14d, %r14d
	subq	%rax, %rcx
	movq	%rcx, -48(%rbp)
	je	LBB0_13
## %bb.3:
	movslq	%edx, %rcx
	shlq	$3, %rcx
	addq	24(%r13), %rcx
	leaq	(%rcx,%rax,4), %r15
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rcx), %rdi
	callq	_SWAP_BE_WORD_TO_HOST
	movq	24(%r13), %rcx
	movslq	4(%r13), %rdx
	movq	%rax, (%rcx,%rdx,8)
LBB0_5:
	movl	32(%r13), %edx
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	*40(%r13)
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movl	4(%r13), %ebx
	movl	(%r12), %esi
	movl	%esi, %ecx
	imull	%ebx, %ecx
	addq	8(%r13), %rcx
	movq	-48(%rbp), %rdi
	movl	%edi, %edx
	leal	-1(%rsi), %eax
	addq	%rcx, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %r14
	cmpl	%r14d, %ebx
	jb	LBB0_10
	jmp	LBB0_12
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r14d
	cmpl	%r14d, %ebx
	jae	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_SWAP_BE_WORD_TO_HOST
	movq	24(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpl	%r14d, %ebx
	jne	LBB0_10
## %bb.11:
	movl	(%r12), %esi
	movq	-48(%rbp), %rdi
	movl	4(%r13), %ecx
	imull	%esi, %ecx
	addq	8(%r13), %rcx
LBB0_12:
	addl	%edi, %ecx
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, 4(%r13)
	movq	%rdx, 8(%r13)
	movl	$1, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC__BYTES_PER_WORD,4,2       ## @FLAC__BYTES_PER_WORD
	.no_dead_strip	_bitreader_read_from_client_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitreader_read_from_client_
_bitreader_read_from_client_:           ; @bitreader_read_from_client_
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldp	w20, w8, [x0]
Lloh0:
	adrp	x21, _FLAC__BYTES_PER_WORD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FLAC__BYTES_PER_WORD@GOTPAGEOFF]
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x9, [x19, #8]
	sub	w8, w8, w20
	cmp	x9, #0
	ldr	x0, [x19, #24]
	add	x1, x0, x20, lsl #3
	ldr	w9, [x21]
	cinc	w8, w8, ne
	mul	w2, w8, w9
	bl	_memmove
	ldr	w8, [x19, #4]
	sub	w8, w8, w20
	stp	wzr, w8, [x19]
LBB0_2:
	ldr	w9, [x19, #16]
	sub	w9, w9, w8
	ldr	w10, [x21]
	mul	w10, w9, w10
	ldr	x9, [x19, #8]
	subs	x10, x10, x9
	str	x10, [sp, #8]
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
	ldr	x10, [x19, #24]
	add	x8, x10, w8, sxtw #3
	add	x20, x8, x9, lsl #2
	cbz	x9, LBB0_6
; %bb.5:
	ldr	x0, [x8]
	bl	_SWAP_BE_WORD_TO_HOST
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	str	x0, [x8, x9, lsl #3]
LBB0_6:
	ldr	x8, [x19, #40]
	ldr	w2, [x19, #32]
	add	x1, sp, #8
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_11
; %bb.7:
	ldr	w20, [x19, #4]
	ldr	w8, [x21]
	mul	w10, w8, w20
	ldr	x11, [x19, #8]
	ldr	x9, [sp, #8]
	sub	w12, w8, #1
	add	x10, x11, x10
	add	x11, x10, x12
	add	x11, x11, w9, uxtw
	udiv	x22, x11, x8
	cmp	w20, w22
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	lsl	x23, x20, #3
	ldr	x0, [x8, x23]
	bl	_SWAP_BE_WORD_TO_HOST
	ldr	x8, [x19, #24]
	str	x0, [x8, x23]
	add	x20, x20, #1
	cmp	w20, w22
	b.ne	LBB0_8
; %bb.9:
	ldr	w10, [x19, #4]
	ldr	w8, [x21]
	ldr	x11, [x19, #8]
	ldr	x9, [sp, #8]
	mul	w10, w8, w10
	add	x10, x11, x10
LBB0_10:
	add	w9, w10, w9
	udiv	w10, w9, w8
	str	w10, [x19, #4]
	msub	w8, w10, w8, w9
	str	x8, [x19, #8]
	mov	w0, #1
LBB0_11:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC__BYTES_PER_WORD,4,2       ; @FLAC__BYTES_PER_WORD
	.no_dead_strip	_bitreader_read_from_client_
.subsections_via_symbols
