	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_subframe_                 ## -- Begin function read_subframe_
	.p2align	4, 0x90
_read_subframe_:                        ## @read_subframe_
	.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
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	24(%rax), %edi
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	callq	_FLAC__bitreader_read_raw_uint32
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_27
## %bb.1:
	movl	-48(%rbp), %r12d
	movl	%r12d, %eax
	andl	$254, %eax
	movl	%eax, -48(%rbp)
	testb	$1, %r12b
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movl	24(%rax), %edi
	leaq	-52(%rbp), %rsi
	callq	_FLAC__bitreader_read_unary_unsigned
	testl	%eax, %eax
	je	LBB0_27
## %bb.3:
	movl	-52(%rbp), %eax
	incl	%eax
	movq	(%r15), %rcx
	movq	16(%rcx), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, (%rcx,%rdx,4)
	subl	%eax, %r13d
	ja	LBB0_5
	jmp	LBB0_27
LBB0_4:
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	$0, (%rax,%rcx,4)
LBB0_5:
	movl	-48(%rbp), %ecx
	testb	$-128, %cl
	jne	LBB0_6
## %bb.8:
	cmpl	$2, %ecx
	je	LBB0_12
## %bb.9:
	testl	%ecx, %ecx
	jne	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_read_subframe_constant_
	jmp	LBB0_11
LBB0_6:
	movq	_FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_send_error_to_client_
	movq	_FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r15), %rcx
	movq	%rax, (%rcx)
	movl	$1, %r14d
LBB0_27:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	callq	_read_subframe_verbatim_
LBB0_11:
	testl	%eax, %eax
	je	LBB0_27
LBB0_21:
	movl	$1, %r14d
	testl	%ebx, %ebx
	je	LBB0_27
## %bb.22:
	andl	$1, %r12d
	je	LBB0_27
## %bb.23:
	movq	(%r15), %rax
	movq	16(%rax), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, -48(%rbp)
	cmpl	$0, 8(%rax)
	je	LBB0_27
## %bb.24:
	movq	(%rax), %rsi
	movq	(%rsi,%rdx,8), %rdx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, (%rdx)
	cmpl	$2, 8(%rax)
	jb	LBB0_27
## %bb.25:
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-48(%rbp), %ecx
	shll	%cl, (%rdx,%rsi,4)
	incq	%rsi
	movl	8(%rax), %ecx
	cmpq	%rcx, %rsi
	jb	LBB0_26
	jmp	LBB0_27
LBB0_13:
	cmpl	$15, %ecx
	jg	LBB0_15
LBB0_14:
	movq	_FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_15:
	cmpl	$24, %ecx
	ja	LBB0_17
## %bb.16:
	shrl	%ecx
	andl	$7, %ecx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %r8d
	callq	_read_subframe_fixed_
	jmp	LBB0_19
LBB0_17:
	cmpl	$63, %ecx
	jbe	LBB0_14
## %bb.18:
	shrl	%ecx
	andl	$31, %ecx
	incl	%ecx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %r8d
	callq	_read_subframe_lpc_
LBB0_19:
	testl	%eax, %eax
	je	LBB0_27
## %bb.20:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	_FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC@GOTPCREL(%rip), %rcx
	movl	$1, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_27
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC,4,2 ## @FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
	.comm	_FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC,8,3 ## @FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC
	.comm	_FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM,4,2 ## @FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_subframe_                 ; -- Begin function read_subframe_
	.p2align	2
_read_subframe_:                        ; @read_subframe_
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w0, [x8, #24]
	add	x1, sp, #12
	mov	w2, #8
	bl	_FLAC__bitreader_read_raw_uint32
	cbz	w0, LBB0_13
; %bb.1:
	ldr	w23, [sp, #12]
	and	w8, w23, #0xfe
	str	w8, [sp, #12]
	tbz	w23, #0, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	ldr	w0, [x8, #24]
	add	x1, sp, #8
	bl	_FLAC__bitreader_read_unary_unsigned
	cbz	w0, LBB0_13
; %bb.3:
	ldr	w8, [sp, #8]
	add	w8, w8, #1
	ldr	x9, [x19]
	ldr	x9, [x9, #16]
	str	w8, [x9, w20, uxtw #2]
	subs	w22, w22, w8
	b.hi	LBB0_6
; %bb.4:
	mov	w0, #0
	b	LBB0_13
LBB0_5:
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	str	wzr, [x8, w20, uxtw #2]
LBB0_6:
	ldr	w8, [sp, #12]
	tbnz	w8, #7, LBB0_10
; %bb.7:
	cmp	w8, #2
	b.eq	LBB0_14
; %bb.8:
	cbnz	w8, LBB0_21
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_read_subframe_constant_
	cbnz	w0, LBB0_15
	b	LBB0_13
LBB0_10:
Lloh0:
	adrp	x8, _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_error_to_client_
Lloh2:
	adrp	x8, _FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	str	x8, [x9]
LBB0_12:
	mov	w0, #1
LBB0_13:
	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
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_read_subframe_verbatim_
	cbz	w0, LBB0_13
LBB0_15:
	mov	w0, #1
	cbz	w21, LBB0_13
; %bb.16:
	tbz	w23, #0, LBB0_13
; %bb.17:
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	ldr	w10, [x9, w20, uxtw #2]
	str	w10, [sp, #12]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_12
; %bb.18:
	mov	w9, w20
	ldr	x11, [x8]
	ldr	x9, [x11, x9, lsl #3]
	ldr	w11, [x9]
	lsl	w10, w11, w10
	str	w10, [x9]
	ldr	w10, [x8, #8]
	cmp	w10, #2
	b.lo	LBB0_12
; %bb.19:
	mov	w10, #1
	mov	w0, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [sp, #12]
	lsl	x12, x10, #2
	ldr	w13, [x9, x12]
	lsl	w11, w13, w11
	str	w11, [x9, x12]
	add	x10, x10, #1
	ldr	w11, [x8, #8]
	cmp	x10, x11
	b.lo	LBB0_20
	b	LBB0_13
LBB0_21:
	cmp	w8, #15
	b.gt	LBB0_23
LBB0_22:
Lloh5:
	adrp	x8, _FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM@GOTPAGEOFF]
	b	LBB0_11
LBB0_23:
	cmp	w8, #24
	b.hi	LBB0_25
; %bb.24:
	ubfx	w3, w8, #1, #3
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x4, x21
	bl	_read_subframe_fixed_
	cbnz	w0, LBB0_27
	b	LBB0_13
LBB0_25:
	cmp	w8, #63
	b.ls	LBB0_22
; %bb.26:
	ubfx	w8, w8, #1, #5
	add	w3, w8, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x4, x21
	bl	_read_subframe_lpc_
	cbz	w0, LBB0_13
LBB0_27:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC,4,2 ; @FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
	.comm	_FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC,8,3 ; @FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC
	.comm	_FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM,4,2 ; @FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM
.subsections_via_symbols
