	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__bitreader_read_rice_signed ## -- Begin function FLAC__bitreader_read_rice_signed
	.p2align	4, 0x90
_FLAC__bitreader_read_rice_signed:      ## @FLAC__bitreader_read_rice_signed
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -40(%rbp)
	movl	$0, -36(%rbp)
	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
	cmpl	$32, %r15d
	setb	%dil
	callq	_FLAC__ASSERT
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_FLAC__bitreader_read_unary_unsigned
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_FLAC__bitreader_read_raw_uint32
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	-36(%rbp), %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	orl	-40(%rbp), %eax
	movl	%eax, %ecx
	shrl	%ecx
	andl	$1, %eax
	negl	%eax
	xorl	%ecx, %eax
	movl	%eax, (%r14)
	movl	$1, %r12d
LBB0_3:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__bitreader_read_rice_signed ; -- Begin function FLAC__bitreader_read_rice_signed
	.p2align	2
_FLAC__bitreader_read_rice_signed:      ; @FLAC__bitreader_read_rice_signed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #8]
	cmp	x0, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	bl	_FLAC__ASSERT
	cmp	w20, #32
	cset	w0, lo
	bl	_FLAC__ASSERT
	add	x1, sp, #8
	mov	x0, x21
	bl	_FLAC__bitreader_read_unary_unsigned
	cbz	w0, LBB0_3
; %bb.1:
	add	x1, sp, #12
	mov	x0, x21
	mov	x2, x20
	bl	_FLAC__bitreader_read_raw_uint32
	cbz	w0, LBB0_3
; %bb.2:
	ldp	w8, w9, [sp, #8]
	lsl	w8, w8, w20
	orr	w8, w8, w9
	and	w9, w8, #0x1
	neg	w9, w9
	eor	w8, w9, w8, lsr #1
	str	w8, [x19]
	mov	w0, #1
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
