	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__bitreader_read_raw_uint32 ## -- Begin function FLAC__bitreader_read_raw_uint32
	.p2align	4, 0x90
_FLAC__bitreader_read_raw_uint32:       ## @FLAC__bitreader_read_raw_uint32
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	setne	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpl	$33, %r14d
	setb	%dil
	callq	_FLAC__ASSERT
	movl	8(%r12), %eax
	movq	_FLAC__BITS_PER_WORD@GOTPCREL(%rip), %r13
	imull	(%r13), %eax
	addl	%eax, %eax
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setae	%dil
	callq	_FLAC__ASSERT
	movq	16(%r12), %rax
	xorl	%edi, %edi
	cmpq	24(%r12), %rax
	setbe	%dil
	callq	_FLAC__ASSERT
	xorl	%edi, %edi
	cmpl	$32, (%r13)
	setge	%dil
	callq	_FLAC__ASSERT
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	24(%r12), %rsi
	movq	%rsi, %rcx
	subq	%rax, %rcx
	movslq	(%r13), %rbx
	imulq	%rbx, %rcx
	movslq	32(%r12), %rdx
	leaq	(%rcx,%rdx,8), %rdi
	movslq	36(%r12), %rcx
	subq	%rcx, %rdi
	cmpq	%r15, %rdi
	jae	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bitreader_read_from_client_
	testl	%eax, %eax
	jne	LBB0_2
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_21:
	movl	$0, (%rbx)
	jmp	LBB0_19
LBB0_5:
	cmpq	%rax, %rsi
	jbe	LBB0_15
## %bb.6:
	testl	%ecx, %ecx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_12
## %bb.7:
	subl	%ecx, %ebx
	movq	_FLAC__WORD_ALL_ONES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
                                        ## kill: def $cl killed $cl killed $rcx
	shrl	%cl, %edx
	movq	(%r12), %rcx
	movl	(%rcx,%rax,4), %esi
	andl	%esi, %edx
	movl	%ebx, %ecx
	subl	%r14d, %ecx
	jbe	LBB0_10
## %bb.8:
                                        ## kill: def $cl killed $cl killed $ecx
	jmp	LBB0_9
LBB0_15:
	testl	%ecx, %ecx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_17
## %bb.16:
	shlq	$3, %rdx
	addl	%r14d, %ecx
	xorl	%edi, %edi
	cmpl	%edx, %ecx
	setbe	%dil
	callq	_FLAC__ASSERT
	movq	_FLAC__WORD_ALL_ONES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	36(%r12), %ecx
	shrl	%cl, %edx
	movq	(%r12), %rax
	movq	16(%r12), %rsi
	andl	(%rax,%rsi,4), %edx
	movl	(%r13), %eax
	addl	%r14d, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
LBB0_9:
	shrl	%cl, %edx
	movl	%edx, (%r15)
	jmp	LBB0_18
LBB0_12:
	movq	(%r12), %rcx
	movl	(%rcx,%rax,4), %esi
	subl	%r14d, %ebx
	jbe	LBB0_14
## %bb.13:
	movl	%ebx, %ecx
	shrl	%cl, %esi
	movl	%esi, (%r15)
	movl	%r14d, 36(%r12)
	jmp	LBB0_19
LBB0_17:
	movq	(%r12), %rcx
	movl	(%rcx,%rax,4), %eax
	subl	%r14d, %ebx
	movl	%ebx, %ecx
	shrl	%cl, %eax
	movl	%eax, (%r15)
LBB0_18:
	addl	%r14d, 36(%r12)
LBB0_19:
	movl	$1, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%edx, (%r15)
	movq	%r12, %rdi
	callq	_crc16_update_word_
	movq	16(%r12), %rdx
	leaq	1(%rdx), %rax
	movq	%rax, 16(%r12)
	movl	$0, 36(%r12)
	movl	$1, %eax
	cmpl	%r14d, %ebx
	je	LBB0_20
## %bb.11:
	subl	%ebx, %r14d
	movl	(%r15), %esi
	movl	%r14d, %ecx
	shll	%cl, %esi
	movl	%esi, (%r15)
	movq	(%r12), %rcx
	movl	4(%rcx,%rdx,4), %edx
	movl	(%r13), %ecx
	subl	%r14d, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	orl	%esi, %edx
	movl	%edx, (%r15)
	movl	%r14d, 36(%r12)
	jmp	LBB0_20
