	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__bitreader_get_read_crc16 ## -- Begin function FLAC__bitreader_get_read_crc16
	.p2align	4, 0x90
_FLAC__bitreader_get_read_crc16:        ## @FLAC__bitreader_get_read_crc16
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	testb	$7, 8(%rbx)
	sete	%dil
	callq	_FLAC__ASSERT
	movl	12(%rbx), %eax
	xorl	%edi, %edi
	cmpl	8(%rbx), %eax
	setle	%dil
	callq	_FLAC__ASSERT
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	12(%rbx), %edx
	cmpl	%eax, %edx
	jge	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rax,%rcx,4), %r14d
	movl	24(%rbx), %eax
	movq	_FLAC__BITS_PER_WORD@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	subl	%edx, %ecx
	addb	$-8, %cl
	movl	%r14d, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movzbl	%dl, %edi
	movl	%eax, %esi
	callq	_FLAC__CRC16_UPDATE
	movl	%eax, 24(%rbx)
	movl	12(%rbx), %edx
	addl	$8, %edx
	movl	%edx, 12(%rbx)
	cmpl	8(%rbx), %edx
	jl	LBB0_3
LBB0_4:
	movl	24(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC__BITS_PER_WORD,4,2        ## @FLAC__BITS_PER_WORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__bitreader_get_read_crc16 ; -- Begin function FLAC__bitreader_get_read_crc16
	.p2align	2
_FLAC__bitreader_get_read_crc16:        ; @FLAC__bitreader_get_read_crc16
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	w8, [x19, #8]
	tst	w8, #0x7
	cset	w0, eq
	bl	_FLAC__ASSERT
	ldp	w9, w8, [x19, #8]
	cmp	w8, w9
	cset	w0, le
	bl	_FLAC__ASSERT
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_4
; %bb.1:
	ldr	w8, [x19, #12]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.2:
	ldr	x9, [x19]
	ldr	x10, [x19, #16]
	ldr	w20, [x9, x10, lsl #2]
	ldr	w1, [x19, #24]
Lloh0:
	adrp	x21, _FLAC__BITS_PER_WORD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FLAC__BITS_PER_WORD@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21]
	sub	w8, w9, w8
	sub	w8, w8, #8
	asr	w8, w20, w8
	and	w0, w8, #0xff
	bl	_FLAC__CRC16_UPDATE
	mov	x1, x0
	str	w0, [x19, #24]
	ldp	w9, w8, [x19, #8]
	add	w8, w8, #8
	str	w8, [x19, #12]
	cmp	w8, w9
	b.lt	LBB0_3
LBB0_4:
	ldr	w0, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC__BITS_PER_WORD,4,2        ; @FLAC__BITS_PER_WORD
.subsections_via_symbols