LBB0_14:
	movl	%esi, (%r15)
	movq	%r12, %rdi
	callq	_crc16_update_word_
	incq	16(%r12)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC__BITS_PER_WORD,4,2        ## @FLAC__BITS_PER_WORD
	.comm	_FLAC__WORD_ALL_ONES,4,2        ## @FLAC__WORD_ALL_ONES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__bitreader_read_raw_uint32 ; -- Begin function FLAC__bitreader_read_raw_uint32
	.p2align	2
_FLAC__bitreader_read_raw_uint32:       ; @FLAC__bitreader_read_raw_uint32
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	cmp	w21, #33
	cset	w0, lo
	bl	_FLAC__ASSERT
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x22, _FLAC__BITS_PER_WORD@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FLAC__BITS_PER_WORD@GOTPAGEOFF]
	ldr	w9, [x22]
	mul	w8, w8, w9
	cmp	w21, w8, lsl #1
	cset	w0, ls
	bl	_FLAC__ASSERT
	ldp	x8, x9, [x19, #16]
	cmp	x8, x9
	cset	w0, ls
	bl	_FLAC__ASSERT
	ldr	w8, [x22]
	cmp	w8, #31
	cset	w0, gt
	bl	_FLAC__ASSERT
	cbz	w21, LBB0_4
; %bb.1:
	mov	w23, w21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x12, [x19, #16]
	sub	x13, x12, x9
	ldrsw	x8, [x22]
	ldpsw	x11, x10, [x19, #32]
	lsl	x11, x11, #3
	madd	x13, x13, x8, x11
	sub	x13, x13, x10
	cmp	x13, x23
	b.hs	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_bitreader_read_from_client_
	cbnz	w0, LBB0_2
	b	LBB0_18
LBB0_4:
	str	wzr, [x20]
	b	LBB0_17
LBB0_5:
	cmp	x12, x9
	b.ls	LBB0_10
; %bb.6:
	cbz	w10, LBB0_12
; %bb.7:
	ldr	x11, [x19]
	ldr	w1, [x11, x9, lsl #2]
Lloh2:
	adrp	x9, _FLAC__WORD_ALL_ONES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLAC__WORD_ALL_ONES@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	lsr	w9, w9, w10
	and	w9, w9, w1
	sub	w23, w8, w10
	subs	w8, w23, w21
	b.hi	LBB0_15
; %bb.8:
	str	w9, [x20]
	mov	x0, x19
	bl	_crc16_update_word_
	ldr	x8, [x19, #16]
	add	x8, x8, #1
	str	x8, [x19, #16]
	str	wzr, [x19, #36]
	cmp	w23, w21
	b.eq	LBB0_17
; %bb.9:
	ldr	w9, [x20]
	sub	w10, w21, w23
	lsl	w9, w9, w10
	str	w9, [x20]
	ldr	x11, [x19]
	ldr	w8, [x11, x8, lsl #2]
	ldr	w11, [x22]
	sub	w11, w11, w10
	lsr	w8, w8, w11
	orr	w8, w8, w9
	str	w8, [x20]
	str	w10, [x19, #36]
	b	LBB0_17
LBB0_10:
	cbz	w10, LBB0_14
; %bb.11:
	add	w8, w10, w21
	cmp	w8, w11
	cset	w0, ls
	bl	_FLAC__ASSERT
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	ldr	w8, [x8, x9, lsl #2]
Lloh5:
	adrp	x9, _FLAC__WORD_ALL_ONES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FLAC__WORD_ALL_ONES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	w10, [x19, #36]
	lsr	w9, w9, w10
	and	w8, w9, w8
	ldr	w9, [x22]
	add	w10, w10, w21
	sub	w9, w9, w10
	lsr	w8, w8, w9
	b	LBB0_16
LBB0_12:
	ldr	x10, [x19]
	ldr	w1, [x10, x9, lsl #2]
	subs	w8, w8, w21
	b.ls	LBB0_19
; %bb.13:
	lsr	w8, w1, w8
	str	w8, [x20]
	str	w21, [x19, #36]
	b	LBB0_17
LBB0_14:
	ldr	x10, [x19]
	ldr	w9, [x10, x9, lsl #2]
	sub	w8, w8, w21
LBB0_15:
	lsr	w8, w9, w8
LBB0_16:
	str	w8, [x20]
	ldr	w8, [x19, #36]
	add	w8, w8, w21
	str	w8, [x19, #36]
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_19:
	str	w1, [x20]
	mov	x0, x19
	bl	_crc16_update_word_
	ldr	x8, [x19, #16]
	add	x8, x8, #1
	str	x8, [x19, #16]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC__BITS_PER_WORD,4,2        ; @FLAC__BITS_PER_WORD
	.comm	_FLAC__WORD_ALL_ONES,4,2        ; @FLAC__WORD_ALL_ONES
.subsections_via_symbols
